Marcus Well-known member Oct 4, 2017 #1 Affected version beta 4 #php cmd.php ... puts an " ErrorException: Undefined index: REMOTE_ADDR in src/config.php" on my live server. Some admins restrict debug mode to a specific ip [range] for live testing some stuff.
#php cmd.php ... puts an " ErrorException: Undefined index: REMOTE_ADDR in src/config.php" on my live server. Some admins restrict debug mode to a specific ip [range] for live testing some stuff.
Mike XenForo developer Staff member Oct 4, 2017 #2 That's from custom code you're adding though and it's a legitimate message. You should be checking for whether REMOTE_ADDR exists (or taking CLI-specific action).
That's from custom code you're adding though and it's a legitimate message. You should be checking for whether REMOTE_ADDR exists (or taking CLI-specific action).