WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 4 months ago

#46556 closed defect (bug) (invalid)

No working multisite in Network Dashboard menu, but DB-Tables created- wp 5.1.1.

Reported by: awlizw Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords:
Focuses: multisite Cc:
PR Number:

Description

Is here anybody has the same problem? My WP does not activate the Dashboard Menu "Sites" nor "Network Admin", but multi site is installed into mysql database.

I set up a fresh WP installation to create a network with multi sites and started simple with an empty site, no plugins and theme "Twenty Nineteen".
I use xampp and set up subdomains which are working.
I went through normal activation WP_ALLOW_MULTISITE following the manual process step by step: https://codex.wordpress.org/Create_A_Network
So far everything was fine, but WP-core doesn't activate the Dashboard Menu "Sites" nor "Network Admin" ...

The Database seem to be installed correctly.


### empty Localhost fresh WordPress Installation, Standard Theme "Twenty Nineteen" ###

WP-Version: 5.1.1
Language: en_US
Permalink structure: /?p=123 and also testet /.../2019/03/18/sample-post/
HTTPS?: No
Can anyone register on this site?: No
Default comment status: close
Is this a multisite?: Yes
User Count: 1
Site Count: 2
Network Count: 1

### Active Plugins (0) ###

### Server ###

Localhost http no https
Windows 7 Enterprise SP1 64-bit
XAMPP Version: 7.2.5

PHP/7.2.5
Apache/2.4.33 (Win32)
PHP-extensions: mysqli curl mbstring

###
-> htaccess rules: for network and subdomain from WP ( all testet)
a) http://domain/wp-admin/network.php

and from Website

b) https://codex.wordpress.org/Multisite_Network_Administration#Switching_network_types
###
Mozilla 60.5.2esr (64bit)
Chrome Version 73.0.3683.75 (32-Bit)

### Database ###

mysqlnd 5.0.12-dev
Server-Version: 10.1.32-MariaDB - mariadb.org binary distribution
phpmyadmin Version: 4.8.5

### WordPress Constants ###
define('WP_ALLOW_MULTISITE', true);
define('WP_SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'mymultisiteXYZ');
...

testet both cases: enabled and disabled

define("WP_LOCAL_DEV", true);

WP_HOME
WP_SITEURL

WP_DEBUG
WP_CACHE
...


Tools>Network Setup->Create a Network of WordPress Sites
"Warning: An existing WordPress network was detected."

but contradictory wise:

http://xxx/wp-admin/network/about.php
"Multisite support is not enabled."

http://xxx/wp-admin/network/upgrade.php
"Sorry, you are not allowed to access this page."

No further console errors.

The Problem seem to me to be the hook for admin main menu?

Attachments (1)

err.jpg (104.8 KB) - added by awlizw 8 months ago.
WP-Error, but nevertheless databases were installed and got entries

Download all attachments as: .zip

Change History (5)

@awlizw
8 months ago

WP-Error, but nevertheless databases were installed and got entries

#1 @desrosj
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.1 deleted

Hi @awlizw,

Welcome to Trac!

This Trac instance is for development of the WordPress Core software. From the details you have provided, it does not seem like this is a bug in WordPress but rather with your local configuration. I recommend opening an issue in the WordPress.org support forums. That location is much better suited for requests like these.

#2 @awlizw
8 months ago

Finally I found myself what was missing. Your documentation in WP CMS and online (above) is old and incomplete.
Beside "define('WP_ALLOW_MULTISITE', true);"
has to be placed afterwards
"define('MULTISITE', true);"
to just activate the MENU!
Well,by going ahead more error come, css is not loading and so on

#3 @desrosj
8 months ago

Hi @awlizw,

The codex is actually outdated. I recommend that you use the Help Hub instead. Here is the page related to multisite: https://wordpress.org/support/article/installing-multiple-blogs/#multisite-feature

Please utilize the support forums for further assistance on getting up and running with multisite.

#4 @projectitis
4 months ago

To start the multi-site installation process, the user adds a define for WP_ALLOW_MULTISITE to wp-config.php.

After the multi-site installation process has completed, WordPress tells you to update wp-config.php with an additional number of DEFINE statements.

I have found, at this point, if you do not remove the original WP_ALLOW_MULTISITE definition, the "My sites" menu never shows up (WP 5.2.2), and there is a permissions error if you try to access the network admin URL.

Please update the WordPress instructions to tell the user to remove WP_ALLOW_MULTISITE from wp-config.php at the end of the multisite installation process. Currently the instructions are only to add the additional define statements.

I have a feeling that may resolve this issue.

Last edited 4 months ago by projectitis (previous) (diff)
Note: See TracTickets for help on using tickets.