Cannot login to dashboard - hacked. (4 posts)

  1. Businesscoachza
    Posted 3 years ago #

    I've read through the posts on hacking but I'm still at a loss.
    My new (Uncompleted site - http://jawitzeastlondonhouses.co.za/) was hacked about 2 weeks ago. I uninstalled WP from the Cpanel. I couldn't reinstall on the root (Kept getting a message that WP was already installed). I did a new install on sub directory http://jawitzeastlondonhouses.co.za/blog.

    Today http://jawitzeastlondonhouses.co.za/blog gives me "Error establishing a database connection". I get the same if I try to login to my dashboard.

    Strange thing is the site is back at http://jawitzeastlondonhouses.co.za/.
    This is complete with the recent updates I did on the sub domain.

    However if I try and login to http://jawitzeastlondonhouses.co.za/wp-login.php I'm redirected to http://jawitzeastlondonhouses.co.za/blog/wp-admin/

    I also do not see the http://jawitzeastlondonhouses.co.za/blog/ in public/html, although i can access all the files (Through my Cpanel of http://jawitzeastlondonhouses.co.za)

    Please anyone have any ideas?

    Any help will be appreciated as I'm stuck!

    Thank you

  2. bcworkz
    Posted 3 years ago #

    It sounds like there is a mismatch between where the database thinks WP is installed and where it really is. The hack may have prevented the uninstall process from fully completing.

    Seeing that you were hacked and you are just starting out, I would start completely over. Be sure all files are deleted from both WP installations. Also delete the entire database created for WP. Restart the installation process as if you had a new, blank site. If you were to attempt to save anything from the hacked site, you could be reintroducing a backdoor or malicious code to your new site, it's not worth the risk.

  3. Krishna
    Posted 3 years ago #

    Today http://jawitzeastlondonhouses.co.za/blog gives me "Error establishing a database connection".

    Please verify if you have entered the correct database name, database username, database password and MySQL hostname in your wp-config.php file.

  4. Businesscoachza
    Posted 3 years ago #

    Thanks everyone. Both comments valid and will first work through the config file.I'd like to at least understand what led to this - I'll then seriously have to consider deleting and starting fresh - again.
    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic