Strange cpde rendering with stacks

Permalink
Hi,
I am having a strange issue with hardcoded stack. When I place a stack I get a blank page and when I look ate the source code I get some code like below placed randomly, so all of a sudden I have a page with 2 <head> tags for instance. You can see the rendered hmtl here m.hostelsuites.com/en/hs-obelisco.

and this is my template page code, hoping someone will help me troubleshoot the error. Many thanks

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link href="<?= $view->getThemePath() ?>/css/bootstrap-3.3.4.css" rel="stylesheet" type="text/css">
<link href="<?= $view->getThemePath() ?>/style.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
Here is the error:
<?php 
$stack = Stack::getByName('form english');
$stack->display();
?>


You cannot name a stack with space between 2 words. So it should be "form_english"

Rony
ptityop replied on at Permalink Reply
Thanks ... unfortunatly I still get a blank page
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
But I can see now 404 page not found?
ptityop replied on at Permalink Reply
I had to go all over because I spent too much time trying to work out what the pb was ... Thanks for your time though !