1
Shiroku
problem: new user registration + confirmation code
  • 2008/9/23 21:40

  • Shiroku

  • Just popping in

  • Posts: 33

  • Since: 2006/9/24


I installed XOOPS 2.3 final on my local web server (apache), but I can't register as new user:
I fill the form
I tick "I agree to the above"
I click submit

Next page:
Resized Image

If I click 'Finish' this error appear:
Quote:
Invalid confirmation code!


But in the previous page, there isn't the captcha question....

If I turn on debug mode, I get this error:
Quote:
Warning: GD library is not loaded in file /class/captcha/image.php line 42


How can I check if GD library is installed?

===================
After I logged in, if I visit http://URL/xoops_root/register.php
I can register a new user (but I'm already logged in!). Is this a bug?

2
Marco
Re: problem: new user registration + confirmation code
  • 2008/9/23 21:46

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


hy,

that's the explanation
go to admin/system overview, php extension, you should see GD (you have to make use of the default admin theme, set in general preferences). if you can not see the GD extension listed, that's the explanation for both of your problems.
you can disable captcha in class/captcha/config, as explained here
Do synergy or die.

3
Shiroku
Re: problem: new user registration + confirmation code
  • 2008/9/23 22:03

  • Shiroku

  • Just popping in

  • Posts: 33

  • Since: 2006/9/24


I installed php5-gd (on Kubuntu Linux) and now users registration works!
Thank's!

4
Pirigoso
Re: problem: new user registration + confirmation code
  • 2008/10/5 17:58

  • Pirigoso

  • Just popping in

  • Posts: 2

  • Since: 2005/8/16


please help-me i installed php5-gd in system administrator show module instaled
# openssl
# apache
# gd
# mysql
# mysqli

i modify /class/captcha/config.php
change
"disabled" => false, // Disable CAPTCHA
to
"disabled" => true, // Disable CAPTCHA

and

if ( is_object($GLOBALS["xoopsUser"]) && !empty($skipMember) ) {

to

if (!isActive()) {
$is_valid = true;
}
elseif ( is_object($GLOBALS["xoopsUser"]) && !empty($skipMember) ) {


dont register new member, please help me

i clean templeates and restart my apache server

http://www.vipnetsul.com.br

5
Pirigoso
Re: problem: new user registration + confirmation code
  • 2008/10/5 18:08

  • Pirigoso

  • Just popping in

  • Posts: 2

  • Since: 2005/8/16


thx i set defaul config install and instalad php5-gd all work

6
cybersensei
Re: problem: new user registration + confirmation code

You were on the right track

if (!isActive()) {
$is_valid = true;
}
elseif ( is_object($GLOBALS["xoopsUser"]) && !empty($skipMember) ) {

should be

if ($this->config['disabled']) {
$is_valid = true;
}
elseif ( is_object($GLOBALS["xoopsUser"]) && !empty($skipMember) ) {


Login

Who's Online

485 user(s) are online (351 user(s) are browsing Support Forums)


Members: 0


Guests: 485


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits