♥altoid Posted October 22, 2018 Share Posted October 22, 2018 On 10/20/2018 at 3:39 PM, BrockleyJohn said: Actually, now that you/they bring it up, I've a feeling that Chemo's class doesn't close the connection (while of course the core db functions do that via application_bottom). So you have a double saving - one connection instead of two and nothing left hanging around after the page is built. @BrockleyJohn couple of days now and there's not been any max_user_connections warnings after modifying the code you provided. I'm going to watch the error logs further to see what happens. 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...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.