Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CDbException
- 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)
- /webapps/yii-1.1.17.467ff50/framework/db/CDbCommand.php(358)
- 346 {
- 347 if($this->_connection->enableProfiling)
- 348 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute');
- 349
- 350 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null;
- 351 $message=$e->getMessage();
- 352 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.',
- 353 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
- 354
- 355 if(YII_DEBUG)
- 356 $message.='. The SQL statement executed was: '.$this->getText().$par;
- 357
- 358 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
- 359 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
- 360 }
- 361 }
- 362
- 363 /**
- 364 * Executes the SQL statement and returns query result.
- 365 * This method is for executing an SQL query that returns result set.
- 366 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative
- 367 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing
- 368 * them in this way can improve the performance. Note that if you pass parameters in this way,
- 369 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa.
- 370 * Please also note that all values are treated as strings in this case, if you need them to be handled as
- Stack Trace
- #0
- + /webapps/yii-1.1.17.467ff50/framework/db/ar/CActiveRecord.php(1080): CDbCommand->execute()
- #1
- + /webapps/yii-1.1.17.467ff50/framework/db/ar/CActiveRecord.php(809): CActiveRecord->insert(null)
- #2
- – /webapps/fshare/frontend/protected/controllers/SiteController.php(315): CActiveRecord->save(false)
- 310 $userFriendModel->modified = time();
- 311 $userFriendModel->status = $userFriendModel::STATUS_UNACTIVATED;
- 312 $usermodel->invitor = $invitor;
- 313 $userFriendModel->save();
- 314 }
- 315 $usermodel->save(false);
- 316 $transaction->commit();
- 317 } catch (Exception $e) {
- 318 $transaction->rollback();
- 319 throw $e;
- 320 }
- #3
- unknown(0): SiteController->actionSignup("", "")
- #4
- + /webapps/yii-1.1.17.467ff50/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SiteController, array("", ""))
- #5
- + /webapps/yii-1.1.17.467ff50/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array())
- #6
- + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(308): CInlineAction->runWithParams(array())
- #7
- + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction)
- #8
- + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilter.php(40): CFilterChain->run()
- #9
- + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(1145): CFilter->filter(CFilterChain)
- #10
- + /webapps/yii-1.1.17.467ff50/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain)
- #11
- + /webapps/yii-1.1.17.467ff50/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain)
- #12
- + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(291): CFilterChain->run()
- #13
- + /webapps/yii-1.1.17.467ff50/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl"))
- #14
- + /webapps/yii-1.1.17.467ff50/framework/web/CWebApplication.php(282): CController->run("signup")
- #15
- + /webapps/yii-1.1.17.467ff50/framework/web/CWebApplication.php(141): CWebApplication->runController("site/signup")
- #16
- + /webapps/yii-1.1.17.467ff50/framework/base/CApplication.php(185): CWebApplication->processRequest()
- #17
- – /webapps/fshare/frontend/index.php(14): CApplication->run()
- 09 //die('ok');
- 10 // remove the following line when in production mode
- 11 defined('YII_DEBUG') or define('YII_DEBUG',true);
- 12
- 13 require_once($yii);
- 14 Yii::createWebApplication($config)->run();
- 15 ?>
- 2018-01-28 16:59:19 nginx/1.8.0 Yii Framework/1.1.17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement