Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Intermediate log not writing


solasailor

Recommended Posts

When I click on Delete Reference File and update I get the following error:

 

Warning: copy(sitemonitor_log_20_04_2011.txt): failed to open stream: Permission denied in /usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/functions/sitemonitor_functions.php on line 213 Warning: unlink(sitemonitor_reference.php): Permission denied in /usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/sitemonitor_admin.php on line 93 Warning: copy(sitemonitor_log_20_04_2011.txt): failed to open stream: Permission denied in /usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/functions/sitemonitor_functions.php on line 213

 

It appears that the intermediate log is not being written. The ISP tells me that the write permissions are set correctly. Any ideas?

Link to comment
Share on other sites

Mike,

 

Are your file permissions set correctly for those files ? 666, 705 or 755 ???

 

 

 

 

 

Chris

 

sitemonitor_configure.php

sitemonitor_hacker_excludes.txt

sitemonitor_reference.php

sitemonitor_log.txt

are all set to 666

Link to comment
Share on other sites

The main problem seems to be that it's not writing out sitemonitor_log_20_04_2011.txt

 

OK. I've boiled the problem down to this:

 

This site is being hosted on Dotster. I finally got the permissions to work by setting the admin folder and related site monitor files to work by setting them to 777 (ugh).

 

Now there is an issue with the Start Directory. When I set it to: /usr/local/pem/vhosts/8124/webspace/httpdocs/ (which is correct), it returns the error: Your username is invalid. Please change it and try again.: System -> /usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/../../ - SiteMonitor -> /usr/local/pem/vhosts/8124/webspace/httpdocs/

 

As you can see Site Monitor wants to see: /usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/../../

So when I set that as the Start Directory; The error goes away. Now when I run 'Delete Reference File', it creates a new one but the references look like this:

/usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/..gallery_user.php,14821,1302923668,644

/usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/..specials.php,6053,1302923699,644

/usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/..address_book_process.php,17955,1302923643,644

/usr/local/pem/vhosts/8124/webspace/httpdocs/EVANPETERS.COM/gSxTPTTDRFU1/includes/..password_forgotten.php,6605,1302923682,644

 

Notice the .. before each file name. This causes the 'Manually Execute Sitemonitor' to look like this: (concatenated file names)

No new files found...

No deleted files found...

Difference found: New-> ery_user.php Original-> 14821

Difference found: New-> ials.php Original-> 6053

Difference found: New-> ess_book_process.php Original-> 17955

Difference found: New-> word_forgotten.php Original-> 6605

 

So nothing works correctly. Is there a solution for this? It must be specific to Dotsters file structure because I've installed Site Monitor on 6 other sites with no problems.

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...