Need Help! Wordpress Error..

9 replies
Help me please....

I use wordpress to build my articles directory. It was okay when I use 2.9+ but since I upgraded to 3.0.1,

All authors can't access WP Admin. Every author will find this error message
"You do not have sufficient permissions to access this page."

How to solve this? :confused:

Thanks
#error #solve #wordpress
  • Profile picture of the author David Bynon
    Originally Posted by bmonkey View Post

    Help me please....

    I use wordpress to build my articles directory. It was okay when I use 2.9+ but since I upgraded to 3.0.1,

    All authors can't access WP Admin. Every author will find this error message
    "You do not have sufficient permissions to access this page."

    How to solve this? :confused:

    Thanks
    Without seeing the page that is throwing off the error, it's very difficult to debug. My guess is that the problem is a plugin, not WordPress.

    db
    Signature

    {{ DiscussionBoard.errors[2647335].message }}
    • Profile picture of the author bmonkey
      Originally Posted by David Bynon View Post

      Without seeing the page that is throwing off the error, it's very difficult to debug. My guess is that the problem is a plugin, not WordPress.

      db
      I have tried to deactive all plugin but the result is just the same; all authors can't acces "wp-admin"

      Thanks for your respond David
      {{ DiscussionBoard.errors[2647675].message }}
      • Profile picture of the author Harrison Ortega
        Originally Posted by bmonkey View Post

        I have tried to deactive all plugin but the result is just the same; all authors can't acces "wp-admin"
        Check the users to see if their accounts are still there and also if they are still assigned as authors.
        Signature
        NJ web design / NJ Web Designer. MY Wordpress portfolio. 10 years of HTML/CSS - 6 years developing professional Wordpress websites. Currently not available for services.
        {{ DiscussionBoard.errors[2647689].message }}
  • Profile picture of the author Chris Creighton
    Welcome to the WarriorForum bmonkey.

    To give you the best answer is to say, it would be best for you to see if the article directory plugin your using, assuming it's a plugin, has a blog/website/forum setup as a means of supporting the plugin. If it's not a plugin you would likely get a more qualified, and quicker answer if you post at the wordpress.org forum. Could be someone has already found a solution to your particular problem.

    Sorry I didn't have a direct solution, but as I see it you'd be better served by trying one or both of those suggestions. Best of luck to you.

    Chris Creighton
    Signature
    It is not work that kills men, it is worry. Work is healthy; you can hardly put more on a man than he can bear. But worry is rust upon the blade. It is not movement that destroys the machinery, but friction.

    - Henry Ward Beecher
    {{ DiscussionBoard.errors[2647341].message }}
  • Profile picture of the author mywebwork
    It's a shot in the dark, but see if your functions.php file (in your themes directory) has any extra spaces after the closing PHP tag - if it does remove them.

    I ran into a similar situation a few weeks ago and that solved it for me.

    Bill
    {{ DiscussionBoard.errors[2647810].message }}
    • Profile picture of the author cjordan231
      same I agree with mywebwork
      {{ DiscussionBoard.errors[2647820].message }}
    • Profile picture of the author bmonkey
      Originally Posted by mywebwork View Post

      It's a shot in the dark, but see if your functions.php file (in your themes directory) has any extra spaces after the closing PHP tag - if it does remove them.

      I ran into a similar situation a few weeks ago and that solved it for me.

      Bill

      Thanks MyWebWork... Problem Solved
      {{ DiscussionBoard.errors[2648019].message }}
      • Profile picture of the author bmonkey
        Thanks for all.. This problem finally solved.

        I LOVE THIS FORUM!!!
        {{ DiscussionBoard.errors[2648026].message }}
  • Profile picture of the author dv8domainsDotCom
    Do check .php files that "changed" (your host should tell you "date modified" files) so you can tell what files got changed with the upgrade. Try to open them up in plain text editor (notepad++ is actually great editor).
    MUST make sure there are no "blank lines" at the START of any .php file, OR at the end of it. The document must not have any blank lines before or after php tags that open/close the document.

    You need to backup your database right now, by the way (food for thought: those wordpress users that DON'T backup DB are askin' for trouble).

    FURTHER: I feel this may be issue with corrupt user tables for your authors. Make sure you are trying to login with your main admin user. IF you are able to, then EDIT each user to a lesser-assigned role, then elevate back to author as needed (tries to reset permissions). This will usually re-flush permissions automatically, but requires that you be able to get in with your super admin (your own primary user/admin).

    Now, If you think you need further help inside of the database, you can CAREFULLY modify certain tables, but you must REALLY be careful, or get experienced help. I was able to modify user permissions directly while experimenting to help you out, but if you do not trust yourself inside the database, read no further.

    For the brave (and those that have a good backup/restore plan for their database!)

    Your control panel should have phpMyAdmin:
    Run the SQL QRY: (this basically shows all user "meta' information which is what their assigned roles are).
    SELECT `umeta_id` , `user_id` , `meta_key` , `meta_value`
    FROM `wp_usermeta`
    LIMIT 0 , 60

    Locate affected users:
    Locate the username ("nickname" field is good start)
    Locate wp_capabilities, and wp_user_level, select their checkboxes. Click on Pencil to edit

    if you want to make that user author, the wp_capabilities value should be:
    a:1:{s:6:"author";s:1:"1";}
    and wp_user_level should be 2

    If you want to make admin, change wp_capabilities to:
    a:1:{s:13:"administrator";s:1:"1";}
    and wp_user_level should be 10

    * NOTE: Changing these settings PROPERLY allowed me to modify permissions/roles directly FROM the database, without even being IN the wp-admin. This is more advanced, and I am not responsible for YOU hosing your DB, or helping restore said DB in the event of self-hosure. I provide this information as-is, without warranty, and under the disclaimer that it worked for me, should work for you, but I am a navigator in this instance, and not the pilot. In other words, try at your own risk. That being said, it's not TOO bad and you just might learn something (but make sure you know how to backup and restore your own database first anyway).
    Signature
    Support a Warrior, Save Money!
    Rock Bottom Prices on Domains and Website Hosting
    {{ DiscussionBoard.errors[2647895].message }}

Trending Topics