Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Thread Starter belenenses

    (@belenenses)

    Hi,

    I’m trying to resolve the issue via FTP

    Your instructions say:
    1. Login to your site via FTP and download your active theme’s functions.php file.

    DONE!

    2. Edit the file and add this code to it, right at the beginning, after the first <?php:

    DONE!

    wp_set_password(‘password’,1);

    Put in your own new password for the main admin user. The “1” is the user ID number in the wp_users table.

    3. Upload the modified file back to your site.

    DONE!

    But the admin interface refreshes but goes nowhere! What does ” The “1” is the user ID number in the wp_users table.” mean? Where’s the wp_users table?

    Cheers

    B

    Tbe users table is in the database. It’s a database table, a named set of data rows containg basic info about the users. The actual name is yourprefix_users, where yourprefix is the database table prefix set in wp-config.php upon installing WP, usually just wp_, hence wp_users table.

    The users table contains one row for each user on your WordPress site.

    Each user has a numerical, auto incremented identity, or ID, stored as the first column in each row. The first user created is assigned ID 1.

    Unless the user you are trying to log into is not this initial user (usually named admin), then the ID is 1. To find other (later added) user’s ID you have to browse the contents of the users table, using a toool for that, like phpMyadmin.

    the 1 is the admin id – so that should be correct

    the _users table is in the mysql database

    Moderator keesiemeijer

    (@keesiemeijer)

    Check your user id in phpmyadmin: http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin

    also try:

    – switching to the default theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter belenenses

    (@belenenses)

    Hi

    FYI, all plug-ins were disabled some weeks ago…

    1. I dont want to risk the checking user id option in phpmyadmin.

    2. “switching to the default theme by renaming your current theme’s folder in wp-content/themes using FTP”

    So I go to/public_html/wordpress/wp-content/themes/

    and I see 3 folders: the current theme, twentyten and twentyeleven folders. Are you really asking me to rename my current theme folder to that of…twentyeleven? Why? Then what?

    I have to say that this seems an imense amount of risk/effort/frustration etc due to the fact that the WP log-in system fails to recognise my email that was fine till very recently. Surely there’s another more basic, administrative way? Can’t I simply send a WP administrator [human] the email address that worked until now and they simply sort this WP fault out by return of communication/s?

    How can something so basic gowrong with the WP platform?

    B

    You mention “a WP adninistrator” and reckonizing your e-mail.

    Tell me, where is your site hosted?

    If this is at wordpress.com you should contact WordPress.com support.

    If this is a self hosted wordpress.org blog, then you are supposed to be the admin, and you log in by your username, usually admin.

    Update: Sorry, I missed first parts of your post. You are clearly self hosted.

    There is no risk using phpMyAdmin just to read data. There is also no risk renaming the folder for your current theme, bit not to twenty-eleven. It will reset WordPress to use the default theme when it can’t find the folder for your current theme. Then, go directly to wp-admin, as your front will be blank until you set a valid theme.

    Using phpMyadmin you may also check that your username and user_email columns for your user is correct. If not correct you will not be able to request a new passordword via e-mail.

    Thread Starter belenenses

    (@belenenses)

    Hi,

    So I renamed the current theme’s folder in wp-content/themes using FTP. This enabled me to enter admin. However…

    I confirmed the email for comunications to me from WP. I tried to change the password, but as soo as I type the first confirmation letter, the system rejects it. So I am unable to change the password.
    I know the existing password and check that it works.

    I am, of course, unable to work on my site, so return to FTP to change the theme name back to the original name. I then go back to log-in and am BACK AT SQUARE ONE!

    DESPITE HAVING THE CORRECT INFO TYPED INTO LOG-IN, I FAIL TO ACCESS THE SITE. I press LOG-IN, but nothing happens.

    When I request my password be sent to me by email, I get a link sent to me that is incorrect! It says: Sorry, that key does not appear to be valid!!

    Round n round in circles, then,for somehting that should be automatic.

    What next? Can someone suggest a simple solution?

    Thanks,

    B

    Moderator keesiemeijer

    (@keesiemeijer)

    So I renamed the current theme’s folder in wp-content/themes using FTP. This enabled me to enter admin.

    This means your theme is not compatible with WordPress. Switch back to twenty eleven by renaming the folder. then try the wp_set_password('password',1); method.

    http://codex.wordpress.org/Resetting_Your_Password#Through_FTP

    Thread Starter belenenses

    (@belenenses)

    Hi.

    My theme was compatible until last usage/recently, when I believe an upgrade happened. Can that make the theme incompatible?

    B

    Moderator keesiemeijer

    (@keesiemeijer)

    Can that make the theme incompatible?

    Yes it can, maybe it has functions that are deprecated or something else that is conflicting with WordPress.

    See if there is an upgrade for your theme?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Shut out of site’ is closed to new replies.