51Degrees Pipeline for PHP

fiftyone\pipeline\ipintelligence\Messages Class Reference

Data Fields

const CACHE_ERROR
const INVALID_PERFORMANCE_PROFILE
const PERFORMANCE_PROFILE_ERROR
const NO_STARTUP_ENGINE
const DATA_FILE_SETTING_REFUSED
const DATA_FILE_NOT_FOUND
const DATA_FILE_EXTENSION_ERROR
const GLOBAL_ENGINE_SETTINGS_REJECTED
const EXTENSION_NOT_LOADED
const RESULTS_CLOSED
const ENGINE_CLOSED

Field Documentation

◆ CACHE_ERROR

const fiftyone\pipeline\ipintelligence\Messages::CACHE_ERROR
Initial value:
=
'The on-premise IP intelligence engine has its own internal cache ' .
'and does not support an external cache.'

◆ DATA_FILE_EXTENSION_ERROR

const fiftyone\pipeline\ipintelligence\Messages::DATA_FILE_EXTENSION_ERROR
Initial value:
=
'The IP intelligence data file name must end in %s'

◆ DATA_FILE_NOT_FOUND

const fiftyone\pipeline\ipintelligence\Messages::DATA_FILE_NOT_FOUND
Initial value:
=
'There is no IP intelligence data file at %s'

◆ DATA_FILE_SETTING_REFUSED

const fiftyone\pipeline\ipintelligence\Messages::DATA_FILE_SETTING_REFUSED
Initial value:
=
'The "dataFile" setting builds a new IP intelligence engine from the ' .
'data file every time, so under a web server the data file would be ' .
'loaded on every request, and it is refused outside the command ' .
'line. Set FiftyOneDegreesIpIntelligenceEngine.data_file in php.ini ' .
'to the data file and leave the "dataFile" setting out, so that PHP ' .
'builds the engine once, when it starts.'

◆ ENGINE_CLOSED

const fiftyone\pipeline\ipintelligence\Messages::ENGINE_CLOSED
Initial value:
=
'The on-premise IP intelligence engine has been closed, so it cannot ' .
'process evidence. Build a new pipeline.'

◆ EXTENSION_NOT_LOADED

const fiftyone\pipeline\ipintelligence\Messages::EXTENSION_NOT_LOADED
Initial value:
=
'The FiftyOneDegreesIpIntelligenceEngine extension is not loaded. The ' .
'on-premise IP intelligence engine requires the native extension to be ' .
'built and enabled (see OnPremise.md). Cloud operation does not require it.'

◆ GLOBAL_ENGINE_SETTINGS_REJECTED

const fiftyone\pipeline\ipintelligence\Messages::GLOBAL_ENGINE_SETTINGS_REJECTED
Initial value:
=
'The shared global IP intelligence engine is built once at module ' .
'load from the FiftyOneDegreesIpIntelligenceEngine.* php.ini ' .
'settings and cannot be reconfigured per instance, so these ' .
'setting(s) would have no effect: %s. Remove them, and set the data ' .
'file and the required properties in php.ini (data_file, ' .
'required_properties).'

◆ INVALID_PERFORMANCE_PROFILE

const fiftyone\pipeline\ipintelligence\Messages::INVALID_PERFORMANCE_PROFILE
Initial value:
=
"'%s' is not a valid performance profile. Valid profiles are: %s."

◆ NO_STARTUP_ENGINE

const fiftyone\pipeline\ipintelligence\Messages::NO_STARTUP_ENGINE
Initial value:
=
'No IP intelligence engine was built when PHP started. Set ' .
'FiftyOneDegreesIpIntelligenceEngine.data_file in php.ini to the ' .
'path of an .ipi data file, so that PHP builds the engine once when ' .
'it starts. See OnPremise.md.'

◆ PERFORMANCE_PROFILE_ERROR

const fiftyone\pipeline\ipintelligence\Messages::PERFORMANCE_PROFILE_ERROR
Initial value:
=
"The IP intelligence engine the extension builds when PHP starts can " .
"only run with the in-memory 'MaxPerformance' performance profile, " .
"but '%s' was configured. PHP is typically run under a process " .
"manager (Apache MPM prefork, php-fpm) that forks the worker process " .
"after that engine is built, and any other profile keeps the data " .
"file open and shares those file handles across the fork, which " .
"corrupts the results. Remove the " .
"'FiftyOneDegreesIpIntelligenceEngine.performance_profile' setting, " .
"or set it to 'MaxPerformance'."

◆ RESULTS_CLOSED

const fiftyone\pipeline\ipintelligence\Messages::RESULTS_CLOSED
Initial value:
=
'These IP intelligence results have been closed, so their ' .
'properties cannot be read. Read the values needed before closing ' .
'the FlowData.'