07-08-2012, 01:32 AM
[eluser]Alhazred[/eluser]
I'm developing my first application using CI, from a controller I call a model, but at the call the application stops.
If I remove the model call the application goes on.
I'm sure to call the model in the correct way, because if I put a wrong name for it I get a message for an inexistent model.
The problem must be inside the model, but I don't get any error message, how do I find where the problem is?
I tried to put some echo as debug and then exit(), but they don't appear.
Is there something to do to show php errors from models?
I'm developing my first application using CI, from a controller I call a model, but at the call the application stops.
If I remove the model call the application goes on.
I'm sure to call the model in the correct way, because if I put a wrong name for it I get a message for an inexistent model.
The problem must be inside the model, but I don't get any error message, how do I find where the problem is?
I tried to put some echo as debug and then exit(), but they don't appear.
Is there something to do to show php errors from models?