Latest News: (loading..)
Jack_mcs

SiteMonitor

2,173 posts in this topic

Hi, I deleted my Domain thinking it could be because i made it with caps like this www.Pinnacle-Games.com and made a new one like this www.pinnacle-games.com but i am getting a error if i go to any link on my page like this

 

http://www.pinnacle-...talogindex.php/

 

Anyone know how to fix this?

As mentioned previously, there is something wrong with your setup. You should start by checking your configure file.

Darren11 likes this

Share this post


Link to post
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

Share this post


Link to post
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

 

Do you get this error to? Reference file creation failed!

Share this post


Link to post
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

It looks like you have the start directory option in the SiteMonitor settings to read the whole server. Try limiting it to just your shop.

Share this post


Link to post
Share on other sites

I fixed my errors by adding this to the sitemonitor_configure_0

 

$start_dir = '/var/www/vhosts/pinnacle-games.com/httpdocs/'; //your shops root

$admin_dir = 'http://www.pinnacle-games.com/Templates1'; //your shops admin

 

But i still have one more problem, It can not find sitemonitor_configure_setup.php

 

When i go to sitemonitor/configure in the admin panel i get this error

http://www.pinnacle-...igure_setup.php

Not Found

 

The requested document was not found on this server.

Edited by Darren11

Share this post


Link to post
Share on other sites

I fixed my errors by adding this to the sitemonitor_configure_0

 

$start_dir = '/var/www/vhosts/pinnacle-games.com/httpdocs/'; //your shops root

$admin_dir = 'http://www.pinnacle-games.com/Templates1'; //your shops admin

 

But i still have one more problem, It can not find sitemonitor_configure_setup.php

 

When i go to sitemonitor/configure in the admin panel i get this error

http://www.pinnacle-...igure_setup.php

Not Found

 

The requested document was not found on this server.

There is something wrong with your setup - paths are not right or something like that. I've mentioned this twice now so I can't say anything else about it. Some problems aren't fixable in a support thread.

Share this post


Link to post
Share on other sites

There is something wrong with your setup - paths are not right or something like that. I've mentioned this twice now so I can't say anything else about it. Some problems aren't fixable in a support thread.

 

I posted it to maybe help vmjarala, Do you think my problem is in the sitemonitor_configure_0 paths? or the server config?

Edited by Darren11

Share this post


Link to post
Share on other sites

Thank you, Darren! That was very helpful.

It still didn't work, though :-(

I have added the path from the server. Or should I add my URL?

 

Also, I understand this is in the text file. Which also makes me wonder... is there anywhere else where I should change this?

 

Thanks!

Verónica

Share this post


Link to post
Share on other sites

Thank you, Darren! That was very helpful.

It still didn't work, though whistling.gif(

I have added the path from the server. Or should I add my URL?

 

Also, I understand this is in the text file. Which also makes me wonder... is there anywhere else where I should change this?

 

Thanks!

Verónica

 

I think you should add the URL, I'm not really sure you should wait for a reply from jack_mcs he knows more then me about it :)

Share this post


Link to post
Share on other sites

Thank you, Darren! That was very helpful.

It still didn't work, though whistling.gif(

I have added the path from the server. Or should I add my URL?

 

Also, I understand this is in the text file. Which also makes me wonder... is there anywhere else where I should change this?

 

Thanks!

Verónica

You shouldn't edit the actual file at all unless you know what is needed since a certain format is expected and you can break it by not following that format. The correct thing to do is to edit the settings in the configure section of SiteMonitor. If you have edited the file manually, I suggest you replace yours with the one from the contirbution to be sure it is correctly formatted.

Share this post


Link to post
Share on other sites

Thanks Jack and Darren! I really appreciate your help.

 

Jack, how would you suggest my error about permissions on the one line? I have all files set to chmod permissions 755.

 

Thanks!

Share this post


Link to post
Share on other sites

Thanks Jack and Darren! I really appreciate your help.

 

Jack, how would you suggest my error about permissions on the one line? I have all files set to chmod permissions 755.

 

Thanks!

You need to adk your host about it since it is specific to your server.

Share this post


Link to post
Share on other sites

"WARNING: Database tables have changed."

 

After uploading new images and products to the store I decided to run "Delete Reference File" so that daily monitoring emails from a CRON job would only report valid changes. On opening the Site Monitor Admin page there was a Red line across the top of the page stating the above.

 

I downloaded a database backup and, using DiffMerge, compared it with the latest weekly backup I had stored locally. DiffMerge shows a huge number of differences but, as far as I can see, they all relate to normal activity such as new customer details, shopping cart content, orders, new products and associated entries in categories etc.

 

None of the Site Monitor text files on the server appear to contain any information to help me discover where the offending change might be. Am I missing something?

 

I could edit the backup files to remove all field data leaving the Drop Table/Create Table info to see if the structure has been tampered with but that is a big job I would prefer to avoid if possible as I am up to my neck in day to day stuff as it is.

 

Is there a way of determining what Site Monitor perceives as the change?

 

[Edit]

I just checked the Site Monitor configuration and logging is enabled but looking at the log the only occurrences of the term 'database' relate to PHP files.

[/Edit]

 

Does anyone have any suggestions on how to deal with this situation.

Edited by GwilliamP

Share this post


Link to post
Share on other sites

"WARNING: Database tables have changed."

That option isn't well documented. I ran across a number of sites where the languages and/or manufacturers table were changed by hackers, so it was added. As it is not, the code only checks those two tables. It records the initial entries in the sitemonitor_db_reference.txt file. If a change is made to one of those tables, the error appears. If the changes are legitimate, you have to delete that file and it will rebuild itself. That will change in a future version. Before you delete that file, be sure to look at the entries in admin for those two sections to make sure they are legitimate.

Share this post


Link to post
Share on other sites
That option isn't well documented. I ran across a number of sites where the languages and/or manufacturers table were changed by hackers, so it was added. As it is not, the code only checks those two tables. It records the initial entries in the sitemonitor_db_reference.txt file. If a change is made to one of those tables, the error appears. If the changes are legitimate, you have to delete that file and it will rebuild itself. That will change in a future version. Before you delete that file, be sure to look at the entries in admin for those two sections to make sure they are legitimate.

Thank you. File deleted and new reference file(s) created.

Share this post


Link to post
Share on other sites

Configuring Site Monitor for the first time. A few of the settings say to fill them in only if curl is to be used. What is curl and where/why would I be using it?

Share this post


Link to post
Share on other sites

Configuring Site Monitor for the first time. A few of the settings say to fill them in only if curl is to be used. What is curl and where/why would I be using it?

It's an alternative way of reading a file. Some servers won't allow opening files without it.

Share this post


Link to post
Share on other sites

It's an alternative way of reading a file. Some servers won't allow opening files without it.

 

And how can I find out if my server is one of these?

Share this post


Link to post
Share on other sites

And how can I find out if my server is one of these?

Try to run the script without the cron settings. It will fail if the regular option isn't enabled.

Share this post


Link to post
Share on other sites

Try to run the script without the cron settings. It will fail if the regular option isn't enabled.

 

Thanks, Jack. Looks like it works. :)

Share this post


Link to post
Share on other sites

Hello All,

 

I'm trying to install sitemonitor on osc 2.3.1 and I'm following the instructions word for word and I'm at the part where sitemonitor is supposed to showup in your admin control panel as a box but I don't see it anywhere.

 

I checked all the files I edited and I did it exactly as the guy says.

 

Is there anything else I might be doing wrong?

 

Thanks

 

Adamanto75

Share this post


Link to post
Share on other sites

Hello All,

 

I'm trying to install sitemonitor on osc 2.3.1 and I'm following the instructions word for word and I'm at the part where sitemonitor is supposed to showup in your admin control panel as a box but I don't see it anywhere.

 

I checked all the files I edited and I did it exactly as the guy says.

 

Is there anything else I might be doing wrong?

 

Thanks

 

Adamanto75

The mistake has to be with step 4. Perhaps you used the wrong code there.

Share this post


Link to post
Share on other sites

Hi I have just installed this add-on using XAMPP on localhost. I have got to configure and changed the email address. the curl username and password has been removed as I'm not using this.

 

Anyway I get to update and at the top of the screen I get the error pink stripe and the warning sign but no message. When I get to Sitemonitor > Configure, I get a warning

saying The sitemonitor_reference file cannot be written to.

 

I also get the following mesaage in Administrators:

 

Additional Protection With htaccess/htpasswd

This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means.

The following files need to be writable by the web server to enable the htaccess/htpasswd security layer:

  • C:/xampp/htdocs/MySite/Myadmin/.htaccess
  • C:/xampp/htdocs/MySite/MyAdmin/.htpasswd_oscommerce

Reload this page to confirm if the correct file permissions have been set.

 

I also get a note on the SiteMonitor admin page :

 

Version Checker is not installed. See here for details.

 

Which leads me to a 2.2 add-on.

 

Please could anyone shed any light. I can provide a screen shot of config screen if you'd like me to PM it.

 

Thanks in advance,

Edited by dvharrison

Share this post


Link to post
Share on other sites

Hi Adamanto75

 

You need to add the line on step 4 before the first

?>

 

I know because I initially made that error as well. :)

Edited by dvharrison

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now