Why the errors? - their back

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
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Why the errors? - their back

Post by herbshirt »

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.
Last edited by herbshirt on Mon May 19, 2008 9:53 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Why the errors?

Post by calguy1000 »

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.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Why the errors?

Post by herbshirt »

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?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Why the errors?

Post by Nullig »

At the risk of asking the obvious, have you tried clearing the cache in Admin?

Nullig
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Why the errors?

Post by herbshirt »

Thanks Nullig.

It wasn't obvious to me so thanks. Just learnt another one.
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Why the errors? - their back

Post by herbshirt »

The errors mentioned before came back.

I cleared cache... gone again.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Why the errors? - their back

Post by Nullig »

When it becomes problematic, like your site seems to be, I usually put a cron job in to clear it every day at midnight.

Code: Select all


rm -rf /path/to/your/tmp/cache/* | rm -rf /path/to/your/tmp/templates_c/*

Nullig
Post Reply

Return to “CMSMS Core”