Wordpress Hacked..how to restore the wp-admin index file

Asked by:
Coco Kimba / 5 Points
Time:
2012-10-02 11:36 pm EST
Category:
Wordpress
Hits:
963
Hi. Thank you for the great info on how to restore any wp site which has been hacked. I managed to restore the index.php file in the public html successfully by following your guideline in the website. However, I tried to restore the wp-admin index page by following the instruction given in your website (by copying the index.php file and paste in in my index.php file) but unsuccessful. You can refer to my website to see the error displayed. (www.suriagroup.com.my/wp-admin)

The error message displayed as written below:
Warning: require_once(./admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/surimmy1/public_html/wp-admin/index.php on line 10

Fatal error: require_once() [function.require]: Failed opening required './admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/surimmy1/public_html/wp-admin/index.php on line 10

What should I do? Any suggestion?

Thanks in advance. Really appreciate the info shared in your website.

Thanks again.

BR,
Coco

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
9,290 Points
2012-10-03 9:15 am EST
Hello Coco,
Thank you for your question regarding removing a Wordpress hack.

Hacks can vary, I would recommend contacting your hosting company for more specific assistance.

However, you can download a copy of the Wordpress files from their official download site, make sure you get the version that matches you installation. It will include the default wp-admin file.

Thank you,
John-Paul

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.