Hey Fellow YiiTES! I’ve been working with the framework for a few months and loving every minute of it. However, when dabbling with my own CMS style implementation using the BLOG demo I have come across a strange “white page” situaton.
I am loading my stylesheets from my DB, kind my own interesting attempt at building a CMS. Anyways I am currently doing this by calling the styles in the head section of my main.php in my layout. This is the Yii framework btw. It’s very strange because this worked for about 10 hours and then all of a sudden stopped being accepted. I am thinking it may be a bad value in the database that is throwing the stylesheets off but they all seem to load correctly when i preview the html. Here is my code;
I have narrowed it down to this line is somehow causing the error (which php will not report on) but I can’t figure out why:
here is the rest of the code so you can make sense of it: