Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with creating new blog

  • Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    Hello,
    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 ?
    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @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 http://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.

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    Thanks i will try this

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    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

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    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:
    http://subdomain.mydomain.com/wp-admin/network/site-new.php
    But this one does not work:
    http://subdomain.mydomain.com/blogs/create
    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!!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == 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?

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    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 ?

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    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 … :)

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == 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

    Avatar of dasteralo2
    dasteralo2
    Participant

    @dasteralo2

    Ok i Will try re-install buddypress.
    Thanks for your help!

    Avatar of masonjames
    masonjames
    Participant

    @masonjames

    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:

    http://domain.com/site-activity/create

    Hope this helps others who come along. Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @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

    Avatar of masonjames
    masonjames
    Participant

    @masonjames

    Hiya @mercime,

    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):

    http://buddypress.trac.wordpress.org/ticket/4632

    Hope that clarifies. Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    (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!

    Avatar of myladeybugg
    myladeybugg
    Participant

    @myladeybugg

    @masonjames I am having this same problem, but my link contains /blogs/

    http://domain.com/blogs/create/

    This link still does not work and takes me to a “page not found”

    Any more info on this?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @myladeybugg you have a different issue. Your WP is installed at http://domain.com/blogs/ hence the answer here http://buddypress.org/support/topic/buddypress-multisite-add-new-site-option/

Viewing 15 replies - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.