Page 1 of 1

Error to open main page after installation

Posted: Tue Nov 02, 2004 1:20 pm
by SAPI
Hi, I have done installation (0.7.1) succesfully but after clicking "link here is your cms site" or something like that I will get following error:

Fatal error: Smarty error: [in db:1 line 200]: syntax error: unrecognized tag 'dhtmlmenu' (Smarty_Compiler.class.php, line 563) in C:\cmsmadesimple\cmsmadesimple\smarty\Smarty.class.php on line 1084

Using mysql 4.0.2.1, php 4.2.3, winxp, IIS 5.1

Admin loging (http://computername/admin/login.php) works but in preview window is just full of errors (probably related to first error):

Warning: fopen("/smarty/cms/cache/cms52D.tmp", "r") - No such file or directory in C:\cmsmadesimple\cmsmadesimple\lib\preview.functions.php on line 57

Warning: stat failed for /smarty/cms/cache/cms52D.tmp (errno=2 - No such file or directory) in C:\cmsmadesimple\cmsmadesimple\lib\preview.functions.php on line 58

Warning: fread(): supplied argument is not a valid File-Handle resource in C:\cmsmadesimple\cmsmadesimple\lib\preview.functions.php on line 58

Warning: fclose(): supplied argument is not a valid File-Handle resource in C:\cmsmadesimple\cmsmadesimple\lib\preview.functions.php on line 59

Warning: unlink() failed (No such file or directory) in C:\cmsmadesimple\cmsmadesimple\lib\preview.functions.php on line 60

Fatal error: Smarty error: the $compile_dir '/smarty/cms/templates_c/' does not exist, or is not a directory. in C:\cmsmadesimple\cmsmadesimple\smarty\Smarty.class.php on line 1084

I have tested with different version of all tools (php, mysql) with same problem.

Totally lost what I should do to fix error(s) !

Error to open main page after installation

Posted: Tue Nov 02, 2004 7:00 pm
by Ted
Check your config.php? Are all of the variables pointing to the right location? (c:\cmsmadesimple\cmsmadesimple)

Generally, they should be configured correctly on install, but there could have been a strange bug or something that they didn't get written properly.

errors after installation

Posted: Wed Nov 03, 2004 11:00 am
by sapi
Thank for that comment! we changed the paths to follow installation folder
structure in config.php, everything works now. Main problem was that rooth path was empty, we did following changes $config["root_path"] = "c:\\cmsmadesimple"; keep up the good work!