CDbException

CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/MYo03fZW' (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`, `productImageGeneral`.`id` AS `t2_c0`, `productImageGeneral`.`product_id` AS `t2_c1`, `productImageGeneral`.`image` AS `t2_c2`, `productImageGeneral`.`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`, `productWinner`.`id` AS `t4_c0`, `productWinner`.`user_id` AS `t4_c1`, `productWinner`.`product_id` AS `t4_c2`, `productWinner`.`block` AS `t4_c3`, `productWinner`.`buy_price` AS `t4_c4`, `productWinner`.`pay` AS `t4_c5`, `productWinner`.`pay_price` AS `t4_c6`, `productWinner`.`delivery_price` AS `t4_c7` FROM `product` `t` LEFT OUTER JOIN `product_label` `productLabel` ON (`productLabel`.`product_id`=`t`.`id`) LEFT OUTER JOIN `product_image` `productImageGeneral` ON (`productImageGeneral`.`product_id`=`t`.`id`) AND (general_image = 1) LEFT OUTER JOIN `product_price` `productPrice` ON (`productPrice`.`product_id`=`t`.`id`) LEFT OUTER JOIN `winners` `productWinner` ON (`productWinner`.`product_id`=`t`.`id`) WHERE (t.due_date < :now) AND (productLabel.language_id =:languageId AND type = 1) ORDER BY t.due_date DESC LIMIT 16 OFFSET 48

/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

#12
+
 /var/www/html/protected/views/product/sold.php(56): CBaseController->widget("zii.widgets.SimpleListView", array("dataProvider" => CActiveDataProvider, "itemView" => "_view_sold", "ajaxUpdate" => "false", "template" => "<div class="row"> <div class="col-md-12 col-sm-12"><div class="c...", ...), false, true)
51                                     'nextPageLabel'        => '>',
52                                     'lastPageLabel'        => '>>',
53                                     'selectedPageCssClass' => 'active disabled',
54                                 ),
55                                 'htmlOptions'  => array(),
56                             ), false, true); ?>
57                         </div>
58                     </div>
59                 </div>
60             </div>
61         </div>
#17
+
 /var/www/html/protected/controllers/ProductController.php(721): CController->render("sold", array("model" => CActiveDataProvider, "banner" => array(array("id" => "22", "image_name" => "e7cb2c075d15ce7c6de5b1239a107a8e.png", "status" => "1", "order_sort" => "0"), array("id" => "25", "image_name" => "b64da82ab9361a51ffb416ea05569bc6.jpg", "status" => "1", "order_sort" => "1"), array("id" => "26", "image_name" => "b3c94fd7fd422748c4e0d62df2c502d6.png", "status" => "1", "order_sort" => "2"), array("id" => "27", "image_name" => "3aec9def7b6f889027577f2040d860c9.png", "status" => "1", "order_sort" => "3"), ...), "side_bars1" => array(), "side_bars2" => array()))
716 
717             $this->render('sold', array(
718                 'model' => $simpleDataProvider,
719                 'banner' => $banner,
720                 'side_bars1' => $side_bars1,
721                 'side_bars2' => $side_bars2
722             ));
723             die;
724         }
725 
726         public function actionNewProducts() {
#25
+
 /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-28 18:59:23 Apache/2.4.18 (Ubuntu) Yii Framework/1.1.16