fatal error message (Bugs)

by jugears, Saturday, September 27, 2008, 23:07 (5682 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.

locked
8514 views

fatal error message

by jugears, Sunday, September 28, 2008, 01:36 (5682 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...

locked
8079 views
Avatar

fatal error message

by Alex ⌂, Monday, September 29, 2008, 11:55 (5680 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

locked
8108 views

fatal error message

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

Many thanks Alex ;-)

locked
7958 views

RSS Feed of thread