WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Subdirectory Blogs themes are not loading (7 posts)

  1. rudy3107
    Member
    Posted 2 years ago #

    I moved my site to new webhost.
    my old site version was 3.2.1 but when i moved i updated to 3.3.1 and imported DB files.
    1st time network update failed. so i changed back to 3.2.1 files but again it asked to network update and i did it.

    but when i saw my other subdirectory blogs, its themes are not loading,even admin panel theme.

    only main site loads [http://mynation.net] but other 9 blogs shows like this [ http://mynation.net/abio/ ]

  2. rudy3107
    Member
    Posted 2 years ago #

    i also get this ERROR message on

    http://mynation.net/wp-login.php page

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wp_no_robots' was given in /home/mynatark/public_html/wp-includes/plugin.php on line 405

  3. rudy3107
    Member
    Posted 2 years ago #

    i found out solution for above Problem; when i saw all my 10 subdirectory blogs one was not visible

    so i went to NETWORK ADMIN
    then run upgrade network and it was failing on one blog.
    ERROR MESSAGE
    -----------------
    Warning! Problem updating . Your server may not be able to connect to sites running on it. Error message: A valid URL was not provided.
    -----------------
    as i was having 10 blogs i run UPGRADE NETWORK at once
    -----------
    http://mynation.net/wp-admin/network/upgrade.php?action=upgrade&n=10
    -----------
    and it said ALL DONE

    and above "wp_no_robots" ERROR is gone.

    and my actual problem of sub blogs theme failure still continued.

  4. rudy3107
    Member
    Posted 2 years ago #

    only Main site works. including wp-admin
    other blogs works but very slow and without theme/css
    and for other blogs wp-admin it says
    -------------
    404 - Page Not Found
    Sorry, but you are looking for something that isn't here.
    -------------

    and no one knows solution for this....:)

  5. rudy3107
    Member
    Posted 2 years ago #

    i also have bbpress [ http://advice.mynation.net ] that works superb

    i moved my site almost 10 times to different webprovider but never faced problems like this.

    may be its BUG in 3.3.1

  6. rudy3107
    Member
    Posted 2 years ago #

    i think in themes header file its redirect to

    http://mynation.net/abio/ instead http://mynation.net/

    as its shows http://mynation.net/abio/wp-content/themes/arthmia/style.css which is wrong

    it should be

    http://mynation.net/wp-content/themes/arthmia/style.css

    anyone know how to set it up in .htaccess

  7. rudy3107
    Member
    Posted 2 years ago #

    i added these 4 lines to wp-config and its working fine at last

    define('WP_HOME','http://mynation.net');
    define('WP_SITEURL','http://mynation.net');
    define( 'WP_CONTENT_URL', 'http://mynation.net/wp-content');
    define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content' );

Topic Closed

This topic has been closed to new replies.

About this Topic