stevell Posted August 12, 2023 Share Posted August 12, 2023 (edited) I have upgraded from 1.78 to 8.1 but the categories are very slow to load. Over 30 seconds. If I turn on profiling it fixes the issue and the same page loads in 1245ms. Debug mode shows no errors. Has anyone seen this issue or have any suggestions. https://www.downunderwear.co.nz https://www.downunderwear.co.nz/brand/berlei Regards Steve Edited August 12, 2023 by stevell (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted August 12, 2023 Share Posted August 12, 2023 Check on Gtmetrix. Have you changed PHP version after update? Cache in VAR folder cleared? Also whats your php setting: memory_limit max_execution_time max_input_time max_input_var Link to comment Share on other sites More sharing options...
stevell Posted August 12, 2023 Author Share Posted August 12, 2023 30 minutes ago, ComGrafPL said: Check on Gtmetrix. Have you changed PHP version after update? Cache in VAR folder cleared? Also whats your php setting: memory_limit max_execution_time max_input_time max_input_var Gtmetrix times out on the category pages, so does lighthouse and PageSpeed insights. I changed the PHP version to 8.1 from 7.4. The Cache folder has been cleared a few times. memory_limit 2042 max_execution_time 300 max_input_time 300 max_input_var 10000 The server is CloudLinux with Litespeed although the Lightspeed Prestashop plugin is not compatible with Prestashop 8+ so not installed. Link to comment Share on other sites More sharing options...
Daresh Posted August 12, 2023 Share Posted August 12, 2023 Try to enable profiling in the config/defines.inc.php file: define('_PS_DEBUG_PROFILING_', true); Link to comment Share on other sites More sharing options...
stevell Posted August 12, 2023 Author Share Posted August 12, 2023 34 minutes ago, Daresh said: Try to enable profiling in the config/defines.inc.php file: define('_PS_DEBUG_PROFILING_', true); That appears to show the same profiling page as turning it on in the Advanced Parameters - Performance tab. If I turn on profiling it fixes the issue and the same page loads in 1245ms (was 34 seconds)so it is unhelpful. I don't understand why turning on profiling fixes the issue and reduces page load time by over 30 seconds. Link to comment Share on other sites More sharing options...
Daresh Posted August 12, 2023 Share Posted August 12, 2023 Indeed it is not a normal situation for the page to load faster with profiling turned on. It should take the same time + show the details. Link to comment Share on other sites More sharing options...
stevell Posted August 30, 2023 Author Share Posted August 30, 2023 I upgraded Prestashop 8.1 and the problem went away. I do however think it was a Litespeed issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now