• Hi, I’m hoping someone here might be able to help me! I’m not very good at the technical side of my website, but i dont seem to be getting anywhere!

    Just before Christmas my website was hacked and i had to pay to have it professionally cleaned to remove any infected files. Since this was done, my URL just displays a blank page (sofiehughesphotography.com).

    When i try to go to the wp-admin page, i get a 404 page not found.

    I have had a look in my PHPmyadmin, and the database shows the following wordpress files:
    wp=commentmeta
    wp-comments
    wp-links
    wp-options
    wp=postmeta
    wp-posts
    wp-terms
    wp=termrelationships
    wp-termtaxonomy
    wp-usermeta
    wp-users

    Now, am i right in thinking i am missing wp-config file and this is why i cannot access wordpress dashboard?

    do i need to re-install wordpress to the database

    – will i lose everything in the above folders?

    Before i found these files i thought i would have to build my site from scratch, but these have given me a glimmer of hope

    If any one can shed any light on this for me i would be so grateful!

    many thanks
    Sofie

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    You are having so called “White Screen of Death”, see e.g. https://www.wpexplorer.com/fixes-wordpress-white-screen/ Google will find a lots of links for this issue.
    You are also mixing up database and file structure. In PHPmyadmin you will see the database and tables in it, which you have listed above. All data is stored there.
    Wordpress installation folder with all subfolders and files, including wp-config.php, is accessible through CPanel – File Manager. This will show you the folders and files on your installation.
    BR
    Ari

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I’m sorry to hear your site was hacked, that is certainly never any fun. Have you asked the person/agency that cleaned it up about the site not working or were they just removing infected files? I would follow the steps for a manual upgrade:

    -Get the latest WordPress zip (or tar.gz) file.
    -Unpack the zip file that you downloaded.
    -Deactivate plugins.
    -Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
    -Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, in place of the previously deleted directories.
    -Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
    -Upload all new loose files from the root directory of the new version to your existing WordPress root directory.

    Next I would rename wp-config-sample.php (that will be in there once you do the manual steps above) to wp-config.php and update your database settings. Does your website work again after this? If so, great! If not, what error message(s) do you receive?

    Finally, after you get it working, I would take a look at this guide for when you site is hacked just to make sure everything is in fact cleaned up.

    I know that sounds like a lot of stuff, but just take your time working through those steps and feel free to ask any questions you have about any of it. I hope this helps. Good luck!

    Did you site stop working exactly after cleaning? Do you have backups that made before cleaning? Who has cleaned your site?

    Thread Starter shughes

    (@shughes)

    thank you all so much for coming back so quickly!

    So, as far as i know the site stopped working after it was cleaned – although when it was hacked my webhost blocked access to the site, so i’m not sure what happened to it when it was hacked as the first i knew was when i was emailed by my webhost to let me know this had happened.

    I looked at my File manager, and there are only two things in there –
    1) a folder named WP-content, which itself includes a folder called plug-ins, which only contents one file named ‘index.html
    2) a file named ‘index.html.

    Both the index files are dated with the day my site was hacked which seems pretty dodgy to me.

    I have spoken with SiteLock who cleaned the website for me and they say the scan only shows that it had to clean two files which could indicate that whoever hacked my site deleted everything!

    My concern is that I was performing back ups via a wordpress plug in, but as i cant access my website at all, and it looks like everything was deleted, i;m going to have to start all over again ??

    Assuming your database is still in-tact you might be able to manually upload WordPress and your plugins/themes to the server. That may get everything back up and running, although if your database was also cleared out then there’s not much you can do I’m afraid.

    I would also recommend checking with your hosting provider to see if maybe they have a backup available for you.

    Thread Starter shughes

    (@shughes)

    UPDATE!

    So, today, i reinstalled wordpress.

    changed the wp-config file to direct to my old database with content.

    Updated the theme files to latest version.

    So, now everything works fine in the wp-admin dashboard – hurrah!

    BUT, i still get a blank page when go to sofiehughesphotography.com. I also tried going into one of my posts and clicking view page, and this was also a blank page.

    After research i thought it could be memory limit. I found this:
    “You could try increasing your PHP memory limit by modifying the wp-config.php file. Simply add the following line:
    define(‘WP_MEMORY_LIMIT’, ’64M’);”

    However, i cannot find this line of code in the wp-config file, so i installed wordpress’s memory boost plug in. This did not make my website work either, and in fact, i got a notice from my webhost that my CPU usage was too high once i had done this so had to de-activate and remove the plug in.

    My webhost takes 2 days to respond! So i am waiting to hear if it is a server issue.

    Could it be anything else that I am missing?

    I have trawled the internet and have tried everything i have come across with no luck.

    I have another website with the webhost and was having same issues, but have resolved that today by doing exactly what I did for sofiehughesphotography.com. and although i need to go and re-upload images to the media gallery it is back up and running no probs.

    So i really dont know why my photography website is not playing ball.

    I’m tempted to scrap the lot and start from scratch ??

    Looks like your site is up and running, although it looks a bit different from the archived version of the site.

    Did you end up rebuilding or did you find what was causing the white screen of death?

    Thank you so much Geoffrey Shilling @geoffreyshilling ! Your tip helped me out.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Site was hacked, now no content’ is closed to new replies.