Download & Extend

Improve error message banner if database is unsupported

Project:Drupal core
Version:7.x-dev
Component:database system
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

After investigating a support forum issue:
Unsupported database, I discovered that you will get the "unsupported database" error message if you have an empty $db_url entry.

In this particular case it was caused by an "accidental out-commenting" of the database settings section.

My suggestion is that you improve the error message in database.inc to include a notice that the $db_url variable is empty, and that it could be caused by "accidental out-commenting" of the database settings.

Comments

#1

Version:x.y.z» 7.x-dev

Feature request, moving to cvs.

#2

Status:active» fixed

Currently, database exceptions are catched correclty and a nice mainteneance page is printed out showing error messages.

#3

Status:fixed» closed (fixed)

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

nobody click here