CDbException

CDbCommand konnte das SQL-Statement nicht ausführen: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'dlCount' at row 1. The SQL statement executed was: UPDATE `dlink` SET `dlID`=:yp0, `dlHash`=:yp1, `dlPID`=:yp2, `dlAction`=:yp3, `dlCID`=:yp4, `dlUID`=:yp5, `dlFirsttime`=:yp6, `dlLasttime`=:yp7, `dlCreated`=:yp8, `dlCount`=:yp9 WHERE `dlink`.`dlID`='17088'

/home/httpd/vhosts/marketing-boerse.de/20240318-153510/yii-1.1.29.f89b76/framework/yiilite.php(9676)

9664             return $n;
9665         }
9666         catch(Exception $e)
9667         {
9668             if($this->_connection->enableProfiling)
9669                 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute');
9670             $errorInfo=$e instanceof PDOException ? $e->errorInfo : null;
9671             $message=$e->getMessage();
9672             Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.',
9673                 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
9674             if(YII_DEBUG)
9675                 $message.='. The SQL statement executed was: '.$this->getText().$par;
9676             throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
9677                 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
9678         }
9679     }
9680     public function query($params=array())
9681     {
9682         return $this->queryInternal('',0,$params);
9683     }
9684     public function queryAll($fetchAssociative=true,$params=array())
9685     {
9686         return $this->queryInternal('fetchAll',$fetchAssociative ? $this->_fetchMode : PDO::FETCH_NUM, $params);
9687     }
9688     public function queryRow($fetchAssociative=true,$params=array())

Stack Trace

#3
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/models/Dlink.php(133): CActiveRecord->save()
128         $now = date('Y-m-d H:i:s');
129         $this->countUp();
130         if ($this->dlFirsttime == '0000-00-00 00:00:00')
131             $this->setFirsttime($now);
132         $this->setLasttime($now);
133         $this->save();
134     }
135     
136     public function countUp()
137     {
138         $this->dlCount = $this->dlCount + 1;        
#4
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/controllers/SiteController.php(1582): Dlink->newAccess()
1577         Yii::app()->getRequest()->setHostInfo('http://' . $portal->pBaseHostname);
1578 
1579         $url = Yii::app()->createAbsoluteUrl($dlink->dlAction, array('hash' => $hash, 'cid' => $dlink->dlCID));
1580         Yii::app()->getRequest()->setHostInfo($tmp);
1581 
1582         $dlink->newAccess();
1583 
1584         $this->redirect($url);
1585     }
1586 
1587     public function actionGetfile($fid) {
#19
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/maboyii/index.php(96): CApplication->run()
091 defined('YII_DEBUG') or define('YII_DEBUG',true);
092 // specify how many levels of call stack should be shown in each log message
093 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
094 
095 require_once($yii);
096 Yii::createWebApplication($config)->run();
097 
098 //*
099   if ((!empty(Yii::app()->params['matomo']['id']))&&($_SERVER['REQUEST_URI'] != '/statistics/increment')) {
100     set_include_path(get_include_path() . PATH_SEPARATOR . '../protected/vendors/matomo-php-client/');
101     require_once('../protected/vendors/matomo-php-client/MatomoTracker.php');
2024-03-29 11:59:24 nginx/1.18.0 Yii Framework/1.1.29