quietkillah Posted May 17, 2013 Share Posted May 17, 2013 I am trying to improve the loading time of my website. So after doing some modifications. I wanted to check the SQL Query speeds. To do this i thought i only had to turn on Debug Profiling. But when i change define('_PS_DEBUG_PROFILING_', false); to define('_PS_DEBUG_PROFILING_', true); part of my site doesn't get loaded. And i can't see any extra information. I only see the toppart of my website. Any ideas what is causing this issue? or how to resolve this? Link to comment Share on other sites More sharing options...
NemoPS Posted May 18, 2013 Share Posted May 18, 2013 Actually, it always worked this way for me. It's like the function has always been broken as far as I know! Link to comment Share on other sites More sharing options...
quietkillah Posted May 18, 2013 Author Share Posted May 18, 2013 Hmm, that's unlucky. And do you know of any alternatives to easily monitor your site speed (to be able to make some improvements?) I tried using the mysql slow_query_log but it's quite hard to understand and analyse this log. Link to comment Share on other sites More sharing options...
NemoPS Posted May 18, 2013 Share Posted May 18, 2013 Well, prestashop 1.4 had some override classes for his, but they removed them from 1.5. Therefore, I'm honestly clueless about this Link to comment Share on other sites More sharing options...
quietkillah Posted May 21, 2013 Author Share Posted May 21, 2013 anyone else has some insight on this issue? Link to comment Share on other sites More sharing options...
Trip Posted May 22, 2013 Share Posted May 22, 2013 I you suggest to enable define('_PS_MODE_DEV_', true); to see if there are further errors in your installtion. Might be that there are missing db fields or something and therefore the profiler is not working. Best regards, trip Link to comment Share on other sites More sharing options...
quietkillah Posted May 29, 2013 Author Share Posted May 29, 2013 can't seem to find any issues or errors in my installation, but it still doesn't work ... Link to comment Share on other sites More sharing options...
yogar Posted September 16, 2013 Share Posted September 16, 2013 I have the same problem. Link to comment Share on other sites More sharing options...
Pluncker Posted December 5, 2014 Share Posted December 5, 2014 I had the same problem with 1.6.0.9, my solution: Additionally to define('_PS_DEBUG_PROFILING_', true); in define.inc.php edit tools/profiling/Controller.php and comment out the two lines (304-305 on 1.6.0.9): /* if (!$this->ini_get_display_errors()) return; */ Now it works. Don't know why ini_get_display_errors() is not initialized... 1 Link to comment Share on other sites More sharing options...
defuzed Posted July 21, 2015 Share Posted July 21, 2015 Plunckers answer did the trick on 1.5.5, thanks Pluncker Link to comment Share on other sites More sharing options...
hakeryk2 Posted October 10, 2017 Share Posted October 10, 2017 (edited) I had the same problem with 1.6.0.9, my solution: Additionally to define('_PS_DEBUG_PROFILING_', true); in define.inc.php edit tools/profiling/Controller.php and comment out the two lines (304-305 on 1.6.0.9): /* if (!$this->ini_get_display_errors()) return; */ Now it works. Don't know why ini_get_display_errors() is not initialized... There is no such line in 1.6.1.4 and I have same issue. It just stopped working but I dunno why. I only see blank page even if I have dev mode set to true. Edited October 10, 2017 by hakeryk2 (see edit history) 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