Link to home
Start Free TrialLog in
Avatar of glepiza
glepiza

asked on

Drupal white screen for admin user

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
ASKER CERTIFIED SOLUTION
Avatar of Aaron Feledy
Aaron Feledy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glepiza
glepiza

ASKER

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
Avatar of glepiza

ASKER

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….
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.
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

Avatar of glepiza

ASKER

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!
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.