I'm running:
Centos 5.x
php 5.26

PHP 5.1.6 (cli) (built: Jul 16 2008 19:53:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

and my site is running in mysqli mode.

$ drush help
PHP Notice:  Undefined index:  host in /public/modules/drush/drush.php on line 98
PHP Notice:  Trying to get property of non-object in /public/includes/common.inc on line 772
PHP Notice:  Trying to get property of non-object in /public/includes/theme.maintenance.inc on line 250
PHP Notice:  Undefined property:  stdClass::$language in /public/themes/garland/maintenance-page.tpl.php on line 16
PHP Notice:  Undefined property:  stdClass::$language in /public/themes/garland/maintenance-page.tpl.php on line 16
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="" lang="" dir="ltr">
  <head>
    <title>Site off-line | Drupal</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
    <link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/maintenance.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/themes/garland/style.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/themes/garland/minnelli/minnelli.css?0" />
<link type="text/css" rel="stylesheet" media="print" href="/themes/garland/print.css?0" />
        <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="all" href="/themes/garland/fix-ie.css" />    <![endif]-->
  </head>
  <body>

<!-- Layout -->
  <div id="header-region" class="clear-block"></div>

    <div id="wrapper">
    <div id="container" class="clear-block">

      <div id="header">
        <div id="logo-floater">
        <h1><a href="/" title="Drupal"><img src="/themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>

      </div> <!-- /header -->

      
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
          <h2>Site off-line</h2>                              <div class="clear-block">
            <p>The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.</p><hr /><p><small>If you are the maintainer of this site, please check your database settings in the <code>settings.php

file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.



Comments

Frando’s picture

Category: bug » support

Check your configuration. Drupal couldn't connect to the database, therefore the maintaince page is printed. Try using the -l argument, and recheck that your settings.php is fine.

dave reid’s picture

Status: Active » Closed (duplicate)

The php errors are a duplicate of #319769: PHP notice on _db_error_page.