Skip to:

Opened 4 years ago

Closed 5 days ago

#8351 closed defect (bug) (maybelater)

Create a Site Bug

Reported by: eha75's profile eha75 Owned by: imath's profile imath
Milestone: Priority: normal
Severity: normal Version:
Component: Blogs Keywords:

Change History (8)

#1 @imath
4 years ago

  • Component changed from Core to Blogs
  • Keywords reporter-feedback added

Hi @eha75

I guess in your case BuddyPress is not activated on the main WordPress site of the network, can you confirm?

#2 @eha75
4 years ago


BP is network activated.
but BP root is defined different to the main site (define ( 'BP_ROOT_BLOG', 2); and define('BLOG_ID_CURRENT_SITE', 4);)
but for new created sites via BP frontend, the system uses the BP root blog domain.

br, Eric

#3 @eha75
4 years ago

  • Keywords reporter-feedback removed

#4 @imath
4 years ago

  • Keywords needs-testing added
  • Owner set to imath
  • Status changed from new to assigned

Thanks for your feedback, I'll try to reproduce the issue asap.

#5 @imath
4 years ago

  • Keywords reporter-feedback added

I wasn't able to reproduce the issue.

But as we're using WordPress functions to create blogs, could you check it's a BuddyPress issue by deactivating BuddyPress and trying to register from the wp-login.php page?

If there are no problems, I'll need more infos about your configuration in particular:

  • the Multisite config type (subdomain or subdirectory)

#6 @eha75
3 years ago

  • Keywords needs-testing reporter-feedback removed

sorry for the delay, but i had to pause my BP activities for some time, but i am back again.

here is my setup: WP 5.6 multisite (subdirectory confif), BP 7.1.0 on siteground, 4 domains configured to the install.

target is to have BP on a different site than "main", but new sites to be created based on the domain used for the "main" site, which should be the default if i understood correct.

the issue that i noticed is that new sites are not created based on the domain of the main site, but based on the domain which is used for the BP site, this is repeatable on my testinstall.

interesting fact:
using Sites > Create a Site on the frontend of the BP site, the page shows the correct sitename from the main site with the free field to enter the subdirectory name.

after creating the new site, the "congratulations page" names the domain of the BP site with the entered subdirecory name as "your new site", which is the same that was setup by the systems and is visible in the Sites list /wp-admin/network/sites.php (bp-site-domain/subdirectory instead of wpmu-site-domain/subdirectory)

if i create a new site via backend /wp-admin/network/site-new.php the new site is being created correct based on the domain of the main site (DOMAIN_CURRENT_SITE).

for my wp-config i use the following definitions for the site setup:
define('WP_ALLOW_MULTISITE', true);

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', '');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

define ( 'BP_ROOT_BLOG', 2);

i also tested to define another site for BP_ROOT_BLOG and also to define another main site BLOG_ID_CURRENT_SITE, same effect.

br, Eric

#7 @imath
3 years ago

  • Milestone changed from Awaiting Review to Under Consideration

Thanks for your feedback I'll give it another look asap.

#8 @espellcaste
5 days ago

  • Milestone Under Consideration deleted
  • Resolution set to maybelater
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.