#107 new
Omer Katz

A missing module creates errors in the diagnostics

Reported by Omer Katz | September 28th, 2009 @ 02:47 PM | in 0.20

If one of your annotations refer to a non-existing Model it will create a fatal error inside recess/diagnostics/output/exception_report.php
It says that printType cannot be re-declared.
Wrapping it with:
if (!function_exists('printType')) { /function here/ }
propagates the error to the next function.
After wrapping all functions the exception_report.php file works and returns an error from printCodeSnippet() that says that the $file parameter is empty.
Fixing the misspelled Model fixes the problem.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Recess PHP Framework is an open source, full stack, RESTful PHP framework.


People watching this ticket