Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Greg B
  • Gender
  1. phpfan


    Hi I spent a great deal of time looking into files for something else trust me. There are only 2 files in the sitemonitor program that you can hard code a default email address into. other then using the admin panel of course. sitemonitor_configure_setup.php includes/functions/sitemonitor_functions.php Its possible if someone worked on your site at one time or another, they may have hard coded an old email address into one of these files to make things easy for you in the future. I know because that's what I did, should I ever need to delete the config file. PF PS Jack I got everything to function correctly including the admin panel using a option folder for all generated logs. Thank you for making it available, if you like I can post exactly how I did it, just let me know.
  2. phpfan


    I tried them all, those fixes, do not work correctly they even create new problems. I did get SiteMonitor to write to a log folder by adding another entry like DIR_FS_ADMIN2 and editing some files relating to ref, log etc I then exclude logs and I never get false emails anymore. what a pain in the ... finding those path locations I asked you in a earlier post to simply let me know how to set a manual path for a log folder, you could have saved me hours by just letting me know where the 4 or 5 quick edits where at. Common, you knew exactly where they where, as well as a tip to start with DIR_FS_ADMIN paths. remember the only reason I even asked about that in the first place was because of a bug in the program code. Whenever you get around to fixing things in the contrib download, its a good idea to give users a choice to set a folder path for instances of log, ref and config files. You should know more then anybody Static built in paths that relay on default folder settings are asking to be hacked or rendered useless. I have removed the admin settings altogether and just use it with cron. to many errors especially running sitemonitor_hacker_cron.php, I also read some of your replays to posters stating its server related, I tested on at lest 3 different linux servers with the same results. and that image folder contains .php files, error message, every time the update page displays, is a problem in the code not, the server. PF
  3. phpfan


    Thanks I will edit that SiteMonitor checks and reports on itself every time it runs because it creates a few files to start and adds data to logs etc during normal operation and since those files are located right in the admin folder the only way to it stop it, is exclude the whole admin folder. which defeats the whole purpose. I created another directory called logs, and edited sitemonitor.php for cron with the new log paths, sitemonitor_log_0.txt, sitemonitor_reference_0.php and it works fine. But I am having a problem with setting the new log path for sitemonitor_configure_0.php in sitemonitor_functions.php I also relixze the new log path needs to work with the delete and create functions in the admin area thats why I'm asking to make sure I do it right. Can you please let me know what files need to be edited to maunally add a log path off of the admin folder for all sitemonitor auto generated files?. Thanks PF
  4. phpfan


    Hi Jack When I run sitemonitor_hacker_cron.php, either by cron or direct I get the following error Warning: array_walk() [function.array-walk]: The argument should be an array in /.../admin/sitemonitor_hacker_cron.php on line 83 Warning: array_flip() [function.array-flip]: The argument should be an array in /.../admin/sitemonitor_hacker_cron.php on line 84 I don't have this line in /includes/functions/sitemonitor_function.php /********************** END CHECK THE USERNAME *********************/ to add this code below? to stop that false .php file in images error ?> <pre> <?php print_r(glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php')); ?> </pre> <?php echo 'cnt = '.count(glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php')); Thanks PF
  5. phpfan


    Hi, thanks, that was odd went and downloaded again compared mine from a few days ago and the new one and that was the only difference between the zips any input on the few other questions in that post? and this error during cron and when I run manually as well Warning</b>: array_flip() [<a href='function.array-flip'>function.array-flip</a>]: The argument should be an array in.../sitemonitor_hacker_cron.php and that image folder error I get about php files being inside, I did a ext search and none came up Thanks PF
  6. phpfan


    Hi trying to install SiteMonitor I am using oscommerce-2.3.1, but when I use your 2.3 version, I have no Site Monitor area in admin The readme explains Add the following to admin/includes/column_left.php If your shop is AFTER version 2.3, add this before the first ?> include(DIR_WS_BOXES . 'sitemonitor.php'); there is only one ?> and I add it before that but nothing shows in admin with sitemonitor folder 2.3 but when I install your version for oscommerce_MS2_or_RC2 I get that admin area with all configurations When I run, Manually Check for Hacked Files I receive Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in... also I get that image warning as mentioned earlier WARNING: Your images directory contains .php files but it should not.//top of page pink warning I have checked all images folder's and there are no php files in them I read your earlier reply to do this ?> <pre> <?php print_r(glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php')); ?> </pre> <?php echo 'cnt = '.count(glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php')); But won't this exclude checking for real php files as well that could really be in there one day? any help would be great I'm stumped Thanks PF
  7. Hi Just signed up! I am using, osCommerce Online Merchant v2.3.1 (latest version) I just installed the Captha mod, I used Anti Robot Registration 3.0_english.sql and did a manual edit of all pages everything works great Thank You, you are very knowledgeable in this program, it fit right in with a load of admin options as well. I just can't seem to find where to change the color of the table row or cell that contains the Captha image and the related text info that was located in account_validation.php, I also looked in the style sheet and all php pages it came with but with no luck. If anyone knows please let me know Thanks again, PF