WordPress.org

Forums

Blogs give a blank page/posts are in the 'main site's ' blog, not author's own (18 posts)

  1. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Hello all.
    I've had a wordpress site (mafgirl) for yonks, but am fairly new to WPMU (a few months) I've got a social network (driverszone)about to launch next month and am just ironing out little niggly bits.
    I am struggling to get my head around the multi blog thing. All users at the moment are test users created by the owner and me, we are both super admins and the test users contributors. as super admin eleanor I have created groups (Car Clubs in our network) with a blog, the super admin James has created the site blog and our two virtual users have created test blogs. None of these blogs are accessible as they all turn out a blank page. I read somewhere on a forum that maybe they need to be verified via email, but no emails have been received.
    Furthermore, when I had the virtual user marjolijn create a post via dashboard, it was pending..
    I wasn't sure how to approve a pending post, apart from editing it and clicking publish. This how now resulted in the post being published in driverszone main blog, rather than the virtual author marjolijn's 'another test' blog. The post itself is accessible by clicking the link to the post on the website's Blog Page but ANY of the blog links give a blank page.

    Sorry for the long story, I hope someone will know what it is and it is probably something really simple in the settings..

    PS I use WPMU 3.1 and BuddyPress 1.2.8 (with the Theme Buddy Builder by Patrick Cohen)

    Thanks!

  2. None of these blogs are accessible as they all turn out a blank page

    Blank pages are always php errors.

    You have an error on those blogs. Did you remove the default theme? Did you turn off plugins? have you read your error logs?

    No, it's not a setting or something you missed - other than standard troubleshooting.

    p.s. - you forgoto to mention "oh yeah I'm using buddypress" so if you set a buddypress theme as the theme on those subblogs (which is NOT needed) then that;d be why it;s blank because that woudl make it error out as well.

  3. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Hi Andrea,

    Thank you for your reply!
    Yes I changed the default to the same theme that I use for the site, as I want to blogs to stay within the same theme and within the site.
    You see, this is a social networking site for car enthusiast that want to write about their refurbishing of their car/rallies they go to/etc and I'd like this blog to be like a tab on their profile and not actually leave the site.
    Is this not possible?

  4. Yes, it's possible, but likely you forgot a step.

    If you just delete twentyTen, your new blogs wil have a blank screen. You have to tell wordpress to set a NEW theme for the new blogs.

    Put this in your config file:

    define(‘WP_DEFAULT_THEME’, ‘theme-folder-name’);

    Or, explain how you did this:

    Yes I changed the default to the same theme that I use for the site,

  5. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Hi Andrea,
    Thank you, I tried putting

    define('WP_DEFAULT_THEME', 'buddybuilder');

    above the line of

    /* That's all, stop editing! Happy blogging. */

    in wp-config.php in the root
    But blog still blank. I also tried

    define('WP_DEFAULT_THEME', 'wp-content/themes/buddybuilder');

    but that also didn't change things.

    Or, explain how you did this:
    Yes I changed the default to the same theme that I use for the site,

    I changed the default theme by deleting all other themes making sure only buddy builder was left.

    When that didn't work I installed Brajesh's plugin Default Theme For Blogs and chose buddybuilder as the default theme (which is the only choice) in the settings described in the plugin link...

  6. This should be it
    define('WP_DEFAULT_THEME', 'buddybuilder');

    Try putting it higher up (like above the multisite calls).

  7. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Thanks Ipstenu,
    I had tried that exact code already, but have now put it higher up. I had it above the multiside calls already, and now put it underneath the MySQL settings, but the blogs are still blank... example: Mini Cooper Blog.

    Does anyone know why my website's main blog link is linked to the website's homepage? this is not where the blogs are.. see Driverszone Blogs.
    Or would that possibly be because in the reading settings I have a Static Page set up and nothing for posts yet? (purely because there are no relevant pages I could link it to and I've yet to create one specifically)

    Cheers Andrea and Ipstenu for your help so far! :)

  8. Can you get into http://driverszone.co.uk/minicooper/wp-admin/?

    And if so, can you change the theme THERE to Twenty-Ten?

  9. Marjolijn Harvey
    Member
    Posted 4 years ago #

    hmh. I do not have twenty ten, so for easiness I activated buddybuilder, which is my theme for the main site. That does work but reverts to default settings and not the ones I have on the main site.
    BUT this would mean I/the blog creator would have to activate themes manually each time a blog is created, is there a different way..?
    AND I would actually like the blog to stay within the main site, like so . This particular post is within the main site.. or is that because it is posted in the main site's blog..? Can I have all blogs to appear like this, but still be the member's own on their profile or within their Car Club (group)?

    Thanks for answering all the questions :) and sorry there are so many :S , it is just all rather different to a single WP blog site!!!

  10. No no, we're just trying to FIX the broken site :)

    No matter what, each site is separate from each other. It has it's own themes, plugins, etc.

    so for easiness I activated buddybuilder, which is my theme for the main site. That does work but reverts to default settings and not the ones I have on the main site.

    Two things to check
    1) Make sure you don't have any weird characters (like smart quotes etc) in your wp-config.
    2) Make sure that the folder doesn't have weird cases like BuddyBuilder (the wp-config.php file is case sensitive after all).

  11. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Ok :)

    1) I am assuming that dreamweaver would 'complain' if there were any faults, but I glanced at it quickly and no faults or "" spring to my eyes!
    I put the code directly under the MySQL stuff like so:

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    
    // define default blog theme (for newly created blogs by members)
    define('WP_DEFAULT_THEME', 'buddybuilder');

    2) The folder does not have weird cases: /public_html/wp-content/themes/buddybuilder

    I get what you are saying and each site can have their own theme and plugins. The thing is that the people coming on this site are not necessarily tech savvy and also may not necessarily want a separate blog. They just want to talk about cars and write about their build and restoration of their cars, for others to read and learn from. I think the majority would just like this to appear on a 'tab' in their profile. It may confuse them if they leave the main site and lose the navigation menu with it..
    I'm trying to think what other options I have..? any ideas?

  12. dreamweaver?

    Check in Notepad. Just for a lark... I've known DreamWeaver to put funky invisible characters in there.

  13. That does work but reverts to default settings and not the ones I have on the main site.

    Yeah, that's correct. each site is *separate*. the settings do not carry over.

    I had it above the multiside calls already, and now put it underneath the MySQL settings, but the blogs are still blank...

    the code from above only affectsd *new* blogs. You will have to visit the admin area of each blank blog and reactivate the right theme.

    I think the majority would just like this to appear on a 'tab' in their profile. It may confuse them if they leave the main site and lose the navigation menu with it..

    then copy over the nav menu.

    That's a separate issue and needs a separate post.

  14. Edit:

    Or, explain how you did this:
    Yes I changed the default to the same theme that I use for the site,

    I changed the default theme by deleting all other themes making sure only buddy builder was left.

    And this is why you had blank blogs. Deleting twentyten will always do that for new blogs unless you tell it otherwise.

  15. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Thank you! you are right, i started a test blog and that has a theme now
    THANKS AGAIN!!!

  16. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Edit: There is one thing not working though.. the main site's blog "Driverszone" is linking to the root which is not where the blog posts are. I added a new page driverszone-blog and in the reading settings changed the post page from 'none' to the new page. They now do display on the new page, but how can I get the main site's blog ('Driverszone' on this page) to link to it too?
    Thanks for all your help so far :)

  17. Put a link to that page in the nav menu. Are you using the custom menus to build the nav?

  18. Marjolijn Harvey
    Member
    Posted 4 years ago #

    Yes I am using custom menus, but the blog page will still display the 'driverszone blog' but linking it to the root.. I do want to keep this page as it displays all site wide blogs. Is there any way to change where it links to?

Topic Closed

This topic has been closed to new replies.

About this Topic