Problem With Activerecord Findall()
Posted 23 December 2013 - 01:12 AM
When calling findAll() I get a blank page. No errors at all displaying even though I have full error reporting switched on. Yii log shows nada.
I have tried switching off both relations and rules in the class and still nothing.
findByPk works just fine, calling this within the same class method as a test.
Has anybody ever encountered something like this?
Posted 23 December 2013 - 01:24 AM
The fastest way to confirm that and locate the error is to debug step by step using xdebug.
Does this happen in multiple enviroments? That is, on your production server and dev machine?
Posted 23 December 2013 - 08:07 AM
Logging is definitely switched on - I tested it also by deliberately throwing an error.
My environment has xdebug and it picks up nada.
If I set xdebug.scream = 1 then the script halts on @session_start(); in framework/web/CHttpSession.php.... which is really sloppy coding in my opinion!
Posted 23 December 2013 - 08:41 AM
Moving over to DAO instead..... (again).