-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.1
-
Fix Version/s: 5.1.3-B1
-
Component/s: Data Management
-
Labels:None
-
External issue URL:
-
Change Log Message:Fixed warning about missing $_SERVER['REQUEST_URI'] variable
-
External issue ID:954
-
Copy Issue Key:
-
Patch Instructions:
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: #000950)