@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.
PHP 5.3 and Yii
#22
Posted 16 August 2010 - 11:45 PM
androidmacc, on 15 August 2010 - 06:39 PM, said:
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
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
#23
Posted 04 September 2010 - 09:56 AM
Yii 1.1.3 and PHP 5.3 don't work with SQLite3.
Start demo ("Phonebook" or "Yii blog") and see result:
In attachment all my sources
test.zip (24.29K)
Number of downloads: 3
Start demo ("Phonebook" or "Yii blog") and see result:
Quote
CDbException
Description
CDbCommand filed to execute the SQL statement: SQLSTATE[HY000]: General error: 14 unable to open database file
Source File
/path_to_Yii/db/CDbCommand.php(228)
Description
CDbCommand filed to execute the SQL statement: SQLSTATE[HY000]: General error: 14 unable to open database file
Source File
/path_to_Yii/db/CDbCommand.php(228)
In attachment all my sources
test.zip (24.29K)
Number of downloads: 3
#25
Posted 09 June 2011 - 12:54 PM
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.
- 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.

Help

This topic is locked













