Problem with correct site loading

I have a frequent problem with wpmu not selecting the right site to load.

For example, if I navigate to my main site, wpmu “may” load a subdomain site. I have not noticed it loading the main site if I go to a subdomain.

Moments ago I clicked on the bookmark to go to the site domain and a subdomain loaded. I clicked refresh and the main site loaded correctly.

It does not happen all the time.

Any suggestions?

Thanks,

Kirk

  • Kirk Ward
    • Syntax Hero

    My host said they don’t have anything caching. They ran a couple of tests and it didn’t happen with them.

    The url’s are different and the content matches the url.

    I am thinking it happens primarily when I use Roboform. I just used it for my admin site and was logged in to the fred test blog. I clicked the same Roboform link a second time and was immediately logged in to the site admin. Same link, two different targets. I will contact their support to see if they have an answer.

    Back as soon as I have more.

  • Kirk Ward
    • Syntax Hero

    Roboform sent instructions to re-set the login information.

    Between the last post and this, I also realized that the regular browser bookmark carried me to the wrong url, just as Roboform was doing. I don’t know if they are inter-related or not, but will watch and report back.

  • Kirk Ward
    • Syntax Hero

    I have re-set the memory of Roboform, and thought it had helped.

    Then I clicked on my bookmark in the Bookmark Toolbar and was taken to the test sub-domain. I had not been to that site for several browser sessions, so my guess is that this is unrelated to Roboform.

    Maybe the multiple IP addresses that whacks out my Anti-Splog and requires two registrations for one install? Maybe the shared login screen in wp-admin?

    Don’t know if it will happen to any other user or not.

  • Kirk Ward
    • Syntax Hero

    Will try to take a look. But interesting developments …

    Lightning struck the house on Friday and overpowered the UPS protection, so we lost motherboards in all PC’s. Last night I hooked up a new replacement PC and as my first action, manually typed in http://accountingpractitioner.com. The page that was returned was http://fred.accountingpractitioner.com

    I looked in Firefox at the Options -> Set Home Page thing and it showed the URL that I had typed. I clicked the “Use Current Page” button as my home page, closed the window and clicked on the “Home” icon on the toolbar. I was taken to http://accountingpractitiner.com

    After I finished setting up some more application, I turned the PC off.

    This morning, when I turned it on and opened my browser, it opened to http://fred.accountingpractitioner.com

    So I clicked on the “Home” icon and was taken to http://accountingpractitioner.com

    This indicates to me that it is not a browser or cookie problem.

    My question is now, who should I confer with to find this problem? Could it be a factor related to WPMU and shared hosting? Any fresh suggestions?

  • Richie_KS
    • HummingBird

    did you try replace @import style with style css call?..like this

    < style type="text/css" media="screen" >

    @import url(http://accountingpractitioner.com/wp-content/themes/default/style.css);

    < /style >

    changed to

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    cheers

  • Richie_KS
    • HummingBird

    also some css declare error in style.css line 20

    body {

    background: #030;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    text-align: center;

    padding-bottom: 20px;

    text-align: center;

    // background: url(images/winebg2.jpg) ;

    }

    should be

    /* background: url(images/winebg2.jpg) ; */

    that maybe the cause since its involved body css:slight_smile:

  • Kirk Ward
    • Syntax Hero

    Thanks Richie …

    Changing the @import url section to the link rel= code broke worse or consistently, while changing the comment section for the background to correctly comment seems to be helping. that would be something I changed through copy and paste of another site css for this theme when it ran on a non-subdomain wp site… I have previously announced, I aren’t no coder! This do prove it.

    Thanks again, I’m looking forward to seeing if it holds.

    Kirk

  • Kirk Ward
    • Syntax Hero

    The broken css is primarily with one theme. I have several copies of it and only one of those seems to be having the problem However, while checking the other themes, I noticed the following in the footer of every theme …

    Warning: fopen(/home/kirkward/public_html/wp-content/themes//style.css) [function.fopen]: failed to open stream: No such file or directory in /home/kirkward/public_html/wp-includes/functions.php on line 3697

    Warning: fread(): supplied argument is not a valid stream resource in /home/kirkward/public_html/wp-includes/functions.php on line 3700

    Warning: fclose(): supplied argument is not a valid stream resource in /home/kirkward/public_html/wp-includes/functions.php on line 3703

    I am using wpmu ver 2.9.1 … is an upgrade warranted to ver 2.9.2?

    Also, this is on shared hosting and I am not sure the first part of the path is required.

    My path to functions.php, as shown in filezilla, is /public_html/wp-includes/functions.php, not /home/kirkward/public_html/wp-includes/functions.php

    /home/kirkward/public_html/wp-includes/functions.php is the full HostGator path.

    Thanks,

    Kirk

  • Richie_KS
    • HummingBird

    Warning: fopen(/home/kirkward/public_html/wp-content/themes//style.css) [function.fopen]: failed to open stream: No such file or directory in /home/kirkward/public_html/wp-includes/functions.php on line 3697

    seem like something is corrupt..as you can see it do not had get_template where after

    themes/?/style.css

    ? should be theme name or folder name.

    try disable all plugins including buddypress if active…and move any plugin inside mu-plugins to

    another folder so it restore to orignal state….and use wordpress default theme…see if the site server error and css cache still buggy.

  • Kirk Ward
    • Syntax Hero

    Suspect plugin identified …. the non-WPMU plugin named “Redirection.” Used for the root site only, but inspiration makes me think that it was the cause. Will test and report back. Have deactivated the plugin, and several tests seem to be okay. But, since it is so random, I cannot recreate the error at every instance.

    My gut is thinking this is the first real suspect.

  • Kirk Ward
    • Syntax Hero

    Overwrote my old version on March 5, 2010, so I am presuming it was the most current.

    Still watching … no occurrence of the problem since deactivating the plugin. For best results I am waiting several hours between instances of opening a new browser. (And yes, there is agony in the wait.)

  • Kirk Ward
    • Syntax Hero

    Well, my gut was wrong.

    Had a dozen or two instances where everything looked like it was going to be okay. Now it’s breaking on a regular basis. Only thing I did was go into the “admin” panel and under “options,” I changed the “Invite” code.

    I want to cry like a baby.

  • Kirk Ward
    • Syntax Hero

    My error logs show this …

    [Thu Mar 25 13:29:53 2010] [error] [client 72.18.105.43] File does not exist: /home/kirkward/public_html/wp-content/themes/style.css

    And the page source code shows this ….

    http://accountingpractitioner.com/wp-content/themes//style.css

    Note that there is no theme name being inserted by WPMU

    I have the following plugins installed …

    Akismet (sitewide)

    autoblogincludes

    cets_theme_info

    sitewidetextincludes

    supporter (and a bunch of supporter stuff that was auto-installed)

    ad-sharing

    admin-ads

    admin-footer-test

    admin-help-context

    admin-message

    anti-splog

    autoblog

    automessage

    blog-templates

    cets_blog_defaults

    content-monitor

    forums-framework

    global-footer-content

    google-analytics

    invitation-code-checker

    invite

    limit-blogs-per-user

    login-image

    mailchimp

    messaging

    remove-browse-happy

    remove-permalinks-menu-item

    remove-wp-dashboard-widgets

    simple-ads

    site-generator-replacement

    site-wide-text-change

    tips

    update-notifications

    widget-supporter-badge

    wpmu-custom-css

    Do I need to uninstall all of these and start experimenting? This is getting very frustrating. I thought the Redirection plugin might be involved, but I have no clue, and I’m not qualified to piddle in the code … and right now, after a lightning strike wiping out the house and all things electronic, I’m not in a position to hire a coder, so any suggestions are very, very, appreciated!

    Kirk