WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Please Help! My blog is saying “Warning: file_get_contents()”

[Resolved] Please Help! My blog is saying “Warning: file_get_contents()”

  • May anyone know how to correct this error that is causing this message on my site? Any help would be greatly appreciated.

    Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/m/u/s/musicisartx/html/wp-includes/general-template.php(15) : eval()’d code on line 1

    Warning: file_get_contents(http://seotoos.info/links/nocurlwpfooter.txt): failed to open stream: Success in /home/content/m/u/s/musicisartx/html/wp-includes/general-template.php(15) : eval()’d code on line 1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Attempting to access http://seotoos.info/links/nocurlwpfooter.txt directly returns a “No DNS Data” error. A check of seotoos.info via OpenDNS shows that domain does not resolve.

    It would appear that the theme you are using is trying to call a text file which was hosted at the seotoos.info domain. Possibly link injections or similar (has been known to happen with themes shared through some theme libraries).

    Edit your file at /home/content/m/u/s/musicisartx/html/wp-includes/general-template.php and look at Line 1. You may be able to comment it out, or remove that line, and resolve the problem. Otherwise, if the contents of this file were used somewhere else, it may take a little time to identify, analyse and extract/override those sections.

    Your blog was highjacked and you must have webshells installed on your blog as well. I can help you, please cut and paste your

    /home/content/m/u/s/musicisartx/html/wp-includes/general-template.php here

    I will fix it for you. If you want me to remove shells – let me know – leave your contact information here as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Please Help! My blog is saying “Warning: file_get_contents()”’ is closed to new replies.
Skip to toolbar