Page 1 of 1

errors all of a sudden, pages not working, error in admin

Posted: Mon May 26, 2008 2:13 pm
by dpakman91
I set up this site yesterday, worked on it for a while, everythign working fine. Today i logged into my admin, and see this at the top:

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

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

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

Then i went to the site, www.midweekpolitics.com, and while the homepage worked fine, when i click on any menu link, i get this:

Not Found
The requested URL /live-stream.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

what is going on?

Re: errors all of a sudden, pages not working, error in admin

Posted: Mon May 26, 2008 2:21 pm
by dpakman91
in addition, now the following error is showing up just when pulling up midweekpolitics.com in my browser:


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

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

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

Re: errors all of a sudden, pages not working, error in admin

Posted: Mon May 26, 2008 2:27 pm
by calguy1000
The error message is quite obviously explaining that there is a permissions problem.

Check the permissions of the effected files.  Maybe your host has changed permissions on you.

Re: errors all of a sudden, pages not working, error in admin

Posted: Mon May 26, 2008 2:42 pm
by dpakman91
calguy1000 wrote: The error message is quite obviously explaining that there is a permissions problem.

Check the permissions of the effected files.  Maybe your host has changed permissions on you.
alright, but i'm not sure what is "right" for that particular file. it's currently set to 644, as all the files in that folder seem to be.

Re: errors all of a sudden, pages not working, error in admin

Posted: Sat May 31, 2008 8:30 am
by nicmare
same problem here. what to do?

go to /tmp/cache and chmod all dirs and files in and including cache to 777

Re: errors all of a sudden, pages not working, error in admin

Posted: Sat May 31, 2008 3:20 pm
by Pierre M.
Hello,
calguy1000 wrote: Maybe your host has changed permissions on you.
This means your hosting provider may have hardened its security policy and changed some permissions or activated some security module (mod_security...) or php setting which prevents the previous situation. The CMSms team doesn't know about your provider policy. Please talk with it and report here.

Pierre M.

Re: errors all of a sudden, pages not working, error in admin

Posted: Sat May 31, 2008 3:22 pm
by Pierre M.
BTW : CMSms version etc.

Re: errors all of a sudden, pages not working, error in admin

Posted: Mon Jun 02, 2008 9:43 am
by nicmare
no. just chmod cache dir and file in it! you can put a "solved" tag before thread title!!!