我在过去的2-3天里开始了yii框架的工作……我正在尝试遵循这个教程simple mailer ...
在将文件复制到扩展文件夹并将这些行写入配置文件后,当我打开我的测试应用程序的索引页面时,它给出了以下异常:
throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.'));下面是stacktrace的截图:

有人能帮我吗?
发布于 2012-05-21 18:16:29
将文件复制到扩展文件夹后的
您必须将模块复制到模块目录‘/ simplemailer /simplemailer/...
cp modules/SimpleMailer/commands/MailerCommand.php命令/
执行安装:
http://www.yiiframework.com/extension/simplemailer#hh6
cd /your/app/directory/protected
./yiic migrate create add_simplemailer_tables
--templateFile=application.modules.SimpleMailer.migrations.template
./yiic migrate up
cp modules/SimpleMailer/commands/MailerCommand.php commands/https://stackoverflow.com/questions/10682670
复制相似问题