#28 Whois Cache

BASE
closed
Tim Rupp
Interface (166)
5
2005-02-15
2005-02-15
Joel Esler
No

On the "Cache and Status" page using version 1.0.2, I
clicked on "Rebuild Whois Cache". and received the
following error:

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

Discussion

  • Logged In: YES
    user_id=1208670

    Couldn't reproduce. Works for me.
    When you click "Cache and Status", the browser calls
    base_maintenance.php. This file includes
    "includes/base_include.inc.php" who includes
    "base_net.inc.php". base_net.inc.php on line 221 calls
    getSafeSQLString(...) that is defined on
    "includes/base_db.inc.php" who is also included in
    "includes/base_include.inc.php".
    I have downloaded base-1.0.2 from sourceforge, did a fresh
    install and it's working ok.

     
  • Tim Rupp
    Tim Rupp
    2005-02-15

    Logged In: YES
    user_id=628253

    Fixed in CVS. See attached patch.

    'patch -p0 base_net.inc.php base_net_fix.patch' to patch the
    file.

    Tim

     
  • Tim Rupp
    Tim Rupp
    2005-02-15

    Patch to fix bug

     
    Attachments
  • Tim Rupp
    Tim Rupp
    2005-02-15

    • status: open --> closed