Unsupported Database Type error only on Captcha Admin pages
amanda - April 26, 2007 - 16:52
| Project: | CAPTCHA |
| Version: | 5.x-1.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I posted this to the forum, but I think that was the wrong place.
I've got drupal 5.1 running fine after an upgrade, except that I can't get to the captcha admin settings. On my local copy of the site everything works fine, but on the live site on Opensourcehost.com, I get this error when I try to access the admin pages (http://www.example.com/admin/settings/captcha)
Unsupported database type
The database type is unsupported. Please use either mysql for MySQL 3.x & 4.0.x databases, mysqli for MySQL 4.1.x+ databases, or pgsql for PostgreSQL databases. The database information is in your settings.php file.
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
<code>
This is the output of <code>mysql --versionVer 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1
phpMyAdmin on the server claims to be running version: 4.1.22-standard
When I edited settings.php to use mysqli the system balked and said mysqli isn't supported. The only place where I'm having trouble is in the captcha admin page.

#1
Note to self: P-R-E-V-I-E-W is there for a reason. Sorry. I'm going to try this again in the hopes of making it more coherent ...
---------------------------------
I posted this to the forum, but I think that was the wrong place.
I've got drupal 5.1 running fine after an upgrade, except that I can't get to the captcha admin settings. On my local copy of the site everything works fine, but on the live site on Opensourcehost.com, I get this error when I try to access the admin pages (http://www.example.com/admin/settings/captcha):
Unsupported database type
The database type is unsupported. Please use either mysql for MySQL 3.x & 4.0.x databases, mysqli for MySQL 4.1.x+ databases, or pgsql for PostgreSQL databases. The database information is in your settings.php file.
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
This is the output of
mysql --versionon my local server (where I've had no problems):Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1On Opensourcehost.com (where the live site is hosted) phpMyAdmin on the server claims to be running
version: 4.1.22-standardWhen I edited settings.php to use
mysqlithe system balked and saidmysqliisn't supported. The only place where I'm having trouble is in the captcha admin page.#2
Don't know what I did (nothing) but it went away the fourth time that I cleared the cache.
#3
title update