I am having some problems running Yii under RedHat Enterprise Linux Server 5 with PHP 5.1.6.
Everything runs fine using PHP 5.2.X but RedHat does not supply a PHP 5.2 package, and I am not allowed to install other packages on our production servers.
I have found two problems so far:
[error] [php] unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Argument is not a string (/www/local/docs/framework/yii-1.1.2.r2086/framework/web/auth/CDbAuthManager.php:256)
Stack trace:
#0 /www/local/docs/framework/yii-1.1.2.r2086/framework/web/auth/CDbAuthManager.php(192): CDbAuthManager->detectLoop()
#1 /www/local/docs/backend/protected/modules/srbac/controllers/AuthitemController.php(110): CDbAuthManager->addItemChild()
#2 /www/local/docs/backend/protected/modules/srbac/controllers/AuthitemController.php(199): AuthitemController->_assignChild()
And the other:
[error] [php] Object of class CMissingTranslationEvent to string conversion (/www/local/docs/framework/yii-1.1.2.r2086/framework/base/CComponent.php:529)
Stack trace:
#0 /www/local/docs/framework/yii-1.1.2.r2086/framework/i18n/CMessageSource.php(101): CPhpMessageSource->onMissingTranslation()
#1 /www/local/docs/framework/yii-1.1.2.r2086/framework/i18n/CMessageSource.php(77): CPhpMessageSource->translateMessage()
#2 /www/local/docs/backend/protected/modules/srbac/components/Helper.php(370): CPhpMessageSource->translate()
Any good suggestions on how I can fix these problems?