Forums

Upgrade to 2.6.1 causes theme headaches (4 posts)

  1. tixrus
    Member
    Posted 3 years ago #

    I have five blogs running off the same database, and the same core install, with everything symlinked. This worked in 2.5.1 the occasional plugin couldn't deal with it but too bad.

    I have an actual wp-content folder for each blog, with a symlink to the main install's plugins folder but an actual individual themes folder for each blog. This is better organized than tossing all my themes into the main install's themes. And besides who knows I might want to use the same theme on two blogs but that would cause trouble with naming folders if I didn't have them separated out.

    OK, well, now it appears as if the new wordpress is only looking for themes in it's core install wp-content/themes folder, not in the ones I have configured for each blog because the only choices are classic or default--the ones in the install. Also, the only theme that shows a thumbnail or works is the default. I tried dragging a random theme into the main install's themes to see if it would show. WordPress made an entry for it, but no thumbnail, and when I tested it it had no formatting, and neither did classic.

    I discovered a new file in the new install which the virtual blog folders did not have a symlink to: wp-load.php. So I made a new symlink in each virtual blog pointing to wp-load in the core install to match all the other symlinks. But that did not help with this problem.

    I looked around at the config files: Here is the trick I use: My wp-config.php in the main installation is just this:
    <?php require('local/wp-config.php'); ?>

    assuming local will point to different places in different contexts and that seems to work.
    In the root of each blog I have a folder called local with a config in it. In each config I hardcode ABSPATH to the root of each blog. I scanned quickly thru settings code and I just don't see why it's not looking for the themes where I want it to, and why they are all bad except default. Please help! I hate my blogs this way!

  2. tixrus
    Member
    Posted 3 years ago #

    Please does anyone actually know the answer

  3. tixrus
    Member
    Posted 3 years ago #

    I am looking in the code to see where it figures out where to look for themes. According to what I see it should basing on abs path of the blog. which should be the right thing.

  4. tixrus
    Member
    Posted 3 years ago #

    OK after much headscratching, we realized we had to toss all the themes in the core install AND SYMLINK them back from within the blogs individual folders. This was not necessary in the previous version.

    IT IS A BUG! It will not manifest in a plain vainilla WP install because the core install IS the blog folder. They just did not take into account this particular multiblog configuration (which almost reminds me of the drupal multi but not quite). By just making them virtually the same we have a work-around to the issue but it's not as aesthetically pleasing and the wordpress code is not correct because it is inconsistent. The blog displayer was getting the theme OK from where we had it, but the admin module was getting it from the core.

    This bug will not affect most WP installs.

Topic Closed

This topic has been closed to new replies.

About this Topic