first hurdle - smarty error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Anonymous

first hurdle - smarty error

Post by Anonymous »

hi all.. getting the following error

"Fatal error: Smarty error: [in db:1 line 200]: syntax error: unrecognized tag 'dhtmlmenu' (Smarty_Compiler.class.php, line 565) in /home/s/o/softdiag/public_html/smarty/Smarty.class.php on line 1088"

i understand this to be a config.php error.. although i'm 99% certain that its fine...

can anyone help or shed any more light on the possible config.php prob?

cheers
adi
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

first hurdle - smarty error

Post by Ted »

If you're using a 0.7.3 download, then that's pretty much what I would think it was. As long as root_path in config.php is set properly (full path to directory, no slash at the end), then it should work.
Anonymous

first hurdle - smarty error

Post by Anonymous »

cheers.. dont know how i missed it but the root path was totally wrong :D
Anonymous

first hurdle - smarty error

Post by Anonymous »

however, now getting another prob...

on file manager i'm getting...

Warning: dir(/uploads): failed to open dir: No such file or directory in /home/s/o/softdiag/public_html/admin/files.php on line 237

Fatal error: Call to a member function on a non-object in /home/s/o/softdiag/public_html/admin/files.php on line 239


and on image manager ...

Invalid base directory: /uploads/images
Akrabat

first hurdle - smarty error

Post by Akrabat »

Check the uploads and images paths in config.php and also that the directories have read/write/exec permissions.
Anonymous

first hurdle - smarty error

Post by Anonymous »

permissions are fine... paths seem okay...

heres a snippet from config.php

$config["root_url"] = "http://www.softdiag.co.uk";
$config["root_path"] = "/home/s/o/softdiag/public_html";
$config["query_var"] = "page";
$config["use_bb_code"] = false;
$config["use_smarty_php_tags"] = false;
$config["previews_path"] = "/smarty/cms/cache";
$config["uploads_path"] = "/uploads";
$config["uploads_url"] = "http://www.softdiag.co.uk/uploads";
$config["max_upload_size"] = 1000000;
$config["debug"] = false;
$config["assume_mod_rewrite"] = false;
$config["auto_alias_content"] = true;
$config["image_manipulation_prog"] = "GD";
$config["use_Indite"] = false;
$config["image_uploads_path"] = "/uploads/images/";
$config["image_uploads_url"] = "http://www.softdiag.co.uk/uploads/images/";
$config["default_encoding"] = "";
$config["disable_htmlarea_translation"] = false;
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

first hurdle - smarty error

Post by Ted »

$config["previews_path"], $config["previews_path"], and $config["image_uploads_path"] need to be full absolute paths as well. The installer uses the root_path to construct all of those remaining paths. I think I squashed that bug in the upcoming release.
Anonymous

first hurdle - smarty error

Post by Anonymous »

cheers...all working now :D much appreciated.
Locked

Return to “[locked] Installation, Setup and Upgrade”