• My hosting provider told me that my site was eating a lot of RAM, so today I decided to try and optimise a bit.

    I installed WP Super Cache. (I thought I already had it and was surprised that I didn’t). Anyway, it couldn’t read something so I decided to uninstall it and try a different plugin. When I uninstalled it, I got a Fatal Error. So I spent a good couple of hours looking for a solution to the fatal error.

    The solution that seemed to work for most people was to delete WordPress except for the wp-content file and reupload it.
    That did nothing for me. I was still getting the fatal error.

    Fatal error: Call to undefined function nocache_headers() in /home/cracking/public_html/wp-admin/admin.php on line 33

    Another person suggested deleting the wp-config.php file and then trying to log in again.
    I backed up the file first, then went to the site. Sure enough it asked me to create a new config file that used the same database info as the old one and then sign in. I signed in using my usual password.

    So I was horrified when I was in that the dashboard looked as though it was a brand new site.

    So I deleted that config file and put the original back, but now I’m worried that it’s overwritten my database somehow and I’ve lost everything.

    Can anyone help at all?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your hosting providers should give you an interface, called phpMyAdmin for example, that will allow you to explore whether your database tables have indeed been wiped.

    Thread Starter CrackingAce

    (@crackingace)

    Thanks. I was looking in there before but must have overlooked them in my panic.

    The posts in the database have a different prefix to wb_
    So, what do I change to make it read the proper prefix instead of wb_?

    Should I delete the config again and do the sign up and place the new one in?

    EDIT: That worked. Everything is back.

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

The topic ‘Site Gone’ is closed to new replies.