Preview templates

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
newbie

Preview templates

Post by newbie »

Hi all,

I've installed CMS MS today and found it very cool. Everything looks great but when I try to edit / create new template (or content) -> I cannot preview it while editing (by pressing a preview button).
If i press "show site" it shows ok with a new template or content.
Here are the warnings I get by pressing the "preview" button:

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

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

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

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

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

any suggestions?
Sorry if this question is too lame:)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Preview templates

Post by Ted »

Check your config.php. Is your previews_path consistent with your root_path? Meaning, is the previews_path equal to root_path + "/smarty/cms/cache"?
newbie

Preview templates

Post by newbie »

Thanks!
I found the problem in the path!

Continue to enjoy the CMS MS!
Locked

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