Page 1 of 1

Weird error messages on each page

Posted: Mon Jun 11, 2007 11:11 am
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

Re: Weird error messages on each page

Posted: Mon Jun 11, 2007 1:04 pm
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

Re: Weird error messages on each page

Posted: Wed Jun 13, 2007 2:31 am
by sayitlikeitis
sure: http://www_mybloodyoath_com/

Re: Weird error messages on each page

Posted: Wed Jun 13, 2007 5:10 am
by Nullig
Did you try clearing your cache?

Nullig

Re: Weird error messages on each page

Posted: Wed Jun 13, 2007 7:20 am
by sayitlikeitis
That worked.  Thank you.  I guess that's something we need to do routinely.

Re: Weird error messages on each page

Posted: Thu Jun 14, 2007 11:12 am
by johnmck
hi,
I have the same errors - where do I clear the cache?

Re: Weird error messages on each page

Posted: Thu Jun 14, 2007 11:19 am
by Gregor
Goto Site Admin -> Global settings

Re: Weird error messages on each page

Posted: Thu Jun 14, 2007 12:57 pm
by johnmck
Hi,
Thanks,
Why does that happen? I changed the code in class.contentoperations.inc.php to

$usecache = false;