[wp-trac] [WordPress Trac] #30003: Database error when site not found in multisite

WordPress Trac noreply at wordpress.org
Thu Oct 16 11:12:15 UTC 2014


#30003: Database error when site not found in multisite
--------------------------------+-----------------------------
 Reporter:  spacedmonkey        |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.0
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 I am getting a "Error establishing a database connection" when I give my
 multisite a domain that doesn't exist. I am using subdomain install and
 giving it a domain that doesn't exist. After checking, both the
 $current_blog and $current_site variables are returning false. This means
 that the ms_not_installed() is being fired. Instead if should be getting
 to the code for detecting if site exists, redriects and the
 ms_site_not_found action.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30003>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list