Preview templates
Posted: Mon Oct 18, 2004 5:42 pm
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:)
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:)