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

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
denniskennedy

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

Post 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
cyberman

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

Post 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 :) ...
denniskennedy

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

Post by denniskennedy »

Dear Cyberman,
This pulled the trick.
No more funny code for the viewers.
Thanks a lot!
Dennis
Locked

Return to “CMSMS Core”