WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#35221 closed defect (bug) (invalid)

(Multisite) Create a Network document does not include a required definition

Reported by: flymike Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: Networks and Sites Keywords:
Focuses: Cc:

Description

The process described in http://codex.wordpress.org/Create_A_Network can never work because the document fails to include the requirement to
define( 'MULTISITE', true );
in wp-config.php, nor is that requirement ever displayed during the Multisite Setup process.
Without it, the user sees only (the very misleading) error message 'Error establishing database connection' and is required to search the forums for the solution.
Please update http://codex.wordpress.org/Create_A_Network to add this critical requirement.

Change History (3)

#1 @swissspidy
4 years ago

  • Focuses multisite removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hey there

Thanks for your report! Just so you know, the Codex is a wiki (like Wikipedia). That means everyone with a WordPress.org account (including you!) can edit content themselves if information is outdated or incorrect.

#2 @TobiasBg
4 years ago

Note that only the WP_ALLOW_MULTISITE constant has to be set initially. The MULTISITE constant is then added together with some other constants in one of the installation steps, and it will then be part of some code to copy and paste.

#3 in reply to: ↑ description @johnbillion
4 years ago

Replying to flymike:

The process described in http://codex.wordpress.org/Create_A_Network can never work because the document fails to include the requirement to
define( 'MULTISITE', true );
in wp-config.php, nor is that requirement ever displayed during the Multisite Setup process.

Note that this is actually displayed on the Multisite setup screen, along with the other constants that are needed:

https://i.imgur.com/EwQYFmE.png

Note: See TracTickets for help on using tickets.