display nothing after changing development environment

Hello everybody,

I encountered a problem, that wastes 2 days of my work time.

I was working on Ubuntu 11.04/php 5.3.6, a recently switched to Fedora 15/ php 5.3.8

my working site just decided to show nothing in new environment without any error message. log files shows that application stops working when loading assetManager.

Actually, using render function just layout is rendered, but not the view file. and renderPartial renders the view with no problem.

my effort to detect the problem has no success.

any help, idea, or clue to overcome the problem would be highly appreciated.

best regards


First of all check the Yii requirements - http://www.yiiframework.com/doc/guide/1.1/en/quickstart.installation#requirements

If all is good… generate a new Yii webapp and check if it’s working - http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app

If still not working enable in PHP the error reporting with E_ALL | E_STRICT - http://php.net/manual/en/migrating5.errorrep.php

And can help you watch the log of your server.

mdomba and sensorario, Thank you for your response.

@mdomba: requirements is ok, test application works perfectly, but my app not.

and php do not generate any error.

@sensorario: I’m using apache and mod_php, apache does not generate any error.

Really I don’t know what to do at this point

Did you enable in PHP the option to show errors… E_ALL | E_STRICT… ?


So if the text app works… and you just dont get any error… could be some forgoted die() in your code…

Try with firebug to see if there is some JS error…

If this don’t help… I have no other ideas…you need to debug your app…

thank you so much for your concern.

in my new server shorthand php tag (<? ?>) support is disabled,

i used shorthand tag once in my layout file, the most important part: <? echo $content; ?>.

which the server did not interpret it as php code and ignored it!!!

can you believe it! many hours of my work time wasted for just nothing.

maybe this could help somebody.

great, nice find… it will sure help someone in the future… and it’s one more settings to think about for similar problems…