CORE/core/view.php : 237 CORE/core/view.php : 196 CORE/core/controller.php : 120 APP/controller/errors.php : 13 CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 0.0016 - Loading view "view/page/errors.html" CORE/core/view.php : 237 CORE/core/view.php : 196 CORE/core/controller.php : 120 APP/controller/index.php : 65 APP/controller/errors.php : 13 CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 0.00235 - Loading view "view/page.html" UltraLight Showcase

Error Example

Allow for real-time development

  • Errors are shown
  • Includes of classes that don't exist generate a nice fatal.
  • Basic errors in files are highlighted.

Detailed error messages

  • Show a neatly formatted error, title and backtrace.
  • Use specific types, colors or titles for extra information.
CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Debug array (7) ( 0 => "This is an example", 1 => array (4) ( 0 => true, 1 => 1, 2 => "String", 'last' => NULL, ), 2 => stdClass { 'boolean' => true 'integer' => 1 'string' => "String" 'null' => NULL }, 3 => "<a href=''></a>", 4 => "alert("Test!");", 'Unescaped GET' => array (1) ( 'debug' => "true", ), 'Sanitized GET' => array (1) ( 'debug' => "true", ), ) CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Export Variable "Info message example." CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Error "Error message example." CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Custom Title "Message with custom color/title" CORE/core.php : 336 APP/controller/errors.php : 33 CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 0.00457 - Debug "Unable to load file: APP/controller/example_of_non_existent_class.php"
Fatal error: Uncaught Error: Class "App\Controller\Example_Of_Non_Existent_Class" not found in /var/www/site/ul/application/controller/errors.php:33 Stack trace: #0 /var/www/shared/core/core/controller.php(89): App\Controller\Errors->_run() #1 /var/www/shared/core/core/controller.php(70): Core\Controller->_executeRun() #2 /var/www/shared/core/core.php(170): Core\Controller->display() #3 /var/www/site/ul/index.php(9): Core::start() #4 {main} thrown in /var/www/site/ul/application/controller/errors.php on line 33