ThemeBurn Support › Forums › OpenCart Themes › Kiddos OpenCart Theme › Major issue with performance once the site goes live
This topic has been marked as not resolved.
Hi there, we built an opencart website using the kiddos theme. The site performs as expected in a testing environment but once we put the site live it lasts about 10 minutes before it dies. It generates a 508 error. I have spoken to the hosting provider and they say that the issue is being caused by slow mysql queries. Should I attempt to access the site front end I get the following error message: Notice: Undefined property: DB::$db in /var/www/vhosts/thinkingtoyscloud.com/httpdocs/system/storage/modification/system/library/db.php on line 63 The admin section has now crashed and should I attempt to enter it again I see the following error |
|
June 27, 2018 at 1:03 pm #64718
|
|
Here is some further server information |
|
June 27, 2018 at 1:52 pm #64719
|
|
Is it possible to test with the default theme to see if the hosting can handle it ? Also what are the hosting parameters (shared/VPS/dedicated; CPU; RAM etc.) ? Regards, |
|
July 4, 2018 at 10:38 am #64749
|
|
Hi, I have tested this on 2 servers the configuration on the 1st one is as follows: the 2nd one is as follows The behaviour is identical once the site goes live on either server. The site lasts approximately 10 minutes before it dies citing a 508 resource error. The hosting provider has also stated that the issue as far as they are concerned is very “heavy” mysql queries towards the database resulting in high CPU usage and affecting the normal operation of the mysql service. I’ll include a sample query list here |
|
July 4, 2018 at 12:21 pm #64754
|
|
Is it possible to change to the default opencart theme and test if it brings the server to ’508 error’ ? |
|
July 4, 2018 at 1:41 pm #64757
|
|
Hi, thanks for the reply. I have tested the default theme and the site ran as expected. I left it running for 1 hour before switching back. Within 10 minutes the 508 error resurfaced. |
|
July 5, 2018 at 12:09 pm #64783
|
|
Okay, I assume all of the cache options are turned on in the BurnEngine admin panel, are they ? |
|
July 5, 2018 at 3:35 pm #64784
|
|
Hi, that’s part of the issue. When I turn the cache options on this results in the admin area being stuck on the save settings screen. This eventually times out. Then should I attempt to access the site front end I get the following error message: Should I try to access the admin section I see the following error: I have had to fully restore this test site from a backup the get it back up and running again. |
|
July 11, 2018 at 12:10 pm #64825
|
|
Hi, Are there any other suggestions or ideas on this? I have restored the site to a testing server and have turned on the caching options that allowed the site to function. Image lazy loading The config caching is turned off also. The test site has now turned to returning a 504 gateway timeout. I have honestly never experienced any issues like this before. Also, many of the product images appear to have disappeared after I turned the caching on. |
|
July 25, 2018 at 4:36 pm #64972
|
|
Ok, the test site is now broken after the caching is turned on. None of the links work properly, the menu is broken, the slider on the homepage is broken. I could go on. |
|
July 26, 2018 at 12:59 pm #64978
|
|
Your issue is really hard for us, as we didn’t have such one till now (several years). There are many people here, who use our themes on relatively cheap shared hosting with far fewer resources than yours, so we can’t just see what’s wrong in our code as the issue probably depends on your personal server setup somehow. Can we receive access (FTP) to your test environment so we can see the issue in action and eventually come out with a fix ? Also can we have access to your server logs (apache/mysql/php) in order to check what is going on? Regards, |
|
July 27, 2018 at 3:07 pm #64994
|
- You must be logged in to reply to this topic.