abe1983 Posted September 23, 2010 Share Posted September 23, 2010 (edited) You have to check that you have the right path in the script for this site too. Make a file called test.php and put in this code: <?php echo $_SERVER['SCRIPT_FILENAME'] ?> FTP this file to your site root and execute it in your browser, e.g. : www.yoursite.com/test.php It will show you the path of your site.. Thanks, I had the right path of my site. When I open my admin I see this screen: All the fields under the red square are already filled in. Then I change it to the correct path, like you explained. Then I get the error like my previous post. The things I don't get are the red cirkels. Why am I logged in with c? I didn't make that login/admin? What am I doing wrong? Edited September 23, 2010 by abe1983 Quote Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2010 Share Posted September 23, 2010 The things I don't get are the red cirkels. Why am I logged in with c? I didn't make that login/admin? What am I doing wrong? I managed to make myself logget in as 'c' - Why? I changed some letters in the "Start Directory" (path) configuration for Sitemonitor. That is, you dont have the right path on that line.. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2010 Share Posted September 23, 2010 I managed to make myself logget in as 'c' - Why? I changed some letters in the "Start Directory" (path) configuration for Sitemonitor. That is, you dont have the right path on that line.. Hmm, this is strange. I am logged in as 'c' every time I log in to Configuration. I dont know if this has been the case the whole time since I never paid attention to that.. But Sitemonitor is working ok.. Quote Link to comment Share on other sites More sharing options...
dainty Posted September 26, 2010 Share Posted September 26, 2010 I have a problem with sitemonitor after renaming the admin directory and editing the config file as follows:- define('DIR_WS_ADMIN', '/renamed_admin_directory/'); define('DIR_FS_ADMIN', '/your/path/to/directory/renamed_admin_directory/'); Now the Configuration Control panel does not read the data from sitemonitor_configure that was previously stored there. Or from the original file after reloading all sitemonitor files Additionally when I push the 4th button in sitemonitor is gives and error message !!! Could not open the Configure file !!! I assume that somehow the sitemonitor files are not taking the address of the admin directory from the above two places in the renamed_admin/includes/configure.php file can anyone suggest Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2010 Share Posted September 26, 2010 I have a problem with sitemonitor after renaming the admin directory and editing the config file as follows:- define('DIR_WS_ADMIN', '/renamed_admin_directory/'); Have you set this to: define('DIR_WS_ADMIN', '/catalog/NewAdmin/'); Quote Link to comment Share on other sites More sharing options...
tedbooks Posted September 26, 2010 Share Posted September 26, 2010 (edited) i have installed the newest version and everything works except the cron i get Failed to open file sitemonitor_reference.php also i had to change the value of log file to 0 to get the get error from filesize('sitemonitor_log.txt') stopped any idea? i would really appreciate it Edited September 26, 2010 by tedbooks Quote Link to comment Share on other sites More sharing options...
tedbooks Posted September 26, 2010 Share Posted September 26, 2010 (edited) i have installed the newest version and everything works except the cron i get Failed to open file sitemonitor_reference.php also i had to change the value of log file to 0 to get the get error from filesize('sitemonitor_log.txt') stopped any idea? i would really appreciate it i hate to reply to myself but i think after hours of playing with it i finally figured it out. i had to change the paths in the sitemonitor_functions.php to full path and now it is working. Edited September 26, 2010 by tedbooks Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2010 Share Posted September 26, 2010 Thanks for this contribution. It seems really nice. However I'm getting an error. I'm missing certain files causing issues with the installation. Warning: require(includes/languages/english/version_checker.php) [function.require]: failed to open stream: No such file or directory in site.com/catalog/admin/sitemonitor_admin.php on line 19 Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/version_checker.php' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in site.com/catalog/admin/sitemonitor_admin.php on line 19 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 27, 2010 Author Share Posted September 27, 2010 (edited) Thanks for this contribution. It seems really nice. However I'm getting an error. I'm missing certain files causing issues with the installation. Warning: require(includes/languages/english/version_checker.php) [function.require]: failed to open stream: No such file or directory in site.com/catalog/admin/sitemonitor_admin.php on line 19 Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/version_checker.php' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in site.com/catalog/admin/sitemonitor_admin.php on line 19 All of my, relatively recent, contributions use my Version Checker contribution. It allows you to quickly check for the latest version. To install it, you just download that contribution, extract the files from the included catalog directory and upload them to your server. But it is not required if you don't want to do that. SiteMonitor will run fine without it. Edited September 27, 2010 by Jack_mcs Quote 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 More sharing options...
Guest Posted September 27, 2010 Share Posted September 27, 2010 (edited) All of my, relatively recent, contributions use my Version Checker contribution. It allows you to quickly check for the latest version. To install it, you just download that contribution, extract the files from the included catalog directory and upload them to your server. But it is not required if you don't want to do that. SiteMonitor will run fine without it. Thanks for that. Just one thing, it says I'm banned. How do I unban myself? Forbidden You don't have permission to access /ca/admin/index.php on this server. Edited September 27, 2010 by PowerHowzer Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 27, 2010 Author Share Posted September 27, 2010 Thanks for that. Just one thing, it says I'm banned. How do I unban myself? Forbidden You don't have permission to access /ca/admin/index.php on this server. I don't understand what "it says" means but it isn't anything related to SiteMonitor (I don't think). You will need to post that question in the appropriate forum, or with your host if that is where the problem is at. Quote 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 More sharing options...
tedbooks Posted September 27, 2010 Share Posted September 27, 2010 Thanks for that. Just one thing, it says I'm banned. How do I unban myself? Forbidden You don't have permission to access /ca/admin/index.php on this server. it is from http://addons.oscommerce.com/info/7509 it bans you if you try to go to a setup file. Quote Link to comment Share on other sites More sharing options...
tedbooks Posted September 27, 2010 Share Posted September 27, 2010 i have an issue with my csv files from easypopulate. they show time mismatch Time Mismatch on temp/5-esteralla.csv Last Changed on Thursday, 01 Jan 1970 00:00:00 GMT i have almost solved all my issues with this great contribution and would appreciate any help to solve this issue. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 27, 2010 Author Share Posted September 27, 2010 i have an issue with my csv files from easypopulate. they show time mismatch Time Mismatch on temp/5-esteralla.csv Last Changed on Thursday, 01 Jan 1970 00:00:00 GMT i have almost solved all my issues with this great contribution and would appreciate any help to solve this issue. Did the time actually change? You could exclude that file by adding it to the list in the includes/functions/sitemonitor.php file. Quote 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 More sharing options...
tedbooks Posted September 28, 2010 Share Posted September 28, 2010 Did the time actually change? You could exclude that file by adding it to the list in the includes/functions/sitemonitor.php file. thank you jack i am not sure if it is acting correctly or not. when i click the first update i get Delete Reference File Delete the reference file and create a new one. 58 mismatches were found. Run the script manually or see the email for the actual mismatches. and when i immediatly click the second update. i get Run Sitemonitor. Reference file is not deleted. 58 mismatches were found. Run the script manually or see the email for the actual mismatches. and i get the time mismatch email messages. i just want to make sure it is working correctly notice the date of the timestamp. 01 01 1970 00:00:00 Time Mismatch on temp/5-esteralla.csv Last Changed on Thursday, 01 Jan 1970 00:00:00 GMT it seems that the time is not being set. it looks as it is time 0 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 28, 2010 Author Share Posted September 28, 2010 i am not sure if it is acting correctly or not. when i click the first update i get Delete Reference File Delete the reference file and create a new one. 58 mismatches were found. Run the script manually or see the email for the actual mismatches. No, that's not correct. When you run it the first time, there shouldn't be any mismatches found. Try deleting the admin/sitemonitor_reference.php file and click on the top delete button again to see if it runs without mismatches showing up. Quote 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 More sharing options...
Rubin Remus Posted September 28, 2010 Share Posted September 28, 2010 (edited) Hello everyone, I'm really sorry if this is already discussed in some of the 60-odd pages in this thread, but I really can't find the solution. My issue is that when I click on the Configure button, I simply get taken to a blank page, I have now added the echo 'path '.DIR_FS_ADMIN . FILENAME_SITEMONITOR_CONFIGURE.'<br>'.DIR_FS_DOCUMENT_ROOT; That produces: ---- path /home/sites/mysite.com/public_html/admin/sitemonitor_configure.php / --------- Also, (and this may be unrelated), when I recieve the email, I get a list of all the files on my server (I assume, I haven't counted), and at the bottom, it says: DELETED FILES: Found a deleted file named SIZE MISMATCH: Size differences not checked due to deleted file(s) TIME MISMATCH: Time differences not checked due to deleted file(s) PERMISSIONS MISMATCH: Permissions not checked due to deleted file(s) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sitemonitor ran on September 28, 2010, 1:58 pm Total mismatches found were 3325 Total files being monitored is 1 ------------ Any reason it doesn't tell me which file is deleted, and how can I stop it displaying the entire list of files? Thanks alot in advance for any help! Edited September 28, 2010 by Rubin Remus Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 28, 2010 Author Share Posted September 28, 2010 My issue is that when I click on the Configure button, I simply get taken to a blank page, I have now added the echo 'path '.DIR_FS_ADMIN . FILENAME_SITEMONITOR_CONFIGURE.'<br>'.DIR_FS_DOCUMENT_ROOT; Any reason it doesn't tell me which file is deleted, and how can I stop it displaying the entire list of files? It might be timing out on you when you go to the configure file due to it trying to read in a large number of files and the limits of your server. Try editing the admin/sitemonitor_configure.php file and adding the images and includes directories to the exclude list. If the configure section in admin then loads, you can adjust the excluded directories until it works. If the script doesn't complete correctly, you can't count on its results so get the configure problem fixed first. Quote 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 More sharing options...
♥altoid Posted September 29, 2010 Share Posted September 29, 2010 (edited) Jack, here's an update on my attempt to update my SiteMonitor. I have two shops, I just moved one of them to a different host. On that new host, updating from 2.4 to 2.6 was a snap. Absolutely no problem. So to test, I tried again to update from 2.4 on the previous host and the same error, unknown user, occurs. Given my limited background with the technical side of what's going on with web hosts, here's my preliminary observations. There's something in the web host that effects the upgrade of SiteMonitor. Some host setting/configuration or whatever. One observable to me is that the start directory on the host that won't allow me to upgrade is much longer than that on my new host. Problem host start directory: /home/users/web/a1232/myuserid/public_html/ New host start directory: /home/myuserid/public_html/ Anyway, I thought I'd toss this out there in case it helps anyone. Thanks Edited September 29, 2010 by altoid Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 29, 2010 Author Share Posted September 29, 2010 Jack, here's an update on my attempt to update my SiteMonitor. My guess is that it has to do with permissions or some other server setting that is preventing the script from working correctly. If both hosts use a php.ini file, try comparing the two to see what differences there might be. Quote 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 More sharing options...
♥altoid Posted September 30, 2010 Share Posted September 30, 2010 My guess is that it has to do with permissions or some other server setting that is preventing the script from working correctly. If both hosts use a php.ini file, try comparing the two to see what differences there might be. Well that led me into another digital adventure, not having dealt with php.ini files before. I did some googling, got the gist of what's going on in the php.ini files, but really to no avail due to my lack of background in this arena. Server A provides full access to the php.ini file; a fairly large file it is. Server B has what they call a "master" php.ini file, which is much more limited in scope apparently, but the tech guy said I could overwrite and add to those directives with my own strategically placed file. Anyway.....a quick comparison of the files showed me that the settings in the smaller file were matched by what was in the larger file. Of course the larger file has a lot more directives, maybe its one of those directives in there that's causing the glitch? This really isn't much help in figuring why one server allowed the update, the other not but that's what I came up with. Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 30, 2010 Author Share Posted September 30, 2010 Well that led me into another digital adventure, not having dealt with php.ini files before. I did some googling, got the gist of what's going on in the php.ini files, but really to no avail due to my lack of background in this arena. Server A provides full access to the php.ini file; a fairly large file it is. Server B has what they call a "master" php.ini file, which is much more limited in scope apparently, but the tech guy said I could overwrite and add to those directives with my own strategically placed file. Anyway.....a quick comparison of the files showed me that the settings in the smaller file were matched by what was in the larger file. Of course the larger file has a lot more directives, maybe its one of those directives in there that's causing the glitch? This really isn't much help in figuring why one server allowed the update, the other not but that's what I came up with. I doubt that it is that file but it could be. You can use the one from the other server and see what happens. If won't damage anything, though it may not work either. Quote 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 More sharing options...
RafaAlepuz Posted October 3, 2010 Share Posted October 3, 2010 Please , help! I have installed SiteMonitor V 2.6, when I click the link SiteMonitor everyone the time I get the error message 'Your username is invalid. " Initially sitemonitor_configure.php file had incorrect data but now I have it correct and I still get the error. The username in sitemonitor_configure.php is the same that in admin/include/configure.php. Why do I get this error? Quote Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted October 3, 2010 Share Posted October 3, 2010 Please , help! I have installed SiteMonitor V 2.6, when I click the link SiteMonitor everyone the time I get the error message 'Your username is invalid. " Initially sitemonitor_configure.php file had incorrect data but now I have it correct and I still get the error. The username in sitemonitor_configure.php is the same that in admin/include/configure.php. Why do I get this error? A username is not necessary under normal circumstances. If you have a username in there take it out. If you do not then you may have a problem. Quote Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 3, 2010 Author Share Posted October 3, 2010 I have installed SiteMonitor V 2.6, when I click the link SiteMonitor everyone the time I get the error message 'Your username is invalid. " Initially sitemonitor_configure.php file had incorrect data but now I have it correct and I still get the error. The username in sitemonitor_configure.php is the same that in admin/include/configure.php. Why do I get this error? The code is reading the configure file and not seeing the correct username so it redirects you to that page and displays that message. You have to enter the correct username if it is not already there and then click update. Clicking update is required in any case for it to work. To be sure you have the correct username, go to admin->Modules. It will be listed in the path shown on that page. Quote 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 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.