ethereal1m Posted February 16, 2012 Share Posted February 16, 2012 Dear all, I just installed Drupal 7, everything works fine except after the installation I cannot access Administration Configuration page. I can access other pages without problem though. The error was a long page loading, which leading to a blank screen. Could anybody give me a pointer how to troubleshoot this? I have window7 64, PHP Version 5.2.17, Apache 2.2.21, mysql 5.5. Best regards, ethereal1m Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted February 16, 2012 Share Posted February 16, 2012 Unfortunately many things can cause the "White screen of death", also called WSD or WSOD. Best place for to try and start troubleshooting would be here. http://drupal.org/node/158043 Quote Link to comment Share on other sites More sharing options...
ethereal1m Posted February 16, 2012 Author Share Posted February 16, 2012 I tried to add error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); on the beginning of index.php, but I still got nothing on the screen... any other ideas? Quote Link to comment Share on other sites More sharing options...
ethereal1m Posted February 18, 2012 Author Share Posted February 18, 2012 I just fixed the problem. There are several issues: First I got error of "anonymous user try to access" (I got this message by looking at drupal's log. I fixed this by running the following query to my mysql database: UPDATE sessions SET uid = 1 then put the following line in the settings.php register_shutdown_function('session_write_close'); The second problem was php max execution time was too low. For some reason it takes a long time to load /admin/config page. The fix is setting the following variable in php.ini max_execution_time 120 The third problem was uncovered when I execute drupal status report, it is saying that drupal cannot access website, even though it was able to. So I fixed the error by adding the following line in settings.php $conf['drupal_http_request_fails'] = FALSE; That fixes the error, and magically fixes long execution on /admin/config page.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.