fatal error message (Bugs)

by jugears @, Saturday, September 27, 2008, 23:07 (4004 days ago)

Hi, can anyone help with this error message please? I get this after clicking on "register" link.

Fatal error: Call to a member function generate_code() on a non-object in /home/forum/public_html/includes/register.inc.php on line 237 :-(

Thank you.

fatal error message

by jugears @, Sunday, September 28, 2008, 01:36 (4004 days ago) @ jugears

I have now sorted this problem.. inside admin section there is a captcha setting for the register page which I have disabled.
Maybe this will help someone one day.
Regards...

Avatar

fatal error message

by Alex ⌂ @, Monday, September 29, 2008, 11:55 (4003 days ago) @ jugears

Hi jugears,

Hi, can anyone help with this error message please? I get this after clicking on "register" link.
Fatal error: ...

You're right - this happens if CAPTCHA is disabled for the contact form and enabled for the register form due to a bug in register.inc.php on line 14:

if(empty($_SESSION[$settings['session_prefix'].'user_id']) && $settings['captcha_email']>0)

... should read ...

if(empty($_SESSION[$settings['session_prefix'].'user_id']) && $settings['captcha_register']>0)

Alex

fatal error message

by jugears @, Wednesday, October 01, 2008, 21:27 (4000 days ago) @ Alex

Many thanks Alex ;-)

RSS Feed of thread
powered by my little forum