The MU forums have moved to WordPress.org

Three problems, can someone help (10 posts)

  1. amnesiak
    Member
    Posted 15 years ago #

    I know that I had this as a reply to another thread but since I noticed there are three issues I thought I'd create a new thread and hope that someone can help.

    1) If you go to old blogs (for example) http://gangs.iktib.com you get "No WPMU site defined on this host."

    2) New blogs now sign up as

    iktib.com/BLOG

    rather than BLOG.iktib.com

    3) old blogs 'blog name' in the admin panel just shows up as / and nothing more.

    Thanks for taking the time to read this.

    Should I wait to resolve this or upgrade to 1.5.1 now? (Don't want to lose the blogs)

  2. cafespain
    Member
    Posted 15 years ago #

    It looks like your MU installation has switched from sub-domains to directories.
    Have you done a new installation or upgrade recently?

  3. andrea_r
    Moderator
    Posted 15 years ago #

    Yeah he did. I remembered where this is set (I think). Check the htaccess file and look for vhost=true

  4. amnesiak
    Member
    Posted 15 years ago #

    thanks for the replies.
    Do you mean in WP_config? because that's where vhost is.

    In .htaccess there isn't that line.

    Do I just add vhost=true ?

  5. amnesiak
    Member
    Posted 15 years ago #

    I thought that just upgrading should be straightforward (since I always have) it just seems that the past to updates haven't been going as smoothly as they used to go.

    Anyway, here's my .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

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

    </IfModule>

    Here's my wp_config at the moment. (the first lines.

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    define('VHOST', 'VHOSTSETTING');
    $base = '/';

    If I change

    then at the top of the control panel I see this
    "p'); ?>"

    And it doesn't fix the blogs issue.

  6. Trent
    Member
    Posted 15 years ago #

    I hope that isn't your database information and if it is, edit the thread ;)

    Trent

  7. amnesiak
    Member
    Posted 15 years ago #

    woah added that in a haste. thanks for the heads up
    I just added this

  8. amnesiak
    Member
    Posted 15 years ago #

    sorry if I'm bumping the thread but I just want to update it with my changes in case some kind soul needs it to help me out.

    I changed

    define('VHOST', 'VHOSTSETTING');

    in Wp_config

    to

    define('VHOST', 'YES');

    Now the subdomain blogs work, however the images in a blog do not work.

    See http://gangs.iktib.com for an example.

    Some blogs don't work though.

    There also is

    "hp'); ?>"
    on top of the working blogs.

  9. Akashic
    Member
    Posted 15 years ago #

    After having some issues with upgrade, I deleted all files and run the installation once again (database untouched).
    As for now, don't have any issues.
    All blogs and domains working.

  10. amnesiak
    Member
    Posted 15 years ago #

    so you suggest to delete EVERYTHING, and run a fresh install and just leave the database settings the same?

About this Topic

  • Started 15 years ago by amnesiak
  • Latest reply from amnesiak