MindTwist Posted November 17, 2007 Share Posted November 17, 2007 Looks like I am out of luck with this contrib. I am always geting the 30 seconds time out messages when I change some files. I have included ALL of my folders except 1 on the exclude list (that 1 folder only has about 250 files), and I am still geting the message: Fatal error: Maximum execution time of 30 seconds exceeded in /home/twistedt/public_html/admin/includes/functions/sitemonitor_functions.php on line 169 While it creates the reference list instantly, as soon as one single file is added I can not get it to work since it always times out on me. Oh well :( Quote MindTwist of Twisted Reality and Twisted Tienda Link to comment Share on other sites More sharing options...
guilherne Posted December 11, 2007 Share Posted December 11, 2007 (edited) Hi, I have installed and found this problem after click the top button (update) in sitemonitor_admin.php : Warning: filesize() [function.filesize]: stat failed for sitemonitor_log.txt in /home/httpd/vhosts/xyz.com.br/httpdocs/catalog/admin/includes/functions/sitemonitor_functions.php on line 59 I need help. Thanks Edited December 11, 2007 by guilherne Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 12, 2007 Author Share Posted December 12, 2007 That is due to a server setting. If you are on a Windows server, then that is the problem. If you read back through the thread you may find something related to it but I think you will need to ask your host to look at the problem. 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...
erbanfootwearInc Posted December 22, 2007 Share Posted December 22, 2007 Warning: opendir(/home/xxxxxxx1923/public_html): failed to open dir: Invalid argument in C:\Inetpub\wwwroot\er.com\admin\includes\functions\sitemonitor_functions.php on line 71 Warning: readdir(): supplied argument is not a valid Directory resource in C:\Inetpub\wwwroot\er.com\admin\includes\functions\sitemonitor_functions.php on line 73 Reference file creation failed. Any help right here? I have clearly did my local host name and have did my username for admin login/password. Did I do something wrong?.........wrong directory I guess. Thanks for the help, Tim Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 22, 2007 Author Share Posted December 22, 2007 Warning: opendir(/home/xxxxxxx1923/public_html): failed to open dir: Invalid argument in C:\Inetpub\wwwroot\er.com\admin\includes\functions\sitemonitor_functions.php on line 71 Warning: readdir(): supplied argument is not a valid Directory resource in C:\Inetpub\wwwroot\er.com\admin\includes\functions\sitemonitor_functions.php on line 73 Reference file creation failed. Any help right here? I have clearly did my local host name and have did my username for admin login/password. Did I do something wrong?.........wrong directory I guess. Thanks for the help, Tim I can't test the script on a Windows shop so I can't say it works there, although I assume it does since I would think someone would have said something at this point. It's failing because the start directory is not being recognized. You should look in the admin/sitemonitor_configure.php file. Specifically, the entry for $start_dir. That should be a valid location on 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...
erbanfootwearInc Posted December 23, 2007 Share Posted December 23, 2007 I can't test the script on a Windows shop so I can't say it works there, although I assume it does since I would think someone would have said something at this point. It's failing because the start directory is not being recognized. You should look in the admin/sitemonitor_configure.php file. Specifically, the entry for $start_dir. That should be a valid location on your server. Jack Hi and thanks man. Hey what to do if it was not there? just curious before I even begin to look in the database. Thanks, Tim Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 23, 2007 Author Share Posted December 23, 2007 I'm not sure what your question is but SiteMonitor doesn't use the database. 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...
erbanfootwearInc Posted December 23, 2007 Share Posted December 23, 2007 I'm not sure what your question is but SiteMonitor doesn't use the database. Jack ok thanks. More simply put, for post-installation purposes. What will I do if I look up $start_dir and its not on this windows server? Thanks, Tim Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 23, 2007 Author Share Posted December 23, 2007 You have to change it to a valid path. 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...
♥geoffreywalton Posted December 23, 2007 Share Posted December 23, 2007 That should be a valid location on your server. Either change the parameter so it points to a valid location or create it, in the latter case check the directory permissions. But I am sure greater minds will confirm this Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Ausgirl Posted December 29, 2007 Share Posted December 29, 2007 G'day Jack Im not sure if you can help me but Site Monitor picked this up when it ran this morning. /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/lost\+found/.*. /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/\.journal. /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/lost\+found. Status: 404 Not Found X-Powered-By: PHP/5.2.5 Content-type: text/html No input file specified. Do you know what this means? I now have an Active X pop up on my site which wasnt there before. I also get a pop up message that says "Plugin Error" An error occurred inside a plug-in contained on this page. :unsure: Thanks Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 29, 2007 Author Share Posted December 29, 2007 Was that output from SiteMonitor or something from your server? If from SiteMonitor, there should be more to the error. Either way, it looks like a code failure instead of something SiteMonitor would find. 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...
Ausgirl Posted December 29, 2007 Share Posted December 29, 2007 Yes, its from Site Monitor, got another one this morning, todays one is from catalog/admin/links_check.php and yesterdays was from catalog/admin/sitemonitor/sitemonitor.php Thats the path at the top of the email. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 30, 2007 Author Share Posted December 30, 2007 Well, again I ask if it is the full output of a SiteMonitor email? SiteMonitor doesn't output messages like that so if it is from there, there is a code failure. If it is a cron message, then the script is failing to run properly for some reason. 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...
Ausgirl Posted December 30, 2007 Share Posted December 30, 2007 Yes, it is a cron message. Ive not made any changes so I dont know why it wouldnt run properly. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 30, 2007 Author Share Posted December 30, 2007 A failure in a cron message means the script failed in some way, usuually due to a server related problem, especially if it had been running fine. You might want to contact your host and take a look here. Seems to be a common failure with that version of Linux. 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...
Ausgirl Posted December 30, 2007 Share Posted December 30, 2007 Ok, Thanks Jack Quote Link to comment Share on other sites More sharing options...
mr_absinthe Posted January 13, 2008 Share Posted January 13, 2008 Jack, excellent contribution as always, thanks! Just installed V_1.4. In configure - verbose - no matter if it is checked or unchecked, result is still the same: on the screen: No mismatches found in the email: NEW FILES: No new files found... DELETED FILES: No deleted files found... SIZE MISMATCH: No size differences found... TIME MISMATCH: No time mismatches found... PERMISSIONS MISMATCH: No permissions mismatches found... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sitemonitor ran on January 13, 2008, 4:02 am Total mismatches found were 0 Total files being monitored is 1156 Have I overlooked something? Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 13, 2008 Author Share Posted January 13, 2008 The verbose option, if turned off, should prevent messages from being displayed when the script is ran manually, like http://yoursite.com/admin/sitemonitor.php. Is that how you are running it? 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...
mr_absinthe Posted January 13, 2008 Share Posted January 13, 2008 The verbose option, if turned off, should prevent messages from being displayed when the script is ran manually, like http://yoursite.com/admin/sitemonitor.php. Is that how you are running it? Jack No, I was hitting Execute Sitemonitor -> update button in admin actually - expected to see similar output to the email message. Alex Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 14, 2008 Author Share Posted January 14, 2008 No, that just runs the script without any output. You will need to type it in as mentioned if you want to see the output. 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...
srober Posted January 29, 2008 Share Posted January 29, 2008 I really can probably put this conribution to the test. I been having Phishing problems. The host is going to start my account over from scratch and put me on another server. I have the latest version of Oscommerce so im hoping it was a issue on thier end all along. This has been a battle for 5 months! Can this monitor also check for content added in the public_html directory as well as the site? I have had issues with phishing content added outside the catalog folder as well. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 29, 2008 Author Share Posted January 29, 2008 I can't think of a reason why it wouldn't work. Just be sure to set up the configure file to look in public_html directory. 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...
srober Posted February 1, 2008 Share Posted February 1, 2008 Warning: rename(/home2/******/public_html/catalog/images/modules/address_book_details.php,quarantine/catalog/images/modules/address_book_details.php) [function.rename]: No such file or directory in /home2/******/public_html/catalog/******/includes/functions/sitemonitor_functions.php on line 342 I tried to test the contribution. It did catch the files I added but it errored on the quarantine. I tried to search the subject but dont believe I saw this elsewhere. I added a folder in the Admin(mine is called somemthing else not admin) like the instructions said. Perhaps im overlooking someting? Great Contribution btw Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 1, 2008 Author Share Posted February 1, 2008 That's caused because the file to be quarantined is in a sub-directory and that sub-directory doesn't exist in the quarantine directory. I will need to add code to account for that. In the meantime, you would either need to turn the quarantine option off or create all of the sub-directories in the quarantine directory yourself. 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...
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.