Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Vela

    (@vela)

    One more important note…

    I noticed the admin section was NOT finding it’s corresponding CSS file. You can correct this by opening the admin-header.php file and deleting this line:

    <?php echo get_settings('siteurl') ?>

    from this code:

    <link rel="stylesheet" href="../wp-admin/<?php echo get_settings('siteurl') ?>wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />

    so you get this result:

    <link rel="stylesheet" href="../wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" />

    Vela

    (@vela)

    I found a fix for those using a sub-directory.

    If you open the install.php file you will notice these lines throughout:

    if (!file_exists('../../wp-config.php'))
    require_once('../../wp-config.php');
    require_once('../../wp-admin/upgrade-functions.php');

    Change ../../ in every instance to ../, so you get this:

    if (!file_exists('../wp-config.php'))
    require_once('../wp-config.php');
    require_once('../wp-admin/upgrade-functions.php');

    It should be that when you visit the install.php file it will now find the wp-config file. You may need to do this same thing to every instance of ../../ to get through the installation. They occur all the way down to the very bottom of the script.

    I used Dreamweaver to perform a global change – every single instance of ../../ was changed to ../ throughout my “blog” sub-directory.

    It works beautifully ??

Viewing 2 replies - 1 through 2 (of 2 total)