CDbException

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/MY25Psij' (Errcode: 28 - No space left on device). The SQL statement executed was: SELECT `t`.`id` AS `t0_c0`, `t`.`category_id` AS `t0_c1`, `t`.`owner_id` AS `t0_c2`, `t`.`lot` AS `t0_c3`, `t`.`status` AS `t0_c4`, `t`.`view_counter` AS `t0_c5`, `t`.`meta_keyword` AS `t0_c6`, `t`.`created_date` AS `t0_c7`, `t`.`due_date` AS `t0_c8`, `t`.`shop_id` AS `t0_c9`, `t`.`sales` AS `t0_c10`, `t`.`winner` AS `t0_c11`, `t`.`not_delivery` AS `t0_c12`, `t`.`email_delivery` AS `t0_c13`, `t`.`weight` AS `t0_c14`, `t`.`paid` AS `t0_c15`, `t`.`type` AS `t0_c16`, `t`.`quantity` AS `t0_c17`, `t`.`buy_now_price` AS `t0_c18`, `productLabel`.`id` AS `t1_c0`, `productLabel`.`product_id` AS `t1_c1`, `productLabel`.`language_id` AS `t1_c2`, `productLabel`.`title` AS `t1_c3`, `productLabel`.`description` AS `t1_c4`, `productLabel`.`meta_description` AS `t1_c5`, `productImage`.`id` AS `t2_c0`, `productImage`.`product_id` AS `t2_c1`, `productImage`.`image` AS `t2_c2`, `productImage`.`general_image` AS `t2_c3`, `productPrice`.`id` AS `t3_c0`, `productPrice`.`product_id` AS `t3_c1`, `productPrice`.`price` AS `t3_c2`, `productPrice`.`market_price` AS `t3_c3`, `productPrice`.`min_rate` AS `t3_c4`, `productPrice`.`max_rate` AS `t3_c5`, `productPrice`.`participation_fee` AS `t3_c6`, `productPrice`.`weight` AS `t3_c7`, `productPrice`.`limit_price` AS `t3_c8`, `productPrice`.`limit_price_procent` AS `t3_c9`, `productOwner`.`id` AS `t4_c0`, `productOwner`.`name` AS `t4_c1`, `productOwner`.`description` AS `t4_c2`, `productOwner`.`address` AS `t4_c3`, `productOwner`.`phone` AS `t4_c4`, `productOwner`.`logo` AS `t4_c5`, `productLastThreeBid`.`id` AS `t5_c0`, `productLastThreeBid`.`user_id` AS `t5_c1`, `productLastThreeBid`.`product_id` AS `t5_c2`, `productLastThreeBid`.`bid` AS `t5_c3`, `productLastThreeBid`.`created_date` AS `t5_c4`, `productLastThreeBid`.`total_price` AS `t5_c5`, `productLastThreeBid`.`new_price_not` AS `t5_c6`, `productWithCategory`.`id` AS `t6_c0`, `productWithCategory`.`parent_id` AS `t6_c1`, `productWithCategory`.`created_date` AS `t6_c2`, `productWithCategory`.`status` AS `t6_c3`, `productWithCategory`.`sort_order` AS `t6_c4`, `productWithCategory`.`view_counter` AS `t6_c5`, `productWithCategory`.`meta_keyword` AS `t6_c6`, `productWithCategory`.`meta_description` AS `t6_c7`, `productWithCategory`.`url` AS `t6_c8` FROM `product` `t` LEFT OUTER JOIN `product_label` `productLabel` ON (`productLabel`.`product_id`=`t`.`id`) LEFT OUTER JOIN `product_image` `productImage` ON (`productImage`.`product_id`=`t`.`id`) LEFT OUTER JOIN `product_price` `productPrice` ON (`productPrice`.`product_id`=`t`.`id`) LEFT OUTER JOIN `product_owner` `productOwner` ON (`t`.`owner_id`=`productOwner`.`id`) LEFT OUTER JOIN `bids` `productLastThreeBid` ON (`productLastThreeBid`.`product_id`=`t`.`id`) LEFT OUTER JOIN `category` `productWithCategory` ON (`t`.`category_id`=`productWithCategory`.`id`) WHERE (t.id = :id AND productLabel.language_id =:languageId) ORDER BY productLastThreeBid.id DESC

/var/www/html/yii/framework/db/CDbCommand.php(543)

531         {
532             if($this->_connection->enableProfiling)
533                 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query');
534 
535             $errorInfo=$e instanceof PDOException ? $e->errorInfo : null;
536             $message=$e->getMessage();
537             Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.',
538                 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
539 
540             if(YII_DEBUG)
541                 $message.='. The SQL statement executed was: '.$this->getText().$par;
542 
543             throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
544                 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
545         }
546     }
547 
548     /**
549      * Builds a SQL SELECT statement from the given query specification.
550      * @param array $query the query specification in name-value pairs. The following
551      * query options are supported: {@link select}, {@link distinct}, {@link from},
552      * {@link where}, {@link join}, {@link group}, {@link having}, {@link order},
553      * {@link limit}, {@link offset} and {@link union}.
554      * @throws CDbException if "from" key is not present in given query parameter
555      * @return string the SQL statement

Stack Trace

#6
+
 /var/www/html/protected/controllers/ProductController.php(186): CActiveRecord->find(CDbCriteria)
181             );
182             $criteria->select = array('*');
183             $criteria->condition = "t.id = :id AND productLabel.language_id =:languageId";
184             $criteria->params = array(':id' => intval($id), ':languageId' => $this->langId);
185 
186             $productData = Product::model()->find($criteria);
187 
188             $max_rate_for_this_user = '';
189             $countries = Countries::model()->findAllByAttributes(array('language_id' => $this->langId));
190 
191             if (!empty($productData->productLastThreeBid)) {
#16
+
 /var/www/html/index.php(60): CApplication->run()
55 // Include Yii framework
56     require_once( $yii );
57 
58 // Run application
59     $config = CMap::mergeArray( $configMain, $configServer );
60     Yii::createWebApplication( $config )->run();
2024-03-19 15:06:32 Apache/2.4.18 (Ubuntu) Yii Framework/1.1.16