Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m looking for the same.

    Thread Starter guitar7man

    (@guitar7man)

    Found the problem.

    Fix by way of sabinevi’s comment:

    https://www.ads-software.com/support/topic/sudden-you-do-not-have-sufficient-permissions-to-access-this-page-error?replies=29

    —-
    I had a the same problem with saving some plugin settings. In my case it was a funny server setting that caused the problem: my WP installation is hosted on a Linux server running Apache but the hosting company tries to mislead hackers saying (through a server setting or something like that) that Internet Information Server (IIS) is installed as server software. You can find this information running a phpinfo() or if you don’t know how to do that, calling your hosting company.

    In wp-settings.php there are a few lines of code that double the querystring for sites on IIS (don’t ask me why) and that is where things go wrong because the website is not actually on IIS but the script thinks it is. I commented out lines 89-91 in wp-settings.php and my problem was solved. Like so:

    // Append the query string if it exists and isn’t null
    /*if (isset($_SERVER[‘QUERY_STRING’]) && !empty($_SERVER[‘QUERY_STRING’])) {
    $_SERVER[‘REQUEST_URI’] .= ‘?’ . $_SERVER[‘QUERY_STRING’];
    }*/

    Hope this helps someone!
    —-

    Except, as of 3.1.1 it’s in wp-includes/load.php via line 73-75

    Thanks sabinevi!

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