uniks Posted March 9, 2011 Share Posted March 9, 2011 (edited) The error is saying it can't find one of the sitemonitor files. Be sure you have uploaded all of them to the correct location. mystore/admin/sitemonitor_configure_0.php<-- yeah verified its there size is 1kb mystore/admin/includes/functions/sitemonitor_functions.php <-- yeah verified its there size is 33kb I made sure all files were uploaded and steps 2, 3, and 4 Edited March 9, 2011 by uniks Quote Link to comment Share on other sites More sharing options...
uniks Posted March 9, 2011 Share Posted March 9, 2011 yup it is very puzzling to me "Failed to open file /manga/sitemonitor_configure_0.php" the file sitemonitor_configure_0.ph is there but the error says failed to open Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 9, 2011 Author Share Posted March 9, 2011 yup it is very puzzling to me "Failed to open file /manga/sitemonitor_configure_0.php" the file sitemonitor_configure_0.ph is there but the error says failed to open What does manga/ refer to? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Tony Posted March 9, 2011 Share Posted March 9, 2011 Hi Jack I am working with v2.9 Site Monitor and I am wondering why you store the to / from emails and the directories in the SM configure when they are 'in theory' already available from the configure files or the db for the site. Specifically $to = 'some_address@your_domain.com'; //where email is sent to $from = 'From: some_address@your_domain.com'; //where email is sent from $start_dir = '/home/username/public_html'; //your shops root $admin_dir = 'http://www.yourdomain.com/admin'; //your shops admin cheers Tony Quote cheersTony******************************My oscMax Store RecoverToy :: Antique Toy Car PartsTony's Tech BlogWrenMaxwell WebManagement****************************** Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 10, 2011 Author Share Posted March 10, 2011 Hi Jack I am working with v2.9 Site Monitor and I am wondering why you store the to / from emails and the directories in the SM configure when they are 'in theory' already available from the configure files or the db for the site. Specifically $to = 'some_address@your_domain.com'; //where email is sent to $from = 'From: some_address@your_domain.com'; //where email is sent from $start_dir = '/home/username/public_html'; //your shops root $admin_dir = 'http://www.yourdomain.com/admin'; //your shops admin cheers Tony Not all shop owners want to use the shops email address. The start location was meant to allow control over where the script started from and did do that in earlier versions. But over time that ability was lost and I haven't decided if I want to add that as an option or remove it altogether. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
alterhase Posted March 10, 2011 Share Posted March 10, 2011 Hello Jack, you do very good work. I have a little problem with the site monitor. It works perfectly so far. But as soon as new files are uploaded to the server, I can not update the reference file. It appears the error message "500 Server error". When I then manually delete the reference file, I can create a site monitor new reference file. Site Monitor will delete the old reference file that is not independent. Do you have any idea why this might be? Regards Max Quote Link to comment Share on other sites More sharing options...
samsagaz Posted March 10, 2011 Share Posted March 10, 2011 (edited) I really wants to get this script working but looks impossible, i really dont understand why im getting the username and password error? Your username is invalid. Please change it and try again.: System -> /usr/home/kendo/domains/mydomain.com/public_html/ - SiteMonitor -> /home/kendo/domains/mydomain.com/public_html/ i already read the posts and cant found any solution, tryed with empty username and pass, with username and pass of my oscommerce admin, username and pass of my webmin... Edited March 10, 2011 by samsagaz Quote Link to comment Share on other sites More sharing options...
samsagaz Posted March 10, 2011 Share Posted March 10, 2011 Was trying version 2.8, now downloaded 2.9 and the error with diferent path Your username is invalid. Please change it and try again.: System -> /usr/home/kendo/domains/mydomain.com/public_html/ - SiteMonitor -> /home/username/public_html try with $handleErrors = true; and still the same error. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 10, 2011 Author Share Posted March 10, 2011 Hello Jack, you do very good work. I have a little problem with the site monitor. It works perfectly so far. But as soon as new files are uploaded to the server, I can not update the reference file. It appears the error message "500 Server error". When I then manually delete the reference file, I can create a site monitor new reference file. Site Monitor will delete the old reference file that is not independent. Do you have any idea why this might be? Regards Max That is usually due to too many files being checked. You should try excluding one of the large directories, like includes and see if it works. If it does, then you will need to create multiple instances to check all of your files. If it doesn't, ask your host to see what that error if failing on. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 10, 2011 Author Share Posted March 10, 2011 Was trying version 2.8, now downloaded 2.9 and the error with diferent path Your username is invalid. Please change it and try again.: System -> /usr/home/kendo/domains/mydomain.com/public_html/ - SiteMonitor -> /home/username/public_html try with $handleErrors = true; and still the same error. Well, the message says the user name is invalid and it shows you what it should be and what it is. Perhaps making that change will help. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
alterhase Posted March 10, 2011 Share Posted March 10, 2011 Hi Jack, I had already done in advance. The error is only occurs then, when new files are saved in the directory. Only i delete the referenzfile manual with FTP, I can create a sitemonitor new reference file. sitemonitor can not delete the old reference file itself. the permissions of all files from sitemonitor are 644. I have install the latest version 2.9. the shop running under osCommerce Online Merchant v2.2 RC1, Server OS; Linux 2.6.28.8-20101130b-iscsi-ntacker-fasync-mremap-amd-sec6-grsec; MySQL 5.0.91-log; HTTP Server: Apache ; PHP Version: 5.2.17 (Zend: 2.2.0) THX for your brainstorming ;-) regards max Quote Link to comment Share on other sites More sharing options...
samsagaz Posted March 10, 2011 Share Posted March 10, 2011 from where the script get that info? SiteMonitor -> /home/username/public_html i cant change it in the admin. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 10, 2011 Author Share Posted March 10, 2011 Hi Jack, I had already done in advance. The error is only occurs then, when new files are saved in the directory. Only i delete the referenzfile manual with FTP, I can create a sitemonitor new reference file. sitemonitor can not delete the old reference file itself. the permissions of all files from sitemonitor are 644. If the script can't delete the reference file it is most likely because of how the server is setup. You will need to ask your host to change the settings so files can be deleted by the script. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 10, 2011 Author Share Posted March 10, 2011 from where the script get that info? SiteMonitor -> /home/username/public_html i cant change it in the admin. From the start directory setting in admin->SiteMonitor->Configure. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
samsagaz Posted March 11, 2011 Share Posted March 11, 2011 problem fixed, chmod 777 admin dir Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 11, 2011 Author Share Posted March 11, 2011 problem fixed, chmod 777 admin dir That might create more than it solves since 777 is usually very vulnerable to hacking. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
crag364 Posted March 12, 2011 Share Posted March 12, 2011 I'm sure this will be quite simple but I can't find out where its getting it from. When trying to make a configure file I get the below message. For some reason the path is being called for twice. Warning: fopen(/home2/mmptv/public_html/mmptv/admin/sitemonitor_configure_0.php) [function.fopen]: failed to open stream: No such file or directory in /home2/mmptv/public_html/store/admin/includes/functions/sitemonitor_functions.php on line 604 Failed to open file /home2/mmptv/public_html/mmptv/admin/sitemonitor_configure_0.php Warning: fclose() expects parameter 1 to be resource, boolean given in /home2/mmptv/public_html/store/admin/includes/functions/sitemonitor_functions.php on line 608 Any ideas? Thanks. Quote Link to comment Share on other sites More sharing options...
xsdenied Posted March 12, 2011 Share Posted March 12, 2011 I am having the same issue as SAM. I've installed Sitemonitor on other sites and it worked fine but i am now having difficulties with this one Your username is invalid. Please change it and try again.: System -> F:\Inetpub\vhosts\mydomain.com\httpdocs/ - SiteMonitor -> F:Inetpubhosts hemydomian.comhttpdocs/ Setup Error!!! The start directory: F:/Inetpub/vhosts/mydomain/httpdocs/ does not match the shops directory: F:Inetpubhosts hemydomain.comhttpdocs/ Please correct it and try again. For some reasons its not recognizing the home directory. ?? and is giving me this option F:Inetpubhosts hemydomain.comhttpdocs/ ???? Quote I hate eggs !!! Link to comment Share on other sites More sharing options...
samsagaz Posted March 12, 2011 Share Posted March 12, 2011 I am having the same issue as SAM. I've installed Sitemonitor on other sites and it worked fine but i am now having difficulties with this one Your username is invalid. Please change it and try again.: System -> F:\Inetpub\vhosts\mydomain.com\httpdocs/ - SiteMonitor -> F:Inetpubhosts hemydomian.comhttpdocs/ Setup Error!!! The start directory: F:/Inetpub/vhosts/mydomain/httpdocs/ does not match the shops directory: F:Inetpubhosts hemydomain.comhttpdocs/ Please correct it and try again. For some reasons its not recognizing the home directory. ?? and is giving me this option F:Inetpubhosts hemydomain.comhttpdocs/ ???? i think that its an permission issue, i just fixed it manual editin the file sitemonitor_configure_0.php after edit it, everything works OK (i think) :) Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 13, 2011 Author Share Posted March 13, 2011 I'm sure this will be quite simple but I can't find out where its getting it from. When trying to make a configure file I get the below message. For some reason the path is being called for twice. Warning: fopen(/home2/mmptv/public_html/mmptv/admin/sitemonitor_configure_0.php) [function.fopen]: failed to open stream: No such file or directory in /home2/mmptv/public_html/store/admin/includes/functions/sitemonitor_functions.php on line 604 Failed to open file /home2/mmptv/public_html/mmptv/admin/sitemonitor_configure_0.php Warning: fclose() expects parameter 1 to be resource, boolean given in /home2/mmptv/public_html/store/admin/includes/functions/sitemonitor_functions.php on line 608 You need to upload the included configure file to start with. The error seems to say you haven't done that. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
LizSA Posted March 14, 2011 Share Posted March 14, 2011 (edited) Hi there, I have just installed this contribution but I get this error. ERROR_INVALID_USERNAME: System -> /var/www/vhosts/xxx/httpdocs/ - SiteMonitor -> /home/username/public_html I am not able to update my email address?? When I click update I get a new error saying Failed to open file /var/www/vhosts/xxxx/httpdocs/sitemonitor_configure_0.php Edited March 14, 2011 by LizSA Quote Link to comment Share on other sites More sharing options...
LizSA Posted March 14, 2011 Share Posted March 14, 2011 Hi there, I have just installed this contribution but I get this error. ERROR_INVALID_USERNAME: System -> /var/www/vhosts/xxx/httpdocs/ - SiteMonitor -> /home/username/public_html I am not able to update my email address?? When I click update I get a new error saying Failed to open file /var/www/vhosts/xxxx/httpdocs/sitemonitor_configure_0.php I just tried to run the script manually and this is what I get. No new files found... Found a deleted file named No size differences found... No time mismatches found... No permissions mismatches found... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sitemonitor (0) ran on March 14, 2011, 9:44 am Total mismatches found were 1 Total files being monitored is 0 Email sent to shop owner. Does this mean that the script is running correctly? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 14, 2011 Author Share Posted March 14, 2011 I just tried to run the script manually and this is what I get. No new files found... Found a deleted file named No size differences found... No time mismatches found... No permissions mismatches found... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sitemonitor (0) ran on March 14, 2011, 9:44 am Total mismatches found were 1 Total files being monitored is 0 Email sent to shop owner. Does this mean that the script is running correctly? No, there shouldn't be any errors on a new instal. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
magc8888 Posted March 14, 2011 Share Posted March 14, 2011 Thank you so much Jack for the great contribution. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 15, 2011 Author Share Posted March 15, 2011 Thank you so much Jack for the great contribution. You're welcome. :) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons 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.
Note: Your post will require moderator approval before it will be visible.