Page 1 of 1

Preview page and template problem

Posted: Wed Mar 08, 2006 9:35 am
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

Re: Preview page and template problem

Posted: Wed Mar 08, 2006 5:08 pm
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.

Re: Preview page and template problem

Posted: Wed Mar 08, 2006 5:17 pm
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?