Drupal WSOD error caused by 'drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);' in index.php -


so i'm required fix issue drupal website while having no experience @ drupal. issue website not loading up, white screen, no errors coming after adding error_reporting(e_all);

by putting in die()s able find out line that's causing issue drupal_bootstrap(drupal_bootstrap_full);

here's full sourcecode index.php:

<?php error_reporting(e_all); ini_set('error_reporting', e_all); ini_set('display_errors', true); ini_set('display_startup_errors', true); // $id: index.php,v 1.94 2007/12/26 08:46:48 dries exp $  /**  * @file  * php page serves page requests on drupal installation.  *  * routines here dispatch control appropriate handler,  * prints appropriate page.  *  * drupal code released under gnu general public license.  * see copyright.txt , license.txt.  */ define('drupal_root', getcwd()); require_once drupal_root . '/includes/bootstrap.inc'; // reaching here drupal_bootstrap(drupal_bootstrap_full); // not reach here  $return = menu_execute_active_handler();  // menu status constants integers; page content string. if (is_int($return)) {   switch ($return) {     case menu_not_found:       drupal_not_found();       break;     case menu_access_denied:       drupal_access_denied();       break;     case menu_site_offline:       drupal_site_offline();       break;   } } elseif (isset($return)) {   // print value (including empty string) except null or undefined:   print theme('page', $return); }   drupal_page_footer(); 

tried lot of suggestions online nothing fixed , i'm not receiving hints white screen.

i suspected issue might related .htaccess file don't think is, here's source code:

########get####### ########get####### # # apache/php/drupal settings: #  # protect files , directories prying eyes. <filesmatch "\.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|entries.*|repository|root|tag|template|all-wcprops|entries|format)$">   order allow,deny </filesmatch>  # don't show directory listings urls map directory. options -indexes  # follow symbolic links in directory. options +followsymlinks  # make drupal handle 404 errors. errordocument 404 /index.php  # force simple error message requests non-existent favicon.ico. <files favicon.ico>   # there no end quote below, compatibility apache 1.3.   errordocument 404 "the requested file favicon.ico not found. </files>  # set default handler. directoryindex index.php  # override php settings. more in sites/default/settings.php # following cannot changed @ runtime.  # php 4, apache 1. <ifmodule mod_php4.c>   php_value magic_quotes_gpc                0   php_value register_globals                0   php_value session.auto_start              0   php_value mbstring.http_input             pass   php_value mbstring.http_output            pass   php_value mbstring.encoding_translation   0 </ifmodule>  # php 4, apache 2. <ifmodule sapi_apache2.c>   php_value magic_quotes_gpc                0   php_value register_globals                0   php_value session.auto_start              0   php_value mbstring.http_input             pass   php_value mbstring.http_output            pass   php_value mbstring.encoding_translation   0 </ifmodule>  # php 5, apache 1 , 2. <ifmodule mod_php5.c>   php_value magic_quotes_gpc                0   php_value register_globals                0   php_value session.auto_start              0   php_value mbstring.http_input             pass   php_value mbstring.http_output            pass   php_value mbstring.encoding_translation   0 </ifmodule>  # requires mod_expires enabled. <ifmodule mod_expires.c>   # enable expirations.   expiresactive on    # cache files 2 weeks after access (a).   expiresdefault a1209600    # not cache dynamically generated pages.   expiresbytype text/html a1 </ifmodule>  # various rewrite rules. <ifmodule mod_rewrite.c>   rewriteengine on    # if site can accessed both , without 'www.' prefix,   # can use 1 of following settings redirect users preferred   # url, either or without 'www.' prefix. choose 1 option:   #   # redirect users access site 'www.' prefix,   # (http://example.com/... redirected http://www.example.com/...)   # adapt , uncomment following:   # rewritecond %{http_host} ^example\.com$ [nc]   # rewriterule ^(.*)$ http://www.example.com/$1 [l,r=301]   #   # redirect users access site without 'www.' prefix,   # (http://www.example.com/... redirected http://example.com/...)   # uncomment , adapt following:   # rewritecond %{http_host} ^www\.example\.com$ [nc]   # rewriterule ^(.*)$ http://example.com/$1 [l,r=301]    # modify rewritebase if using drupal in subdirectory or in   # virtualdocumentroot , rewrite rules not working properly.   # example if site @ http://example.com/drupal uncomment ,   # modify following line:   # rewritebase /drupal   #   # if site running in virtualdocumentroot @ http://example.com/,   # uncomment following line:   # rewritebase /    # rewrite urls of form 'x' form 'index.php?q=x'.   rewritecond %{request_filename} !-f   rewritecond %{request_filename} !-d   rewritecond %{request_uri} !=/favicon.ico   rewriterule ^(.*)$ index.php?q=$1 [l,qsa] </ifmodule>  # $id: .htaccess,v 1.90.2.3 2008/12/10 20:04:08 goba exp $ 

as requested here's error log cpanel:

2015-08-26 14:15:42.042 [info] [23.239.196.71:3490] file not found [/home/omitted/public_html/index.php]  2015-08-26 14:15:42.042 [info] [23.239.196.71:3490] file not found [/home/omitted/public_html/index.php]  2015-08-26 14:15:41.581 [info] [23.239.196.71:3478] file not found [/home/omitted/public_html/403.shtml]  2015-08-26 14:15:41.580 [info] [23.239.196.71:3478] auto index disabled [/home/omitted/public_html/], access denied 2015-08-26 13:55:33.364 [info] [157.55.39.230:2610] file not found [/home/omitted/public_html/index.php]  2015-08-26 13:55:33.364 [info] [157.55.39.230:2610] file not found [/home/omitted/public_html/index.php]  2015-08-26 12:49:51.204 [info] [158.69.2.151:51437] file not found [/home/omitted/public_html/403.shtml]  2015-08-26 12:49:51.204 [info] [158.69.2.151:51437] auto index disabled [/home/omitted/public_html/], access denied 

i experienced on site had been active on yer. how frustrating! changed drupal settings point database server, , worked fine. answer me mysql database server (which not control , little visibility) had full logs, not throwing appropriate error. once server admin fixed issue, worked fine.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -