View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011700 | mantisbt | upgrade | public | 2010-03-23 11:42 | 2010-09-19 03:12 |
| Reporter | DonSleza4e | Assigned To | jreese | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Platform | IIS 6.0 | OS | Windows 2003 Server | OS Version | SP2 |
| Product Version | 1.2.0 | ||||
| Summary | 0011700: Root path is incorrect in rendered html | ||||
| Description | Sorry for my English... Previously I used v1.1.8 without problems
Now I trying to open http://bt.mywebsite.com/ All urls in rendered page now have \ symbol at start: < link rel="stylesheet" type="text/css" href="\/css/default.css" / > Internet Explorer 8 still can render this page well, but my default browser Google Chrome can't do it (no css styles applied, visiting any page leads to 'page not found') I also tried to use config_inc.php.sample with no luck. I'm curious because this problem exists in final build, and I did not do some unusual configs (all settings are default) thank you | ||||
| Tags | No tags attached. | ||||
|
I had the same problem with an upgrade from 1.1.8 to 1.2. Found that my directory path in apache config was pointing at the top directory instead of the home directory: old path: /var/www/html/mantis-installs When I did this, I was able to run the mantis-1.2 install without the root path problem. |
|
|
Check whether this is your problem If yes, have a look at this note for a workaround |
|
|
Nope, that was not my problem - I checked that after the upgrade as well. Did a full scale egrep for the "bt-1.2" prefix throughout the code and could not find any instances of it. The soft link doesn't seem to bother it as much as the FILE returned out of the apache confguration. It looks as if your URL detection code is looking for "<something>/mantis" and is only culling that portion out of the URL instead of looking at the full path, e.g. "<someting>/mantisbt-1.2". That's all useless speculation though. |
|
|
Also, I am on Centos 4 with apache and mysql 5. |
|
|
javatopia, 2010-03-23 11:57 (0024874) Thank you for the answer. I checked, ISS correctly points to directory (C:\Mantis\mantisbt-1.2.0) I tried to specify path to older mantis (C:\Mantis\mantisbt-1.1.8) - everything rendered well (login page) I tried to make config_inc.php be equal in both directories (for 1.1.8 and 1.2.0) - problem still exists So 1.2.0 and 1.1.8 renders root path different way with same config file |
|
|
See 0010652 |
|
|
Thank you for all responses Simpliest solution for me is move bugtracker to subfolder Now I'm using http://bt.example.com/bt/index.php instead of buggy http://bt.example.com/index.php Anyway fix should be implemented for this problem soon or later |
|