CodeIgniter model debugging errors

Posted by Jono on Stack Overflow See other posts from Stack Overflow or by Jono
Published on 2010-06-06T18:08:19Z Indexed on 2010/06/06 18:12 UTC
Read the original article Hit count: 366

Filed under:
|
|

I am new to CodeIgniter, and I need a way to get more meaningful error messages. Specifically I am having trouble with some model relationships, but the error is vague. I am willing to try/install anything since I dont know how to fix this relationship.

Is there a way to specify how verbose an error message is? Also, this could be related to DataMapper, but I cant tell. I dont care if they are logged or in the browser.

In my browser error reads:

An Error Was Encountered
Unable to relate X with Y.

Any more info would be great... which class, line number, a stacktrace. Increasing the log threshold did not help.

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about debug