Jack_mcs 1,139 Posted February 8, 2019 I don't see the benefit of doing that. If you want to add a new file to exclude then you would have to edit the file you created. As it is now, you edit the file in the code. But maybe I'm missing the point. Please explain how doing that will help? 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 Share this post Link to post Share on other sites
mhsuffolk 62 Posted November 2, 2019 (edited) Hi Jack Thank you for you great add ons. I get this in the server log when accessing the configure page. (In my Phoenix test shop PHP 7.3) PHP Warning: Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in D:\\Phoenix_7_3\\htdocs\\**********\\sitemonitor_configure_setup.php on line 404, referer: http://localhost/*********/sitemonitor_admin.php Edited November 2, 2019 by mhsuffolk Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Share this post Link to post Share on other sites
Jack_mcs 1,139 Posted November 2, 2019 That is a php compatibility issue. The change below will fix it but there are problem others. This addon is scheduled for an update but I don't when that will be. In admin/sitemonitor_configure_setup.php, find two instances of the following and remove them. width="<?php echo BOX_WIDTH; ?>" 1 mhsuffolk reacted to this 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 Share this post Link to post Share on other sites
Jack_mcs 1,139 Posted December 1, 2019 A new version has been uploaded with these changes: Added headers to the mail function. Added a global entry in functions file to fix problem with php 7.2 Found by member mhsuffolk. Corrected coding mistake that stopped some configurations from being recognized. Removed the BOX_WIDTH usage for newer shops. Removed definitions missed in the last version. 1 valquiria23 reacted to this 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 Share this post Link to post Share on other sites
valquiria23 240 Posted December 2, 2019 Thank you very much Jack @Jack_mcsfor your support of the OSC community. Especially for your excellent support and for SHARING. Cheers Valqui Community Oscommerce fan You'll find the latest osC community version here. Share this post Link to post Share on other sites
valquiria23 240 Posted April 3, 2020 (edited) Hi Jack, @Jack_mcs Maybe it is not the correct topic to ask this question, but does this addon let you know if the number of users connected simultaneously is less than 200, for example? The other day I had 500 IPs from Singapore on my site on the whos_online and only one client from my country (it was me looking at the site in addition to google), that slowed the site down a lot. It also gave me this error sometimes: Warning: mysqli_connect () [function.mysqli-connect]: (42000/1203): User already has more than 'max_user_connections' active connections in includes / functions / database.php on line 20 I had to block singapore IPs ... But I wanted to create an alarm in case that amount of Ips happens again ... I appreciate your comments if this addon works for me or if there is another. Cheers Valqui Edited April 3, 2020 by valquiria23 Community Oscommerce fan You'll find the latest osC community version here. Share this post Link to post Share on other sites
Jack_mcs 1,139 Posted April 3, 2020 @valquiria23No, SiteMonitor won't help in a situation like you describe. I suggest you install View Counter for that. It is like Who's Online but with much more control. It won't stop the connections unless they violate the traps it has. But you can see it happening and ban the IP from admin. The pro version has an option that reports excessive hits so you can easily see it happening and be emailed when it happens. You can also see the hits in the non-pro version but you have to check for them manually. I hope this helps. 1 valquiria23 reacted to this 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 Share this post Link to post Share on other sites
valquiria23 240 Posted April 3, 2020 Hi Jack, Thank you very much for your complete and detailed explanation. I'm going to give that thing a try. as always you give excellent support Jack, congratulations BR Valqui Community Oscommerce fan You'll find the latest osC community version here. Share this post Link to post Share on other sites
Jack_mcs 1,139 Posted November 30, 2020 A new version has been uploaded with these changes: Added icon for Phoenix shops. Cleaned up code a little. Fixed php warnings for Phoenix. Please note that this update just applies to Phoenix shops. The addon will work in other versions but if you already have it installed in a non-Phoenix shop, applying this update won't change anything. 1 valquiria23 reacted to this 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 Share this post Link to post Share on other sites