Preview page and template problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
chipus

Preview page and template problem

Post by chipus »

Hi all,

After i edit a page, or a template, i want to preview it. However, it said that

nocache:94ec6bc2ff8f0100884503b0178ecbcf#0

I tried to refresh the preview windows, and error messages appear:
Warning: fopen(c:\program files\apache group\apache\htdocs\made/tmp/cache/cms15F.tmp): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\made\lib\content.functions.php on line 247

Warning: filesize(): Stat failed for c:\program files\apache group\apache\htdocs\made/tmp/cache/cms15F.tmp (errno=2 - No such file or directory) in c:\program files\apache group\apache\htdocs\made\lib\content.functions.php on line 248

Warning: fread(): supplied argument is not a valid stream resource in c:\program files\apache group\apache\htdocs\made\lib\content.functions.php on line 248

Warning: fclose(): supplied argument is not a valid stream resource in c:\program files\apache group\apache\htdocs\made\lib\content.functions.php on line 249

Warning: unlink(c:\program files\apache group\apache\htdocs\made/tmp/cache/cms15F.tmp): No such file or directory in c:\program files\apache group\apache\htdocs\made\lib\content.functions.php on line 250
Please help me
jelle

Re: Preview page and template problem

Post by jelle »

it appears as though the smarty_cache is not writable by the apache UID or something like that. Check your config.php to see if the path for 'previews_path' is what you meant it to be, and check if it is writable for the apache user.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Preview page and template problem

Post by Ted »

What happens is when preview is done, it write out a tmp file with the contents, then the iframe picks it up and immediately deletes the file.  So, when you refresh the preview window, the data is already gone.

My guess is that first problem is related to the infamous bulletmenu (or ellnav) Hierarchy bug from 0.11.2 that keeps showing up.  It displays properly on the site, right?
Locked

Return to “CMSMS Core”