Config.ini was changed to Config.ini.php in V 6.3.1 of PHP-IDS, as a result the package detection code in hook_requirements() doesn't correctly detect V 6.3.1 even if the PHP-IDS path is configured correctly.

Line 29 of phpids.install:

if (!file_exists(variable_get('phpids_path',realpath(dirname(__FILE__))). '/IDS/Config/Config.ini')) {

Workaround: install an earlier version of PHP-IDS

Comments

it-cru’s picture

Assigned: Unassigned » it-cru
Status: Active » Postponed (maintainer needs more info)

Hello afreeman,

this problem is fixed since PHPIDS-6.x-1.10 and works for both Config.ini file names.

Which PHPIDS module version do you try?

Greetz Gos77

billsdesk’s picture

I am having the same problem on D7 Alpha 3, with the current dev version phpids.

afreeman’s picture

I was using 6.x-1.x-dev circa three weeks ago.

it-cru’s picture

Is it possible that both config files (Config.ini and Config.ini.php) exists, if the problem occurs? I think my IF-statement isn't clean enough :(

I'll try to replace it against a regular expression.

afreeman’s picture

I don't think so, or that shouldn't be possible assuming the installation directions are followed. Other than the file name changing between versions I haven't encountered any instances where there are multiple versions of the config file in the same table.

it-cru’s picture

Is this problem with PHPIDS-6.x-1.11 also present?

it-cru’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

closed - no more informations received