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

lfhubcom’s picture

Hi,
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?

lfhubcom’s picture

This 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

dave reid’s picture

Status: Active » Closed (duplicate)