Error message suddenly occured on website

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.
Post Reply
devilslayer
Forum Members
Forum Members
Posts: 41
Joined: Sat Apr 23, 2005 11:38 pm

Error message suddenly occured on website

Post by devilslayer »

Hello,

My website has started to display the following error message:
Warning: fopen(/home/hawley/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/hawley/public_html/lib/classes/class.contentoperations.inc.php on line 557

Warning: fwrite(): supplied argument is not a valid stream resource in /home/hawley/public_html/lib/classes/class.contentoperations.inc.php on line 558

Warning: fclose(): supplied argument is not a valid stream resource in /home/hawley/public_html/lib/classes/class.contentoperations.inc.php on line 559
Does anybody know why this has happened as the website has been fine until today.

Best Regards

Dave
cyberman

Re: Error message suddenly occured on website

Post by cyberman »

Have you set right permission for /tmp/cache?
devilslayer
Forum Members
Forum Members
Posts: 41
Joined: Sat Apr 23, 2005 11:38 pm

Re: Error message suddenly occured on website

Post by devilslayer »

Hello Cyberman,

The site has been working fine for about six months and this message occured today.

By the way what should the permissions be on this directory.
devilslayer
Forum Members
Forum Members
Posts: 41
Joined: Sat Apr 23, 2005 11:38 pm

Re: Error message suddenly occured on website

Post by devilslayer »

Cyberman,

Permissions are currently set at 777.

Best Regards

Dave
cyberman

Re: Error message suddenly occured on website

Post by cyberman »

Have you tried to clear cache (admin, menu site admin > global settings)?
devilslayer
Forum Members
Forum Members
Posts: 41
Joined: Sat Apr 23, 2005 11:38 pm

Re: Error message suddenly occured on website

Post by devilslayer »

Hello Cyberman,

That seems to have solved the problem. Many thanks.

Have you any reason why it occured in the first place?


Best Regards

Dave
cyberman

Re: Error message suddenly occured on website

Post by cyberman »

Don't know really - maybe contentcache.php are online, but not readable. If you clear cache this file will be renewed.
Post Reply

Return to “CMSMS Core”