Error to open main page after installation

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
SAPI

Error to open main page after installation

Post 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) !
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error to open main page after installation

Post 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.
sapi

errors after installation

Post 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!
Locked

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