Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resolved Reset Password
#1
Hi. 
Reset password don't work... can anyone help me?

Thanks.
Francesco


exception 'CDbException' with message 'CDbCommand ha riportato un errore nell'esecuzione della query SQL: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'last_upd_by' cannot be null' in E:\wamp64\www\TMSCA30\framework\db\CDbCommand.php:358

Stack trace:
#0 E:\wamp64\www\TMSCA30\framework\db\ar\CActiveRecord.php(1753): CDbCommand->execute()
#1 E:\wamp64\www\TMSCA30\framework\db\ar\CActiveRecord.php(1127): CActiveRecord->updateByPk('1', Array)
#2 E:\wamp64\www\TMSCA30\framework\db\ar\CActiveRecord.php(809): CActiveRecord->update(NULL)
#3 E:\wamp64\www\TMSCA30\protected\controllers\UserController.php(249): CActiveRecord->save()
#4 E:\wamp64\www\TMSCA30\framework\web\actions\CInlineAction.php(49): UserController->actionResetPassword()
#5 E:\wamp64\www\TMSCA30\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#6 E:\wamp64\www\TMSCA30\framework\web\filters\CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#7 E:\wamp64\www\TMSCA30\framework\web\filters\CFilter.php(40): CFilterChain->run()
#8 E:\wamp64\www\TMSCA30\framework\web\CController.php(1145): CFilter->filter(Object(CFilterChain))
#9 E:\wamp64\www\TMSCA30\framework\web\filters\CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))
#10 E:\wamp64\www\TMSCA30\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#11 E:\wamp64\www\TMSCA30\framework\web\CController.php(291): CFilterChain->run()
#12 E:\wamp64\www\TMSCA30\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#13 E:\wamp64\www\TMSCA30\framework\web\CWebApplication.php(282): CController->run('resetpassword')
#14 E:\wamp64\www\TMSCA30\framework\web\CWebApplication.php(141): CWebApplication->runController('user/resetpassw...')
#15 E:\wamp64\www\TMSCA30\framework\base\CApplication.php(185): CWebApplication->processRequest()
#16 E:\wamp64\www\TMSCA30\index.php(22): CApplication->run()
#17 {main}
REQUEST_URI=/TMSCA30/user/resetpassword
HTTP_REFERER=http://localhost/TMSCA30/user/resetpassword
---
Reply
#2
Hi Francesco,
Thank you for your report, this issue will be fixed in next MyT release.

Anyway as workaround, attached you can found the modified file, please upload it at path: /<your myt installation>/protected/behaviors/



.php   ETimestampBehavior.php (Size: 7.89 KB / Downloads: 3)
Reply
#3
(08-19-2016, 03:35 PM)Paolo Wrote: Hi Francesco,
Thank you for your report, this issue will be fixed in next MyT release.

Anyway as workaround, attached you can found the modified file, please upload it at path: /<your myt installation>/protected/behaviors/

Ok, thanks! Workaround is ok.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)