• So I am trying to log in to the WordPress control panel to edit my website and for some reason I am getting the following error:

    “Sorry, but you don’t have the administrative privileges needed to do this.”

    I don’t know why this happened. I edited my website last night (just made some content changes) and today I went to go edit it and it is giving me this error message. I did upgrade the PHP from 4 to 5 today.

    I have no idea why it’s doing this and really need my website up and running.

    Some detailed instructions would be great (I can’t access WordPress at all).

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter i-appreciateorg

    (@i-appreciateorg)

    also it may help to know that even if you try to visit the website (www.i-appreciate.org) it shows the message “Sorry, but you don’t have the administrative privileges needed to do this”

    Folder permissions on wp-admin changed during the upgrade; change to 745 or 755 with FTP and see if you can get in. Changing File Permissions « WordPress Codex.

    lloaizav

    (@luismarcosloaiza)

    I got the same message but, I did change permissions, and nothing. http://www.perigeotravel.com

    Thanks.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Are you currently logged in as an administrator?

    lloaizav

    (@luismarcosloaiza)

    Nop, I just move from localhost to web server. I did the next stepts:
    -Deactivate Plug-ins.
    -Optimize and download sql file.
    -Change route and domain inside the database (.sql file).
    -Compress the site in zip and upload the zip in to the hosting.
    -Restore sql file in hosting.
    -Uncompress the zip file at the server.
    -Replace wp-config.php
    -Delete zip file.

    I can’t even get inside to wp-admin

    What can it be?

    lloaizav

    (@luismarcosloaiza)

    I, just realize this happens when I just log out. And make the blog unusable

    Issue is something to do with WP_DIE function on line 3 of ‘functions_libraray.php’ in the Core>Functions directory.

    Change this:

    function checkauthority(){
    if (!current_user_can('edit_themes'))
    wp_die('Sorry, but you don’t have the administrative privileges needed to do this.');
    }

    To this:

    function checkauthority(){
    if (!current_user_can('edit_themes'))
    ;
    }

    😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Administrative priviliges issue (URGENT)’ is closed to new replies.