View Issue Details

IDProjectCategoryView StatusLast Update
0008671mantisbtbugtrackerpublic2007-12-29 03:30
Reportertinjaw Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
OSlinux 
Product Version1.1.0rc3 
Summary0008671: Cannot setup Annonymous Access
Description

Following the directions on the wiki I hit several blocks. I cannot add a user without an email address and I cannot configure the options via the web interface.

Steps To Reproduce

http://www.mantisbt.org/wiki/doku.php/mantisbt:enabling_anonymous_access

TagsNo tags attached.
Attached Files
Mantis_1197495598984.png (4,960 bytes)   
Mantis_1197495598984.png (4,960 bytes)   
Mantis_1197495623140.png (6,149 bytes)   
Mantis_1197495623140.png (6,149 bytes)   
Mantis_1197495987203.png (6,069 bytes)   
Mantis_1197495987203.png (6,069 bytes)   

Activities

vboctor

vboctor

2007-12-15 20:29

manager   ~0016443

You can configure the options using config_inc.php. As for the email, since anonymous is typically viewer, any fake email address will do. You can use anonymous@localhost or anonymous@example.com.

tinjaw

tinjaw

2007-12-15 20:34

reporter   ~0016445

vboctor,

Thanks for your note. I understand what you are saying, and know that I can do that. The problem is that the wiki notes that the info is current as of 1.1.0a1. That means it should work in 1.1.0rc3. Either the wiki is wrong, these things were rolled back after a1, or they are bugs in rc3. I don't know which of the three is the correct answer, so I posted it here as a bug.

vboctor

vboctor

2007-12-16 14:45

manager   ~0016449

Yes, you are right. The wiki page explicitly indicates that the email address should be set to blank and to use the web interface to set the other options. This will require a fix somewhere.

tinjaw

tinjaw

2007-12-27 21:08

reporter   ~0016508

I have used a "workaround" I used PHPMySQL to modify the database directly. I can then leave the email blank set the password to MD5(blank) and set it protected. I then modify the config_inc.php directly.

giallu

giallu

2007-12-28 18:55

reporter   ~0016511

Victor, you do mean a fix in the code on in the wiki procedure?

AFAIK, empty email addresses are only allowed when $g_allow_blank_email is ON, so this should be added to the wiki (or suggest the anonymous@localhost address)

I also had a look at the code, and "anonymous" options were always in the $g_global_settings array, hence never allowed to be saved in the DB.

giallu

giallu

2007-12-28 19:01

reporter   ~0016512

tinjaw: I amended the wiki so now it should be accurate. It would be nice if you could double check the procedure for me...

Thanks in adavance

tinjaw

tinjaw

2007-12-28 21:13

reporter   ~0016514

It looks correct to me. Thanks guys.

giallu

giallu

2007-12-29 03:30

reporter   ~0016516

ok thanks for reporting