Closed (cannot reproduce)
Project:
PHPIDS
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Apr 2010 at 15:39 UTC
Updated:
2 Nov 2010 at 19:39 UTC
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
Comment #1
it-cruHello 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
Comment #2
billsdesk commentedI am having the same problem on D7 Alpha 3, with the current dev version phpids.
Comment #3
afreeman commentedI was using 6.x-1.x-dev circa three weeks ago.
Comment #4
it-cruIs 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.
Comment #5
afreeman commentedI 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.
Comment #6
it-cruIs this problem with PHPIDS-6.x-1.11 also present?
Comment #7
it-cruclosed - no more informations received