Yii httpexception would not render view

Ran into this problem and finally figured out it was due to bad access rules. I set access rules to deny all actions to any users that didn’t have ‘admin’ role. The problem is, this also denied the use of the site/error action. So the trick of course is allow all users access to that action.

Posted in Coding.

One Comment

  1. This choice may need some cleaning up to make it tattooable but it can be done.

    How to Gift a Car to Main Account with GT 5 Birthday Trick.
    Predictably enough, commenters to the article on The Blaze expressed skepticism
    and other less-than-impressed reactions.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>