Support » Fixing WordPress » Administrative Privileges

  • Resolved lloaizav

    (@luismarcosloaiza)


    Hello Everyone, I got runing in my server wordpress 3.0.1, I got this problem hope you can help me solving it.
    I just installed a theme (WhiteHouse), works great, after a few hours editing, decide to log out, and see it without the edit tags in posts or pages.
    Sudenly instead of the log-out function this message appears “Sorry, but you don’t have the administrative privileges needed to do this.”
    I can’t acces to Index, admin, login, nothing, the same message again and again and again. What could it be? My hosting provider says that’s my worpress instalation.

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

    (@luismarcosloaiza)

    I don’t belive that anyone has been trough this.
    Seriusly?

    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 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Administrative Privileges’ is closed to new replies.