I haven't been web designing for a while but a client has just emailed me to notify me of some errors on his home page (also in admin). The site is running: 1.2.3 "Black Rock" http://www.simonportus.com.au/
This was found in admin and on the home page:
Warning: fopen(/home/simpor68/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/simpor68/public_html/lib/classes/class.contentoperations.inc.php on line 549
Warning: fwrite(): supplied argument is not a valid stream resource in /home/simpor68/public_html/lib/classes/class.contentoperations.inc.php on line 550
Warning: fclose(): supplied argument is not a valid stream resource in /home/simpor68/public_html/lib/classes/class.contentoperations.inc.php on line 551
I notice there's a new release. Would that be the cause? If so, how come another site running the same version wasn't affected? As long as I have site running cms ms will this be an ongoing concern?
(I'll go upgrade now - a scary task)
Thanks,
Herb.
Why the errors? - their back
Why the errors? - their back
Last edited by herbshirt on Mon May 19, 2008 9:53 am, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Why the errors?
it's because the permissions on your tmp directory got closed down, they should be 777
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.
Re: Why the errors?
Thanks Calguy,
I changed the permissions on tmp folder to 777 - same errors.
So I tried 'include change to subfolders' - same errors. Is there a file I need to re-upload?
I changed the permissions on tmp folder to 777 - same errors.
So I tried 'include change to subfolders' - same errors. Is there a file I need to re-upload?
Re: Why the errors?
At the risk of asking the obvious, have you tried clearing the cache in Admin?
Nullig
Nullig
Re: Why the errors?
Thanks Nullig.
It wasn't obvious to me so thanks. Just learnt another one.
It wasn't obvious to me so thanks. Just learnt another one.
Re: Why the errors? - their back
The errors mentioned before came back.
I cleared cache... gone again.
I cleared cache... gone again.
Re: Why the errors? - their back
When it becomes problematic, like your site seems to be, I usually put a cron job in to clear it every day at midnight.
Nullig
Code: Select all
rm -rf /path/to/your/tmp/cache/* | rm -rf /path/to/your/tmp/templates_c/*