I just upgraded to dev box to OSX Lion which has php 5.3.6 (from Snow Leopard).
Now my Yii made sites are broken. How do I know what code is now broken with out finding them out one by one? Why is the code below broken? Is there something that I can turn on in the php.ini files to overcome these things? I need to get back to work but don't want to just go back to Snow Leopard to do so. Would appreciate help / guidance.
Here are some of the following errors:
Use of undefined constant style - assumed 'style' on
'htmlOptions'=>array(style=>'cursor: pointer;'),
Fixed by enclosing 'style'
'htmlOptions'=>array('style'=>'cursor: pointer;'),
Trying to get property of non-object (Within CJuiTabs) on
'Title' =>$this->renderPartial("_details", array('model' => $model), $this),
Not sure how to fix this one
Use of undefined constant Y - assumed 'Y' (Within CGridView dataprovider) on
$dataProvider =
new CActiveDataProvider('Bus', array(
'criteria'=>array(
'with' => array(
'address' => array(
'on'=>'busAddresses.Id='.$model->Id.'
AND busAddresses.IsPhysical="'.Y.'"',
Not sure how to fix this one
display_errorsis on and the notice output is preventing headers from being sent). – John Flatness Aug 25 '11 at 3:18