2014/11/20 18:53:47 [error] [exception.CException] exception 'CException' with message 'UserIdentity::authenticate() must be implemented.' in C:\Workplace\yii1.1.15\framework\web\auth\CUserIdentity.php:57 Stack trace: #0 C:\Workplace\Apache2.4\htdocs\cj\protected\models\LoginForm.php(52): CUserIdentity->authenticate() #1 C:\Workplace\yii1.1.15\framework\validators\CInlineValidator.php(42): LoginForm->authenticate('password', Array) #2 C:\Workplace\yii1.1.15\framework\validators\CValidator.php(213): CInlineValidator->validateAttribute(Object(LoginForm), 'password') #3 C:\Workplace\yii1.1.15\framework\base\CModel.php(159): CValidator->validate(Object(LoginForm), NULL) #4 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(68): CModel->validate() #5 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionLogin() #6 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #7 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #8 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #9 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('login') #10 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/login') #11 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #12 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #13 {main} REQUEST_URI=/cj/index.php?r=site/login HTTP_REFERER=http://localhost/cj/index.php?r=site/login --- 2014/11/20 18:54:18 [error] [php] include(user.php): failed to open stream: No such file or directory (C:\Workplace\yii1.1.15\framework\YiiBase.php:427) Stack trace: #0 C:\Workplace\Apache2.4\htdocs\cj\protected\components\UserIdentity.php(20): spl_autoload_call() #1 C:\Workplace\Apache2.4\htdocs\cj\protected\models\LoginForm.php(52): UserIdentity->authenticate() #2 C:\Workplace\yii1.1.15\framework\validators\CInlineValidator.php(42): LoginForm->authenticate() #3 C:\Workplace\yii1.1.15\framework\validators\CValidator.php(213): CInlineValidator->validateAttribute() #4 C:\Workplace\yii1.1.15\framework\base\CModel.php(159): CInlineValidator->validate() #5 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(68): LoginForm->validate() #6 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionLogin() #7 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams() #8 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #9 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #10 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #11 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #12 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #13 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/login in C:\Workplace\Apache2.4\htdocs\cj\protected\components\UserIdentity.php (20) in C:\Workplace\Apache2.4\htdocs\cj\protected\models\LoginForm.php (52) in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (68) 2014/11/20 19:16:52 [error] [exception.CException] exception 'CException' with message 'SiteController cannot find the requested view "register".' in C:\Workplace\yii1.1.15\framework\web\CController.php:878 Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\CController.php(782): CController->renderPartial('register', Array, true) #1 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(97): CController->render('register', Array) #2 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionRegister() #3 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #4 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #5 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #6 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('register') #7 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/register') #8 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #9 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #10 {main} REQUEST_URI=/cj/index.php?r=site/register HTTP_REFERER=http://localhost/cj/index.php?r=site/login --- 2014/11/20 20:31:20 [error] [php] Undefined variable: rounds (C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php:127) Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams() #1 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #2 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #3 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #4 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #5 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #6 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/register in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (127) in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (94) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 20:31:43 [error] [php] Creating default object from empty value (C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php:97) Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #1 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #2 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #3 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #4 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #5 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/register in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (97) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 20:32:20 [error] [php] Undefined variable: post (C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php:99) Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #1 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #2 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #3 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #4 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #5 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/register in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (99) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 20:32:33 [error] [system.db.CDbCommand] CDbCommand::execute() failed: SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value. The SQL statement executed was: INSERT INTO `tbl_user` (`level`, `username`, `password`) VALUES (:yp0, :yp1, :yp2). in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (99) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 20:32:33 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value. The SQL statement executed was: INSERT INTO `tbl_user` (`level`, `username`, `password`) VALUES (:yp0, :yp1, :yp2)' in C:\Workplace\yii1.1.15\framework\db\CDbCommand.php:358 Stack trace: #0 C:\Workplace\yii1.1.15\framework\db\ar\CActiveRecord.php(1077): CDbCommand->execute() #1 C:\Workplace\yii1.1.15\framework\db\ar\CActiveRecord.php(806): CActiveRecord->insert(NULL) #2 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(99): CActiveRecord->save() #3 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionRegister() #4 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #5 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #6 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #7 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('register') #8 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/register') #9 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #10 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #11 {main} REQUEST_URI=/cj/index.php?r=site/register HTTP_REFERER=http://localhost/cj/index.php?r=site/register --- 2014/11/20 20:59:07 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 20:59:14 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:00:03 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:00:30 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:01:35 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:08:03 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:09:03 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:11:09 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:11:16 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:11:16 [error] [exception.CException] exception 'CException' with message 'AddPostForm and its behaviors do not have a method or closure named "save".' in C:\Workplace\yii1.1.15\framework\base\CComponent.php:266 Stack trace: #0 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(142): CComponent->__call('save', Array) #1 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(142): AddPostForm->save() #2 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionAddPost() #3 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #4 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #5 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #6 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('addPost') #7 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/addPost') #8 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #9 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #10 {main} REQUEST_URI=/cj/index.php?r=site/addPost HTTP_REFERER=http://localhost/cj/index.php?r=site/addPost --- 2014/11/20 21:12:48 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 21:15:53 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:12:49 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:12:49 [error] [exception.CException] exception 'CException' with message 'Property "CWebUser.username" is not defined.' in C:\Workplace\yii1.1.15\framework\base\CComponent.php:130 Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\auth\CWebUser.php(146): CComponent->__get('username') #1 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(142): CWebUser->__get('username') #2 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionAddPost() #3 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #4 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #5 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #6 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('addPost') #7 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/addPost') #8 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #9 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #10 {main} REQUEST_URI=/cj/index.php?r=site/addPost HTTP_REFERER=http://localhost/cj/index.php?r=site/addPost --- 2014/11/20 23:26:09 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:26:10 [error] [exception.CException] exception 'CException' with message 'Property "Post.imageUrl" is not defined.' in C:\Workplace\yii1.1.15\framework\base\CComponent.php:173 Stack trace: #0 C:\Workplace\yii1.1.15\framework\db\ar\CActiveRecord.php(161): CComponent->__set('imageUrl', '1.jpg') #1 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(159): CActiveRecord->__set('imageUrl', '1.jpg') #2 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionAddPost() #3 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #4 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #5 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #6 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('addPost') #7 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/addPost') #8 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #9 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #10 {main} REQUEST_URI=/cj/index.php?r=site/addPost HTTP_REFERER=http://localhost/cj/index.php?r=site/addPost --- 2014/11/20 23:26:49 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:28:13 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:28:35 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (135) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:40:52 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'update_time' in 'order clause'. The SQL statement executed was: SELECT * FROM `tbl_post` `t` ORDER BY update_time DESC LIMIT 5. in C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php (14) in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (44) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:40:52 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'update_time' in 'order clause'. The SQL statement executed was: SELECT * FROM `tbl_post` `t` ORDER BY update_time DESC LIMIT 5' in C:\Workplace\yii1.1.15\framework\db\CDbCommand.php:543 Stack trace: #0 C:\Workplace\yii1.1.15\framework\db\CDbCommand.php(396): CDbCommand->queryInternal('fetchAll', Array, Array) #1 C:\Workplace\yii1.1.15\framework\db\ar\CActiveRecord.php(1351): CDbCommand->queryAll() #2 C:\Workplace\yii1.1.15\framework\db\ar\CActiveRecord.php(1470): CActiveRecord->query(Object(CDbCriteria), true) #3 C:\Workplace\yii1.1.15\framework\web\CActiveDataProvider.php(199): CActiveRecord->findAll(Object(CDbCriteria)) #4 C:\Workplace\yii1.1.15\framework\web\CDataProvider.php(168): CActiveDataProvider->fetchData() #5 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(111): CDataProvider->getData() #6 C:\Workplace\yii1.1.15\framework\zii\widgets\CListView.php(211): CBaseListView->init() #7 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(147): CListView->init() #8 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(172): CBaseController->createWidget('zii.widgets.CLi...', Array) #9 C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php(14): CBaseController->widget('zii.widgets.CLi...', Array) #10 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(126): require('C:\\Workplace\\Ap...') #11 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(95): CBaseController->renderInternal('C:\\Workplace\\Ap...', Array, true) #12 C:\Workplace\yii1.1.15\framework\web\CController.php(869): CBaseController->renderFile('C:\\Workplace\\Ap...', Array, true) #13 C:\Workplace\yii1.1.15\framework\web\CController.php(782): CController->renderPartial('index', Array, true) #14 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(44): CController->render('index', Array) #15 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionIndex() #16 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams(Array) #17 C:\Workplace\yii1.1.15\framework\web\CController.php(286): CController->runAction(Object(CInlineAction)) #18 C:\Workplace\yii1.1.15\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #19 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): CController->run('index') #20 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController('site/index') #21 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #22 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CApplication->run() #23 {main} REQUEST_URI=/cj/index.php?r=site/index HTTP_REFERER=http://localhost/cj/index.php?r=site/index --- 2014/11/20 23:41:12 [error] [php] require(): Filename cannot be empty (C:\Workplace\yii1.1.15\framework\web\CBaseController.php:130) Stack trace: #0 C:\Workplace\yii1.1.15\framework\zii\widgets\CListView.php(291): SiteController->renderFile() #1 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(167): CListView->renderItems() #2 unknown(0): CListView->renderSection() #3 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(150): preg_replace_callback() #4 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(135): CListView->renderContent() #5 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(173): CListView->run() #6 C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php(14): SiteController->widget() #7 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(126): require() #8 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(95): SiteController->renderInternal() #9 C:\Workplace\yii1.1.15\framework\web\CController.php(869): SiteController->renderFile() #10 C:\Workplace\yii1.1.15\framework\web\CController.php(782): SiteController->renderPartial() #11 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(40): SiteController->render() #12 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionIndex() #13 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams() #14 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #15 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #16 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #17 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #18 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #19 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/index in C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php (14) in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (40) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:41:59 [error] [php] require(): Filename cannot be empty (C:\Workplace\yii1.1.15\framework\web\CBaseController.php:130) Stack trace: #0 C:\Workplace\yii1.1.15\framework\zii\widgets\CListView.php(291): SiteController->renderFile() #1 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(167): CListView->renderItems() #2 unknown(0): CListView->renderSection() #3 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(150): preg_replace_callback() #4 C:\Workplace\yii1.1.15\framework\zii\widgets\CBaseListView.php(135): CListView->renderContent() #5 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(173): CListView->run() #6 C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php(14): SiteController->widget() #7 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(126): require() #8 C:\Workplace\yii1.1.15\framework\web\CBaseController.php(95): SiteController->renderInternal() #9 C:\Workplace\yii1.1.15\framework\web\CController.php(869): SiteController->renderFile() #10 C:\Workplace\yii1.1.15\framework\web\CController.php(782): SiteController->renderPartial() #11 C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php(40): SiteController->render() #12 C:\Workplace\yii1.1.15\framework\web\actions\CInlineAction.php(49): SiteController->actionIndex() #13 C:\Workplace\yii1.1.15\framework\web\CController.php(308): CInlineAction->runWithParams() #14 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #15 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #16 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #17 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #18 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #19 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/index in C:\Workplace\Apache2.4\htdocs\cj\protected\views\site\index.php (14) in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (40) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:52:47 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:54:09 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:55:01 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:55:24 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/20 23:55:40 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/21 10:46:51 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/21 10:46:52 [error] [php] Undefined variable: path (C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php:159) Stack trace: #0 C:\Workplace\yii1.1.15\framework\web\CController.php(286): SiteController->runAction() #1 C:\Workplace\yii1.1.15\framework\web\CController.php(265): SiteController->runActionWithFilters() #2 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(282): SiteController->run() #3 C:\Workplace\yii1.1.15\framework\web\CWebApplication.php(141): CWebApplication->runController() #4 C:\Workplace\yii1.1.15\framework\base\CApplication.php(180): CWebApplication->processRequest() #5 C:\Workplace\Apache2.4\htdocs\cj\index.php(13): CWebApplication->run() REQUEST_URI=/cj/index.php?r=site/addPost in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (159) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13) 2014/11/21 10:49:26 [warning] [application] Failed to set unsafe attribute "image" of "AddPostForm". in C:\Workplace\Apache2.4\htdocs\cj\protected\controllers\SiteController.php (148) in C:\Workplace\Apache2.4\htdocs\cj\index.php (13)