Forums

[resolved] Non-primary site's dashboard not showing (15 posts)

  1. garychaloner
    Member
    Posted 1 year ago #

    I have Multisite in WP3.1 all working fine and the primary site and a secondary site are listed in the sites list, but when I go to the sites page in the Network Admin Dashboard and click on the dashboard link for the non-primary site, it lands on a page with no CSS and the message:

    "Not Found

    Apologies, but the page you requested could not be found. Perhaps searching will help."

    Underneath that is the menu from an admin panel in unformatted text.

    I'm sure it's something simple that I've missed in the site settings, but I'm scratching my head. The database has tables for the second site etc... but the dashboard just isn't happening.

    Any suggestions?

  2. garychaloner
    Member
    Posted 1 year ago #

    I had to adjust the .htaccess file. Seems sorted now. I have a dashboard for the non-primary site.

  3. Matthew Tommasi
    Member
    Posted 11 months ago #

    @garychaloner - I have the same issue.. what did you do to your .htaccess file to resolve this?

  4. mgonzales
    Member
    Posted 11 months ago #

    I am also interested in the solution to this. I've set up a new 3.1 localhost installation and am having this problem.

  5. Andrea_r
    team pirate
    Posted 11 months ago #

    Depends on if you're running subfolders or subdomains. do the front ends display properly?

  6. Matthew Tommasi
    Member
    Posted 11 months ago #

    I am running sub-folders, and the front end does not display properly for my 2nd site.

    Any ideas?

  7. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    Check your .htaccess against the ones here: http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite

    Obviously check the subfolder one for subfolder sites ;)

  8. mgonzales
    Member
    Posted 11 months ago #

    Thank you. I am running sub-folders. And have checked my .htaccess against the example from the codex. Here is my .htaccess. This gets further than anything else, but results in a 'page not found' when I click on sub-site 'Dashboard'.

    Options FollowSymlinks
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
  9. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    You're going to youdomain.com/wordpress/subsite/wp-admin ?

  10. Andrea_r
    team pirate
    Posted 11 months ago #

    It's another case of the server not reading the htaccess file.

  11. mgonzales
    Member
    Posted 11 months ago #

    Thank you, both. I appreciate the help.

    Yes about the domain, but it is running on:

    http://localhost/wordpress/subsite/wp-admin

    I'll keep looking for reasons why apache would not be reading the htaccess file. I'm mystified by server configurations. They always look easy in examples, but never are in implementation (for me anyway).

    I ran a stable multisite development environment on wp 3.0, but upgraded from scratch to 3.1.3 and don't know what I've done wrong here.

  12. mgonzales
    Member
    Posted 11 months ago #

    I've checked to see if htaccess is being read by commenting out 'Options FollowSymLinks' and this breaks the process earlier, so I think that the file is being read.

    If this is true, then could there be a problem in wordpress file permissions?

    Does 'Network Admin/Add New Site' need to create any dirs or files? Maybe I'm missing somethings else.

    [note: running on SuSe 11.4]

  13. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 11 months ago #

    The file is being read, just not completely.

    Do you have AllowOverride set to All?

  14. Andrea_r
    team pirate
    Posted 11 months ago #

    Does 'Network Admin/Add New Site' need to create any dirs or files?

    No, it does not. All sites are virtual, regardless of format.

  15. mgonzales
    Member
    Posted 11 months ago #

    Ipstenu,

    Yes. AllowOverride is set to All.

    Thank you for the help. Also, thank you Andrea. I'm going to give up for now on Multisite and just get some work finished up in regular 'ol single site wp mode. I'll have to get back to this in a couple of weeks after I clear some work off my desk. Maybe reinstall apache/php/mysql from scratch.

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags