Jump to content

caseoli

Members
  • Content count

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  1. caseoli

    IP trap Version 3 released

    I have managed to get it working after a fashion.... In the end I deleted the whitelist.txt file and now the site works as it should when the 'banned' directory is accessed. Now all I need to do is find out how to get the whitelist to work so I can get access to my admin section without having to play around with the file structure.... Love the idea of this app though :thumbsup:
  2. caseoli

    IP trap Version 3 released

    Further to my problem. I have discovered the following error messages in my logs... [sat Jul 23 06:45:04 2011] [warn] mod_fcgid: stderr: PHP Warning: file(/banned/user_agents.txt) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /home/linweb04/c/copyboards.co.uk-23133835/user/htdocs/includes/secret.php on line 32 [sat Jul 23 06:45:04 2011] [warn] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/linweb04/c/copyboards.co.uk-23133835/user/htdocs/includes/secret.php on line 34 [sat Jul 23 06:50:29 2011] [warn] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected '<' in /home/linweb04/c/copyboards.co.uk-23133835/user/htdocs/includes/secret.php on line 18 If I am reading the code correctly in this addon, a whitelist IP will get thrown back to the main index page for the website. This is clearly not happening. Can anyone enlighten me please?
  3. caseoli

    IP trap Version 3 released

    Hi. I have just loaded this addon to my osc 2.3.1 site but it fails to work. 1. If I type my website address plus /admin I get thrown back to my main start up page. There is no error code in my log files and the date is not being updated on the files. 2. If I type my website address and add on banned/IP_Trapped.txt I get 999.999.999.9999 which is the contents of the file. 3. I have not changed my htaccess file as this is protected by a package called SafeZone which is an addon from my hosting company 4. My application_top.php files has been amended to show // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php'); // IP Trap V5 include(DIR_WS_INCLUDES . 'secret.php'); 5. I don't have a catalog directory but have added the directories as supplied by you and renamed personal to admin 6. If I manually add my IP address I do get blocked out. Any ideas please because the last site was hacked very badly and I note from the logs file that there have been attempts to look for the admin folder and some file names. Thanks Ian
  4. Hi. I have just effected a new install and getting this dreaded 1054 error - c.categories_status I see that pdcelec gave a solutions: c.categories_status is not standard code. It comes from the contribution, enable/disable categories I'm new to oscommerce, can someone please explain how I can rectify this problem. Thanks
×