Solved

Drupal white screen for admin user

Posted on 2014-02-04
7
1,402 Views
Last Modified: 2014-02-06
Hi,

For some reason I keep getting a white screen every time I try to log in as the administrator for a Drupal site. the thing is that other users with lower roles can log in with no problem, But after I log in I just see a white scree.

Could you pleas whelp me to debug this?

Thanks
0
Comment
Question by:glepiza
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 400 total points
ID: 39834667
This happens where there is an error on the server side. The first step to troubleshooting this is to look at your error log to see the exact error that is occurring. Most hosting providers give you access to the log within your hosting control panel.

You could also temporarily add the following code to the top of Drupal's index.php. This will usually cause the error to be displayed rather than just a blank white screen.

Here is a page detailing the troubleshooting of the "white screen of death" as it's known.
https://drupal.org/node/158043
0
 

Author Comment

by:glepiza
ID: 39836079
Well, I spoke to tech support and they asked me what version of php I was using locally, I went to drupal status report and it says I am using 5.4.10. So they set the server to php4 for my website and I got this error:

Parse error: syntax error, unexpected T_CLASS in /home2/winter/public_html/bpfdev/includes/bootstrap.inc on line 306


When they set php to 5, I got the white screen again. So, I am pretty confuse what should I do from now.

Could you please help me?

Thanks
0
 

Author Comment

by:glepiza
ID: 39836081
But what I don´t understand yet is why my site is working fine locally but if I upload it to the server even when php4 I am getting that bootstrap error….
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
LVL 13

Expert Comment

by:Arrow_1
ID: 39837494
The white screen means there is an error occurring. As I initially stated, you need to find out what the error is by viewing the logs or getting the error to display. The issue may have nothing to do with the php version. You need to know what the error is before you take any steps to solve the issue.
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39837506
Oops, it looks like I forgot to include the code snippet with my original response.. If you can't view your error logs, add this to the very top of your index.php file. This will cause the error to display in your browser. Errors are hidden by default. Be sure to remove this from the file when you are done troubleshooting.

<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
?>

Open in new window

0
 

Author Comment

by:glepiza
ID: 39840949
Hello,

Well, I ended up contacting tech support and he told me he had to move krumo out of the way. For some reason it was causing conflicts. I don´t know why.

 Thank you expert, you knew it was from the server side, that is why I contacted tech support.

Thanks!
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39841106
If you had krumo installed, I'm guessing you were using the devel module. Be sure that you properly disable the module so that it doesn't cause more problems because the krumo files have gone missing. Also, updating the module will reinstall krumo and break your site again.

Where you able to find out the actual error? Knowing what the actual problem is will help keep you from having it again in the future.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now