Page 1 of 1

Blank screen upon admin login.

Posted: Sat Nov 06, 2010 5:42 pm
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.

Re: Blank screen upon admin login.

Posted: Sat Nov 06, 2010 6:33 pm
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...

Re: Blank screen upon admin login.

Posted: Tue Nov 09, 2010 12:12 am
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

Re: Blank screen upon admin login.

Posted: Tue Nov 09, 2010 8:23 am
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...

Re: Blank screen upon admin login.

Posted: Wed Nov 10, 2010 5:15 am
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.

Re: Blank screen upon admin login.

Posted: Wed Nov 10, 2010 8:03 pm
by Dr.CSS

Re: Blank screen upon admin login.

Posted: Thu Nov 11, 2010 2:49 am
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.