Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SiteMonitor


Jack_mcs

Recommended Posts

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 by uniks
Link to comment
Share on other sites

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?

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

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

cheers
Tony
******************************
My oscMax Store RecoverToy :: Antique Toy Car Parts
Tony's Tech Blog
WrenMaxwell WebManagement
******************************

Link to comment
Share on other sites

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.

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

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

Link to comment
Share on other sites

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 by samsagaz
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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

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.

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

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

Link to comment
Share on other sites

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.

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

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.

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

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.

Link to comment
Share on other sites

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 hate eggs !!!

Link to comment
Share on other sites

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) :)

Link to comment
Share on other sites

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.

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

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 by LizSA
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...