DANH MỤC SẢN PHẨM
Notice (8): Undefined variable: a_product_categories_s [APP/View/Elements/frontend/h_product_category.ctp, line 16]Code Context<div class="box_content row" ><?php echo $this->OnewebVn->productCategory2($a_product_categories_s,0)?>$viewFile = '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/View/Elements/frontend/h_product_category.ctp' $dataForView = array( 'code' => (int) 500, 'url' => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents', 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 460 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ), 'lang' => 'vi', 'url_current_encode' => '822837c2faca475e1546b4d8270077ce', 'oneweb_search' => array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array( [maximum depth reached] ) ), 'post' => array( 'enable' => false, 'category' => false ) ), 'oneweb_counter' => array( 'enable' => false, 'online' => false, 'yesterday' => false, 'today' => false, 'week' => false, 'month' => false, 'year' => false, 'total' => false ), 'oneweb_web' => array( 'layout' => 'template1', 'column_left' => false, 'column_right' => true, 'mobile' => true, 'logo' => 'logo.png', 'social' => false, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'tooltip_effect', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => false, 'comment' => false, 'help' => '' ), 'oneweb_testimonial' => array( 'path' => '../webroot/img/images/testimonials', 'size' => array( (int) 0 => (int) 130, (int) 1 => (int) 130 ), 'enable' => false ), 'oneweb_product' => array( 'path' => array( 'product' => '../webroot/img/images/products', 'category' => '../webroot/img/images/product_categories', 'maker' => '../webroot/img/images/product_makers', 'shipping' => '../webroot/img/images/shipping_methods', 'copyr_img' => '../webroot/img' ), 'size' => array( 'product' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'payment' => array( [maximum depth reached] ), 'shipping' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ), 'maker' => array( [maximum depth reached] ), 'maker_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'code' => true, 'images' => true, 'quantity' => true, 'unit' => array( 'Cái' => 'Cái', 'Chiếc' => 'Chiếc', 'Con' => 'Con', 'Túi' => 'Túi', 'Hộp' => 'Hộp', 'Kg' => 'Kg', 'Yến' => 'Yến', 'Tạ' => 'Tạ', 'Tấn' => 'Tấn', 'Bức' => 'Bức' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => true, 'tax' => false, 'copyr_img' => false, 'rate' => true, 'currency' => false, 'payment' => true, 'shipping' => true, 'discount' => true, 'promotion' => true, 'option' => true, 'tag' => false, 'order' => false, 'cart_button' => false, 'comment_face' => false, 'comment_google' => false, 'pro_child' => true, 'multi_box' => false, 'category_banner' => true, 'category_image' => true, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array( (int) 3 => 'MODULE LED', (int) 5 => 'HỆ THỐNG ĐIỀU KHIỂN', (int) 6 => 'NGUỒN DC', (int) 7 => 'Sản phẩm Hot', (int) 8 => 'Sản phẩm hot 4' ) ), 'oneweb_post' => array( 'path' => array( 'post' => '../webroot/img/images/posts', 'category' => '../webroot/img/images/post_categories' ), 'size' => array( 'post' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'category_banner' => true, 'category_image' => true, 'category_description' => true, 'tag' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'post_child' => true, 'display' => array( (int) 1 => 'Tin mới', (int) 5 => 'Tin mới', (int) 6 => 'Tin khuyến mãi' ), 'category_position' => array( (int) 1 => 'Menu vị trí 1', (int) 2 => 'Menu vị trí 2', (int) 3 => 'Menu vị trí 3', (int) 4 => 'Menu vị trí 4', (int) 5 => 'Menu vị trí 5', (int) 6 => 'Menu vị trí 6', (int) 7 => 'Menu vị trí 7' ) ), 'oneweb_poll' => array( 'enable' => false ), 'oneweb_information' => array( 'path' => '../webroot/img/images/information', 'enable' => true, 'position' => array( (int) 1 => 'Menu vi tri 1', (int) 2 => 'Menu vi tri 2', (int) 3 => 'Menu vi tri 3', (int) 4 => 'Menu vi tri 4', (int) 5 => 'Menu vi tri 5', (int) 6 => 'Menu vi tri 6' ) ), 'oneweb_faq' => array( 'enable' => false ), 'oneweb_contact' => array( 'enable' => true ), 'oneweb_banner' => array( 'path' => '../webroot/img/images/banners', 'size' => array( (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ' ), 'display' => array( (int) 2 => 'Slideshow', (int) 4 => 'Quảng cáo cột trái', (int) 5 => 'Quảng cáo cột phải', (int) 6 => 'Đối tác cột trái', (int) 7 => 'Đối tác cột phải', (int) 8 => 'Popup' ) ), 'oneweb_support' => array( 'enable' => false, 'livechat' => false ), 'oneweb_seo' => true, 'oneweb_notifice' => null, 'oneweb_media' => array( 'path' => array( 'gallery' => '../webroot/img/images/galleries', 'document' => '../webroot/img/files/documents' ), 'size' => array( 'gallery' => array( [maximum depth reached] ) ), 'video' => array( 'enable' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ), 'document' => array( 'enable' => false, 'display' => array( [maximum depth reached] ) ), 'gallery' => array( 'enable' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ) ), 'oneweb_language' => array( 'vi' => 'Tiếng Việt' ), 'oneweb_path' => null, 'oneweb_size' => null, 'oneweb_map' => array( 'enable' => true, 'contact' => true ), 'oneweb_sitemap' => array( 'xml' => true, 'html' => false ), 'oneweb_newsletter' => array( 'enable' => false ), 'oneweb_member' => array( 'enable' => false, 'message' => false ), 'oneweb_country' => null, 'content_for_layout' => '<h2><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-trace').style.display = (document.getElementById('cakeErr69feb18a70e1e-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (512)</a>: _cake_core_ cache was unable to write 'cake_dev_vi' to File cache [<b>APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php</b>, line <b>325</b>]<div id="cakeErr69feb18a70e1e-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-code').style.display = (document.getElementById('cakeErr69feb18a70e1e-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-context').style.display = (document.getElementById('cakeErr69feb18a70e1e-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr69feb18a70e1e-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">), </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> E_USER_WARNING </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">); </span></span></code></span></pre><pre id="cakeErr69feb18a70e1e-context" class="cake-context" style="display: none;">$key = 'cake_dev_vi' $value = array( 'LC_MESSAGES' => array() ) $config = '_cake_core_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = false</pre><pre class="stack-trace">Cache::write() - APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325 I18n::translate() - APP/cakephp-2.4.2/lib/Cake/I18n/I18n.php, line 177 __d - APP/cakephp-2.4.2/lib/Cake/basics.php, line 615 include - APP/cakephp-2.4.2/lib/Cake/View/Errors/pdo_error.ctp, line 20 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 462 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/cakephp-2.4.2/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??</pre></div></pre>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p> <p class="notice"> <strong>SQL Query: </strong> SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs` </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 460</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) { </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">; </span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/Database/Mysql.php line 333</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">; </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) { </span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 1353</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(Config)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 2293</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $allFields </span><span style="color: #007700">= empty(</span><span style="color: #0000BB">$fields</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$allFields</span><span style="color: #007700">) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">()); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (!</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$fields</span><span style="color: #007700">)) { </span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 1047</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->fields(Config)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $bypass </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fields</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fields</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2880</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->read(Config, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">(); </span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2852</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 614</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $lang </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'config_'</span><span style="color: #007700">.</span><span style="color: #0000BB">$prefix</span><span style="color: #007700">.</span><span style="color: #DD0000">'_'</span><span style="color: #007700">.</span><span style="color: #0000BB">$lang</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!</span><span style="color: #0000BB">$result</span><span style="color: #007700">){</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</span><span style="color: #007700">,array(</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'name like'</span><span style="color: #007700">=></span><span style="color: #0000BB">$prefix</span><span style="color: #007700">.</span><span style="color: #DD0000">'_%'</span><span style="color: #007700">)));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'name like' => 'site_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 246</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->_getConfig(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">//CONFIG - SITE</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_site_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'site'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $a_site_contact </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'contact'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'site'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 127</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->_beforeFilterFrontend()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$a_params</span><span style="color: #007700">[</span><span style="color: #DD0000">'admin'</span><span style="color: #007700">])) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">= </span><span style="color: #DD0000">'frontend/index'</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_beforeFilterFrontend</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">APP/Controller/AppController.php line 104</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">AppController->__handleAuthentication()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> date_default_timezone_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'Asia/Ho_Chi_Minh'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">__handleAuthentication</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// }</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/cakephp-2.4.2/lib/Cake/Event/CakeEventManager.php line 248</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(ProductsController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php line 674</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">)); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeResponse $response</span><span style="color: #007700">) { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">(); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">(); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(ProductsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">)); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) { </span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'frontend/template1/index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Oneweb => object(OnewebComponent) {} Upload => object(UploadComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit_admin => (int) 50 [private] limit => (int) 64 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">)))</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $code = (int) 500 $url = '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' $error = object(PDOException) { errorInfo => array( (int) 0 => 'HY000', (int) 1 => (int) 1021, (int) 2 => 'Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 460 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $lang = 'vi' $url_current_encode = '822837c2faca475e1546b4d8270077ce' $oneweb_search = array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array( (int) 0 => '0-500000', (int) 1 => '500000-2000000', (int) 2 => '2000000-5000000', (int) 3 => '5000000' ) ), 'post' => array( 'enable' => false, 'category' => false ) ) $oneweb_counter = array( 'enable' => false, 'online' => false, 'yesterday' => false, 'today' => false, 'week' => false, 'month' => false, 'year' => false, 'total' => false ) $oneweb_web = array( 'layout' => 'template1', 'column_left' => false, 'column_right' => true, 'mobile' => true, 'logo' => 'logo.png', 'social' => false, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'tooltip_effect', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => false, 'comment' => false, 'help' => '' ) $oneweb_testimonial = array( 'path' => '../webroot/img/images/testimonials', 'size' => array( (int) 0 => (int) 130, (int) 1 => (int) 130 ), 'enable' => false ) $oneweb_product = array( 'path' => array( 'product' => '../webroot/img/images/products', 'category' => '../webroot/img/images/product_categories', 'maker' => '../webroot/img/images/product_makers', 'shipping' => '../webroot/img/images/shipping_methods', 'copyr_img' => '../webroot/img' ), 'size' => array( 'product' => array( (int) 0 => (int) 600, (int) 1 => (int) 600 ), 'category' => array( (int) 0 => (int) 70, (int) 1 => (int) 70 ), 'payment' => array( (int) 0 => (int) 100, (int) 1 => (int) 100 ), 'shipping' => array( (int) 0 => (int) 100, (int) 1 => (int) 100 ), 'category_banner' => array( (int) 0 => (int) 218, (int) 1 => (int) 341 ), 'maker' => array( (int) 0 => (int) 35, (int) 1 => (int) 25 ), 'maker_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120 ) ), 'enable' => true, 'code' => true, 'images' => true, 'quantity' => true, 'unit' => array( 'Cái' => 'Cái', 'Chiếc' => 'Chiếc', 'Con' => 'Con', 'Túi' => 'Túi', 'Hộp' => 'Hộp', 'Kg' => 'Kg', 'Yến' => 'Yến', 'Tạ' => 'Tạ', 'Tấn' => 'Tấn', 'Bức' => 'Bức' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => true, 'tax' => false, 'copyr_img' => false, 'rate' => true, 'currency' => false, 'payment' => true, 'shipping' => true, 'discount' => true, 'promotion' => true, 'option' => true, 'tag' => false, 'order' => false, 'cart_button' => false, 'comment_face' => false, 'comment_google' => false, 'pro_child' => true, 'multi_box' => false, 'category_banner' => true, 'category_image' => true, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array( (int) 3 => 'MODULE LED', (int) 5 => 'HỆ THỐNG ĐIỀU KHIỂN', (int) 6 => 'NGUỒN DC', (int) 7 => 'Sản phẩm Hot', (int) 8 => 'Sản phẩm hot 4' ) ) $oneweb_post = array( 'path' => array( 'post' => '../webroot/img/images/posts', 'category' => '../webroot/img/images/post_categories' ), 'size' => array( 'post' => array( (int) 0 => (int) 600, (int) 1 => (int) 600 ), 'category' => array( (int) 0 => (int) 120, (int) 1 => (int) 100 ), 'category_banner' => array( (int) 0 => (int) 600, (int) 1 => (int) 120 ) ), 'enable' => true, 'category_banner' => true, 'category_image' => true, 'category_description' => true, 'tag' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'post_child' => true, 'display' => array( (int) 1 => 'Tin mới', (int) 5 => 'Tin mới', (int) 6 => 'Tin khuyến mãi' ), 'category_position' => array( (int) 1 => 'Menu vị trí 1', (int) 2 => 'Menu vị trí 2', (int) 3 => 'Menu vị trí 3', (int) 4 => 'Menu vị trí 4', (int) 5 => 'Menu vị trí 5', (int) 6 => 'Menu vị trí 6', (int) 7 => 'Menu vị trí 7' ) ) $oneweb_poll = array( 'enable' => false ) $oneweb_information = array( 'path' => '../webroot/img/images/information', 'enable' => true, 'position' => array( (int) 1 => 'Menu vi tri 1', (int) 2 => 'Menu vi tri 2', (int) 3 => 'Menu vi tri 3', (int) 4 => 'Menu vi tri 4', (int) 5 => 'Menu vi tri 5', (int) 6 => 'Menu vi tri 6' ) ) $oneweb_faq = array( 'enable' => false ) $oneweb_contact = array( 'enable' => true ) $oneweb_banner = array( 'path' => '../webroot/img/images/banners', 'size' => array( (int) 1 => array( (int) 0 => (int) 1140, (int) 1 => (int) 150 ), (int) 2 => array( (int) 0 => (int) 593, (int) 1 => (int) 321 ), (int) 3 => array( (int) 0 => (int) 180, (int) 1 => (int) 80 ), (int) 4 => array( (int) 0 => (int) 180, (int) 1 => 'n' ), (int) 5 => array( (int) 0 => (int) 180, (int) 1 => 'n' ), (int) 6 => array( (int) 0 => (int) 180, (int) 1 => 'n' ), (int) 7 => array( (int) 0 => (int) 180, (int) 1 => 'n' ), (int) 8 => array( (int) 0 => (int) 600, (int) 1 => 'n' ), (int) 9 => array( (int) 0 => (int) 160, (int) 1 => 'n' ), (int) 10 => array( (int) 0 => (int) 160, (int) 1 => 'n' ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ' ), 'display' => array( (int) 2 => 'Slideshow', (int) 4 => 'Quảng cáo cột trái', (int) 5 => 'Quảng cáo cột phải', (int) 6 => 'Đối tác cột trái', (int) 7 => 'Đối tác cột phải', (int) 8 => 'Popup' ) ) $oneweb_support = array( 'enable' => false, 'livechat' => false ) $oneweb_seo = true $oneweb_notifice = null $oneweb_media = array( 'path' => array( 'gallery' => '../webroot/img/images/galleries', 'document' => '../webroot/img/files/documents' ), 'size' => array( 'gallery' => array( (int) 0 => (int) 500, (int) 1 => (int) 400 ) ), 'video' => array( 'enable' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1' ) ), 'document' => array( 'enable' => false, 'display' => array( (int) 1 => 'Vị trí hiển thị 1' ) ), 'gallery' => array( 'enable' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1' ) ) ) $oneweb_language = array( 'vi' => 'Tiếng Việt' ) $oneweb_path = null $oneweb_size = null $oneweb_map = array( 'enable' => true, 'contact' => true ) $oneweb_sitemap = array( 'xml' => true, 'html' => false ) $oneweb_newsletter = array( 'enable' => false ) $oneweb_member = array( 'enable' => false, 'message' => false ) $oneweb_country = null $content_for_layout = '<h2><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-trace').style.display = (document.getElementById('cakeErr69feb18a70e1e-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (512)</a>: _cake_core_ cache was unable to write 'cake_dev_vi' to File cache [<b>APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php</b>, line <b>325</b>]<div id="cakeErr69feb18a70e1e-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-code').style.display = (document.getElementById('cakeErr69feb18a70e1e-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr69feb18a70e1e-context').style.display = (document.getElementById('cakeErr69feb18a70e1e-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr69feb18a70e1e-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">), </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> E_USER_WARNING </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">); </span></span></code></span></pre><pre id="cakeErr69feb18a70e1e-context" class="cake-context" style="display: none;">$key = 'cake_dev_vi' $value = array( 'LC_MESSAGES' => array() ) $config = '_cake_core_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = false</pre><pre class="stack-trace">Cache::write() - APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325 I18n::translate() - APP/cakephp-2.4.2/lib/Cake/I18n/I18n.php, line 177 __d - APP/cakephp-2.4.2/lib/Cake/basics.php, line 615 include - APP/cakephp-2.4.2/lib/Cake/View/Errors/pdo_error.ctp, line 20 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 462 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/cakephp-2.4.2/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??</pre></div></pre>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p> <p class="notice"> <strong>SQL Query: </strong> SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs` </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 460</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) { </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">; </span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/Database/Mysql.php line 333</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">; </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) { </span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 1353</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(Config)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 2293</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $allFields </span><span style="color: #007700">= empty(</span><span style="color: #0000BB">$fields</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$allFields</span><span style="color: #007700">) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">()); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (!</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$fields</span><span style="color: #007700">)) { </span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 1047</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->fields(Config)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $bypass </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fields</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fields</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2880</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->read(Config, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">(); </span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2852</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">; </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 614</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $lang </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'config_'</span><span style="color: #007700">.</span><span style="color: #0000BB">$prefix</span><span style="color: #007700">.</span><span style="color: #DD0000">'_'</span><span style="color: #007700">.</span><span style="color: #0000BB">$lang</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!</span><span style="color: #0000BB">$result</span><span style="color: #007700">){</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</span><span style="color: #007700">,array(</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'name like'</span><span style="color: #007700">=></span><span style="color: #0000BB">$prefix</span><span style="color: #007700">.</span><span style="color: #DD0000">'_%'</span><span style="color: #007700">)));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'name like' => 'site_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 246</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->_getConfig(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">//CONFIG - SITE</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_site_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'site'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $a_site_contact </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'contact'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'site'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 127</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->_beforeFilterFrontend()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$a_params</span><span style="color: #007700">[</span><span style="color: #DD0000">'admin'</span><span style="color: #007700">])) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">= </span><span style="color: #DD0000">'frontend/index'</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_beforeFilterFrontend</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">APP/Controller/AppController.php line 104</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">AppController->__handleAuthentication()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> date_default_timezone_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'Asia/Ho_Chi_Minh'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">__handleAuthentication</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// }</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/cakephp-2.4.2/lib/Cake/Event/CakeEventManager.php line 248</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(ProductsController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php line 674</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() { </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">)); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/ </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeResponse $response</span><span style="color: #007700">) { </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">(); </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">(); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(ProductsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">)); </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">); </span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) { </span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'frontend/template1/index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Oneweb => object(OnewebComponent) {} Upload => object(UploadComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit_admin => (int) 50 [private] limit => (int) 64 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 98</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">)))</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Elements/frontend/h_product_category.ctp, line 16 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 1191 View::element() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 408 include - APP/View/Elements/frontend/header.ctp, line 198 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 1191 View::element() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/template1/index.ctp, line 74 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 525 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 470 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264
Warning (2): Invalid argument supplied for foreach() [APP/View/Helper/OnewebVnHelper.php, line 82]Code Context$li_tabs = $tabs . $this->tab;$output = $tabs . '<ul class="dropdown-menu lever'.$level.'">';foreach ($data as $key => $val) {$data = null $level = (int) 0 $tabs = '' $li_tabs = '' $output = ' <ul class="dropdown-menu lever0">'OnewebVnHelper::productCategory2() - APP/View/Helper/OnewebVnHelper.php, line 82 include - APP/View/Elements/frontend/h_product_category.ctp, line 16 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 1191 View::element() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 408 include - APP/View/Elements/frontend/header.ctp, line 198 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 1191 View::element() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/template1/index.ctp, line 74 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 525 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 470 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275
Warning (512): oneweb_view cache was unable to write 'nav_822837c2faca475e1546b4d8270077ce_vi' to File cache [APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'nav_822837c2faca475e1546b4d8270077ce_vi' $value = ' <div class="" id="navbar"> <nav class="navbar" role="navigation"> <div class="clearfix"> <div class="collapse navbar-collapse momenu" id="navbar-collapse-1"> <ul class="nav navbar-nav"> <li><a href="/" title="Trang chủ">Trang chủ</a></li> <li class="last"><a href="/lienhe.html" title="Liên hệ" rel="nofollow">Liên hệ</a></li> </ul> <!-- end #navmenu --> </div> </div> </nav> <!-- end #bg_nav --> </div> <div id="myModalCart" class="modal fade ajaxcart" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">Giỏ hàng</h4> </div> <div id="view_cart" class="modal-body"> </div> <div class="modal-footer"> <a href="/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents" title="Tiếp tục mua hàng" class="btn btn-danger">Tiếp tục mua hàng</a> <a href="/order-info.html" class="btn btn-danger" title="Tiến hành thanh toán">Tiến hành thanh toán</a> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <link rel="stylesheet" type="text/css" href="/css/jquery/flugins/mmenu/jquery.mmenu.all.css" /> <script type="text/javascript" src="/js/jquery/flugins/mmenu/jquery.mmenu.all.min.js"></script> <script type="text/javascript"> $('.m_click').click(function(){ $( "#navbar-collapse-1 ul" ).removeClass( "dropdown-menu" ); $( "#navbar-collapse-1 li" ).removeClass( "dropdown-menu"); $( "#navbar-collapse-1 li" ).removeClass( "dropdown-menu dropdown-submenu"); $( ".nav .caret" ).removeClass(); $('.momenu').mmenu(); }); </script> ' $config = 'oneweb_view' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/tmp/cache/views/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325 include - APP/View/Elements/frontend/header.ctp, line 218 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 1191 View::element() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/template1/index.ctp, line 74 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 525 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 470 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/cakephp-2.4.2/lib/Cake/Error/ErrorHandler.php, line 122
- Trang chủ
Warning (512): _cake_core_ cache was unable to write 'cake_dev_vi' to File cache [APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325]Code Context ),
E_USER_WARNING
);
$key = 'cake_dev_vi'
$value = array(
'LC_MESSAGES' => array()
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'engine' => 'File',
'path' => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/tmp/cache/persistent/',
'serialize' => true,
'duration' => (int) 10,
'lock' => true,
'isWindows' => false,
'mask' => (int) 436,
'probability' => (int) 100,
'groups' => array()
)
$success = false
Cache::write() - APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325
I18n::translate() - APP/cakephp-2.4.2/lib/Cake/I18n/I18n.php, line 177
__d - APP/cakephp-2.4.2/lib/Cake/basics.php, line 615
include - APP/cakephp-2.4.2/lib/Cake/View/Errors/pdo_error.ctp, line 20
View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931
View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893
View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 462
Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952
ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275
ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264
ExceptionRenderer::render() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 177
ErrorHandler::handleException() - APP/cakephp-2.4.2/lib/Cake/Error/ErrorHandler.php, line 122
[main] - [internal], line ??
Database Error
Code Context
),E_USER_WARNING);
$key = 'cake_dev_vi' $value = array( 'LC_MESSAGES' => array() ) $config = '_cake_core_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/i33wdogy/domains/ledbachkhoa.vn/public_html/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = false
Cache::write() - APP/cakephp-2.4.2/lib/Cake/Cache/Cache.php, line 325 I18n::translate() - APP/cakephp-2.4.2/lib/Cake/I18n/I18n.php, line 177 __d - APP/cakephp-2.4.2/lib/Cake/basics.php, line 615 include - APP/cakephp-2.4.2/lib/Cake/View/Errors/pdo_error.ctp, line 20 View::_evaluate() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 931 View::_render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 893 View::render() - APP/cakephp-2.4.2/lib/Cake/View/View.php, line 462 Controller::render() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/cakephp-2.4.2/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/cakephp-2.4.2/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SQL Query: SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`
Notice: If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp
Stack Trace
- APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 460 → PDOStatement->execute(array)
try {$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$this->_results = $query;array()
- APP/cakephp-2.4.2/lib/Cake/Model/Datasource/Database/Mysql.php line 333 → DboSource->_execute(string)
$table = $this->fullTableName($model);$fields = false;$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);if (!$cols) {'SHOW FULL COLUMNS FROM `i33wdogy_donet`.`configs`'
- APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 1353 → Mysql->describe(Config)
$db = $this->getDataSource();$db->cacheSources = ($this->cacheSources && $db->cacheSources);if (method_exists($db, 'describe')) {$this->_schema = $db->describe($this);}object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } - APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 2293 → Model->schema()
}$allFields = empty($fields);if ($allFields) {$fields = array_keys($model->schema());} elseif (!is_array($fields)) { - APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 1047 → DboSource->fields(Config)
$bypass = true;$queryData['fields'] = $this->fields($model, null, $queryData['fields']);} else {$queryData['fields'] = $this->fields($model);}object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } - APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2880 → DboSource->read(Config, array)
* @return array*/protected function _readDataSource($type, $query) {$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'i33wdogy_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true ) - APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2852 → Model->_readDataSource(string, array)
return null;}return $this->_readDataSource($type, $query);}'all' array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
- APP/Controller/AppController.php line 614 → Model->find(string, array)
$lang = $this->params['lang'];$result = Cache::read('config_'.$prefix.'_'.$lang,'oneweb');if(!$result){$a_configs = $this->Config->find('all',array('conditions'=>array('name like'=>$prefix.'_%')));'all' array( 'conditions' => array( 'name like' => 'site_%' ) )
- APP/Controller/AppController.php line 246 → AppController->_getConfig(string)
$this->set(compact('lang'));//CONFIG - SITE$a_site_info = $this->_getConfig('site');$a_site_contact = $this->_getConfig('contact');'site'
- APP/Controller/AppController.php line 127 → AppController->_beforeFilterFrontend()
if (empty($a_params['admin'])) {$this->Auth->allow();$this->layout = 'frontend/index';$this->_beforeFilterFrontend();}else{ - APP/Controller/AppController.php line 104 → AppController->__handleAuthentication()
}date_default_timezone_set('Asia/Ho_Chi_Minh');$this->__handleAuthentication();// } - [internal function] → AppController->beforeFilter(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/Cake/Event/CakeEventManager.php line 248 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {$result = call_user_func_array($listener['callable'], $event->data);} else {$result = call_user_func($listener['callable'], $event);}array( (int) 0 => object(ProductsController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php line 674 → CakeEventManager->dispatch(CakeEvent)
* @return void*/public function startupProcess() {$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 184 → Controller->startupProcess()
*/protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {$controller->constructClasses();$controller->startupProcess(); - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(ProductsController, CakeRequest, CakeResponse)
));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {object(ProductsController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'frontend/template1/index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Oneweb => object(OnewebComponent) {} Upload => object(UploadComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit_admin => (int) 50 [private] limit => (int) 64 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } - APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(new CakeRequest(),new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' base => '' webroot => '/' here => '/he-thong-dieu-khien/mach-dieu-khien/function.file-put-contents' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
ĐĂNG KÝ NHẬN TIN KHUYẾN MẠI
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") |
