Can't create new users in 1.1.4

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
schickb
Posts: 6
Joined: 09 Jul 2008, 16:23

Can't create new users in 1.1.4

Post by schickb »

After recently upgrading to 1.1.4 (from 1.1.1) on Ubuntu 8.04, my Mantis install can no longer create users or reset passwords. The new user gets the confirm email, but clicking the link result in these error message at the top of the Edit User page:

SYSTEM WARNING: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session
SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /var/www/mantis/core/error_api.php:166)


Filling out the password, etc. and clicking submit results in the error:

Invalid form security token. Did you submit the form twice by accident?

Trying to do a password reset has the same problem. This all worked fine in 1.1.1
frank2008
Posts: 6
Joined: 06 Nov 2008, 13:14

Re: Can't create new users in 1.1.4

Post by frank2008 »

Seems to be a related issue to this thread: http://www.mantisbt.org/forums/viewtopic.php?f=3&t=6320
Have the same problem with 1.1.4 when beeing logged in as admin when trying to enter password for new user / reset password for existing user.
Additionally I am getting the Application Error #2800 in the next screen, when I try to set the password.

When I log admin out first, bevor setting new password via email-link, I am getting "only" the Application Error #2800.
schickb
Posts: 6
Joined: 09 Jul 2008, 16:23

Re: Can't create new users in 1.1.4

Post by schickb »

Here is a debug_print_backtrace() in the error handler. This is the stack trace leading up to the error:

Code: Select all

#0 error_handler(2, session_destroy() [function.session-destroy]: Trying to destroy uninitialized session, /var/www/mantis/core/session_api.php, 99, Array ()) 
#1 session_destroy() called at [/var/www/mantis/core/session_api.php:99] 
#2 MantisPHPSession->destroy() called at [/var/www/mantis/core/session_api.php:188] 
#3 session_clean() called at [/var/www/mantis/core/authentication_api.php:198] 
#4 auth_logout() called at [/var/www/mantis/verify.php:52] 
schickb
Posts: 6
Joined: 09 Jul 2008, 16:23

Re: Can't create new users in 1.1.4

Post by schickb »

Looks like this is a known problem fixed in 1.1.5 (http://www.mantisbt.org/bugs/view.php?id=9713).

I have to say that having a "stable" release that doesn't support new user registration causes me to worry about the testing and release management of Mantis.
mmetan
Posts: 17
Joined: 15 Sep 2008, 10:45

Re: Can't create new users in 1.1.4

Post by mmetan »

Guys... installed 1.1.5
and still getting the same error while updating an issue.... cannot update any fields... still getting the same error :(

please help! what shall i do?
olegos
Posts: 72
Joined: 12 Mar 2007, 20:24

Re: Can't create new users in 1.1.4

Post by olegos »

mmetan, try clearing your browser cache and cookies. If still having the problem, please describe it completely, because it's not clear to me what exactly your problem is.
Post Reply