Blank screen upon admin login.

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
isaacd
Forum Members
Forum Members
Posts: 32
Joined: Wed Dec 16, 2009 12:54 am

Blank screen upon admin login.

Post by isaacd »

Hello CMSMS Community.

My System:
-CMSMS 1.8.2
-PHP 5
-Database uses MySQL
-Hosted on Linux

The Problem:
Upon logging in from the admin login page, I get a blank screen. There is absolutely nothing when I view the source. I also had this problem for the frontend of the site, but that was solved by uploading a back-up index.php file to the root of the installation. I have tried uploading the backup of the admin directory, and that did not solve it.

One thing to consider: is it required for all of the files in the uploads directory to have executable by world permissions?

Thanks in advance,
Isaac.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Blank screen upon admin login.

Post by Dr.CSS »

Make sure you don't have some old htaccess file in root or index.html in there and no just the uploads folder and the uploads/images folder...
isaacd
Forum Members
Forum Members
Posts: 32
Joined: Wed Dec 16, 2009 12:54 am

Re: Blank screen upon admin login.

Post by isaacd »

I did find some .htaccess files whose code was as follows:

Code: Select all

# To deny PHPs
<Files ~ "\.(php|php3|php4|php5|phtml|pl|cgi)$">                                                                              
  order deny,allow                                                                                                            
  deny from all                                                                                                               
</Files>  
These were in the plugins, doc, and images directory. The images directory is not uploads/images, but simply images.

I tried getting rid of these and it didn't change anything, so I put them back.

Just to detail more about what happens, if I type in an incorrect user/password combination, then I get rejected the way I ought to.

I'm not sure what you are trying to say with "and no just the uploads folder and the uploads/images folder...." Do you mean that there should not be index.html files in the uploads and uploads/images directories?

Thanks.
Isaac
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Blank screen upon admin login.

Post by Dr.CSS »

The only htaccess file that would mess with this would be in the root of the site, no htaccess file in a folder of the root is going to do this...
One thing to consider: is it required for all of the files in the uploads directory to have executable by world permissions?
no just the uploads folder and the uploads/images folder...
isaacd
Forum Members
Forum Members
Posts: 32
Joined: Wed Dec 16, 2009 12:54 am

Re: Blank screen upon admin login.

Post by isaacd »

The problem seems to have fixed itself... or maybe I did something that fixed it without realizing it. Anyhow, I would say that this is solved unless it comes up again.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Blank screen upon admin login.

Post by Dr.CSS »

calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Blank screen upon admin login.

Post by calguy1000 »

a) Problems don't 'fix themselves' (well not these problems)
    Your host probably noticed the error and changed something.

b) if CMSMS generates a blank screen it usually means that some fatal error has occurred
    you need to read your logs. or sometimes enabling debug mode will tell you what the error is.
   
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.
Post Reply

Return to “CMSMS Core”