PHP 5.3 and Yii
Posted 16 August 2010 - 02:14 AM
Why don't you read the message and set the date.timezone (e.g. in php.ini)? Yii could add a timezon configuration, sure. But IMO this is part of the server config. Yii should not duplicate any possible PHP configuration. So it's your responsibility to keep the PHP configuration up-to-date whenever you upgrade to a new main version.
Posted 16 August 2010 - 11:45 PM
date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead
I resolved my own issue.. You have to set the timezone setting in php.ini file inorder to get yii to work properly..
PHP 5.3 requires that you set your timezone location
Posted 04 September 2010 - 09:56 AM
Start demo ("Phonebook" or "Yii blog") and see result:
CDbCommand filed to execute the SQL statement: SQLSTATE[HY000]: General error: 14 unable to open database file
In attachment all my sources
Number of downloads: 7
Posted 09 June 2011 - 12:54 PM
- Anonymous functions as event handlers.
- Anonymous functions as gridview callbacks and all other callbacks.
- Ability to use namespaces for application classes. Autoloader will load these.
- No 5.3 deprecation notices.