Darghon Posted April 23, 2013 Share Posted April 23, 2013 Hi all, I'm developing a application with the Yii framework, and implemented a record security by adding 3 functions to all models (canIView, canIEdit and canIDelete). All models extend the same basemodel class, and all crud interfaces are simular. For some reason whenever I try to view the cruds of the models "Product" or "Order" I get a white page, and no logs anywhere... Debugging some I can echo lines upto the following line in code echo "before"; $model = Product::model(); echo "after"; Before is shown, but not after. The same code on a different model like "Division" does work... Both models extend the same class (AuditModel) which implements several security functions and populates audit fields etc... Can anyone help me debug this... or give an indication where I can find anything to point me towards any error in the code... Yii application log is empty Apache log is empty Thx Quote Link to comment https://forums.phpfreaks.com/topic/277198-yii-white-page-of-death/ Share on other sites More sharing options...
hamza Posted July 10, 2013 Share Posted July 10, 2013 No matter which framework we use Enabling error_reporting and display_errors always work. Quote Link to comment https://forums.phpfreaks.com/topic/277198-yii-white-page-of-death/#findComment-1440142 Share on other sites More sharing options...
web_craftsman Posted July 11, 2013 Share Posted July 11, 2013 have not you forgotten to implement model static function in your child AR class? It is described here: Quote Link to comment https://forums.phpfreaks.com/topic/277198-yii-white-page-of-death/#findComment-1440274 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.