In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
954 [In-Portal CMS] Data Management bug report always 2010-12-27 08:13 2011-09-19 16:08
alex  
alex  
normal  
closed 5.1.1  
fixed  
 
none 5.1.3-B1  
https://groups.google.com/d/topic/in-portal-bugs/NjP7-HdLEL4/discussion
Fixed warning about missing $_SERVER['REQUEST_URI'] variable
0
0000954: Warning about missing $_SERVER['REQUEST_URI'], while working from PHP CLI
I'm getting warning about missing $_SERVER['REQUEST_URI'] variable, when In-Portal is executed from PHP CLI, since there are no $_SERVER at all in PHP CLI.

Warning isn't visible on the screen, since error reporting is turned off in In-Portal in this case. However this causes problems, when this $_SERVER['REQUEST_URI'] is written into database in NOT NULL column resulting

ERROR 1048 (23000): Column 'PageUrl' cannot be null error (this is in CurlLog table, see task: 0000950)
related to 0000950closed  (5.2.0)alex Log CURL requests to database table instead of file 
patch undefined_request_uri_when_in_cron.patch (306) 2010-12-27 08:13
http://tracker.in-portal.org/file_download.php?file_id=885&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003862
2011-09-19 16:08 alex Status resolved => closed
2011-05-20 03:16 alex Note Added: 0003437
2011-05-20 03:16 alex Status reviewed and tested => resolved
2011-05-20 03:16 alex Fixed in Version => 5.1.3-B1
2011-05-20 03:16 alex Resolution open => fixed
2011-05-20 03:16 alex Assigned To !COMMUNITY => alex
2011-05-20 03:16 alex Changeset attached 5.1.x r14329
2011-04-04 11:49 Dmitry Target Version Icebox => 5.1.3
2010-12-27 09:24 Dmitry Note Added: 0003122
2010-12-27 09:24 Dmitry Status needs testing => reviewed and tested
2010-12-27 08:21 alex Assigned To => !COMMUNITY
2010-12-27 08:21 alex Developer => alex
2010-12-27 08:21 alex Status active => needs testing
2010-12-27 08:21 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/NjP7-HdLEL4/discussion
2010-12-27 08:13 alex Relationship added related to 0000950
2010-12-27 08:13 alex New Issue
2010-12-27 08:13 alex File Added: undefined_request_uri_when_in_cron.patch
2010-12-27 08:13 alex Change Log Message => Fixed warning about missing $_SERVER['REQUEST_URI'] variable

Notes
(0003122)
Dmitry   
2010-12-27 09:24   
Tested good, please commit when it's time.
(0003437)
alex   
2011-05-20 03:16   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000954: Warning about missing $_SERVER['REQUEST_URI'], while working from PHP CLI
(0003862)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.