• Hello,

    I’m running WP 3.1 with Network enabled. The install was done with subversion. When I went to save a change in my Network Options in the site admin panel, I was taken to a Yahoo page-not-found site as it looked for this link:

    http://my_wp_site/wp-admin/settings.php?updated=true

    Come to find out, I don’t have settings.php in my install. Has anyone else run into this? What’s the best way to retrieve the correct version of the file?

    Thanks a lot.

    EDIT: After looking at the code, I’m a little more confused. All my install files are just where they should be, but I still don’t know why WordPress isn’t finding the page it needs to when I save my changes. The form action code looks like this:

    <form method="post" action="edit.php?action=siteoptions">
            <input type="hidden" id="_wpnonce" name="_wpnonce" value="b976c966eb" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/network/settings.php" />

    Why would it be looking for /wp-admin/settings.php?updated=true?

    Thanks again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter moose123

    (@moose123)

    I thought it might make sense to include my .htaccess code here, which I just copied and pasted from the config steps in WordPress:

    RewriteEngine On
    RewriteBase /
    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).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Thanks.

    You can’t find it becasue it doesn’t exist.

    What page where you on when clicking whatever button that went there? Are you sure you’re not using the trunk version? (If so file a trac ticket).

    Thread Starter moose123

    (@moose123)

    Hi Andrea,

    Thanks for the reply. We’re using the trunk version of 3.1-alpha, and it’s when I’m in the Site Admin area > Network Options (operational settings, dashboard settings, etc). The file itself is /wp-admin/network/settings.php.

    I wanted to Enable administration menus, and when I click ‘Save changes’ it’s redirecting from:

    /wp-admin/network/settings.php

    to:

    /wp-admin/settings.php?updated=true

    Which of course it can’t find.

    The main site is running on a sub-domain as wpdev.mysite.com, so I’m wondering if that could be the issue.

    Thanks again.

    Well, you’re on trunk and that area is still being actively worked on, that’s the issue. 😉

    File a trac ticket so it can be fixed.

    Thread Starter moose123

    (@moose123)

    Ah, ok. Thanks for the info. I’ll file a trac ticket.

    Thread Starter moose123

    (@moose123)

    This bug was fixed over the weekend.

    trac ticket

    changeset

    Thank you, scribu!

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

The topic ‘settings.php missing from install’ is closed to new replies.