Ticket #379 (closed Bug: fixed)
Bug in Profiler Config
| Reported by: | marcus | Owned by: | PugFish |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.2 |
| Component: | Libraries | Version: | SVN HEAD |
| Keywords: | profiler empty data | Cc: |
Description
he bug is in the Profiler config (config/profiler.php) because when I change all the settings to FALSE except for the database, I have the following error:
Runtime Message
An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.
Undefined variable: data
Error occurred at line 80 of C:/marcus/projetos/MusicalCarioca/src/kohana21/system/libraries/Profiler.php.
Stack Trace
*
Profiler_Core->render( )
* system\core\Event.php [217]:
call_user_func( Array
(
[0] => Profiler Object
(
)
[1] => render
)
)
* system\core\Kohana.php [340]:
Event::run( system.display,
)
*
Kohana::shutdown( )
* system\core\Event.php [217]:
call_user_func( Array
(
[0] => Kohana
[1] => shutdown
)
)
* system\core\Bootstrap.php [56]:
Event::run( system.shutdown )
* admin.php [83]:
require( system\core\Bootstrap.php )
application/config/profiler.php:
$config['benchmarks'] = FALSE; /** * Show database queries. */ $config['database'] = TRUE; /** * Show POST data. */ $config['post'] = FALSE; /** * Show session data. */ $config['session'] = FALSE; /** * Show cookie data. */ $config['cookie'] = FALSE;
Change History
Note: See
TracTickets for help on using
tickets.
