mikl
(Mike)
August 16, 2010, 7:14am
21
@androidmacc :
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.
androidmacc:
Did anyone resolve this issue using 5.3 and yii… I am hopeing someone has but this bug to rest…
Error 500
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
maxx
(Ecomaxx)
September 4, 2010, 2:56pm
23
Yii 1.1.3 and PHP 5.3 don’t work with SQLite3.
Start demo ("Phonebook" or "Yii blog") and see result:
[color="#FF0000 "]CDbException[/color]
Description
[color="#8B0000 "]CDbCommand filed to execute the SQL statement: SQLSTATE[HY000]: General error: 14 unable to open database file[/color]
Source File
/path_to_Yii/db/CDbCommand.php(228)
In attachment all my sources
816
test.zip
What is the latest status on PHP 5.3 and Yii?
samdark
(Alexander Makarov)
June 9, 2011, 5:54pm
25
Full support at application level and some usage at framework level (with 5.2 fallbacks). So basically it means:
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.