Hi Celextel,
I uploaded the original osc_phpips.php file and still get the same result.
What I haven't mentioned which may be relevant is that I am running OSC under Joomla. The OSC part of the directory structure is www.iorarua.com/catalog/... which is where I've installed all the PHPIDS code. So, for instance, we have www.iorarua.com/catalog/includes/modules/osc_phpids.php.
Now, after the above test, before reverting to the original application_top.php so we can still use the site, I went to www.iorarua.com and got these errors at the top of the page.
Warning: include(/home/ior49618/public_html/plugins/system/oscommerce/modules/osc_phpids.php) [function.include]: failed to open stream: No such file or directory in /home/ior49618/public_html/catalog/includes/application_top.php on line 95
Warning: include() [function.include]: Failed opening '/home/ior49618/public_html/plugins/system/oscommerce/modules/osc_phpids.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ior49618/public_html/catalog/includes/application_top.php on line 95
Warning: include(/home/ior49618/public_html/plugins/system/oscommerce/modules/banned_ip.php) [function.include]: failed to open stream: No such file or directory in /home/ior49618/public_html/catalog/includes/application_top.php on line 125
Warning: include() [function.include]: Failed opening '/home/ior49618/public_html/plugins/system/oscommerce/modules/banned_ip.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ior49618/public_html/catalog/includes/application_top.php on line 125
If I then go to www.iorarua.com/catalog I get this:
1146 - Table 'ior49618_jo151.TABLE_BANNED_IP' doesn't exist
select ip_address from TABLE_BANNED_IP where ip_status='0'
[TEP STOP]
I checked my database and there is in fact a table "banned_ip" (as well as "phpids_intrusions")
Does any of this help?