Enable Debug, SQL Explain and Load time

Discussion forum for Extension Writers regarding Extension Development.
Erpenator
Registered User
Posts: 40
Joined: Tue Nov 03, 2009 6:45 pm

Re: Enable Debug, SQL Explain and Load time

Post by Erpenator »

Thanks for unlocking the topic. I've updated our the board to 3.3.0-RC1 on our development server and we will have the same issue as described above. I've tested the config.yml with the tool mentioned above and it seems to be a valid config.yml file. The other config settings do work, so I am confident the problem is not in the config.yml file.
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Enable Debug, SQL Explain and Load time

Post by 3Di »

Erpenator wrote:
Thu Dec 19, 2019 8:21 am
If you want I can install a fresh version of the forum software to see if the problem still exists.
Yes.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Enable Debug, SQL Explain and Load time

Post by 3Di »

Erpenator wrote:
Wed Dec 18, 2019 7:35 pm
I had another look why the sql_explain wasn't working once I enabled it and I think I found the problem. The error that is generated is :
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\\Component\\HttpFoundation\\Request::variable() in /phpbb/db/driver/driver.php:1042
See if this fixes your issue: https://github.com/phpbb/phpbb/pull/5822/files
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Erpenator
Registered User
Posts: 40
Joined: Tue Nov 03, 2009 6:45 pm

Re: Enable Debug, SQL Explain and Load time

Post by Erpenator »

3Di wrote:
Thu Jan 09, 2020 5:21 am
See if this fixes your issue: https://github.com/phpbb/phpbb/pull/5822/files
Yes, it does fix the issue.
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Enable Debug, SQL Explain and Load time

Post by 3Di »

Solved then :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Erpenator
Registered User
Posts: 40
Joined: Tue Nov 03, 2009 6:45 pm

Re: Enable Debug, SQL Explain and Load time

Post by Erpenator »

Yes, and I think we can conclude there was something wrong in the code that caused it?
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Enable Debug, SQL Explain and Load time

Post by 3Di »

Erpenator wrote:
Sat Jan 11, 2020 8:21 am
Yes, and I think we can conclude there was something wrong in the code that caused it?
Very old code not removed during the new implementation, the same request is already checked in phpbb_check_and_display_sql_report().
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Post Reply

Return to “Extension Writers Discussion”