[RC] Debug Tools

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

[RC] Debug Tools

Post by nicofuma »

Extension Name: Debug Tools
Author: Nicofuma

Extension Description:: This extension add a set of console commands useful to debugging. Some are back-ported from Symfony.

Extension Version:: 1.0.0-b1

Requirements: 3.1.0-RC3

Available commands:
  • cache:get to check the content of the cache
  • container:debug to check the container
  • router:debug to check the routes
Extension Download:
https://github.com/Nicofuma/phpbb-ext-debugtools (the files have to be put into ext/nicofuma/debugtools/)

Updates: 20 July 2014 - Alpha1: cache:get, router:debug, container:debug
14 August 2014 - Beta1
17 August 2014 - French and Spanish
Member of phpBB Development-Team
No Support via PM
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John

Re: [ALPHA] Debug Tools

Post by John P »

Interesting but how to use?

I installed the extension and enabled it but get the message:

[InvalidArgumentException]
Command "cache:get" is not defined.
Did you mean this?
cache:purge
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [ALPHA] Debug Tools

Post by nicofuma »

Sorry, the minimum requirements is 3.1.0-RC3-dev, not 3.1.0-RC2
Member of phpBB Development-Team
No Support via PM
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John

Re: [ALPHA] Debug Tools

Post by John P »

Ok upgraded to rc3 and working.

Nice job!
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John

Re: [ALPHA] Debug Tools

Post by John P »

Hoi Tristan,

Got the a1 update but the cli is broken now.
Catchable fatal error: Object of class phpbb\user could not be converted to string.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [ALPHA] Debug Tools

Post by nicofuma »

You need the last development version of the extension and the core.
Member of phpBB Development-Team
No Support via PM
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John

Re: [ALPHA] Debug Tools

Post by John P »

OK got it, so the rc3 isn't rc3 anymore haha
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28855
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: [ALPHA] Debug Tools

Post by Paul »

John P wrote:OK got it, so the rc3 isn't rc3 anymore haha
There is no RC3 yet ;)
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John

Re: [ALPHA] Debug Tools

Post by John P »

But almost...
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [BETA] Debug Tools

Post by nicofuma »

Beta1 has been released.
This extension is also available on packagist now.

If you have any idea for an useful debug tools, just tell me and I will see if I can add it.
Member of phpBB Development-Team
No Support via PM
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [BETA] Debug Tools

Post by Raul [ThE KuKa] »

Spanish translation here. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [BETA] Debug Tools

Post by nicofuma »

thank you
Member of phpBB Development-Team
No Support via PM
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [RC] Debug Tools

Post by nicofuma »

Versions 1.0.0 and 1.1.0 available, the 1.1.0 introduces a new command (twig:lint) to test the syntax of your templates files but is available only with phpBB 3.2.0-dev.
Member of phpBB Development-Team
No Support via PM
nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [RC] Debug Tools

Post by nicofuma »

released 1.1.1 with a new command to get the twig template corresponding to a phpBB one (i.e. with the phpBB tags replaced by Twig tags)
Member of phpBB Development-Team
No Support via PM
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [RC] Debug Tools

Post by Volksdevil »

Once I've added this, where do i find/use it? :?:
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60

Return to “Extensions in Development”