bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - Textual Confirmation - Error Message -- Can't find function: array_key_exists()

Author Message
rob



Joined: 06 Jun 2007
Posts: 3

Posted: Wed Jun 06, 2007 9:51 pm    Post subject: Error Message -- Can't find function: array_key_exists()  

Hi,
I've installed a fresh version of 2.0.22, and then the textual confirmation hack. It works but when I try to change the question I get this message:

Fatal error: Call to undefined function: array_key_exists() in . . . /phpBB2/admin/admin_tc.php on line 69

Can't figure out why it can't find this function!
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Thu Jun 07, 2007 2:29 am    Post subject:  

You use a very old version of PHP, which doesn't provide the function "array_key_exists". It might be possible that changing all "array_key_exists" to just "key_exists" will help. Please try and report.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
rob



Joined: 06 Jun 2007
Posts: 3

Posted: Fri Jun 08, 2007 1:56 am    Post subject:  

I did what you said, upgraded the PHP version and the error message disappeared. Kudos to you! Many thanks for your help! You know what you're doing and really got me out of a jam. Many thanks again!
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Fri Jun 08, 2007 3:32 am    Post subject:  

Thanks for thanks, and the best luck to your spam-free forum!
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!

Ok.