Don't detect IP address during CLI requests

Components

Description

When In-Portal is used from command-line (e.g. run_event.php script) IP address is detected as NULL resulting in SQL error during session creation.

Context Information

None

Additional information (do not use)

Fact, that session is created when In-Portal is used from CLI is matter of another task and won't be fixed as part of this task.

Attachments

4

Activity

Alex 
July 20, 2015 at 11:15 AM

Closing issues from released versions.

Dmitry Andrejev 
March 15, 2013 at 3:56 PM

User committed a fix to 5.2.x. Commit Message:

Fixes - IP address detected incorrectly from CLI

Alex 
March 15, 2013 at 2:13 PM

Dmitry will test all together later.

Alex 
March 11, 2013 at 9:45 AM

Patch "cache_rebuild_notice_fix.patch" fixes problem with notice about undefined "DBG_VALIDATE_CONFIGS" constant being thrown during deployment process.

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Change Log Message

Story Points

Fix versions

Affects versions

Patch Instructions

Patches must be submitted through Phabricator.

Created March 5, 2013 at 7:57 PM
Updated April 23, 2025 at 8:05 AM
Resolved March 15, 2013 at 3:56 PM