Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Installing WordPress
    In reply to: Can’t login

    huntllc! Thankyou! this fixed my probs. I also noticed lots of users I did not recognise in there so deleted them whilst there.
    Cheers!

    I tried Otto42’s way but need slightly more explicit instructions.

    Easiest way to reset your password:

    If you can’t login, but you can access your site via FTP, then edit the theme’s functions.php file and add this code to it, right at the top after the first <?php bit:
    wp_set_password(‘password’,1);

    Put in your own new password [where? Between commas, before 1?] for the main admin user. The “1” is the user ID number in the wp_users table [where is this info?].

    After you then login, make sure to go back and remove that code. Don’t leave it there by any means.

    I also looked at this thread,

    Hi,

    I had the same problem with my blog (geekynomad.com version 2.6.2).
    Clearing cookies, cache etc, didn’t solve anything.
    Since I still had FTP access I tried the following:

    1. via ftp rename “wp-content” > “plugins” to “1.plugins”
    2. create new dir “plugins”
    3. login to wp (which now worked for me)
    4. via ftp remove empty “plugins” created in step 2
    5. and rename “1.plugins” back to “plugins”

    For me this solved the problem.
    Best regards,
    Thomas

    But I could not make a new directory folder under ‘wp-content’, named ‘plugins’ after I had renamed the original ‘1.plugins’. It said ‘permission denied’.

    The weird thing too was that my identity seemed to disappear from logging in to WordPress too. My blog disappeared and had error ‘forbidden’ when I tried to see the blog. I contacted my site host and it came back. Have they stuffed up my login somehow?

    Can anyone help please?

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