View Issue Details

IDProjectCategoryView StatusLast Update
0020239mantisbtauthenticationpublic2015-11-23 08:16
Reportershahrzadpourfathi Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformmysqlOSLinux 7 
Product Version1.2.19 
Summary0020239: Mantis Installation Copied into a new machine
Description

After copying we get Cookie related errors when logging in.

The current installation was copied by tar to a Red Hat Enterprise Linux 7 machine. The database was copied to a remote mysql cluster. The database connection was tested. Stunnel is running and I’ve confirmed that credentials pass through to our authentication server. Screen shot is attached of the cookie error. Thank you!

TagsNo tags attached.
Attached Files

Activities

atrol

atrol

2015-10-31 12:27

developer   ~0051778

Did you set $g_cookie_path in file config_inc.php?

shahrzadpourfathi

shahrzadpourfathi

2015-11-02 15:35

reporter   ~0051787

The short answer is "No". Here is more details:

In the current production server $g_cookie_path = '/';

Per your email and per the suggestion in the config_defaults_inc.php, we set
$g_cookie_path to '/usr/local/apache2/html/mantis' which is the path to mantis on the new server.

Are there other considerations going from solaris to linux?

atrol

atrol

2015-11-02 16:58

developer   ~0051790

Do you use a proxy?

shahrzadpourfathi

shahrzadpourfathi

2015-11-02 17:07

reporter   ~0051791

No We don't. It is just Apache on Linux.

atrol

atrol

2015-11-02 17:36

developer   ~0051793

Clear your browser cookies.
Go again to login page
Do you see a cookiie with name PHPSESSID in your browser?

shahrzadpourfathi

shahrzadpourfathi

2015-11-02 17:41

reporter   ~0051794

Yes

atrol

atrol

2015-11-02 17:55

developer   ~0051795

Are there any errore and/or warnings in web server or database logs?

Run
http://www.<yourMantis>/admin/check.php
Maybe you removed directory admin after installation (recommended) and have to restore it.
Do you get any errors or warnings?

Are you able to reproduce the issue with a fresh installation of an original Mantis 1.2.19 on the same sever?
Download from http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.19/

atrol

atrol

2015-11-12 02:25

developer   ~0051835

shahrzadpourfathi,

You did not provide any feedback; I am therefore resolving this issue as "no change required".

Feel free to reopen the issue at a later time and provide the requested information.