View Issue Details

IDProjectCategoryView StatusLast Update
0005298mantisbtadministrationpublic2006-04-20 06:24
ReporterBugFinder Assigned Tograngeway  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version0.19.2 
Summary0005298: Signup page returning to login page
Description

I have $g_allow_signup = ON in my config file, I even did a grep to confirm that this was the only instance.

And echoing config_get( 'allow_signup' ) shows 1 in my signup_page.php

I have the $g_signup_use_captcha = OFF;

I cant find any errors, and yet it still reverts to the login page every time.

Additional Information

You can see it fail at http://www.xcalibur.co.uk/Beta/bugs/

TagsNo tags attached.

Relationships

duplicate of 0004995 closedmasc Sign up for a new account no longer works... 

Activities

BugFinder

BugFinder

2005-03-02 09:48

reporter   ~0009448

If I comment out the following line at the bottom of signup_page.php it works .

    //html_page_bottom1a( __FILE__ );
peter_newcomb

peter_newcomb

2005-03-02 16:29

reporter   ~0009451

I experienced the same symptoms and resolved them by changing line 33 of core/access_api.php to include signup_page.php along with login_page.php as exceptions to the "must be authenticated" requirement.

In other words, I changed:

if( basename( $_SERVER['SCRIPT_NAME'] ) != 'login_page.php' ) {

to:

if( basename( $_SERVER['SCRIPT_NAME'] ) != 'login_page.php' && basename( $_SERVER['SCRIPT_NAME'] ) != 'signup_page.php' ) {

thraxisp

thraxisp

2005-03-02 20:38

reporter   ~0009457

I think that this is a duplicate of 0004995. Applying the patch listed there resolves the problem. This has already been applied in CVS.

grangeway

grangeway

2006-04-18 08:19

reporter   ~0012604

Hello,

Thank you for your issue report.

Since this report was added to the bug tracker, a number of changes have been made to mantis. Please go to http://www.mantisbt.org/download.php and download the latest version and see if that fixes this issue.

Thanks
Paul