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
Can't create new users in 1.1.4
Moderators: Developer, Contributor
Re: Can't create new users in 1.1.4
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.
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.
Re: Can't create new users in 1.1.4
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]
Re: Can't create new users in 1.1.4
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.
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.
Re: Can't create new users in 1.1.4
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?
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?
Re: Can't create new users in 1.1.4
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.