solasailor Posted April 20, 2011 Share Posted April 20, 2011 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 20, 2011 Share Posted April 20, 2011 Mike, Are your file permissions set correctly for those files ? 666, 705 or 755 ??? Chris Quote Link to comment Share on other sites More sharing options...
solasailor Posted April 20, 2011 Author Share Posted April 20, 2011 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 Quote Link to comment Share on other sites More sharing options...
solasailor Posted April 21, 2011 Author Share Posted April 21, 2011 sitemonitor_configure.php sitemonitor_hacker_excludes.txt sitemonitor_reference.php sitemonitor_log.txt are all set to 666 The main problem seems to be that it's not writing out sitemonitor_log_20_04_2011.txt Quote Link to comment Share on other sites More sharing options...
solasailor Posted April 21, 2011 Author Share Posted April 21, 2011 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. Quote 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.