WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need Hosting Advice (30 posts)

  1. stephaniefraser
    Member
    Posted 3 years ago #

    Hi Andrea,

    A few weeks ago, we "forumed" and you said I could contact you via your wpmututorials and ask a few other questions. Mainly about hosting.

    I went to your site. Alas, your contact form said, try here.

    So... here I am.

    I will check back here regularly.

    Thank you!
    Stephanie

  2. I meant leave a comment over there, and also search my blog for the word hosting. :)

  3. stephaniefraser
    Member
    Posted 3 years ago #

    Hi Andrea:

    I searched your blog for hosting, and still have a few questions:

    1) I have one wpms on bluehost (with subdirectories) where the buddy press works fine but the CSS doesn't get applied to the sub-sites (http://autobituary.net).

    2) I have another wpms site on webmasters (with subdomains) where the sub-sites work just fine but when I activate buddypress it freaks out (http://vermont.be).

    Any thoughts on buddypress playing well with wpms?

    3) for the first site, I need some input on an idea for a calendar/journal function and thought you might be good for that too.

    I looked at your list of freelancers on your site, and maybe there is the best place to start. I thought I would talk with you first, if you were looking for work.

    Thank you for all your help, Andrea.

    Stephanie

  4. stephaniefraser
    Member
    Posted 3 years ago #

    Oh yeah, the second site: vermont.be, I got them to update the PHP to 5. (it was php4)

  5. stephaniefraser
    Member
    Posted 3 years ago #

    Upgradephobia... genius...

  6. stephaniefraser
    Member
    Posted 3 years ago #

    So, I just tried the buddy press again on the Vermont.be site.

    When I install it, the entire site is replaced with this:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, admin@webmasters.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Apache/1.3.41 Ben-SSL/1.60 Server at http://www.vermont.be Port 80

    I then go to Dreamweaver and delete the folder on the server and voila it reappears and I breathe again.

    ????

  7. 1) I have one wpms on bluehost (with subdirectories) where the buddy press works fine but the CSS doesn't get applied to the sub-sites (http://autobituary.net).

    Known issues and i';s nothing to do with Buddypress. Tell your web support you made htaccess changes and they aren't being applied. (you did put the htaccess file there when setting up the network, yes?)

    This is covered in the forum sticky.

    2) I have another wpms site on webmasters (with subdomains) where the sub-sites work just fine but when I activate buddypress it freaks out (http://vermont.be).

    Either talk to your webhost about the 500 error or ask on the buddypress forums where more people can help.

    Any thoughts on buddypress playing well with wpms?

    It was originally built as wpmu-only, so it should play fine.

    3) for the first site, I need some input on an idea for a calendar/journal function and thought you might be good for that too.

    No idea, sorry.

    I thought I would talk with you first, if you were looking for work.

    Booked solid.

  8. stephaniefraser
    Member
    Posted 3 years ago #

    Andrea,

    you said:
    Known issues and i';s nothing to do with Buddypress. Tell your web support you made htaccess changes and they aren't being applied. (you did put the htaccess file there when setting up the network, yes?)

    -- yep I did : )

    this is a "known issue" .... hmmm... A couple of months ago you said that there was a bug ticket for this. Is there any way I can track the resolution?

    Thanks! I appreciate the advice!

    I have contacted one of the people listed on your site.

  9. stephaniefraser
    Member
    Posted 3 years ago #

    This is the current .htaccess file for the site with the CSS not applied to the sub sites.

    CONTENT BEGINS:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    CONTENT ENDS

  10. A couple of months ago you said that there was a bug ticket for this. Is there any way I can track the resolution?

    It was only in specific cases, and over 90% pf the people with the exact same issue did what I said in the sticky: contact Bluehost. tell them you made htaccess changes and they aren't working.

    Or, there's a whole section in your htaccess file that shouldn't be there. Note the instructions said the *replace* the rewrite rules. Not add the new ones. replace. So do that before you contact support.

  11. stephaniefraser
    Member
    Posted 3 years ago #

    I contacted bluehost back when this first happened, and the guy was sure that the htaccess file was being applied. I don't know... I can totally call again.

    However... let me look at this htaccess file and compare it to other versions.

    ok... I just did a bunch of experiments;

    THIS CODE (which WP3.0 just generated and I got via the Tools - Network option):
    ~~~~ The site works BUT you get a 404 error on blog, group, etc.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    ...........................................

    THIS CODE:
    ~~~~ Leads to the site working, groups working, but still no CSS in the subsites.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    hmm.. I will keep researching.

    All your help is deeply appreciated!
    Stephanie

  12. stephaniefraser
    Member
    Posted 3 years ago #

    Wouldn't the fact that when I change the content of the .htaccess file, the behavior of the site differs indicate that the .htaccess file was being applied?

  13. You'd think so.

  14. stephaniefraser
    Member
    Posted 3 years ago #

    I just chatted with a tech support person at blue host.

    Here's the pertinent info from the chat:

    Kylie: [7:44:34 PM] It really looks like it's related to the theme or something. http://autobituary.net/testsitetwo/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css?ver=3.0.1 is the link to the CSS file, according to your page's source code, but that pages gets a 404 (not found) error.
    [7:45:05 PM] I think the .htaccess settings are working properly. It just looks like the plugin (sorry, not the theme) is the problem?
    [7:45:19 PM] If you changed that site to use a different theme, or turned off BuddyPress, does that work?

    I am going to turn off buddypress and see.... be back once I have done that.

  15. stephaniefraser
    Member
    Posted 3 years ago #

    Nope... turning off the buddypress plug in didn't make the css magically appear in the sub site Test Site Two (http://autobituary.net/testsitetwo/).

    Kylie at blue host said:

    Kylie: [7:35:15 PM] On our servers, changes to .htaccess take effect immediately.

    I have two wp multisites and buddypress and wpms aren't working together on either one in different ways.

    I am very puzzled.

  16. stephaniefraser
    Member
    Posted 3 years ago #

    Also, there is no way to get to the "backend" of the sub sites either.

    http://autobituary.net/testsitetwo/wp-admin/
    just takes me to the same page as
    http://autobituary.net/testsitetwo

  17. It all related to the htaccess file. That's how the css is pulled, that's how the sub blogs are built, that's how the admin area is created.

    I'm well aware that tech support at bluehost is completely unfamiliar with how multisite is supposed to work.

  18. bh_WP_fan
    Member
    Posted 3 years ago #

    Check the Site URL in your database. Check it both in the normal wp_options table and in the wp2_options table. (These tables may have different prefixes in your setup).

    Make sure that the normal wp_options table has your site listed as http://autobituary.net

    Make sure that the multi-site wp2_options table has your multisite listed as: http://autobituary.net/testsitetwo

    Also, on page two of each option table, make sure the home option_name is also set to the same URLs.

    There is a tutorial here which shows how to do it for the normal site, and the multisite is basically the same thing: http://wordpress.shadowlantern.com/2010/09/how-change-wordpress-url-phpmyadmin/

  19. bh_WP_fan
    Member
    Posted 3 years ago #

    Also, the following is the .htaccess code I'm using on my multisite install and it is working, although, admittedly, I'm not using BuddyPress. (I'm just using the twentyten theme):

    #BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    #END WordPress
  20. the buddypress part is irrelevant. really.

    @stepahnie - try the htaccess file bh fan posted. And *replace* what you have - don;t add this to the end like you did with the rest (which is why you;re having issues).

  21. stephaniefraser
    Member
    Posted 3 years ago #

    Awesome suggestions....

    I will try them and report back.

    As always, you all have my deepest appreciation for help!

  22. stephaniefraser
    Member
    Posted 3 years ago #

    Nope... changing the .htaccess file to bh_WP_fan's suggestion didn't work.

    Now, let me go look at the database as per the other suggestion.

  23. stephaniefraser
    Member
    Posted 3 years ago #

    Ok... just looked at the database.

    The addresses are correct.

    There is one difference: on the TestSiteTwo site, the entry has a / at the end of the address.

    That's the only difference.

  24. And what happens if you put that / in there?

    (I can't see why it would matter, but there you go...)

  25. stephaniefraser
    Member
    Posted 3 years ago #

    @Andrea, it doesn't make a difference at all to have a / or not... in both places.

    I am thinking the next steps are:

    Maybe I should delete all the sub sites.
    Reset the wp-config.php file to be a single site.
    Disable the buddypress and all other plugins.
    Re add the multisite code to wp-config file.
    See if the multisite works.
    If so, reactivate buddypress
    If so... all better.

    If not... would making a new database be the next step?

    And then lastly, if nothing works... could it just be bluehost, which is where i started.

    hmmm...

  26. joshmac
    Member
    Posted 3 years ago #

    @stephaniefraser, I just checked all your pages/sites and it seems to work. Did you do a reinstall?

  27. stephaniefraser
    Member
    Posted 3 years ago #

    @joshmac, no I haven't done it yet... kids and dinner....

    The pages that are not working are under the blog link, for the sub sites --

    Does the CSS show up -- it's just TwentyTen on the subsites -- when you look at it?

    http://autobituary.net/testsitethree/

  28. joshmac
    Member
    Posted 3 years ago #

    @stephaniefraser, yes the theme looks the way it should and the css shows up. I've checked all the subsites and the links and they all work for me. Do you have another browser installed? Maybe check these sites under a different browser.

  29. stephaniefraser
    Member
    Posted 3 years ago #

    IT WORKS!!!!!!!!!!

    Trying to get my kid to sleep, I thought that I hadn't cleared my cache after I uploaded the .htaccess file (contents of which were suggested by bh_WP_fan -- whom I wish the best of happy treats to come his/her way -- AND so I did and VOILA!!!!!

    AWESOME...

    I Just got into the back end of the sub site...

    Now to get back to getting my youngest to sleep.

    LOVE AND KISSES TO ALL OF YOU!

  30. joshmac
    Member
    Posted 3 years ago #

    That's great. I figured it was a browser cache issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.