Make WordPress Core

Opened 14 years ago

Closed 11 years ago

Last modified 8 years ago

#16609 closed defect (bug) (invalid)

Misleading "Error establishing a database connection"

Reported by: robertocarvajal's profile roberto.carvajal Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:

Description

Multisite install shows:

"Error establishing a database connection"

Even if credentials are OK when it doesn't find the domain entry in wp_blogs table, this is very misleading, would be helpful to have the same meaningful error message that /wp-admin shows.

I posted this problem originally at http://wordpress.org/support/topic/misleading-error-establishing-a-database-connection

Change History (3)

#1 @c3mdigital
11 years ago

  • Keywords close added; 2nd-opinion needs-patch ux-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 3.0.5 to 3.0

I think the extra security step of not showing the failure message to non logged in admins is what was intended here.

#2 @ocean90
11 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted

You should get a detailed message when you are in wp-admin/. See ms_not_installed().

This ticket was mentioned in Slack in #core-multisite by ocean90. View the logs.


8 years ago

Note: See TracTickets for help on using tickets.