I've been trying to solve issues with my open cart 3.0 site. It is very slow to load, I have run checks with gtmetrix and the only thing left is java parsing. It appears to be slow on the server side, once the data starts to transmit to the browser it is very fast. I'm using the store front theme with very few products and categories. I was wondering if someone would be willing to give it a look and provide me with some suggestions. The url is http://www.u-marq.us . One thing i find strange is I have to set the php memory limit at -1 (no limit) for the page to function, even with that I get random 500 errors and page not found issues. I have tried turning off extensions one at a time in the hopes of isolating the problem with no luck.
Thank you
Rob Spector
your server responds in 340ms on http (which is not great but could also be latency between me and you) then 301 redirects to https which takes 7.5 seconds.
That could be anything, dns, server, php, db, network.
However, your other assets like css,js and images are also slow, almost 1 second each and that has nothing to do with php or DB.
you could test with https (ssl) off to see if it is ssl or in general.
and if you use ssl, change both servers in both config.php files to https as you are now contstantly putting http links in your html which are redirecting from to https.
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://Your domain');
// HTTPS
define('HTTPS_SERVER', 'https://Your domain');
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you for the suggestions. I have changed the config.php's and now everything is using https. Not much of an improvement. The 500 errors continue to randomly appear. I believe it is a memory usage issue as per my original post. Even with the correct code in my .htcaccess file I cannot get the website to specify what is causing the error. Any other suggestions you could give me would be greatly appreciated.
Thank you!
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
[20-Nov-2019 11:21:31 UTC] PHP Fatal error: Out of memory (allocated 110985216) (tried to allocate 16777224 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
[20-Nov-2019 11:21:31 UTC] PHP Fatal error: Out of memory (allocated 92110848) (tried to allocate 8388616 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
[20-Nov-2019 11:21:31 UTC] PHP Fatal error: Out of memory (allocated 190676992) (tried to allocate 4096 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
[20-Nov-2019 11:21:31 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 69043392 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
[20-Nov-2019 11:21:31 UTC] PHP Fatal error: Out of memory (allocated 152928256) (tried to allocate 33554440 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
[20-Nov-2019 13:30:58 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 69130192 bytes) in /home/umarq/public_html/dev.u-marq.us/public_html/vqmod/vqmod.php on line 336
line 336 of vqmod.php is the following
private static function _loadChecked() {
$file = self::path(self::$checkedCache);
if($file && is_file($file)) {
$paths = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
if(!empty($paths)) {
foreach($paths as $path) {
$fullPath = self::path($path, true);
if($fullPath) {
self::$_doNotMod[] = $fullPath;
}
}
}
}
}
can I safely comment that out?
Thank you!
I don't have that, lucky me as it seems to give nothing but trouble but I am sure there are people here who love it and can help you there.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Site work, as it could and should. But I never understud, why people 'implant' all those
GOOD FOR NOTHING Twitter/FB/Instagram/e.t.c. 'active' Links on their Shop Footer Pages,
they just slow down pageload, one won't get one single visitor more, because of that
timeconsuming crab. Just make 'regular' Links out of those, if you need them to show,
Visitors don't get impressed, by looking at follower-numbers.


Good Luck!

---
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Haha true!
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Everybody knows, when your site needs that extra "oompf", look no further than social media buttons.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: No registered users and 58 guests