Page 1 of 1

Errors appear at top of page?

Posted: Thu Sep 21, 2006 5:27 pm
by scottsgameroom
Hi i am currently runnig version 1.0 on http://www.swanagestrokeclub.co.uk

The site was going fine until i finished editing a page and since then the following message has been appearing at the top of the page.

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

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

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


How can i correct this error?

Re: Errors appear at top of page?

Posted: Wed Sep 27, 2006 11:39 am
by aota-perez
Hello !

I have the same problem ! ???

Re: Errors appear at top of page?

Posted: Wed Sep 27, 2006 11:44 am
by websjapan
hey there

i believe this is related to my post about the cpanel patch recently issued. if you try changing the file permissions it may work - did for me, but now i can add content but can see it on the web!!!!

Re: Errors appear at top of page?

Posted: Wed Sep 27, 2006 8:42 pm
by scottsgameroom
Does any one actually have any idea how to fix this issue!

I have been waiting for a long time and my client wants the message got rid of!

Any ideas what file permissions need to be changed?

???

Re: Errors appear at top of page?

Posted: Wed Sep 27, 2006 11:18 pm
by Dee
scottsgameroom wrote: Does any one actually have any idea how to fix this issue!
The warning indicates that the webserver can't write to the file tmp/cache/contentcache.php (Permission denied). Make sure the webserver has write persmissions on tmp/cache (and it's contents).

Re: Errors appear at top of page?

Posted: Thu Sep 28, 2006 2:08 am
by calguy1000
actually, check the permissions on all files and directories below, and including tmp.

Re: Errors appear at top of page?

Posted: Sun Oct 01, 2006 8:19 pm
by scottsgameroom
Have checked and played around with the permissions for temp and i am still recieving the error?

Is there anything esle that it could be or should i try an upgrade to 1.02 and see if this helps?

Re: Errors appear at top of page?

Posted: Mon Oct 02, 2006 9:58 am
by Dee
scottsgameroom wrote: Have checked and played around with the permissions for temp and i am still recieving the error?

Is there anything esle that it could be or should i try an upgrade to 1.02 and see if this helps?
I don't think an upgrade to 1.0.2 will help as this is clearly a permission issue. The webserver must be able to write to tmp/cache/contentcache.php in 1.0.2 also (you won't get those messages if it can, the easiest way to achieve this is to delete tmp/cache/contentcache and make tmp/cache world writable).