Hello! I'm installing Storyling v.1.8 on my computer and it says it cannot locate the index.php (which is there) And when I go to my link I get this message:
Parse error: parse error, expecting ','' or';'' in /home/saraek22/public_html/smutty2/base/classes/display.class.php(33) : eval()'d code on line 4
which is in this file:
<?
class MakeDisplay {
var $layout;
var $title;
var $banner;
var $menu;
var $body;
var $copyright;
var $stats;
function MakeDisplay() {
}
function CheckTemp($files) {
foreach($files as $key=>$val) {
if (file_exists($val) )
$this->$key = implode("", file($val));
else
$this->$key = $val;
}
}
function DisplayTemp() {
$this->layout = str_replace("<%% TITLE %%>" , $this->title , $this->layout);
$this->layout = str_replace("<%% BANNER %%>" , $this->banner , $this->layout);
$this->layout = str_replace("<%% MENU %%>" , $this->menu , $this->layout);
$this->layout = str_replace("<%% BODY %%>" , $this->body , $this->layout);
$this->layout = str_replace("<%% STATS %%>" , $this->stats , $this->layout);
$this->layout = str_replace("<%% FOOTER %%>" , $this->footer , $this->layout);
$this->layout = str_replace("<%% COPYRIGHT %%>" , $this->copyright , $this->layout);
print eval('?>' . $this->layout);
}
}
?>
Now being dense, I have no clue where the error is. any help is MUCH appreciated!!