Update 1.2.4 to 1.2.10 wants to download login_page.php?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
esutton
Posts: 22
Joined: 21 May 2009, 19:06

Update 1.2.4 to 1.2.10 wants to download login_page.php?

Post by esutton »

I am trying to update Mantis 1.2.4 installed from a Bitnami LAMP stack "module" installer. Bitnami puts each app in an apps folder using a generic folder hierarchy, each with their own conf which is in turn included by Apache's httpd.conf.

All php code for the app, Mantis, MediaWiki, etc, is placed in it's own app folder. For example:
/opt/lampstack-1.2-4/apps/mantis
/opt/lampstack-1.2-4/apps/mediawiki
/opt/lampstack-1.2-4/apps/phpmyadmin

Here's What I Did

1 - Downloaded stable 1.2.10 release
2 - Extracted contents to the working Mantis 1.2.4 app's /opt/lampstack-1.2-4/apps/mantis/htdocs/ folder
3 - Replaced new config_inc.php with old

After restarting the LAMP stack, when I go to Mantis, Apache thinks I want to open or download and save the login_page.php .
I assume this is due to my not understanding permissions or uids very well. I tried to make the new htdocs folder containing Mantis match the old but still no success.

Each time I refresh a Mantis URL, the Apache error_log appends a new seg fault:

Code: Select all

[Wed Apr 11 15:08:11 2012] [notice] child pid 18363 exit signal Segmentation fault (11)
Directory Permissions:

Code: Select all

drwxr-xr-x  7 root root 4096 Apr 11 13:35 mantis
drwxr-xr-x 16 root root   12288 Apr 11 13:56 htdocs
-rw-r--r-- 1 root   root 102152 Apr  3 14:07 /opt/lampstack-1.2-4/apps/mantis/htdocs/config_inc.php
Thanks in advance for any directions,

-Ed

Bitnami LAMP Stack 1.2.4
PHP 5.2.15
CentOS 5.2
MantisBT Version: 1.2.10
Schema Version.: 183
Host..................: Red Hat Enterprise Linux 5.2
PhP...................: 5.2.15
esutton
Posts: 22
Joined: 21 May 2009, 19:06

Re: Update 1.2.4 to 1.2.10 wants to download login_page.php?

Post by esutton »

The problem appears to be that 1.2.10 does not like my 1.2.4 config_inc.php file.

Work around is to copy included 1.2.10 config_inc.php.sample to config_inc.php and manually merge in my 1.2.4 config_inc.php settings.
MantisBT Version: 1.2.10
Schema Version.: 183
Host..................: Red Hat Enterprise Linux 5.2
PhP...................: 5.2.15
Post Reply