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?
Errors appear at top of page?
-
websjapan
Re: Errors appear at top of page?
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!!!!
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!!!!
-
scottsgameroom
Re: Errors appear at top of page?
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?

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?
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).scottsgameroom wrote: Does any one actually have any idea how to fix this issue!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Errors appear at top of page?
actually, check the permissions on all files and directories below, and including tmp.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
scottsgameroom
Re: Errors appear at top of page?
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?
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?
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).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?

