WordPress.org

Support

Support » How-To and Troubleshooting » No access to wp-admin

No access to wp-admin

  • Hi!

    I have a website using woocommerce + some other plugins, today when I was cleaning up from plugins that I don’t use, I lost access to the admin dashboard. I have checked the database and user level is 10 and everything looks allright, I have disable all my plugins, tried to change theme, and so on. This guide is the one that I followed http://codex.wordpress.org/Login_Trouble.

    Do you guys have any other hint that I can try?

Viewing 15 replies - 1 through 15 (of 25 total)
  • I have copyed the database and inserted it to a local server with some old files, it did not work, so I think the problem lies somewhere in the database, some pointers perhaps?

    esmi

    @esmi

    Forum Moderator

    Using Phpmyadmin (or another MySQL management tool), first backup your database. Then navigate to your wp_usermeta table and locate the meta_key called “wp_capabilities” for your user_id. Change the meta-value for this record to:

    a:1:{s:13:"administrator";b:1;}

    Thanks for the reply but that didn’t fix it im afraid

    esmi

    @esmi

    Forum Moderator

    What was the value in that field?

    a:1:{s:13:”administrator”;s:1:”1″;}

    esmi

    @esmi

    Forum Moderator

    Have you tried:
    – switching to the Twenty Eleven theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Hey,

    when I switch to default theme the screen turns white and no luck accessing dashboard.

    Resetting the plugins folder, same there no luck.

    And did the re-uploading and went trhough the installation proccess but still no access? Strange any more ideas 🙂

    esmi

    @esmi

    Forum Moderator

    No one suggested that you go through any installation process. In fact, WordPress should have stopped you re-installing and wiping out your database. Re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP or whatever file management application your host provides.
    http://wordpress.org/extend/themes/twentyeleven

    When I uploaded all files wordpress wanted me to config the wp-config file and to upgrade the database so I did that, the database stood all intact, no damage done there.

    I have deleted and uploaded a fresh copy of twenty eleven but the page is still white. and still no access

    esmi

    @esmi

    Forum Moderator

    and to upgrade the database

    So you obviously were not using WordPress 3.4.2 previously. Do you have a recent database backup?

    Do I need to change template and stylesheet in wp_options for twentyeleven to work`?

    esmi

    @esmi

    Forum Moderator

    No. You just need to rename your old theme as I suggested above. The default theme will then automatically activate.

    I think I choose the wrong zip, I think a uploaded 3.4.1_Sv instead of 3.4.2, will try to do that again, I am sure that I have upgraded wordpress in the dashboard earlier

    I uploaded a fresh copy of 3.4.2 now in english but still no access so I don’t know what to do else

    No. You just need to rename your old theme as I suggested above. The default theme will then automatically activate.

    Ok but the startpage is still just white when I deactivated my main theme

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘No access to wp-admin’ is closed to new replies.
Skip to toolbar