Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 11:30 UTC
Updated:
10 Oct 2008 at 22:26 UTC
On IIS 7.0 with PHP 5.2.6 as fastcgi with mysqli as the dbdriver, visiting the site without having the database server running results in a white page with the following notices instead of the normal theme maintenance page with a friendly error message:
PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\core6\includes\theme.maintenance.inc on line 250
PHP Notice: Undefined property: stdClass::$language in C:\inetpub\wwwroot\core6\themes\garland\maintenance-page.tpl.php on line 16
PHP Notice: Undefined property: stdClass::$language in C:\inetpub\wwwroot\core6\themes\garland\maintenance-page.tpl.php on line 16
$variables['language']->dir = $GLOBALS['language']->direction ? 'rtl' : 'ltr';
$GLOBALS['language'] is empty, but I do not have time to figure out why.
Comments
Comment #1
lfhubcom commentedHi,
My site recently went offline. I couldn't figure out why. Those errors were in my error log. Does anyone know if these errors could be the reason why my site has locked me out?
Comment #2
lfhubcom commentedThis is what I am getting:
PHP Notice: Trying to get property of non-object in /home/flics/public_html/includes/common.inc on line 767
PHP Notice: Trying to get property of non-object in /home/flics/public_html/includes/theme.maintenance.inc on line 250
PHP Notice: Undefined property: stdClass::$language in /home/flics/public_html/themes/garland/maintenance-page.tpl.php on line 16
Comment #3
dave reidSee #319769: PHP notice on _db_error_page