revenson Posted January 26, 2009 Share Posted January 26, 2009 Reloaded sitemonitor_configure.php and this time it worked. why, I don't have a clue. Roger. Quote Link to comment Share on other sites More sharing options...
revenson Posted January 28, 2009 Share Posted January 28, 2009 Site Monitor is sending me two emails each time it is run. One would be sufficient. Can I change this somewhere? Quote Link to comment Share on other sites More sharing options...
lee987 Posted January 28, 2009 Share Posted January 28, 2009 Hi all I have installed v1.7 and I have a problem at Step 5. Steps 1 to 4 have been done to the letter. I even restored my site and tried it again being very careful to get it exactly right, but maybe I did something wrong? When I go to admin, SiteMonitor I get the following message "Not Found The requested URL /catalog/admin/FILENAME_FORBIDEN was not found on this server." Please can someone tell me what I did wrong? Thanks Lee Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 28, 2009 Author Share Posted January 28, 2009 Site Monitor is sending me two emails each time it is run. One would be sufficient. Can I change this somewhere? It only sends out one email. The second may be coming from cron. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 28, 2009 Author Share Posted January 28, 2009 Hi allI have installed v1.7 and I have a problem at Step 5. Steps 1 to 4 have been done to the letter. I even restored my site and tried it again being very careful to get it exactly right, but maybe I did something wrong? When I go to admin, SiteMonitor I get the following message "Not Found The requested URL /catalog/admin/FILENAME_FORBIDEN was not found on this server." Please can someone tell me what I did wrong? Thanks Lee FILENAME_FORBIDEN is not part of SiteMonitor and the capital letters indicate a missing definition so there seems to be some problem in your files. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
revenson Posted January 28, 2009 Share Posted January 28, 2009 It only sends out one email. The second may be coming from cron. Jack I have not set up a cron job yet. Quote Link to comment Share on other sites More sharing options...
revenson Posted January 28, 2009 Share Posted January 28, 2009 Cron Job Question The install file suggests this command for a cron job, "php /home/username/public_html/catalog/admin/sitemonitor.php". 1. Is 'sitemonitor.php' the cron file itself or does the above command need to be put into a script file for cron? 2. If the later, does it have to have a certain extension, like .pl or .php? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 28, 2009 Author Share Posted January 28, 2009 I have not set up a cron job yet. Then I don't know what could be causing that. It should only send out one email. Maybe your mail server is duplicating it somehow? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 28, 2009 Author Share Posted January 28, 2009 Cron Job Question The install file suggests this command for a cron job, "php /home/username/public_html/catalog/admin/sitemonitor.php". 1. Is 'sitemonitor.php' the cron file itself or does the above command need to be put into a script file for cron? 2. If the later, does it have to have a certain extension, like .pl or .php? Cron is a program located on your server. The command is what you use to execute that program. When cron sees that command, it realizes it is being told to use php to execute the sitemonitor.php file located at /home/username/public_html/catalog/admin/. This last part has to be adjusted so that it is correct for your server. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
hlee Posted February 12, 2009 Share Posted February 12, 2009 Very useful contribution, easy to understand and clear installation instruction. All working perfectly except everytime running "Execute Sitemonitor" (middle update button) I get two emails (run without cron job), but totally is not a hassle at all for me. Thanks for the author (Jack), two thumbs up for you. God bless you. Quote Link to comment Share on other sites More sharing options...
craigglawson Posted February 27, 2009 Share Posted February 27, 2009 I'm probably gonna ask a stupid question but... I have configured the files correctly, except when I run the contribution to check the files, I get this error: Warning: fopen(sitemonitor_reference.php) [function.fopen]: failed to open stream: Permission denied in /home/diequest/public_html/admin/includes/functions/sitemonitor_functions.php on line 244 Failed to open file sitemonitor_reference.php Any ideas? Quote ... Too close for missiles, I'm switching to guns ... Link to comment Share on other sites More sharing options...
jerrysmusic Posted February 27, 2009 Share Posted February 27, 2009 Greetings, I installed site monitor and tested it several times, everything was fine until after I added an item in my inventory (with a pic), after that I ran a test and got this message Found a new file named catalog/images/hotrod deluxe.jpg Fatal error: Call to undefined function: tep_not_null() in /hsphere/local/home/jplynn/jerrys-music.com/admin/includes/functions/sitemonitor_functions.php on line 87 I didn't see that problem in any earlier posts. any help would be greatly appreciated. Quote Jerry jerry@jerrys-music.com Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 28, 2009 Author Share Posted February 28, 2009 I'm probably gonna ask a stupid question but... I have configured the files correctly, except when I run the contribution to check the files, I get this error: Go to the bottom of this page, type fopen(sitemonitor_reference.php) in the search box and click search. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 28, 2009 Author Share Posted February 28, 2009 Greetings,I installed site monitor and tested it several times, everything was fine until after I added an item in my inventory (with a pic), after that I ran a test and got this message Found a new file named catalog/images/hotrod deluxe.jpg Fatal error: Call to undefined function: tep_not_null() in /hsphere/local/home/jplynn/jerrys-music.com/admin/includes/functions/sitemonitor_functions.php on line 87 I didn't see that problem in any earlier posts. any help would be greatly appreciated. The tep_not_null function is a standard oscommerce function. The error is saying it can't find it but I find that hard to believe since there would be many other errors. The only thing I can think of is that there is a restriction by your server that is preventing the file from being loaded properly. I don't have any suggestions for fixing it though. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
jerrysmusic Posted February 28, 2009 Share Posted February 28, 2009 Thanks Jack. For what it's worth, it seems that I only get this error when I add an image to my images directory. If I delete the reference file and then change any files, it works fine until I add a product (and it's image). Quote Jerry jerry@jerrys-music.com Link to comment Share on other sites More sharing options...
XxWickedxX Posted March 2, 2009 Share Posted March 2, 2009 (edited) Ok for this script seems to function properly so far except for a couple weird tweaks. In the configure menu of Site Monitor I filled in the curl options before I knew that I did not need them and I also missed the note about if you did not use https then perhaps it was not the best idea to fill that information in. So I went back to delete the inputs in the understanding that my server allows fopen and everytime I update the page soon as I come back to it the curl settings are there again. Now the 2nd thing is that my "From" field email addy and "To" email addy are the same. I receive it at the right email but for some unknown reason is says it was sent from another one of my emails that I use to have extra order emails sent to. Just trying to understand these quirks. Edit- Also my exclude box says "admin/quarantine" when I have not selected any option to quarantine. Perhaps that means something else? I am going to turn this off till I get this figured. Slight Correction The curl setting blanks are not filled with the information I originally had in them. It now has them filled with my database log in and password? Is this normal? I never put those values there. Edited March 2, 2009 by XxWickedxX Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 2, 2009 Author Share Posted March 2, 2009 You can edit the admin/sitemonitor_config.php file directly if the admin tool isn't working on your site. Just be sure not to remove anything you don't want. Just make changes to the values. The from address is taken from the settings in your shop. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
XxWickedxX Posted March 2, 2009 Share Posted March 2, 2009 Thanks for the location of those values. I am assuming its fine to comment out the curl stuff. On the other hand I have just double checked and the address its using in the from field is the first address listed in my "Send extra order Emails To:" Quote Link to comment Share on other sites More sharing options...
XxWickedxX Posted March 2, 2009 Share Posted March 2, 2009 It was admin/sitemonitor_configure_setup.php that had to be used to hide the values. Thanks Jack for pointing me in the right direction. I just did not expect the form to auto pull values into the curl settings without my input. Just wondering if that is normal since it says they are optional fields. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 2, 2009 Author Share Posted March 2, 2009 It's normal for the first install. Once they are set, even if they are empty, it should stay that way. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
XxWickedxX Posted March 2, 2009 Share Posted March 2, 2009 (edited) Well no real complaints. Everything seems to be working as it should. My cron job has not run yet but I have done manual scans with it. A really handy tool. Only thing I was not able to get working in the security thread post was the Anti XSS of what was the fastest one to install. Well really feel better with what I do have now working. Thanks again for the input Jack Edited March 2, 2009 by XxWickedxX Quote Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2009 Share Posted March 6, 2009 I installed everything correctly and followed the isntructions to delete/create a reference file, but then I get this error message: Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: No such file or directory in /data/15/1/113/53/1765705/user/1908746/htdocs/thenewgreenme/shop/admin/includes/functions/sitemonitor_functions.php on line 99 Warning: readdir(): supplied argument is not a valid Directory resource in /data/15/1/113/53/1765705/user/1908746/htdocs/thenewgreenme/shop/admin/includes/functions/sitemonitor_functions.php on line 101 Reference file creation failed. I also tried running it manually and it resulted in the same error message. What should I do next? Thanks for your assistance. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 6, 2009 Author Share Posted March 6, 2009 Is the path to your files home/username/public_html? Is your hosting account username really username? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
elearningadmin Posted March 8, 2009 Share Posted March 8, 2009 Just think before writing :o I got the same error as Rezolles_net -> Here's the working solution! 1. DON'T create the file sitemonitor_reference.php manually!! you already did? delete it! 2. chmod your admin directory with 777 but DON'T chmod the files within! just the directory! 3. run the script to generate the sitemonitor_reference.php 4. use the script regular as cronjob and watch bad things happen ;) if you use daily automated updates for products, you may add "images" folder to exclude list or you will get mails every day when new pictures where added -> but also good option to see if it works ;) Thanks a Lot IT'S WORKING.... :rolleyes: Quote Link to comment Share on other sites More sharing options...
XxWickedxX Posted March 10, 2009 Share Posted March 10, 2009 I am just out of the blue now getting this error error 2006 mysql server has gone away My database works though. It does this when I try to delete the reference file now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.