Bruteforce.inc.php - Call to a member function escape() on a non-object

Discussion in 'Pre-Sales Questions' started by yongfook, Jul 8, 2008.

  1. yongfook

    yongfook New Member

    Joined:
    Jul 8, 2008
    Messages:
    4
    Hi all,

    I'm trialing aMember to see if I can use it with some existing systems I've built. I'm a fairly experienced developer so I don't have any of the basics wrong (I don't think), but when I try to php_include-protect my php files with something like this at the top:

    PHP:
    $_product_id = array(1);
    include(
    BASEPATH.'../login/plugins/protect/php_include/check.inc.php');
    It gives me this error when I try to load the page:

    Code:
    PHP Fatal error:  Call to a member function escape() on a non-object in /Users/ME/Sites/MYSITE/login/plugins/protect/php_include/bruteforce.inc.php on line 85
    
    something is going iffy in the code there but obviously since the code is obfuscated I can't view the code to fix the problem.

    anyone got any ideas...?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Why not try with the real full path?

    David

Share This Page