View Issue Details

IDProjectCategoryView StatusLast Update
0005103mantisbtadministrationpublic2005-04-18 10:31
Reportertk Assigned Tomasc  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.2 
Summary0005103: Signup does not work
Description

When I try to follow the signup link the signup page is not executed; the browser reverts to the login page again.

I've tracked down the problem so far:

line 353 in core/html_api.php:

only display webmaster email is current user is not the anonymous user

    if ( isset( $_SERVER['PHP_SELF'] ) && ( false === strstr( "login_page.php", $_SERVER['PHP_SELF'] ) ) && !current_user_is_anonymous() ) {

The failure occurs in the function current_user_is_anonymous():
line 80 in core/current_user_api.php:
return current_user_get_field( 'username' ) == config_get( 'anonymous_account' );

At this point the function call current_user_get_field( 'username' ) fails.

Additional Information

Special environment that may be important:

  1. The mantis installation was upgraded from 17.0 directly to 19.2
  2. LDAP is used for authentication.
TagsNo tags attached.

Relationships

duplicate of 0004995 closedmasc Sign up for a new account no longer works... 
has duplicate 0005136 closedthraxisp Can't sign up because user needs to be logged in 

Activities

pengzhw

pengzhw

2005-01-13 11:26

reporter   ~0009008

My 0.19.2 also has such a problem. It is upgraded from 0.19.1. Signup works well under 0.19.1 which was a new installation (not a upgraded one).

I don't use LDAP.

Additional information: Apache 1.3.33, PHP 4.2.3, Linux 2.4.x. IE 6.0, Firefox 1.0

pengzhw

pengzhw

2005-01-13 12:03

reporter   ~0009009

Last edited: 2005-01-13 12:10

Seems to be duplicate of 0004995 :-)
Fixed after applying the patch included there.