Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#39 Update WHois Cache

BASE
closed
Tim Rupp
Interface (166)
7
2005-02-28
2005-02-28
Joel Esler
No

on the Cache and Status page, clicked on Update Whois Cache

Fatal error: Call to undefined function:
getsafesqlstring() in
/www/htdocs/stewart/includes/base_net.inc.php on line 221

Discussion

  • Tim Rupp
    Tim Rupp
    2005-02-28

    Logged In: YES
    user_id=628253

    This was fixed a while ago, when it was first reported. Make
    sure you are using the latest includes/base_net.inc.php and
    includes/base_db.inc.php files.

    Also, the function is not getsagesqlstring(), its
    getSafeSQLString(), the function in your error doesnt exist.

    If you are not sure if you have the latest net file, open
    your current one and check lines 221 and 243. Both lines
    should include the code

    $db->getSafeSQLString($tmp)

    The most recent base_db.inc.php file is also needed or else
    you wont be able to find that above function when its placed
    in base_net.

    Tim

     
  • Tim Rupp
    Tim Rupp
    2005-02-28

    • status: open --> closed
     
  • Christian
    Christian
    2005-03-01

    Logged In: YES
    user_id=1155549

    Hi

    When i try to reproduce this all i get is

    2704543629 - 161.52.15.141
    Connection refused (111)
    2708608278 - 161.114.21.22
    Connection refused (111)
    2708608281 - 161.114.21.25
    Connection refused (111)
    2752080593 - 164.9.106.209
    Connection refused (111)
    2752125886 - 164.10.27.190
    Connection refused (111)
    2752125887 - 164.10.27.191
    Connection refused (111)

    But after the Whois Cached has gone from 0 to 833

    in conf i have $whois_cache_lifetime = 3600;

    /Christian