You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get the bar to work with a simple service provider example. Actually it's not entirely based on simple service provider example, but its similar, just some folder structures changed. First I tried by creating a class called DebugBarServiceProvider like so:
My issue is that nothing happens and I included the Whoops and also don't work. I setted multiple providers and most of them are the same of simple service provider, except Database and MvcDispatcherServiceProvider. After trying to initialize the debug bar as a service provider I tried to initialize directly on BootstrapApplication class and I get the following error:
Uncaught Error: Call to a member function detachAll() on null in vendor\snowair\phalcon-debugbar\src\Whoops\WhoopsServiceProvider.php:36
So I removed the Whoops temporarilly and my baseUri it's messed up. I defined a UrlServiceProvider just link simple servide provider, and my baseUri it's resolve to something like: http://mydomain.com/idr_report/, but using debugbar my uri is now public/.
I also tried to use de config/debugbar.php withou success. I checked everything else I just don't work for me. Below my environtment settings:
PHP 7.1.5
Phalcon 3.3.2
IIS 8.5
Windows Server 2012
Just to be clear past to use the debugbar I was using Whoops and everything was working fine.
The text was updated successfully, but these errors were encountered:
I can't get the bar to work with a simple service provider example. Actually it's not entirely based on simple service provider example, but its similar, just some folder structures changed. First I tried by creating a class called DebugBarServiceProvider like so:
I have a boostrap class like that and I make sure the DI and application is setted before the debug bar
My issue is that nothing happens and I included the Whoops and also don't work. I setted multiple providers and most of them are the same of simple service provider, except Database and MvcDispatcherServiceProvider. After trying to initialize the debug bar as a service provider I tried to initialize directly on BootstrapApplication class and I get the following error:
Uncaught Error: Call to a member function detachAll() on null in vendor\snowair\phalcon-debugbar\src\Whoops\WhoopsServiceProvider.php:36
So I removed the Whoops temporarilly and my baseUri it's messed up. I defined a UrlServiceProvider just link simple servide provider, and my baseUri it's resolve to something like: http://mydomain.com/idr_report/, but using debugbar my uri is now public/.
I also tried to use de config/debugbar.php withou success. I checked everything else I just don't work for me. Below my environtment settings:
Just to be clear past to use the debugbar I was using Whoops and everything was working fine.
The text was updated successfully, but these errors were encountered: