Jack_mcs Posted December 20, 2011 Author Share Posted December 20, 2011 anything im trying , i get this error 2006 - MySQL server has gone away Already answered on this page. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 24, 2011 Share Posted December 24, 2011 (edited) Still hunting around to see why there are problems opening a possibly infected file on xampp, so thougth do a vanilla installof 231 on a linux host Got this Error WARNING: Your images directory contains non-image type files which is, generally, not correct. Error Error So removed all the directories and .htaccess file and got this Error WARNING: Your images directory is not protected by a .htaccess file. Error WARNING: Your images directory contains non-image type files which is, generally, not correct. Error Error Using file manager in host control panel I can see this This directory is empty. A bit of research found that it would appear that an open_basedir restriction means that glob() returns false http://php.net/manua...nction.glob.php $invalidFiles = glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php'); if(is_array($invalidFiles) && count($invalidFiles) > 0) { $messageStack->add(ERROR_IMAGES_HAS_PHP, 'error'); foreach($invalidFiles as $filename) { echo $messageStack->add($filename); } } $invalidFiles = glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.txt'); if(is_array($invalidFiles) && count($invalidFiles) > 0) { $messageStack->add(ERROR_IMAGES_HAS_PHP, 'error'); foreach($invalidFiles as $filename) { echo $messageStack->add($filename); } } So that gets rid of the blank error lines. Oh and by the way files open fine. Now to install xampp so the path does not include spaces and see if that is it. Happy Christmas G Edited December 24, 2011 by geoffreywalton Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
godside Posted December 27, 2011 Share Posted December 27, 2011 hello. already to using latest version. but when i try to manual check in this link http://xxx.com/admin/sitemonitor.php this messenges i get: Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: No such file or directory in /home/musicali/public_html/admin/includes/functions/sitemonitor_functions.php on line 343 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 December 28, 2011, 1:58 am Total mismatches found were 1 Total files being monitored is 0 Email sent to shop owner. how to make this awesome fitur can run in backend. thank best regards, zoe merry christmas Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 27, 2011 Author Share Posted December 27, 2011 hello. already to using latest version. but when i try to manual check in this link http://xxx.com/admin/sitemonitor.php this messenges i get: Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: No such file or directory in /home/musicali/public_html/admin/includes/functions/sitemonitor_functions.php on line 343 You haven't setup the configure file correctly since it says your username is username. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 1, 2012 Share Posted January 1, 2012 (edited) Hi, I installed sitemonitor and im getting this error when i try to click on sitemonitor in the admin control Thanks for any help. 404 Not Found Not Found The requested URL /admin/FILENAME_SITEMONITOR_ADMIN was not found on this server. Edited January 1, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 1, 2012 Author Share Posted January 1, 2012 Hi, I installed sitemonitor and im getting this error when i try to click on sitemonitor in the admin control Thanks for any help. 404 Not Found Not Found The requested URL /admin/FILENAME_SITEMONITOR_ADMIN was not found on this server. When there are capital letters in an error like that it means there is a missing definition so you've made a mistake in the installation. Darren11 1 Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 1, 2012 Share Posted January 1, 2012 Thank you jack_mcs that fixed it now i get 3 different error, Any idea how to fix them? I tried to change permissions but that didn't work. Warning: fopen(sitemonitor_db_reference.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 824 Failed to open file sitemonitor_db_reference.txt Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 828 Warning: unlink(sitemonitor_db_reference.txt) [function.unlink]: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 134 Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 1, 2012 Share Posted January 1, 2012 (edited) I still can't seem to fix the errors above but i also get this error when i go to the sitemonitor / configure Not Found The requested URL /admin/sitemonitor_configure_setup.php was not found on this server. Edited January 1, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 1, 2012 Author Share Posted January 1, 2012 I still can't seem to fix the errors above but i also get this error when i go to the sitemonitor / configure Not Found The requested URL /admin/sitemonitor_configure_setup.php was not found on this server. The first error you mentioned i probably due to your server settings. You will need to ask your host to change those. This last error is because a file can't be found. You have to upload all of the files or it won't work. Darren11 1 Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 1, 2012 Share Posted January 1, 2012 The first error you mentioned i probably due to your server settings. You will need to ask your host to change those. This last error is because a file can't be found. You have to upload all of the files or it won't work. Hi, I just re-uploaded the files to directory /httpdocs/admin and looked in admin and sitemonitor_configure_setup.php is in there, Anything else it could be? Thanks for the help, Darren Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 2, 2012 Author Share Posted January 2, 2012 Hi, I just re-uploaded the files to directory /httpdocs/admin and looked in admin and sitemonitor_configure_setup.php is in there, Anything else it could be? I can't think of anything else to suggest. If the file is there and php is saying it isn't, there is probably some path problem somewhere but that isn't something I can troubleshoot from here. If you have a host that will look at such things, I suggest asking them to look at that error. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) I can't think of anything else to suggest. If the file is there and php is saying it isn't, there is probably some path problem somewhere but that isn't something I can troubleshoot from here. If you have a host that will look at such things, I suggest asking them to look at that error. I changed the admin directory to chmod 777 and all the errors is gone, Is that ok to do? Edited January 2, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) I changed the admin directory to chmod 777 and all the errors is gone, Is that ok to do? New error now, Would the older versions work better then this new one? Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/home/username/public_html) is not within the allowed path(s): (/var/www/vhosts/Pinnacle-Games.com/httpdocs:/tmp) in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 343 Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: Operation not permitted in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 343 Reference file creation failed! Edited January 2, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 I fixed all the above now i get this Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343 Reference file creation failed! The sitemonitor_reference file cannot be written to. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 2, 2012 Author Share Posted January 2, 2012 I fixed all the above now i get this Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343 Reference file creation failed! The sitemonitor_reference file cannot be written to. The path is showing that SiteMonitor is installed in your shop, not your admin, unless your admin is named Templates1. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) The path is showing that SiteMonitor is installed in your shop, not your admin, unless your admin is named Templates1. It is Template1, I backed up the site to a different folder and changed it to the admin folder. I did not want to mess up all the site and re-install it, Any idea what them new errors could be from? If i can not gettign working is there any other programs like sitemonitor i could install? I only get that this error all the time in pink: The sitemonitor_reference file cannot be written to. I get the other errors after i click any of the update buttons, Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343 Reference file creation failed! And i get this error if i click configure and it goes to a white screen.... I looked all files is where there meant to be. http://www.pinnacle-games.com/Templates1/sitemonitor_configure_setup.php Not Found The requested URL /Templates1/sitemonitor_configure_setup.php was not found on this server. Edited January 2, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) 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? Edited January 2, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 2, 2012 Author Share Posted January 2, 2012 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 1 Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2012 Share Posted January 2, 2012 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! Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 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! Quote Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 As mentioned previously, there is something wrong with your setup. You should start by checking your configure file. Thank you for that link jack_mcs that fixed my site but i still get the same problems :( Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 2, 2012 Author Share Posted January 2, 2012 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. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) 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 January 2, 2012 by Darren11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 2, 2012 Author Share Posted January 2, 2012 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. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Darren11 Posted January 2, 2012 Share Posted January 2, 2012 (edited) 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 January 2, 2012 by Darren11 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.
Note: Your post will require moderator approval before it will be visible.