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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
dpakman91
Forum Members
Forum Members
Posts: 68
Joined: Tue May 13, 2008 4:19 pm

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

Post 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?
dpakman91
Forum Members
Forum Members
Posts: 68
Joined: Tue May 13, 2008 4:19 pm

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

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post 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.
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.
dpakman91
Forum Members
Forum Members
Posts: 68
Joined: Tue May 13, 2008 4:19 pm

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

Post 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.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

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

Post by nicmare »

same problem here. what to do?

go to /tmp/cache and chmod all dirs and files in and including cache to 777
Last edited by nicmare on Sat May 31, 2008 8:31 am, edited 1 time in total.
Pierre M.

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

Post 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.
Pierre M.

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

Post by Pierre M. »

BTW : CMSms version etc.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

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

Post by nicmare »

no. just chmod cache dir and file in it! you can put a "solved" tag before thread title!!!
Locked

Return to “[locked] Installation, Setup and Upgrade”