[YML] Enable Debug, SQL explain and Load time in phpBB 3.3.x

Code-talk. Anything related to the Studio, extension developing and phpBB coding.


Post Reply
User avatar
3Di
Founder
Founder
Posts: 1265
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

[YML] Enable Debug, SQL explain and Load time in phpBB 3.3.x

Post by 3Di »

The new version of phpBB will be available soon, just yesterday was released the version 3.3.0-b2.

Among the many news for developers and not only there is this one, it will not be possible anymore to enable Debug, SQL explain and Load time from the config.php file.

immagine.png
immagine.png (9.72 KiB) Viewed 446 times

To do this now you need to add the code below to any .yml file somewhere, also into an existing enabled extension (or code a small ext on purpose) - then purge the cache. If you have any doubts ask without hesitation.


immagine.png

To enable debug add these 2 lines to the above.

    debug.show_errors: true
    debug.exceptions: true

🏥 Honour and respect to all our heroes in health care. 🇮🇹
Looking for a specific solution for your site? We will rock you! 🚀


User avatar
3Di
Founder
Founder
Posts: 1265
Joined: 12 Mar 2018 20:10
Location: Milan (IT) Frankfurt (DE)
Contact:

[YML] Enable Debug, SQL explain and Load time in phpBB 3.3.x

Post by 3Di »

For those they want a clear explanation of all of this please have a look at:

https://www.phpbb.com/community/viewtop ... #p15515241

🏥 Honour and respect to all our heroes in health care. 🇮🇹
Looking for a specific solution for your site? We will rock you! 🚀


Post Reply