Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

Adding a PostgreSQL database to settings.php causes update.php to fail with Error: Class 'DatabaseTasks_postgresql' not found in install.inc

$
0
0

In order to import some data from a PostgreSQL database to Drupal I added another entry to the databases array in settings.php.

After updating the modules and executing update.php Drupal returns this PHP error:
PHP Fatal error: Class 'DatabaseTasks_postgresql' not found in sites/www/html/includes/install.inc on line 1331.

I suspect that deleting the PostgreSQL database from settings.php will cause the error to go away, but I don’t want to be doing that every time I run update.php.

Is it a known bug or are there some dependencies I need to to install? The installation is a MySQL system so there doesn’t seem to be a reason why install.inc might want to use it. Are there some additional settings in the database array entry that are required?

UPDATE: After deleting the PostgreSQLdatabase from settings.php the problem still remains so it might be something else.


Viewing all articles
Browse latest Browse all 1138

Trending Articles