Weird error messages on each page

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
sayitlikeitis
Forum Members
Forum Members
Posts: 45
Joined: Tue Nov 28, 2006 7:46 pm

Weird error messages on each page

Post by sayitlikeitis »

Hi there,

It's been a while since I looked at my site, and was surprised to see these errors.  I've no idea how long its been this way.  I have v1.0.5 installed.  Any advice would be appreciated.  The errors are displayed before the web pages display on each screen.  Everything seems to work okay, in so far as I can tell; its just that the errros kind of ruin the look of every page.

Thanks.

Warning: fopen(/home/nkneewul/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/nkneewul/public_html/lib/classes/class.contentoperations.inc.php on line 515

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

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

Warning: fopen(/home/nkneewul/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/nkneewul/public_html/lib/classes/class.contentoperations.inc.php on line 557

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

Warning: fclose(): supplied argument is not a valid stream resource in /home/nkneewul/public_html/lib/classes/class.contentoperations.inc.php on line 559
rickblackdog
Forum Members
Forum Members
Posts: 15
Joined: Thu May 31, 2007 3:12 pm

Re: Weird error messages on each page

Post by rickblackdog »

Can you give us a link to your site?

I had these errors on my site at the start, turns out they were caused by some javascript I'd left in the template files
sayitlikeitis
Forum Members
Forum Members
Posts: 45
Joined: Tue Nov 28, 2006 7:46 pm

Re: Weird error messages on each page

Post by sayitlikeitis »

sure: http://www_mybloodyoath_com/
Last edited by sayitlikeitis on Mon Nov 05, 2007 3:29 am, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Weird error messages on each page

Post by Nullig »

Did you try clearing your cache?

Nullig
sayitlikeitis
Forum Members
Forum Members
Posts: 45
Joined: Tue Nov 28, 2006 7:46 pm

Re: Weird error messages on each page

Post by sayitlikeitis »

That worked.  Thank you.  I guess that's something we need to do routinely.
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

Re: Weird error messages on each page

Post by johnmck »

hi,
I have the same errors - where do I clear the cache?
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: Weird error messages on each page

Post by Gregor »

Goto Site Admin -> Global settings
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

Re: Weird error messages on each page

Post by johnmck »

Hi,
Thanks,
Why does that happen? I changed the code in class.contentoperations.inc.php to

$usecache = false;
Post Reply

Return to “CMSMS Core”