Support » Fixing WordPress » Help me with a strange WP problem

  • I have two copies of WP installed. One is under a subdomain on my web host. The other is on the main domain. both copies have been up and running for some time. They are both fully functional.

    The site hosted on the subdomain has a problem, where I can’t seem to upgrade it. No matter how many times I upload the files, or use auto update.

    I also notice that I can’t update the plugins. I even tried deleting all of the plugins and then trying to update. And here’s where it gets strange. After deleting all of the plugins, the plugins still show on the site and the site still functions.

    This is driving me nuts!

    Seems WP could be mixing up the sub and main domains. But, both are using different plugins and different themes. Both sites are fully functional. I haven’t had any trouble with how the sites work. But I just can’t seem to upgrade the site under the subdomain. I can’t update WP or any of the plugins. I can’t seem to delete the plugins either?

    The main site uses 2.9.2 the site under the subdomain is 2.9.1

Viewing 5 replies - 1 through 5 (of 5 total)
  • I tried deleting the Hello plugin as a test, using the delete option from the WP admin panel on my subdomain. This removed the plugin from the plugins folder in the main domain…

    I tried setting the ABSPATH in the directory containing my subdomain.

    define(‘ABSPATH’, dirname(__FILE__).’/subdomain’);

    Where subdomain is the name of the directory that contains the subdomain. This had no effect. My site was still functional and the plugins directory still doesn’t recognize new plugins.

    I tried changing the DB_NAME in my config file to a bogus value. After this my site was still fully functional.

    My new theory is that this copy of WP is using the config file in the main directory. Probably due to a setting in the DB?

    I gave this a try also:

    define(‘WP_HOME’, ‘http://’.$_SERVER[‘HTTP_HOST’].’/stompbox’);
    define(‘WP_SITEURL’, ‘http://’.$_SERVER[‘HTTP_HOST’].’/stompbox’);

    This should point to the folder where my subdomain is located and where the glitchy copy of WP is installed. This seemed to be the same.

    Does anyone have any suggestions, this is driving me nuts.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help me with a strange WP problem’ is closed to new replies.