• Resolved nfn8

    (@nfn8)


    I posted this several months ago and never figured out an answer. It’s now at crisis point and I’m hoping someone can help.

    I can’t access /wp-admin/network/settings.php — I get a 404 error.

    This, of course, disables:
    – Network Settings
    – Domain Mapping
    – Domains

    Before you ask…

    1. YES, settings.php is there.
    2. YES, it’s the latest one from the repository.
    3. YES, the permissions are set to 644, same as everything else.
    4. YES, I’ve checked .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    I’m completely stumped.

Viewing 15 replies - 1 through 15 (of 17 total)
  • All the other Network Menus work, just not “settings”? That is odd.

    You certain a plugin or some code snippet in “mu-plugins” isn’t to blame?

    getluckybyme

    (@getluckybyme)

    i have also same problem setting.php getting 404 error

    also i want to enable registration on wpmu but there is no optinons.php on newtwork admin only

    themes
    plugins
    sites
    users
    jetpack
    settings
    update menu i have where is options to enable registration on wpmu

    mentioned here http://premium.wpmudev.org/blog/daily-tip-how-to-turn-registration-on-and-off-for-wordpress-multisite/

    getluckybyme

    (@getluckybyme)

    re uploaded with new one but not working here

    may be i think this problem not solve with in Months

    because of my past experience wp super asmin missing in
    http://wordpress.org/support/topic/network-super-admin-missing-in-dashboard?replies=17
    i want to use another flynax classified script

    Thread Starter nfn8

    (@nfn8)

    @david – All the menu options that use /wp-admin/network/settings.php are broken. Network Setup uses /wp-admin/network/setup.php, so it works, as does everything else in the menu — just anything that uses settings.php doesn’t.

    And I’ve reinstalled WordPress from a fresh zip file. I’ve made sure .htaccess is the default. I’ve checked permissions. I’ve used a security plugin to verify the file against the current repository.

    I’m completely, utterly stumped. I have no idea what it could be.

    @nfn8

    Network Setup is Visible and /wp-admin/network/setup.php works?

    Then you haven’t yet created your network – no wonder none of the admin menus work. you are jumping the gun there. There will be no access to multisite menus until you create the network.

    Now, you may be ready to Create a Network. Have a look more closely at the steps to create a multisite network. Enabling the setup menu is essential, but you have a ways to go before the rest of the multisite menus appear. (Do not miss the “Before you create a network” steps.)

    @getluckybyme
    You said: “settings – update menu i have where is options to enable registration on wpmu”

    Seriously, have a peak at the menus you do have. Settings.

    Old versions of WordPress had an “Options” menu, recent versions have “Settings” menu.

    As of WP3.8.1, the Network Admin Menus are listed here: http://codex.wordpress.org/Network_Admin

    Enabling Network Settings here: http://codex.wordpress.org/Network_Admin_Settings_Screen

    As with any mature software – help that shows up online may or may not be accurate for your current version. I am guessing that the help you read for your premium plugin refers to an older version of WP is all. The post you link to is from 2010, you have to catch stuff like that.

    getluckybyme

    (@getluckybyme)

    /wp-admin/network/settings.php — getting 404 error

    also created network when i was on previous host

    moved to new server

    network subdomains redirecting server defalt apge
    created wildcard dns from dns entry and also in cpanel
    *.classifieds.airtet.in A recod to IP
    main domain classifieds.airtet.in
    network domains
    http://hyderabad.classifieds.airtet.in/
    http://warangal.classifieds.airtet.in/

    also i created network in my .htaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    wp-config.php

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'classifieds.airtet.in');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    /* That's all, stop editing! Happy blogging. */

    Thread Starter nfn8

    (@nfn8)

    @david

    My network is already set up — I already have 7 functioning sites in it. It worked fine for a couple of years and then just stopped one day, and I don’t know when since it’s not something I access that often. (And yes, I’ve already tried disabling — and even removing — all plugins, and that didn’t fix it either)

    Yes, Network Setup is Visible and /wp-admin/network/setup.php works. It shows me the code for wp-config.php and .htaccess. But I’ve double and triple checked, and the code it gives is already in my wp-config and htaccess.

    That said, looking more closely at wp-config, there are a couple of things that look like they might be where the problem is, and I just don’t know enough to know… these are after the “that’s all, stop editing” message:

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
        define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Is that all correct?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Those are fine, nfn8.

    I can’t access /wp-admin/network/settings.php — I get a 404 error.

    You’re going to maindomain.com/wp-admin/network/settings.php right?

    Also your .htaccess has ms-files.php in it – That implies you started Multisite pre 3.5 – Is this so? What version was your site originally on? When did this start happening?

    Have you checked your server logs to see if there’s an error?

    Thread Starter nfn8

    (@nfn8)

    You’re going to maindomain.com/wp-admin/network/settings.php right?

    Yes.

    What version was your site originally on?

    3.3.1

    When did this start happening?

    About a year ago. I posted on here, got no resolution. I haven’t really needed to create a new site, so I’ve just lived without it. I can’t tell you exactly when it started, or what might have caused it, because I really only access that area when creating a new site. I just know that it stopped some time between setting up 7 working sites and about a year ago.

    Have you checked your server logs to see if there’s an error?

    No, I hadn’t. You’re a genius. Here’s what’s there:

    [Wed Apr 09 14:53:48 2014] [alert] [client 72.182.2.180] /home/nfnnet/public_html/wp-content/themes/aggregator/scripts/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://nfn8.net/wp-admin/network/settings.php
    [Wed Apr 09 14:53:47 2014] [error] [client 72.182.2.180] client denied by server configuration: /home/nfnnet/public_html/wp-admin/network/settings.php

    Which led me to look at that file, which contains this:

    AddHandler application/x-httpd-php .js
    php_value auto_prepend_file gzip-js.php
    php_flag zlib.output_compression On

    So, I changed the theme on the main site (who would’ve thought?)… but that still didn’t fix it. I am now, however, only getting the one error in the error log:

    [Wed Apr 09 15:04:22 2014] [error] [client 72.182.2.180] client denied
    by server configuration:
    /home/nfnnet/public_html/wp-admin/network/settings.php,
    referer: http://nfn8.net/wp-admin/network/
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    So, I changed the theme on the main site (who would’ve thought?)

    Actually that’s perfectly logical if you think like WP πŸ™‚ Main site’s themes AND PLUGINS impact the network settings.

    [Wed Apr 09 15:04:22 2014] [error] [client 72.182.2.180] client denied
    by server configuration:
    /home/nfnnet/public_html/wp-admin/network/settings.php,
    referer: http://nfn8.net/wp-admin/network/

    What’s your full .htaccess in public_html?

    Thread Starter nfn8

    (@nfn8)

    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 ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    Thread Starter nfn8

    (@nfn8)

    The commented rewrite rules are what was in there — I tried switching them to what Network Setup said — still didn’t fix it.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    I think this is actually your server. I mean, literally, “client denied
    by server configuration”

    Can you get in without .htaccess (i.e. rename it)?

    Have you searched to make sure there isn’t another .htaccess hiding in wp-admin?

    getluckybyme

    (@getluckybyme)

    @ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod
    getting 403 error Forbidden

    You don’t have permission to access /wp-admin/network/settings.php on this server.

    here is my .htaccess
    `RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘/network/settings.php gives 404 error’ is closed to new replies.