Hi All!

I currently have a Drupal website that I am working on in a subdirectory, so it actually lives at domain.com/newSite. I'm trying to setup the conversion and scheduling, but can't seem to get it working. When I SSH to the server and execute the video_scheduler.php, it spits out an error page talking about missing the MySQLi plugin or something. Any idea why this is happening?

Thanks!

The error is:
---------------------------------------------------

<!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="en" lang="en" dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
    <title>Site off-line | Drupal</title>
    <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 settings.php  file and ensure that your hosting provider's database server is running. For more help, see the <a href="http://drupal.org/node/258">handbook</a>, or contact your hosting provider.</small></p><p><small>The <em>mysqli</em> error was: <em>Unable to use the MySQLi database because the MySQLi extension for PHP is not installed. Check your php.ini to see how you can enable it.</em>.</small></p>          </div>
          <div id="footer"></div>
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->


    </div> <!-- /container -->
  </div>
<!-- /layout -->

  </body>
</html>

Comments

hypertext200’s picture

Status: Active » Closed (fixed)

This is not a video module issue. You need to ask this from your hosting, seems you dont have MySQL client installed.

compuguru’s picture

Status: Closed (fixed) » Active

Sorry if I am clueless, but what specifically do I need to install? The php_info() does have MySQLi listed.

mysqli
MysqlI Support	enabled
Client API library version 	5.0.32
Client API header version 	5.0.32
MYSQLI_SOCKET 	/var/run/mysqld/mysqld.sock

Directive	Local Value	Master Value
mysqli.default_host	no value	no value
mysqli.default_port	3306	3306
mysqli.default_pw	no value	no value
mysqli.default_socket	no value	no value
mysqli.default_user	no value	no value
mysqli.max_links	Unlimited	Unlimited
mysqli.reconnect	Off	Off

Along with MySQL

mysql
MySQL Support	enabled
Active Persistent Links 	0
Active Links 	0
Client API version 	5.0.32
MYSQL_MODULE_TYPE 	external
MYSQL_SOCKET 	/var/run/mysqld/mysqld.sock
MYSQL_INCLUDE 	-I/usr/include/mysql
MYSQL_LIBS 	-L/usr/lib -lmysqlclient

Directive	Local Value	Master Value
mysql.allow_persistent	On	On
mysql.connect_timeout	60	60
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	no value	no value
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off
iLLin’s picture

You probably have two different php.ini files. One for Apache and one for CLI. Tell your host to mirror them.

overaph’s picture

Thanks!!! resolved! :)

Anonymous’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

truyenle’s picture

@#3 ILLin,

Can you explain more on this? I mean how to tell your host to mirror them?

Thanks
Truyenle