anhkiet2507

Fshare bug

Jan 28th, 2018
27,676
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CDbException
  2. CDbCommand không thể thi hành câu truy vấn SQL: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '' for column 'birthday' at row 1. The SQL statement executed was: INSERT INTO `users` (`level`, `password`, `email`, `joindate`, `auth`, `totalpoints`, `lastvisit`, `activationkey`, `expire_vip`, `last_active`, `transaction_id`, `first_active`, `phone`, `invitor`, `partner_id`, `traffic`, `traffic_used`, `invite_active_type`, `date_telesale_prepaid`, `status_telesale_prepaid`, `webspace`, `webspace_used`, `webspace_secure`, `webspace_secure_used`, `bandwidth`, `bandwidth_used`, `clear_session_time`, `amount`, `setting`, `fb_liked_count_dl`, `status_tpb`, `downloadcount`, `uploadcount`, `notificaticate`, `fellow`, `dl_time_avail`, `name`, `birthday`, `gender`, `address`, `occupation`, `city`, `country`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, :yp7, :yp8, :yp9, :yp10, :yp11, :yp12, :yp13, :yp14, :yp15, :yp16, :yp17, :yp18, :yp19, :yp20, :yp21, :yp22, :yp23, :yp24, :yp25, :yp26, :yp27, :yp28, :yp29, :yp30, :yp31, :yp32, :yp33, :yp34, :yp35, :yp36, :yp37, :yp38, :yp39, :yp40, :yp41, :yp42)
  3.  
  4. /webapps/yii-1.1.17.467ff50/framework/db/CDbCommand.php(358)
  5.  
  6. 346 {
  7. 347 if($this->_connection->enableProfiling)
  8. 348 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute');
  9. 349
  10. 350 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null;
  11. 351 $message=$e->getMessage();
  12. 352 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.',
  13. 353 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
  14. 354
  15. 355 if(YII_DEBUG)
  16. 356 $message.='. The SQL statement executed was: '.$this->getText().$par;
  17. 357
  18. 358 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
  19. 359 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
  20. 360 }
  21. 361 }
  22. 362
  23. 363 /**
  24. 364 * Executes the SQL statement and returns query result.
  25. 365 * This method is for executing an SQL query that returns result set.
  26. 366 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative
  27. 367 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing
  28. 368 * them in this way can improve the performance. Note that if you pass parameters in this way,
  29. 369 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa.
  30. 370 * Please also note that all values are treated as strings in this case, if you need them to be handled as
  31. Stack Trace
  32. #0
  33. + /webapps/yii-1.1.17.467ff50/framework/db/ar/CActiveRecord.php(1080): CDbCommand->execute()
  34. #1
  35. + /webapps/yii-1.1.17.467ff50/framework/db/ar/CActiveRecord.php(809): CActiveRecord->insert(null)
  36. #2
  37. – /webapps/fshare/frontend/protected/controllers/SiteController.php(315): CActiveRecord->save(false)
  38. 310 $userFriendModel->modified = time();
  39. 311 $userFriendModel->status = $userFriendModel::STATUS_UNACTIVATED;
  40. 312 $usermodel->invitor = $invitor;
  41. 313 $userFriendModel->save();
  42. 314 }
  43. 315 $usermodel->save(false);
  44. 316 $transaction->commit();
  45. 317 } catch (Exception $e) {
  46. 318 $transaction->rollback();
  47. 319 throw $e;
  48. 320 }
  49. #3
  50. unknown(0): SiteController->actionSignup("", "")
  51. #4
  52. + /webapps/yii-1.1.17.467ff50/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SiteController, array("", ""))
  53. #5
  54. + /webapps/yii-1.1.17.467ff50/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array())
  55. #6
  56. + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(308): CInlineAction->runWithParams(array())
  57. #7
  58. + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction)
  59. #8
  60. + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilter.php(40): CFilterChain->run()
  61. #9
  62. + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(1145): CFilter->filter(CFilterChain)
  63. #10
  64. + /webapps/yii-1.1.17.467ff50/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain)
  65. #11
  66. + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain)
  67. #12
  68. + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(291): CFilterChain->run()
  69. #13
  70. + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl"))
  71. #14
  72. + /webapps/yii-1.1.17.467ff50/framework/web/CWebApplication.php(282): CController->run("signup")
  73. #15
  74. + /webapps/yii-1.1.17.467ff50/framework/web/CWebApplication.php(141): CWebApplication->runController("site/signup")
  75. #16
  76. + /webapps/yii-1.1.17.467ff50/framework/base/CApplication.php(185): CWebApplication->processRequest()
  77. #17
  78. – /webapps/fshare/frontend/index.php(14): CApplication->run()
  79. 09 //die('ok');
  80. 10 // remove the following line when in production mode
  81. 11 defined('YII_DEBUG') or define('YII_DEBUG',true);
  82. 12
  83. 13 require_once($yii);
  84. 14 Yii::createWebApplication($config)->run();
  85. 15 ?>
  86. 2018-01-28 16:59:19 nginx/1.8.0 Yii Framework/1.1.17
RAW Paste Data