View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009266 | mantisbt | upgrade | public | 2008-06-15 06:10 | 2012-10-22 15:54 |
Reporter | kaystrobach | Assigned To | grangeway | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0a1 | ||||
Fixed in Version | 1.2.0a2 | ||||
Summary | 0009266: webpath to the mantis installation is calculated wrong, if mantis is installed in the root directory of a webserver | ||||
Description | in config_defaults.inc.php the following is set from line 135 to 136
this causes mantis get get // as "root-folder", if installed in the docroot - that doesn't work regards kay PS: the mindmap is pretty cool | ||||
Steps To Reproduce | install mantis 1.2.0a in the docroot of a apache webserver | ||||
Additional Information | i solved the issue for me, by adding to my config_inc.php so config_defaults.inc.php has to be changed to fix it for all: Short web path without the domain name
| ||||
Tags | No tags attached. | ||||
some time an testing later:
i've no time to see, why this problem appears, but this is a relativly simple solution for installing in a root directory |
|
please also see 0009043 |
|
kaystrobach: the 'official' method to handle Mantis incorrectly detecting the relative path is to actually set $g_short_path in your config_inc.php as appropriate. I will attempt to enhance the current detection at some point, as it can be broekn by *nix symlinking or Apache URL rewriting, but in the mean time, manually setting $g_short_path is the preferred solution. |
|
Eeven if it is not installed in the root, make this setting: |
|
Hello Thank you for taking the time to report a problem with mantis. A Possible Fix for this issue has been commited to SVN, for inclusion in the 1.2.0a2 release due within the next few weeks. If you are able to reproduce this bug in the 1.2.0a2 release, or SVN trunk code, Please change the status back to "Open", or open a new issue report with more information. Again, thank you for your continued support and report. |
|
i had the following problem after updating to 1.2.0a2 but it redirected me to http://doman/path/http://domain/path/login_page.php $g_path=''; resolved the problem ... i don't know wether this is a bug or a feature ;) regards kay |
|
kaystrobach, could you please check if this is fixed with lastest version without setting $g_path ? |
|
kaystrobach, You did not provide any feedback; I am therefore assuming that the problem is fixed with grangeway's fix mentioned in 0009266:0018964 Feel free to reopen the issue at a later time and provide the requested information. |
|