In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000993 [In-Portal CMS] Data Management bug report always 2011-02-05 08:26 2011-09-19 16:09
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.3-B1 Product Version 5.1.2-B1
  Target Version 5.1.3 Product Build
Time EstimateNo estimate
Summary 0000993: Unable to login to Admin Console, when web-server is installed on non-default port
Description I have In-Portal installation on 8080 port instead of 80 port, which is default.

Because of that I have to specify port each time I visit website like this: http://www.site-name.com:8080/admin/

Unfortunate effect of that is that $_SERVER['HTTP_HOST'] variable also contains that port, but since it's used for cookie setting no cookies are set at the end.


I propose to strip value of PORT constant from end of SERVER_NAME constant (which is set to $_SERVER['HTTP_HOST'] by default). It's also safe for IPv6 protocol.
Steps To Reproduce
Additional Information Unfortunate side effect is inability to login to Admin Console, since it's uses cookie-based session.

Also today $_SERVER['HTTP_PORT'] variable is no longer provided to PHP (tested on Apache 1.3, Apache 2.2, PHP 4.4, PHP 5.2.1) and it's being replaced by $_SERVER['SERVER_PORT'] in attached patches.
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/sZsILJ6bk9E/discussion
Change Log Message Fixed non-default port usage, when accessing In-Portal from a web-browser
Estimate Points 0
Attached Files patch file icon non_standart_http_port_issue_in_debugger.patch [^] (663 bytes) 2011-02-05 08:26 [Show Content]
patch file icon non_standart_http_port_issue.patch [^] (1,895 bytes) 2011-02-05 08:26 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0003291)
Dmitry (manager)
2011-03-08 18:17

Tested good!
User avatar (0003431)
alex (manager)
2011-05-20 03:04

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000993: Unable to login to Admin Console, when web-server is installed on non-default port
User avatar (0003868)
alex (manager)
2011-09-19 16:09

Closing, since 5.1.3 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14323
Timestamp: 2011-05-20 03:04:26
Author: alex
Details ] Diff ]
Fixes 0000993: Unable to login to Admin Console, when web-server is installed on non-default port
mod - /in-portal/branches/5.1.x/core/kernel/startup.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/debugger.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-09-19 16:09 alex Note Added: 0003868
2011-09-19 16:09 alex Status resolved => closed
2011-05-20 03:04 alex Note Added: 0003431
2011-05-20 03:04 alex Status reviewed and tested => resolved
2011-05-20 03:04 alex Fixed in Version => 5.1.3-B1
2011-05-20 03:04 alex Resolution open => fixed
2011-05-20 03:04 alex Assigned To !COMMUNITY => alex
2011-05-20 03:04 alex Changeset attached 5.1.x r14323
2011-04-04 11:49 Dmitry Target Version Icebox => 5.1.3
2011-03-08 18:17 Dmitry Note Added: 0003291
2011-03-08 18:17 Dmitry Status needs testing => reviewed and tested
2011-02-05 08:26 alex Assigned To => !COMMUNITY
2011-02-05 08:26 alex Developer => alex
2011-02-05 08:26 alex Status active => needs testing
2011-02-05 08:26 alex File Added: non_standart_http_port_issue.patch
2011-02-05 08:26 alex File Added: non_standart_http_port_issue_in_debugger.patch
2011-02-05 08:26 alex New Issue
2011-02-05 08:26 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/sZsILJ6bk9E/discussion
2011-02-05 08:26 alex Change Log Message => Fixed non-default port usage, when accessing In-Portal from a web-browser



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker