Page 1 of 1

Warning: fopen(/opt/guide/www.helpdezwerfkat.nl/HTML/tmp/cache/contentcache.php)

Posted: Wed Apr 11, 2007 11:26 am
by denniskennedy
Dear CMS made Simple Forum members,
I have built a site for a cat shelter in the netherlands: http://helpdezwerfkat.nl/
Every morning the opening page displays the error messages below, above the actual page content on the right section of the page.
I have already tried to 777 the tmp directory and the cache directory inside it.
Did not resolve the issue.
The site is running version 1.04. I had the same problem when I first started out with 0.11.
Clearing the buffer in http://www.helpdezwerfkat.nl/admin/siteprefs.php resolves the problem.
So I have to do this every morning to keep the visitors happy.
In 0.11 this habbit disappeared after several months.
Does someone know how to get rid of this?
Many thanks in advance!
Dennis Kennedy
Amsterdam




Warning: fopen(/opt/guide/www.helpdezwerfkat.nl/HTML/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Access denied in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 515

Warning: fread(): supplied argument is not a valid stream resource in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 516

Warning: fclose(): supplied argument is not a valid stream resource in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 517

Warning: fopen(/opt/guide/www.helpdezwerfkat.nl/HTML/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Access denied in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 557

Warning: fwrite(): supplied argument is not a valid stream resource in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 558

Warning: fclose(): supplied argument is not a valid stream resource in /opt/guide/www.helpdezwerfkat.nl/HTML/lib/classes/ ... ns.inc.php on line 559

Re: Warning: fopen(/opt/guide/www.helpdezwerfkat.nl/HTML/tmp/cache/contentcache.

Posted: Wed Apr 11, 2007 12:23 pm
by cyberman
You can try to deactivate creating of contentcache.php

Open file /lib/classes/contentoperations.inc.php with your favourite editor, go to line 497 and set it from
$usecache = true;
to
$usecache = false;
and save file to server. Clear cache.

Maybe your page will be a little bit faster too :) ...

Re: Warning: fopen(/opt/guide/www.helpdezwerfkat.nl/HTML/tmp/cache/contentcache.php)

Posted: Fri Apr 13, 2007 1:04 pm
by denniskennedy
Dear Cyberman,
This pulled the trick.
No more funny code for the viewers.
Thanks a lot!
Dennis