Problem with creating new blog
I have installed wordpress multisite and buddypress and I have an error saying “page not found” when i want to create a new blog from the admin page.
It seems that this page : http://subdomain.mydomain.com/blogs/create doesn’t exists.
Please do you have any ideas ?
Can it be an error in my wp-config or htaccess file ?
@dasteralo2 First, deactivate BuddyPress. you’ve got to make sure that your WP multisite installation is working before activating BP. Now create a new blog w/o BP and see if your new blog has been created.
– If no subsite is created, then resolve the multisite issue first at the multisite forum https://wordpress.org/support/forum/multisite
– If a subsite is created, then activate BuddyPress, go through the Installation Wizard and choose BP Default theme for the meantime, and create a new blog.
I’ve tried what you told me but the problem is still there.
No problem when i desactivate BP and all the other plugins. The admin AND the user can create a new site.
But as soon as i activate BP and select the BP default theme, only the admin can create a new site.
The user is redirect to a 404 page not found! Can’t find the page http://subdomain.mydomain.com/blogs/create
i’ve made a mistake in my previous post.
After having activate BP, not even the admin so that the user can create a new site.
In fact, this link works:
But this one does not work:
And depending on where i click, the link to create a site is different
lol i loose myself in this problem, hope i’m clear enough for someone how would help me!!
== But as soon as i activate BP and select the BP default theme, only the admin can create a new site. ==
After you activated BP, did you double-check if blog creation was suddenly unchecked in the Network Admin and you need to enable it again?
i’m sorry i don’t really understand your answer.
Is that about the network settings ?
in Registration Settings ->
Allow new registrations
i’ve checked: “Logged in users may register new sites.”
Is that what you were talking about ?
I’ve tried to open directly in firefox the create.php page and have this error message:
Call to undefined function get_header() in /htdocs/myfolder/wp-content/plugins/buddypress/bp-themes/bp-default/blogs/create.php
Maybe it can help to find a solution …
== Call to undefined function get_header() in /htdocs/myfolder/wp-content/plugins/buddypress/bp-themes/bp-default/blogs/create.php ==
@dasteralo2 try re-uploading the BuddyPress plugin folder manually, via FTP/cpanel/filemananager etc. Also, I assume you’re using bp-default theme just to check out the functionality of BuddyPress. If you want to make any revisions, you should be create a child theme of bp-default theme and make the revisions in the child theme
Ok i Will try re-install buddypress.
Thanks for your help!
Note: I ran into this today and the link in the dashboard to create a new site from ‘My Sites’ is incorrect (that’s old news).
Your “create site” link will be whatever slug you have for “site activity” in BuddyPress settings + the word “create”
So if you used the default page it’ll look like this:
Hope this helps others who come along. Thanks!
@masonjames Thanks for sharing. Curious. What version of BP and WP are you using?
Using BP Default theme in one multisite and a child theme of BP default in another, I go to Blogs Directory page example.com/blogs/ and click on the “Create a Site” button which goes to example.com/blogs/create/ since my default slug for the Blogs page is blogs. From wp-admin, creating a new site goes to example.com/wp-admin/network/site-new.php
From the network admin you’re correct it will go to wp-admin/network/site-new.php.
Easiest way to see the issue is to go to the “My Sites” link and click “Create new site” from there (assuming logged in users can create sites). This is how non-network admin’s would create a new site.
This link is borked (unless you’re using “blogs” as the slug for “Site Activity” possibly… haven’t tested that). Here’s the trac ticket with the fix (slated for 1.7):
Hope that clarifies. Thanks!
(unless you’re using “blogs” as the slug for “Site Activity” possibly… haven’t tested that).
@masonjames Yes, I’ve always used blogs as the slug in all my installations so never had that issue, thank goodness. Thank you for the clarification and for posting the trac ticket
Have great weekend!
@myladeybugg you have a different issue. Your WP is installed at http://domain.com/blogs/ hence the answer here https://buddypress.org/support/topic/buddypress-multisite-add-new-site-option/
- The topic ‘Problem with creating new blog’ is closed to new replies.