Improve error message banner if database is unsupported

Kim Bach - July 18, 2006 - 14:03
Project:Drupal
Version:7.x-dev
Component:database system
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

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.

#1

LAsan - April 7, 2008 - 08:37
Version:x.y.z» 7.x-dev

Feature request, moving to cvs.

#2

dropcube - October 3, 2008 - 19:39
Status:active» fixed

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

#3

Anonymous (not verified) - October 17, 2008 - 19:42
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.