Support » Fixing WordPress » Please Help! My blog is saying “Warning: file_get_contents()”

  • Resolved musicisart


    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( 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 directly returns a “No DNS Data” error. A check of 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 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 ‘Please Help! My blog is saying “Warning: file_get_contents()”’ is closed to new replies.