Page 1 of 1

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:13 pm
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

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:19 pm
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.

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:27 pm
by Anonymous
cheers.. dont know how i missed it but the root path was totally wrong :D

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:42 pm
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

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:46 pm
by Akrabat
Check the uploads and images paths in config.php and also that the directories have read/write/exec permissions.

first hurdle - smarty error

Posted: Mon Dec 13, 2004 12:59 pm
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;

first hurdle - smarty error

Posted: Mon Dec 13, 2004 2:54 pm
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.

first hurdle - smarty error

Posted: Tue Dec 14, 2004 10:06 am
by Anonymous
cheers...all working now :D much appreciated.