We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
При редактировании записи в блоге blog/postAdmin/update
Вылетела ошибка Кэш чистил)
2012/08/21 13:25:04 [error] [system.db.CDbCommand] CDbCommand::execute() failed: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'create_date' at row 1. The SQL statement executed was: UPDATE post SET id=:yp0, blog_id=:yp1, create_user_id=:yp2, update_user_id=:yp3, create_date=:yp4, update_date=:yp5, slug=:yp6, publish_date=:yp7, title=:yp8, quote=:yp9, content=:yp10, link=:yp11, status=:yp12, comment_status=:yp13, access_type=:yp14, keywords=:yp15, description=:yp16 WHERE post.id='1'. in C:\wamp\www\yupe\protected\modules\blog\controllers\PostAdminController.php (57) in C:\wamp\www\yupe\index.php (15) 2012/08/21 13:25:04 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'create_date' at row 1. The SQL statement executed was: UPDATE post SET id=:yp0, blog_id=:yp1, create_user_id=:yp2, update_user_id=:yp3, create_date=:yp4, update_date=:yp5, slug=:yp6, publish_date=:yp7, title=:yp8, quote=:yp9, content=:yp10, link=:yp11, status=:yp12, comment_status=:yp13, access_type=:yp14, keywords=:yp15, description=:yp16 WHERE post.id='1'' in C:\wamp\www\yupe\framework\db\CDbCommand.php:354 Stack trace: #0 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(1685): CDbCommand->execute() #1 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(1064): CActiveRecord->updateByPk('1', Array) #2 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(796): CActiveRecord->update(NULL) #3 C:\wamp\www\yupe\protected\modules\blog\controllers\PostAdminController.php(57): CActiveRecord->save() #4 [internal function]: PostAdminController->actionUpdate('1') #5 C:\wamp\www\yupe\framework\web\actions\CAction.php(107): ReflectionMethod->invokeArgs(Object(PostAdminController), Array) #6 C:\wamp\www\yupe\framework\web\actions\CInlineAction.php(48): CAction->runWithParamsInternal(Object(PostAdminController), Object(ReflectionMethod), Array) #7 C:\wamp\www\yupe\framework\web\CController.php(309): CInlineAction->runWithParams(Array) #8 C:\wamp\www\yupe\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction)) #9 C:\wamp\www\yupe\framework\web\filters\CFilter.php(41): CFilterChain->run() #10 C:\wamp\www\yupe\framework\web\filters\CFilterChain.php(131): CFilter->filter(Object(CFilterChain)) #11 C:\wamp\www\yupe\framework\web\CController.php(292): CFilterChain->run() #12 C:\wamp\www\yupe\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array) #13 C:\wamp\www\yupe\framework\web\CWebApplication.php(283): CController->run('update') #14 C:\wamp\www\yupe\framework\web\CWebApplication.php(142): CWebApplication->runController('blog/postAdmin/...') #15 C:\wamp\www\yupe\framework\base\CApplication.php(162): CWebApplication->processRequest() #16 C:\wamp\www\yupe\index.php(15): CApplication->run() #17 {main}
post
id
blog_id
create_user_id
update_user_id
create_date
update_date
slug
publish_date
title
quote
content
link
status
comment_status
access_type
keywords
description
REQUEST_URI=/yupe/index.php/en/blog/postAdmin/update/1 HTTP_REFERER=http://46.167.99.67/yupe/index.php/en/blog/postAdmin/update/1
The text was updated successfully, but these errors were encountered:
a9a3fd0
No branches or pull requests
При редактировании записи в блоге
blog/postAdmin/update
Вылетела ошибка
Кэш чистил)
2012/08/21 13:25:04 [error] [system.db.CDbCommand] CDbCommand::execute() failed: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'create_date' at row 1. The SQL statement executed was: UPDATE
post
SETid
=:yp0,blog_id
=:yp1,create_user_id
=:yp2,update_user_id
=:yp3,create_date
=:yp4,update_date
=:yp5,slug
=:yp6,publish_date
=:yp7,title
=:yp8,quote
=:yp9,content
=:yp10,link
=:yp11,status
=:yp12,comment_status
=:yp13,access_type
=:yp14,keywords
=:yp15,description
=:yp16 WHEREpost
.id
='1'.in C:\wamp\www\yupe\protected\modules\blog\controllers\PostAdminController.php (57)
in C:\wamp\www\yupe\index.php (15)
2012/08/21 13:25:04 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'create_date' at row 1. The SQL statement executed was: UPDATE
post
SETid
=:yp0,blog_id
=:yp1,create_user_id
=:yp2,update_user_id
=:yp3,create_date
=:yp4,update_date
=:yp5,slug
=:yp6,publish_date
=:yp7,title
=:yp8,quote
=:yp9,content
=:yp10,link
=:yp11,status
=:yp12,comment_status
=:yp13,access_type
=:yp14,keywords
=:yp15,description
=:yp16 WHEREpost
.id
='1'' in C:\wamp\www\yupe\framework\db\CDbCommand.php:354Stack trace:
#0 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(1685): CDbCommand->execute()
#1 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(1064): CActiveRecord->updateByPk('1', Array)
#2 C:\wamp\www\yupe\framework\db\ar\CActiveRecord.php(796): CActiveRecord->update(NULL)
#3 C:\wamp\www\yupe\protected\modules\blog\controllers\PostAdminController.php(57): CActiveRecord->save()
#4 [internal function]: PostAdminController->actionUpdate('1')
#5 C:\wamp\www\yupe\framework\web\actions\CAction.php(107): ReflectionMethod->invokeArgs(Object(PostAdminController), Array)
#6 C:\wamp\www\yupe\framework\web\actions\CInlineAction.php(48): CAction->runWithParamsInternal(Object(PostAdminController), Object(ReflectionMethod), Array)
#7 C:\wamp\www\yupe\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
#8 C:\wamp\www\yupe\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
#9 C:\wamp\www\yupe\framework\web\filters\CFilter.php(41): CFilterChain->run()
#10 C:\wamp\www\yupe\framework\web\filters\CFilterChain.php(131): CFilter->filter(Object(CFilterChain))
#11 C:\wamp\www\yupe\framework\web\CController.php(292): CFilterChain->run()
#12 C:\wamp\www\yupe\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
#13 C:\wamp\www\yupe\framework\web\CWebApplication.php(283): CController->run('update')
#14 C:\wamp\www\yupe\framework\web\CWebApplication.php(142): CWebApplication->runController('blog/postAdmin/...')
#15 C:\wamp\www\yupe\framework\base\CApplication.php(162): CWebApplication->processRequest()
#16 C:\wamp\www\yupe\index.php(15): CApplication->run()
#17 {main}
REQUEST_URI=/yupe/index.php/en/blog/postAdmin/update/1
HTTP_REFERER=http://46.167.99.67/yupe/index.php/en/blog/postAdmin/update/1
The text was updated successfully, but these errors were encountered: