Manual upgrade to 3.0.4 failed, problems with wp-content folder
I just upgraded an installation from 2.8.4 to 3.0.4 and now I am experiencing the white screen of death when I try and view my blog, however no problems viewing the admin screen. All of my plugins are disabled, I’ve reinstalled twice but am still having the issue. Database upgrade was successful… no problem there.
I’ll refer to my site as mydomain.com while on here since the site I am talking about is not accessible publicly. Private small company stuff 🙂
My setup is slightly more complicated than a normal site. I have three different wordpress installations loaded on a single hosting account. They are each buried in sub directories on three different subdomains.
I’ve adjusted each installation (from within its wp-config.php file) so that they all use the same wp-content folder, which I placed in the root directory. (www.mydomain.com/wp-content)
I did this so that I could make each wordpress installation use the same theme, plugins, and keep all the uploads in the same place… it has been working brilliantly until the upgrade.
Out of the three upgrades I am performing, one of them was a success, and is reading the redefined wp-content directory.
The other two are ignoring the code in wp-config.php, and are looking for the wp-content folder to be in the default location…despite the redefined wp-content code. I know this is the case because if I upload a wp-content folder into the default location for one of these installations, the 2010 theme loads without issue and I am able to see my posts again (with no media of course). If I remove the default wp-config folder, I get the white screen.
I’m using the following code in wp-config to specify the location of the wp-content folder:
define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content’ );
define( ‘WP_CONTENT_URL’, ‘http://www.mydomain.com/wp-content’);
From within the admin >> theme selection screen, if I have the default wp-content folder renamed or removed, I get several error messages:
Warning: array_keys() expects parameter 1 to be array, boolean given in /home/myaccount/public_html/site2/subdir1/wp-includes/theme.php on line 513
Warning: uksort() expects parameter 1 to be array, boolean given in /home/myaccount/public_html/site2/subdir1/wp-admin/themes.php on line 73
Warning: array_slice() expects parameter 1 to be array, boolean given in /home/myaccount/public_html/site2/subdir1/wp-admin/themes.php on line 94
I have no idea why one installation works, and why the others don’t… it’s the exact same files except for the unique settings in each wp-config.php file. The only thing I can think of is that I the one that works may have been upgraded to 2.9 or another version before moving to 3.0.4, and the rest are just upgrading from 2.8.4.
Has anyone else had this problem? Is there another way for me to redefine the location of wp-content?
- The topic ‘Manual upgrade to 3.0.4 failed, problems with wp-content folder’ is closed to new replies.