Images not loading
-
Hello, if someone can help me, i would appreciate it. I’ve been facing “Error establishing a database connection” for about a month now, since the moment i installed woocommerce on my website and for the last 5 days i was getting this message a lot.I am seeing it frontend and backend, out of the blue, many times throughout the day, while being logged in, and if i wait for like 5 minutes and reload the page it goes away on its own.
Plus to that, 5 days ago, my host while doing server maintenance, caused lots of websites to crash, including mine. After that, they restored my websites to an earlier point and started to work again, but took way more time for them to load and with many of the images failing to load and getting even more database connection errors. Their answer was to reupload all these images, which unfortunately i had not stored anywhere.Yesterday, i tried to fix all these by adding a line to the wp.config file and tried to access https://www.example.com/wp-admin/maint/repair.php
I couldn’t see the options to repair the database, so i contacted my webhost to see if i can upgrade my PhP, in case those errors were caused by woocommerce that needed an upgraded PhP. I thought of this because my host assured me this had nothing to do with their maintenance issues.The host technicians updated the PhP and within 5 minutes my sites were hacked and defaced. With a lot of effort i gained access again to the website in my subdirectory, installed security plugins, updates etc.
but the structure of my layout on the frontpage is messed up, while more of the images fail to load, frontend, in the library, and the small icons on the dashboard, or theme images inside the appearance menu, while my primary website is still being defaced.I know that the host’s techies left an _old file in the wordpress installs and now i see public_html/old in my files.
My host’s answer to all this: I just have a large database and i would need of course to purchase sitelock for them to clean up my sites.I am very sorry for the large post, but if anybody is going to help me, you have to know the exact things done.
My problems i want to solve:
1. Restore my primary website from the hacker
2. Error establishing a database connection
3. Should i delete the public_html/old file, in my file manager?
4. I still see 4 different installs in my wordpress tools, in Cpanel. How do i know which are the old sites, so i can delete them? I know hackers are searching for backdoors like these
5. How do i get the images and small icons to load again?
6. I also see many htcaccess files in my public.html folderMy primary website that was defaced: https://www.murderonthecatwalk.com/
The second site that is affected, and which i get the database errors: https://www.thecover.gr/
- The topic ‘Images not loading’ is closed to new replies.