Warning (512): _cake_core_ cache was unable to write 'cake_dev_vi' to File cache [APP/sah_core/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/sahvn/domains/sah.vn/public_html/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 I18n::translate() - APP/sah_core/lib/Cake/I18n/I18n.php, line 177 __d - APP/sah_core/lib/Cake/basics.php, line 615 Cache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 323 DataSource::listSources() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 112 Mysql::listSources() - APP/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php, line 213 Model::setSource() - APP/sah_core/lib/Cake/Model/Model.php, line 1129 Model::getDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 3476 Model::_readDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 2880 Model::find() - APP/sah_core/lib/Cake/Model/Model.php, line 2852 AppController::_getConfig() - APP/Controller/AppController.php, line 565 AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 231 AppController::__handleAuthentication() - APP/Controller/AppController.php, line 100 AppController::beforeFilter() - APP/Controller/AppController.php, line 82 call_user_func - [internal], line ?? CakeEventManager::dispatch() - APP/sah_core/lib/Cake/Event/CakeEventManager.php, line 248 Controller::startupProcess() - APP/sah_core/lib/Cake/Controller/Controller.php, line 674
Warning (512): _cake_model_ cache was unable to write 'default_sahvn_sahvn_list' to File cache [APP/sah_core/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'default_sahvn_sahvn_list' $value = null $config = '_cake_model_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/sahvn/domains/sah.vn/public_html/tmp/cache/models/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 DataSource::listSources() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 112 Mysql::listSources() - APP/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php, line 213 Model::setSource() - APP/sah_core/lib/Cake/Model/Model.php, line 1129 Model::getDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 3476 Model::_readDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 2880 Model::find() - APP/sah_core/lib/Cake/Model/Model.php, line 2852 AppController::_getConfig() - APP/Controller/AppController.php, line 565 AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 231 AppController::__handleAuthentication() - APP/Controller/AppController.php, line 100 AppController::beforeFilter() - APP/Controller/AppController.php, line 82 call_user_func - [internal], line ?? CakeEventManager::dispatch() - APP/sah_core/lib/Cake/Event/CakeEventManager.php, line 248 Controller::startupProcess() - APP/sah_core/lib/Cake/Controller/Controller.php, line 674 Dispatcher::_invoke() - APP/sah_core/lib/Cake/Routing/Dispatcher.php, line 184 Dispatcher::dispatch() - APP/sah_core/lib/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 98
Warning (512): _cake_model_ cache was unable to write 'default_sahvn_sahvn_list' to File cache [APP/sah_core/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'default_sahvn_sahvn_list' $value = array( (int) 0 => 'acos', (int) 1 => 'aros', (int) 2 => 'aros_acos', (int) 3 => 'banners', (int) 4 => 'chatban', (int) 5 => 'chatconfig', (int) 6 => 'chatgroup', (int) 7 => 'chatgroupoperator', (int) 8 => 'chatmessage', (int) 9 => 'chatoperator', (int) 10 => 'chatresponses', (int) 11 => 'chatrevision', (int) 12 => 'chatthread', (int) 13 => 'comments', (int) 14 => 'configs', (int) 15 => 'contact_categories', (int) 16 => 'contacts', (int) 17 => 'counter_ips', (int) 18 => 'counter_values', (int) 19 => 'countries', (int) 20 => 'currencies', (int) 21 => 'customers', (int) 22 => 'faq_categories', (int) 23 => 'faqs', (int) 24 => 'groups', (int) 25 => 'information', (int) 26 => 'locations', (int) 27 => 'member_messages', (int) 28 => 'members', (int) 29 => 'newsletters', (int) 30 => 'order_categories', (int) 31 => 'orders', (int) 32 => 'post_categories', (int) 33 => 'posts', (int) 34 => 'product_categories', (int) 35 => 'product_homes', (int) 36 => 'product_images', (int) 37 => 'product_makers', (int) 38 => 'product_options', (int) 39 => 'product_properties', (int) 40 => 'product_taxes', (int) 41 => 'productcate_images', (int) 42 => 'products', (int) 43 => 'scripts', (int) 44 => 'supports', (int) 45 => 'tag_priorities', (int) 46 => 'tags', (int) 47 => 'testimonials', (int) 48 => 'trashes', (int) 49 => 'users', (int) 50 => 'videos' ) $config = '_cake_model_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/sahvn/domains/sah.vn/public_html/tmp/cache/models/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 DataSource::listSources() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 112 Mysql::listSources() - APP/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php, line 230 Model::setSource() - APP/sah_core/lib/Cake/Model/Model.php, line 1129 Model::getDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 3476 Model::_readDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 2880 Model::find() - APP/sah_core/lib/Cake/Model/Model.php, line 2852 AppController::_getConfig() - APP/Controller/AppController.php, line 565 AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 231 AppController::__handleAuthentication() - APP/Controller/AppController.php, line 100 AppController::beforeFilter() - APP/Controller/AppController.php, line 82 call_user_func - [internal], line ?? CakeEventManager::dispatch() - APP/sah_core/lib/Cake/Event/CakeEventManager.php, line 248 Controller::startupProcess() - APP/sah_core/lib/Cake/Controller/Controller.php, line 674 Dispatcher::_invoke() - APP/sah_core/lib/Cake/Routing/Dispatcher.php, line 184 Dispatcher::dispatch() - APP/sah_core/lib/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 98
Warning (512): _cake_model_ cache was unable to write 'default_sahvn_sahvn_configs' to File cache [APP/sah_core/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'default_sahvn_sahvn_configs' $value = null $config = '_cake_model_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/sahvn/domains/sah.vn/public_html/tmp/cache/models/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 DataSource::_cacheDescription() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 312 DataSource::describe() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 137 Mysql::describe() - APP/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php, line 326 Model::schema() - APP/sah_core/lib/Cake/Model/Model.php, line 1353 DboSource::fields() - APP/sah_core/lib/Cake/Model/Datasource/DboSource.php, line 2293 DboSource::read() - APP/sah_core/lib/Cake/Model/Datasource/DboSource.php, line 1047 Model::_readDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 2880 Model::find() - APP/sah_core/lib/Cake/Model/Model.php, line 2852 AppController::_getConfig() - APP/Controller/AppController.php, line 565 AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 231 AppController::__handleAuthentication() - APP/Controller/AppController.php, line 100 AppController::beforeFilter() - APP/Controller/AppController.php, line 82 call_user_func - [internal], line ?? CakeEventManager::dispatch() - APP/sah_core/lib/Cake/Event/CakeEventManager.php, line 248 Controller::startupProcess() - APP/sah_core/lib/Cake/Controller/Controller.php, line 674 Dispatcher::_invoke() - APP/sah_core/lib/Cake/Routing/Dispatcher.php, line 184
Warning (2): file_put_contents() [function.file-put-contents]: Only 0 of 2350 bytes written, possibly out of free disk space [APP/sah_core/lib/Cake/Log/Engine/FileLog.php, line 144]Code Context$pathname = $this->_path . $filename;if (empty($this->_config['mask'])) {return file_put_contents($pathname, $output, FILE_APPEND);$type = 'error' $message = '[PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: / Stack Trace: #0 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(460): PDOStatement->execute(Array) #1 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php(333): DboSource->_execute('SHOW FULL COLUM...') #2 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(1353): Mysql->describe(Object(Config)) #3 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(2293): Model->schema() #4 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(1047): DboSource->fields(Object(Config)) #5 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(2880): DboSource->read(Object(Config), Array) #6 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(2852): Model->_readDataSource('all', Array) #7 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(565): Model->find('all', Array) #8 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(231): AppController->_getConfig('contact') #9 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(100): AppController->_beforeFilterFrontend() #10 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(82): AppController->__handleAuthentication() #11 [internal function]: AppController->beforeFilter(Object(CakeEvent)) #12 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent)) #13 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Controller/Controller.php(674): CakeEventManager->dispatch(Object(CakeEvent)) #14 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess() #15 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse)) #16 /home/sahvn/domains/sah.vn/public_html/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #17 {main}' $output = '2026-11-11 06:25:23 Error: [PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: / Stack Trace: #0 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(460): PDOStatement->execute(Array) #1 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php(333): DboSource->_execute('SHOW FULL COLUM...') #2 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(1353): Mysql->describe(Object(Config)) #3 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(2293): Model->schema() #4 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Datasource/DboSource.php(1047): DboSource->fields(Object(Config)) #5 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(2880): DboSource->read(Object(Config), Array) #6 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Model/Model.php(2852): Model->_readDataSource('all', Array) #7 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(565): Model->find('all', Array) #8 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(231): AppController->_getConfig('contact') #9 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(100): AppController->_beforeFilterFrontend() #10 /home/sahvn/domains/sah.vn/public_html/Controller/AppController.php(82): AppController->__handleAuthentication() #11 [internal function]: AppController->beforeFilter(Object(CakeEvent)) #12 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent)) #13 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Controller/Controller.php(674): CakeEventManager->dispatch(Object(CakeEvent)) #14 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess() #15 /home/sahvn/domains/sah.vn/public_html/sah_core/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse)) #16 /home/sahvn/domains/sah.vn/public_html/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #17 {main} ' $filename = 'error.log' $pathname = '/home/sahvn/domains/sah.vn/public_html/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - APP/sah_core/lib/Cake/Log/Engine/FileLog.php, line 144 CakeLog::write() - APP/sah_core/lib/Cake/Log/CakeLog.php, line 454 ErrorHandler::_log() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 180 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 113 [main] - [internal], line ??
Warning (512): _cake_model_ cache was unable to write 'default_sahvn_sahvn_configs' to File cache [APP/sah_core/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'default_sahvn_sahvn_configs' $value = null $config = '_cake_model_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/sahvn/domains/sah.vn/public_html/tmp/cache/models/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 DataSource::_cacheDescription() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 312 DataSource::describe() - APP/sah_core/lib/Cake/Model/Datasource/DataSource.php, line 137 Mysql::describe() - APP/sah_core/lib/Cake/Model/Datasource/Database/Mysql.php, line 326 Model::schema() - APP/sah_core/lib/Cake/Model/Model.php, line 1353 DboSource::fields() - APP/sah_core/lib/Cake/Model/Datasource/DboSource.php, line 2293 DboSource::read() - APP/sah_core/lib/Cake/Model/Datasource/DboSource.php, line 1047 Model::_readDataSource() - APP/sah_core/lib/Cake/Model/Model.php, line 2880 Model::find() - APP/sah_core/lib/Cake/Model/Model.php, line 2852 AppController::_getConfig() - APP/Controller/AppController.php, line 565 AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 231 AppController::__handleAuthentication() - APP/Controller/AppController.php, line 100 AppController::beforeFilter() - APP/Controller/AppController.php, line 82 call_user_func - [internal], line ?? CakeEventManager::dispatch() - APP/sah_core/lib/Cake/Event/CakeEventManager.php, line 248 Controller::startupProcess() - APP/sah_core/lib/Cake/Controller/Controller.php, line 674 ExceptionRenderer::_getController() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 156
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SQL Query: SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`
Notice: If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp
try {$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$this->_results = $query;
array()
$table = $this->fullTableName($model);$fields = false;$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);if (!$cols) {
'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`'
$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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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
}}$allFields = empty($fields);if ($allFields) {$fields = array_keys($model->schema());} elseif (!is_array($fields)) {
$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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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
}* @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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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' => 'contact_%'
),
'fields' => null,
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true
)return null;}return $this->_readDataSource($type, $query);}
'all' array( 'conditions' => array( 'name like' => 'contact_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
$lang = $this->params['lang'];$result = Cache::read('config_'.$prefix.'_'.$lang,'web2in1');if(!$result){$a_configs = $this->Config->find('all',array('conditions'=>array('name like'=>$prefix.'_%')));
'all' array( 'conditions' => array( 'name like' => 'contact_%' ) )
Configure::write('Config.language', $lang);$this->set(compact('lang'));//Đọc cấu hình$a_configs_h = $this->_getConfig('contact');$this->set(compact('a_configs_h'));
'contact'
if (empty($a_params['admin'])) {$this->Auth->allow();$this->layout = 'frontend/index';$this->_beforeFilterFrontend();}else{
if(!in_array($lang, $a_languages )) $this->redirect(array('controller'=>'pages','action'=>'home','lang'=>$a_languages[0]));}date_default_timezone_set('Asia/Ho_Chi_Minh');$this->__handleAuthentication();// }
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}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(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}* @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(PagesController) {}
[protected] _stopped => false
}*/protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {$controller->constructClasses();$controller->startupProcess();
));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {
object(PagesController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
is_mobile => false
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'home'
layout => 'frontend/temp/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 => 'page'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Web2in1 => object(Web2in1Component) {}
RequestHandler => object(RequestHandlerComponent) {}
Paginator => object(PaginatorComponent) {}
Config => object(Config) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
[private] limit => (int) 4
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => false
base => ''
webroot => '/'
here => '/'
[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])
}$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 => false
base => ''
webroot => '/'
here => '/'
[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])
}Warning (512): _cake_core_ cache was unable to write 'default_vi' to File cache [APP/sah_core/lib/Cake/Cache/Cache.php, line 325]Code Context),E_USER_WARNING);$key = 'default_vi' $value = array( 'LC_MESSAGES' => array( '%po-header' => array( '' => '' ) ) ) $config = '_cake_core_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/sahvn/domains/sah.vn/public_html/tmp/cache/persistent/', 'serialize' => true, 'duration' => (int) 10, 'lock' => true, 'isWindows' => false, 'mask' => (int) 436, 'probability' => (int) 100, 'groups' => array() ) $success = falseCache::write() - APP/sah_core/lib/Cake/Cache/Cache.php, line 325 I18n::translate() - APP/sah_core/lib/Cake/I18n/I18n.php, line 177 __ - APP/sah_core/lib/Cake/basics.php, line 558 include - APP/View/Elements/frontend/footer.ctp, line 24 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/sah_core/lib/Cake/View/View.php, line 1191 View::element() - APP/sah_core/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/temp/index.ctp, line 223 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264
Notice (8): Undefined variable: a_configs_h [APP/View/Elements/frontend/footer.ctp, line 24]Code Context<div class='call_fter'><ul><li class='hotline_home'><?php echo '<span>'.__('Gọi: ',true).'</span>'.$this->Html->link($a_configs_h['phone'],'tel:'.$a_configs_h['phone']);?></li>$viewFile = '/home/sahvn/domains/sah.vn/public_html/View/Elements/frontend/footer.ctp' $dataForView = array( 'code' => (int) 500, 'url' => '/', 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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' => '643bee1a76c16b7be541a7c44d6bc445', 'web2in1_search' => array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array([maximum depth reached]) ), 'post' => array( 'enable' => false, 'category' => false ) ), 'web2in1_counter' => array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ), 'web2in1_web' => array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ), 'web2in1_product' => array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ), 'maker' => array( [maximum depth reached] ), 'maker_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ), 'web2in1_product_home' => array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ), 'web2in1_post' => array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/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' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ), 'web2in1_poll' => array( 'enable' => false ), 'web2in1_testimonial' => array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( [maximum depth reached] ) ), 'enable' => true ), 'web2in1_information' => array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ), 'web2in1_faq' => array( 'enable' => true ), 'web2in1_contact' => array( 'enable' => true ), 'web2in1_banner' => array( 'path' => '../../public_html/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) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ), 'web2in1_support' => array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( [maximum depth reached] ) ), 'enable' => false, 'image' => true, 'livechat' => false ), 'web2in1_script' => array( 'enable' => true ), 'web2in1_seo' => true, 'web2in1_notifice' => null, 'web2in1_media' => array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( [maximum depth reached] ), 'category_video' => array( [maximum depth reached] ), 'gallery' => array( [maximum depth reached] ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ), 'document' => array( 'enable' => false, 'display' => array( [maximum depth reached] ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ) ), 'web2in1_language' => array( 'vi' => 'Tiếng Việt' ), 'web2in1_path' => null, 'web2in1_size' => null, 'web2in1_map' => array( 'enable' => false, 'contact' => true ), 'web2in1_sitemap' => array( 'xml' => true, 'html' => true ), 'web2in1_newsletter' => array( 'enable' => true ), 'web2in1_member' => array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ), 'web2in1_country' => array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( [maximum depth reached] ), 'country_banner' => array( [maximum depth reached] ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ), 'web2in1_locations' => array( 'location' => true ), 'web2in1_customer' => array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ), 'web2in1_config' => array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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 = '/' $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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 = '643bee1a76c16b7be541a7c44d6bc445' $web2in1_search = array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array() ), 'post' => array( 'enable' => false, 'category' => false ) ) $web2in1_counter = array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ) $web2in1_web = array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ) $web2in1_product = array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( (int) 0 => (int) 1349, (int) 1 => (int) 970, (int) 2 => (int) 1349, (int) 3 => (int) 970 ), 'category' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'category_banner' => array( (int) 0 => (int) 650, (int) 1 => 'n', (int) 2 => (int) 650, (int) 3 => 'n' ), 'maker' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'maker_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ) $web2in1_product_home = array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ) $web2in1_post = array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/webroot/img/images/post_categories' ), 'size' => array( 'post' => array( (int) 0 => (int) 600, (int) 1 => (int) 480, (int) 2 => (int) 600, (int) 3 => (int) 480 ), 'category' => array( (int) 0 => (int) 400, (int) 1 => (int) 252, (int) 2 => (int) 400, (int) 3 => (int) 252 ), 'category_banner' => array( (int) 0 => (int) 600, (int) 1 => (int) 120, (int) 2 => (int) 600, (int) 3 => (int) 120 ) ), 'enable' => true, 'category_banner' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ) $web2in1_poll = array( 'enable' => false ) $web2in1_testimonial = array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( (int) 0 => (int) 220, (int) 1 => (int) 220, (int) 2 => (int) 220, (int) 3 => (int) 220 ) ), 'enable' => true ) $web2in1_information = array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ) $web2in1_faq = array( 'enable' => true ) $web2in1_contact = array( 'enable' => true ) $web2in1_banner = array( 'path' => '../../public_html/webroot/img/images/banners', 'size' => array( (int) 1 => array( (int) 0 => (int) 1180, (int) 1 => (int) 125, (int) 2 => (int) 1180, (int) 3 => (int) 125 ), (int) 2 => array( (int) 0 => (int) 1545, (int) 1 => (int) 1055, (int) 2 => (int) 1545, (int) 3 => (int) 1055 ), (int) 3 => array( (int) 0 => (int) 115, (int) 1 => (int) 70, (int) 2 => (int) 115, (int) 3 => (int) 70 ), (int) 4 => array( (int) 0 => (int) 1040, (int) 1 => 'n', (int) 2 => (int) 1040, (int) 3 => 'n' ), (int) 5 => array( (int) 0 => (int) 823, (int) 1 => 'n', (int) 2 => (int) 823, (int) 3 => 'n' ), (int) 6 => array( (int) 0 => (int) 334, (int) 1 => (int) 334, (int) 2 => (int) 334, (int) 3 => (int) 334 ), (int) 7 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 8 => array( (int) 0 => (int) 600, (int) 1 => 'n', (int) 2 => (int) 600, (int) 3 => 'n' ), (int) 9 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 10 => array( (int) 0 => (int) 160, (int) 1 => 'n', (int) 2 => (int) 160, (int) 3 => 'n' ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ) $web2in1_support = array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( (int) 0 => (int) 259, (int) 1 => (int) 259, (int) 2 => (int) 259, (int) 3 => (int) 259 ) ), 'enable' => false, 'image' => true, 'livechat' => false ) $web2in1_script = array( 'enable' => true ) $web2in1_seo = true $web2in1_notifice = null $web2in1_media = array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'category_video' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'gallery' => array( (int) 0 => (int) 850, (int) 1 => (int) 654, (int) 2 => (int) 850, (int) 3 => (int) 654 ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'document' => array( 'enable' => false, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ) ) $web2in1_language = array( 'vi' => 'Tiếng Việt' ) $web2in1_path = null $web2in1_size = null $web2in1_map = array( 'enable' => false, 'contact' => true ) $web2in1_sitemap = array( 'xml' => true, 'html' => true ) $web2in1_newsletter = array( 'enable' => true ) $web2in1_member = array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ) $web2in1_country = array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'country_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ) $web2in1_locations = array( 'location' => true ) $web2in1_customer = array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ) $web2in1_config = array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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' $controller = 'pages'include - APP/View/Elements/frontend/footer.ctp, line 24 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/sah_core/lib/Cake/View/View.php, line 1191 View::element() - APP/sah_core/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/temp/index.ctp, line 223 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Undefined variable: a_configs_h [APP/View/Elements/frontend/footer.ctp, line 24]Gọi:Code Context<div class='call_fter'><ul><li class='hotline_home'><?php echo '<span>'.__('Gọi: ',true).'</span>'.$this->Html->link($a_configs_h['phone'],'tel:'.$a_configs_h['phone']);?></li>$viewFile = '/home/sahvn/domains/sah.vn/public_html/View/Elements/frontend/footer.ctp' $dataForView = array( 'code' => (int) 500, 'url' => '/', 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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' => '643bee1a76c16b7be541a7c44d6bc445', 'web2in1_search' => array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array([maximum depth reached]) ), 'post' => array( 'enable' => false, 'category' => false ) ), 'web2in1_counter' => array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ), 'web2in1_web' => array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ), 'web2in1_product' => array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ), 'maker' => array( [maximum depth reached] ), 'maker_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ), 'web2in1_product_home' => array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ), 'web2in1_post' => array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/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' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ), 'web2in1_poll' => array( 'enable' => false ), 'web2in1_testimonial' => array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( [maximum depth reached] ) ), 'enable' => true ), 'web2in1_information' => array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ), 'web2in1_faq' => array( 'enable' => true ), 'web2in1_contact' => array( 'enable' => true ), 'web2in1_banner' => array( 'path' => '../../public_html/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) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ), 'web2in1_support' => array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( [maximum depth reached] ) ), 'enable' => false, 'image' => true, 'livechat' => false ), 'web2in1_script' => array( 'enable' => true ), 'web2in1_seo' => true, 'web2in1_notifice' => null, 'web2in1_media' => array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( [maximum depth reached] ), 'category_video' => array( [maximum depth reached] ), 'gallery' => array( [maximum depth reached] ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ), 'document' => array( 'enable' => false, 'display' => array( [maximum depth reached] ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ) ), 'web2in1_language' => array( 'vi' => 'Tiếng Việt' ), 'web2in1_path' => null, 'web2in1_size' => null, 'web2in1_map' => array( 'enable' => false, 'contact' => true ), 'web2in1_sitemap' => array( 'xml' => true, 'html' => true ), 'web2in1_newsletter' => array( 'enable' => true ), 'web2in1_member' => array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ), 'web2in1_country' => array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( [maximum depth reached] ), 'country_banner' => array( [maximum depth reached] ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ), 'web2in1_locations' => array( 'location' => true ), 'web2in1_customer' => array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ), 'web2in1_config' => array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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 = '/' $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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 = '643bee1a76c16b7be541a7c44d6bc445' $web2in1_search = array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array() ), 'post' => array( 'enable' => false, 'category' => false ) ) $web2in1_counter = array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ) $web2in1_web = array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ) $web2in1_product = array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( (int) 0 => (int) 1349, (int) 1 => (int) 970, (int) 2 => (int) 1349, (int) 3 => (int) 970 ), 'category' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'category_banner' => array( (int) 0 => (int) 650, (int) 1 => 'n', (int) 2 => (int) 650, (int) 3 => 'n' ), 'maker' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'maker_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ) $web2in1_product_home = array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ) $web2in1_post = array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/webroot/img/images/post_categories' ), 'size' => array( 'post' => array( (int) 0 => (int) 600, (int) 1 => (int) 480, (int) 2 => (int) 600, (int) 3 => (int) 480 ), 'category' => array( (int) 0 => (int) 400, (int) 1 => (int) 252, (int) 2 => (int) 400, (int) 3 => (int) 252 ), 'category_banner' => array( (int) 0 => (int) 600, (int) 1 => (int) 120, (int) 2 => (int) 600, (int) 3 => (int) 120 ) ), 'enable' => true, 'category_banner' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ) $web2in1_poll = array( 'enable' => false ) $web2in1_testimonial = array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( (int) 0 => (int) 220, (int) 1 => (int) 220, (int) 2 => (int) 220, (int) 3 => (int) 220 ) ), 'enable' => true ) $web2in1_information = array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ) $web2in1_faq = array( 'enable' => true ) $web2in1_contact = array( 'enable' => true ) $web2in1_banner = array( 'path' => '../../public_html/webroot/img/images/banners', 'size' => array( (int) 1 => array( (int) 0 => (int) 1180, (int) 1 => (int) 125, (int) 2 => (int) 1180, (int) 3 => (int) 125 ), (int) 2 => array( (int) 0 => (int) 1545, (int) 1 => (int) 1055, (int) 2 => (int) 1545, (int) 3 => (int) 1055 ), (int) 3 => array( (int) 0 => (int) 115, (int) 1 => (int) 70, (int) 2 => (int) 115, (int) 3 => (int) 70 ), (int) 4 => array( (int) 0 => (int) 1040, (int) 1 => 'n', (int) 2 => (int) 1040, (int) 3 => 'n' ), (int) 5 => array( (int) 0 => (int) 823, (int) 1 => 'n', (int) 2 => (int) 823, (int) 3 => 'n' ), (int) 6 => array( (int) 0 => (int) 334, (int) 1 => (int) 334, (int) 2 => (int) 334, (int) 3 => (int) 334 ), (int) 7 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 8 => array( (int) 0 => (int) 600, (int) 1 => 'n', (int) 2 => (int) 600, (int) 3 => 'n' ), (int) 9 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 10 => array( (int) 0 => (int) 160, (int) 1 => 'n', (int) 2 => (int) 160, (int) 3 => 'n' ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ) $web2in1_support = array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( (int) 0 => (int) 259, (int) 1 => (int) 259, (int) 2 => (int) 259, (int) 3 => (int) 259 ) ), 'enable' => false, 'image' => true, 'livechat' => false ) $web2in1_script = array( 'enable' => true ) $web2in1_seo = true $web2in1_notifice = null $web2in1_media = array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'category_video' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'gallery' => array( (int) 0 => (int) 850, (int) 1 => (int) 654, (int) 2 => (int) 850, (int) 3 => (int) 654 ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'document' => array( 'enable' => false, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ) ) $web2in1_language = array( 'vi' => 'Tiếng Việt' ) $web2in1_path = null $web2in1_size = null $web2in1_map = array( 'enable' => false, 'contact' => true ) $web2in1_sitemap = array( 'xml' => true, 'html' => true ) $web2in1_newsletter = array( 'enable' => true ) $web2in1_member = array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ) $web2in1_country = array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'country_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ) $web2in1_locations = array( 'location' => true ) $web2in1_customer = array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ) $web2in1_config = array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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' $controller = 'pages'include - APP/View/Elements/frontend/footer.ctp, line 24 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/sah_core/lib/Cake/View/View.php, line 1191 View::element() - APP/sah_core/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/temp/index.ctp, line 223 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??
Đang xử lý...
Notice (8): Undefined variable: a_script_s [APP/View/Elements/frontend/s_script_google_analytics.ctp, line 1]Code Context<?php foreach ($a_script_s as $key=> $val){$viewFile = '/home/sahvn/domains/sah.vn/public_html/View/Elements/frontend/s_script_google_analytics.ctp' $dataForView = array( 'code' => (int) 500, 'url' => '/', 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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' => '643bee1a76c16b7be541a7c44d6bc445', 'web2in1_search' => array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array([maximum depth reached]) ), 'post' => array( 'enable' => false, 'category' => false ) ), 'web2in1_counter' => array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ), 'web2in1_web' => array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ), 'web2in1_product' => array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ), 'maker' => array( [maximum depth reached] ), 'maker_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ), 'web2in1_product_home' => array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ), 'web2in1_post' => array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/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' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ), 'web2in1_poll' => array( 'enable' => false ), 'web2in1_testimonial' => array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( [maximum depth reached] ) ), 'enable' => true ), 'web2in1_information' => array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ), 'web2in1_faq' => array( 'enable' => true ), 'web2in1_contact' => array( 'enable' => true ), 'web2in1_banner' => array( 'path' => '../../public_html/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) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ), 'web2in1_support' => array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( [maximum depth reached] ) ), 'enable' => false, 'image' => true, 'livechat' => false ), 'web2in1_script' => array( 'enable' => true ), 'web2in1_seo' => true, 'web2in1_notifice' => null, 'web2in1_media' => array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( [maximum depth reached] ), 'category_video' => array( [maximum depth reached] ), 'gallery' => array( [maximum depth reached] ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ), 'document' => array( 'enable' => false, 'display' => array( [maximum depth reached] ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ) ), 'web2in1_language' => array( 'vi' => 'Tiếng Việt' ), 'web2in1_path' => null, 'web2in1_size' => null, 'web2in1_map' => array( 'enable' => false, 'contact' => true ), 'web2in1_sitemap' => array( 'xml' => true, 'html' => true ), 'web2in1_newsletter' => array( 'enable' => true ), 'web2in1_member' => array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ), 'web2in1_country' => array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( [maximum depth reached] ), 'country_banner' => array( [maximum depth reached] ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ), 'web2in1_locations' => array( 'location' => true ), 'web2in1_customer' => array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ), 'web2in1_config' => array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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 = '/' $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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 = '643bee1a76c16b7be541a7c44d6bc445' $web2in1_search = array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array() ), 'post' => array( 'enable' => false, 'category' => false ) ) $web2in1_counter = array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ) $web2in1_web = array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ) $web2in1_product = array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( (int) 0 => (int) 1349, (int) 1 => (int) 970, (int) 2 => (int) 1349, (int) 3 => (int) 970 ), 'category' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'category_banner' => array( (int) 0 => (int) 650, (int) 1 => 'n', (int) 2 => (int) 650, (int) 3 => 'n' ), 'maker' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'maker_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ) $web2in1_product_home = array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ) $web2in1_post = array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/webroot/img/images/post_categories' ), 'size' => array( 'post' => array( (int) 0 => (int) 600, (int) 1 => (int) 480, (int) 2 => (int) 600, (int) 3 => (int) 480 ), 'category' => array( (int) 0 => (int) 400, (int) 1 => (int) 252, (int) 2 => (int) 400, (int) 3 => (int) 252 ), 'category_banner' => array( (int) 0 => (int) 600, (int) 1 => (int) 120, (int) 2 => (int) 600, (int) 3 => (int) 120 ) ), 'enable' => true, 'category_banner' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ) $web2in1_poll = array( 'enable' => false ) $web2in1_testimonial = array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( (int) 0 => (int) 220, (int) 1 => (int) 220, (int) 2 => (int) 220, (int) 3 => (int) 220 ) ), 'enable' => true ) $web2in1_information = array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ) $web2in1_faq = array( 'enable' => true ) $web2in1_contact = array( 'enable' => true ) $web2in1_banner = array( 'path' => '../../public_html/webroot/img/images/banners', 'size' => array( (int) 1 => array( (int) 0 => (int) 1180, (int) 1 => (int) 125, (int) 2 => (int) 1180, (int) 3 => (int) 125 ), (int) 2 => array( (int) 0 => (int) 1545, (int) 1 => (int) 1055, (int) 2 => (int) 1545, (int) 3 => (int) 1055 ), (int) 3 => array( (int) 0 => (int) 115, (int) 1 => (int) 70, (int) 2 => (int) 115, (int) 3 => (int) 70 ), (int) 4 => array( (int) 0 => (int) 1040, (int) 1 => 'n', (int) 2 => (int) 1040, (int) 3 => 'n' ), (int) 5 => array( (int) 0 => (int) 823, (int) 1 => 'n', (int) 2 => (int) 823, (int) 3 => 'n' ), (int) 6 => array( (int) 0 => (int) 334, (int) 1 => (int) 334, (int) 2 => (int) 334, (int) 3 => (int) 334 ), (int) 7 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 8 => array( (int) 0 => (int) 600, (int) 1 => 'n', (int) 2 => (int) 600, (int) 3 => 'n' ), (int) 9 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 10 => array( (int) 0 => (int) 160, (int) 1 => 'n', (int) 2 => (int) 160, (int) 3 => 'n' ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ) $web2in1_support = array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( (int) 0 => (int) 259, (int) 1 => (int) 259, (int) 2 => (int) 259, (int) 3 => (int) 259 ) ), 'enable' => false, 'image' => true, 'livechat' => false ) $web2in1_script = array( 'enable' => true ) $web2in1_seo = true $web2in1_notifice = null $web2in1_media = array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'category_video' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'gallery' => array( (int) 0 => (int) 850, (int) 1 => (int) 654, (int) 2 => (int) 850, (int) 3 => (int) 654 ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'document' => array( 'enable' => false, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ) ) $web2in1_language = array( 'vi' => 'Tiếng Việt' ) $web2in1_path = null $web2in1_size = null $web2in1_map = array( 'enable' => false, 'contact' => true ) $web2in1_sitemap = array( 'xml' => true, 'html' => true ) $web2in1_newsletter = array( 'enable' => true ) $web2in1_member = array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ) $web2in1_country = array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'country_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ) $web2in1_locations = array( 'location' => true ) $web2in1_customer = array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ) $web2in1_config = array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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/s_script_google_analytics.ctp, line 1 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/sah_core/lib/Cake/View/View.php, line 1191 View::element() - APP/sah_core/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/temp/index.ctp, line 355 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Elements/frontend/s_script_google_analytics.ctp, line 1]Code Context<?php foreach ($a_script_s as $key=> $val){$viewFile = '/home/sahvn/domains/sah.vn/public_html/View/Elements/frontend/s_script_google_analytics.ctp' $dataForView = array( 'code' => (int) 500, 'url' => '/', 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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' => '643bee1a76c16b7be541a7c44d6bc445', 'web2in1_search' => array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array([maximum depth reached]) ), 'post' => array( 'enable' => false, 'category' => false ) ), 'web2in1_counter' => array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ), 'web2in1_web' => array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ), 'web2in1_product' => array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( [maximum depth reached] ), 'category' => array( [maximum depth reached] ), 'category_banner' => array( [maximum depth reached] ), 'maker' => array( [maximum depth reached] ), 'maker_banner' => array( [maximum depth reached] ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ), 'web2in1_product_home' => array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ), 'web2in1_post' => array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/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' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ), 'web2in1_poll' => array( 'enable' => false ), 'web2in1_testimonial' => array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( [maximum depth reached] ) ), 'enable' => true ), 'web2in1_information' => array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ), 'web2in1_faq' => array( 'enable' => true ), 'web2in1_contact' => array( 'enable' => true ), 'web2in1_banner' => array( 'path' => '../../public_html/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) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ), 'web2in1_support' => array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( [maximum depth reached] ) ), 'enable' => false, 'image' => true, 'livechat' => false ), 'web2in1_script' => array( 'enable' => true ), 'web2in1_seo' => true, 'web2in1_notifice' => null, 'web2in1_media' => array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( [maximum depth reached] ), 'category_video' => array( [maximum depth reached] ), 'gallery' => array( [maximum depth reached] ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ), 'document' => array( 'enable' => false, 'display' => array( [maximum depth reached] ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( [maximum depth reached] ) ) ), 'web2in1_language' => array( 'vi' => 'Tiếng Việt' ), 'web2in1_path' => null, 'web2in1_size' => null, 'web2in1_map' => array( 'enable' => false, 'contact' => true ), 'web2in1_sitemap' => array( 'xml' => true, 'html' => true ), 'web2in1_newsletter' => array( 'enable' => true ), 'web2in1_member' => array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ), 'web2in1_country' => array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( [maximum depth reached] ), 'country_banner' => array( [maximum depth reached] ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ), 'web2in1_locations' => array( 'location' => true ), 'web2in1_customer' => array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ), 'web2in1_config' => array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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 = '/' $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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 = '643bee1a76c16b7be541a7c44d6bc445' $web2in1_search = array( 'product' => array( 'enable' => false, 'maker' => false, 'category' => false, 'price' => array() ), 'post' => array( 'enable' => false, 'category' => false ) ) $web2in1_counter = array( 'enable' => true, 'online' => true, 'yesterday' => true, 'today' => true, 'week' => true, 'month' => true, 'year' => true, 'total' => true ) $web2in1_web = array( 'layout' => 'temp', 'column_left' => false, 'column_right' => true, 'logo' => 'logo.png', 'logos' => 'logos.png', 'logo115' => 'logo115.png', 'social' => true, 'nav_footer' => false, 'drop_down' => false, 'notifice' => true, 'tooltip_effect' => 'none', 'icon_discount' => false, 'icon_promotion' => false, 'right_click' => true, 'comment' => false, 'help' => 'http://thietkewebbacgiang.com/' ) $web2in1_product = array( 'path' => array( 'product' => '../../public_html/webroot/img/images/products', 'category' => '../../public_html/webroot/img/images/product_categories', 'maker' => '../../public_html/webroot/img/images/product_makers' ), 'size' => array( 'product' => array( (int) 0 => (int) 1349, (int) 1 => (int) 970, (int) 2 => (int) 1349, (int) 3 => (int) 970 ), 'category' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'category_banner' => array( (int) 0 => (int) 650, (int) 1 => 'n', (int) 2 => (int) 650, (int) 3 => 'n' ), 'maker' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'maker_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'enable' => true, 'code' => false, 'images' => true, 'watermark' => true, 'quantity' => true, 'unit' => array( 'Năm' => 'Năm' ), 'price' => true, 'warranty' => true, 'summary' => true, 'comment' => false, 'related' => false, 'tax' => false, 'onename' => false, 'towname' => true, 'capacity' => true, 'bandwidth' => true, 'emailaddress' => true, 'subdomain' => true, 'phpsever' => true, 'hosting' => true, 'msql' => true, 'rate' => false, 'currency' => false, 'discount' => false, 'promotion' => false, 'option' => false, 'tag' => false, 'like' => false, 'order' => true, 'cart_button' => true, 'comment_face' => false, 'comment_google' => false, 'pro_child' => false, 'multi_box' => false, 'category_banner' => false, 'category_image' => false, 'category_description' => true, 'maker' => false, 'maker_image' => true, 'maker_banner' => true, 'maker_description' => true, 'display' => array(), 'display_home' => array( 'enable' => true, 'ProductQuantity' => (int) 10 ) ) $web2in1_product_home = array( 'path' => '../../public_html/webroot/img/images/product_homes', 'size' => array( (int) 0 => (int) 850, (int) 1 => (int) 530, (int) 2 => (int) 850, (int) 3 => (int) 530 ), 'enable' => true, 'display' => array() ) $web2in1_post = array( 'path' => array( 'post' => '../../public_html/webroot/img/images/posts', 'category' => '../../public_html/webroot/img/images/post_categories' ), 'size' => array( 'post' => array( (int) 0 => (int) 600, (int) 1 => (int) 480, (int) 2 => (int) 600, (int) 3 => (int) 480 ), 'category' => array( (int) 0 => (int) 400, (int) 1 => (int) 252, (int) 2 => (int) 400, (int) 3 => (int) 252 ), 'category_banner' => array( (int) 0 => (int) 600, (int) 1 => (int) 120, (int) 2 => (int) 600, (int) 3 => (int) 120 ) ), 'enable' => true, 'category_banner' => false, 'category_image' => true, 'category_description' => true, 'tag' => false, 'rss' => false, 'comment' => false, 'comment_face' => false, 'comment_google' => false, 'rate' => false, 'post_child' => false, 'display' => array( (int) 5 => 'Có thể bạn quan tâm', (int) 6 => 'Có thể bạn quan tâm' ), '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í 1', (int) 5 => 'Menu vị trí 2', (int) 6 => 'Menu vị trí 3' ) ) $web2in1_poll = array( 'enable' => false ) $web2in1_testimonial = array( 'path' => '../../public_html/webroot/img/images/testimonials', 'size' => array( 'testimonial' => array( (int) 0 => (int) 220, (int) 1 => (int) 220, (int) 2 => (int) 220, (int) 3 => (int) 220 ) ), 'enable' => true ) $web2in1_information = array( '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 top vi 5', (int) 6 => 'Menu top vi 6', (int) 7 => 'Menu top vi 7', (int) 8 => 'Menu vi tri 1', (int) 9 => 'Menu vi tri 2', (int) 10 => 'Menu vi tri 3', (int) 11 => 'Menu vi tri 4', (int) 12 => 'Menu top vi 5', (int) 13 => 'Menu top vi 6', (int) 14 => 'Menu top vi 7' ) ) $web2in1_faq = array( 'enable' => true ) $web2in1_contact = array( 'enable' => true ) $web2in1_banner = array( 'path' => '../../public_html/webroot/img/images/banners', 'size' => array( (int) 1 => array( (int) 0 => (int) 1180, (int) 1 => (int) 125, (int) 2 => (int) 1180, (int) 3 => (int) 125 ), (int) 2 => array( (int) 0 => (int) 1545, (int) 1 => (int) 1055, (int) 2 => (int) 1545, (int) 3 => (int) 1055 ), (int) 3 => array( (int) 0 => (int) 115, (int) 1 => (int) 70, (int) 2 => (int) 115, (int) 3 => (int) 70 ), (int) 4 => array( (int) 0 => (int) 1040, (int) 1 => 'n', (int) 2 => (int) 1040, (int) 3 => 'n' ), (int) 5 => array( (int) 0 => (int) 823, (int) 1 => 'n', (int) 2 => (int) 823, (int) 3 => 'n' ), (int) 6 => array( (int) 0 => (int) 334, (int) 1 => (int) 334, (int) 2 => (int) 334, (int) 3 => (int) 334 ), (int) 7 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 8 => array( (int) 0 => (int) 600, (int) 1 => 'n', (int) 2 => (int) 600, (int) 3 => 'n' ), (int) 9 => array( (int) 0 => (int) 1120, (int) 1 => 'n', (int) 2 => (int) 1120, (int) 3 => 'n' ), (int) 10 => array( (int) 0 => (int) 160, (int) 1 => 'n', (int) 2 => (int) 160, (int) 3 => 'n' ) ), 'enable' => true, 'page' => array( (int) 1 => 'Tất cả', (int) 2 => 'Trang chủ', (int) 3 => 'Danh mục sản phẩm', (int) 18 => 'Hãng sản xuất', (int) 4 => 'Danh mục bài viết', (int) 6 => 'Các trang thông tin', (int) 11 => 'Video', (int) 12 => 'Hình ảnh', (int) 13 => 'Tài liệu', (int) 9 => 'Faqs', (int) 5 => 'Liên hệ', (int) 19 => 'Tất cả', (int) 20 => 'Trang chủ', (int) 21 => 'Danh mục sản phẩm', (int) 22 => 'Hãng sản xuất', (int) 23 => 'Danh mục bài viết', (int) 24 => 'Các trang thông tin', (int) 25 => 'Video', (int) 26 => 'Hình ảnh', (int) 27 => 'Tài liệu', (int) 28 => 'Faqs', (int) 29 => 'Liên hệ' ), 'display' => array( (int) 1 => 'Banner', (int) 2 => 'Slideshow', (int) 3 => 'Logo chạy chân web', (int) 4 => 'Ảnh giải pháp bán hàng home', (int) 5 => 'Ảnh ưu việt', (int) 6 => '4 box home', (int) 7 => 'Quảng cáo cam kết dịch vụ home', (int) 9 => 'Chân web home', (int) 10 => 'Banner', (int) 11 => 'Slideshow', (int) 12 => 'Logo chạy chân web', (int) 13 => 'Ảnh giải pháp bán hàng home', (int) 14 => 'Ảnh ưu việt', (int) 15 => '4 box home', (int) 16 => 'Quảng cáo cam kết dịch vụ home', (int) 17 => 'Chân web home' ) ) $web2in1_support = array( 'path' => array( 'category' => '../../public_html/webroot/img/images/supports' ), 'size' => array( 'category' => array( (int) 0 => (int) 259, (int) 1 => (int) 259, (int) 2 => (int) 259, (int) 3 => (int) 259 ) ), 'enable' => false, 'image' => true, 'livechat' => false ) $web2in1_script = array( 'enable' => true ) $web2in1_seo = true $web2in1_notifice = null $web2in1_media = array( 'path' => array( 'gallery' => '../../public_html/webroot/img/images/galleries', 'category' => '../../public_html/webroot/img/images/gallery_categories', 'category_video' => '../../public_html/webroot/img/images/video_categories', 'document' => '../../public_html/webroot/img/files/documents' ), 'size' => array( 'category' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'category_video' => array( (int) 0 => (int) 420, (int) 1 => (int) 420, (int) 2 => (int) 420, (int) 3 => (int) 420 ), 'gallery' => array( (int) 0 => (int) 850, (int) 1 => (int) 654, (int) 2 => (int) 850, (int) 3 => (int) 654 ) ), 'video' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'document' => array( 'enable' => false, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ), 'gallery' => array( 'enable' => false, 'image' => true, 'comment' => false, 'comment_face' => true, 'comment_google' => false, 'rate' => true, 'display' => array( (int) 1 => 'Vị trí hiển thị 1', (int) 2 => 'Vị trí hiển thị 1' ) ) ) $web2in1_language = array( 'vi' => 'Tiếng Việt' ) $web2in1_path = null $web2in1_size = null $web2in1_map = array( 'enable' => false, 'contact' => true ) $web2in1_sitemap = array( 'xml' => true, 'html' => true ) $web2in1_newsletter = array( 'enable' => true ) $web2in1_member = array( 'path' => array( 'member_file' => '../../public_html/webroot/img/files/members' ), 'enable' => true, 'message' => true ) $web2in1_country = array( 'path' => '../../public_html/webroot/img/images/countries', 'size' => array( 'country' => array( (int) 0 => (int) 35, (int) 1 => (int) 25, (int) 2 => (int) 35, (int) 3 => (int) 25 ), 'country_banner' => array( (int) 0 => (int) 580, (int) 1 => (int) 120, (int) 2 => (int) 580, (int) 3 => (int) 120 ) ), 'country' => false, 'country_image' => true, 'country_banner' => false, 'link' => false, 'banner_link' => false, 'country_description' => false ) $web2in1_locations = array( 'location' => true ) $web2in1_customer = array( 'path' => '../../public_html/webroot/img/images/customers', 'size' => array( (int) 0 => (int) 250, (int) 1 => (int) 250, (int) 2 => (int) 250, (int) 3 => (int) 250 ), 'enable' => false, 'display' => array( (int) 1 => 'Hiển thị trang chủ', (int) 2 => 'Hiển thị trang chủ' ) ) $web2in1_config = array( 'enable' => true, 'site_footer_mobile' => true, 'site_footer2' => true, 'site_footer' => true, 'language' => 'vi' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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/sah_core/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 => 'sahvn_sahvn' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' 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] ) [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' => 'contact_%' ), '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/sah_core/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' => 'contact_%' ), '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 565</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">'web2in1'</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' => 'contact_%' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span> <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">'a_configs_h'</span><span style="color: #007700">)); </span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {} [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) is_mobile => false name => 'Pages' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'frontend/temp/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 => 'page' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Web2in1 => object(Web2in1Component) {} RequestHandler => object(RequestHandlerComponent) {} Paginator => object(PaginatorComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit => (int) 4 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '' webroot => '/' here => '/' [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 => false base => '' webroot => '/' here => '/' [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/s_script_google_analytics.ctp, line 1 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::_renderElement() - APP/sah_core/lib/Cake/View/View.php, line 1191 View::element() - APP/sah_core/lib/Cake/View/View.php, line 408 include - APP/View/Layouts/frontend/temp/index.ctp, line 355 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??
echo $this->element('frontend/s_script_google_analytics'); ?><div class="call-mobile"><a data-animate="fadeInDown" rel="noopener noreferrer" href="https://zalo.me/<?php echo str_replace(' ', '', $a_configs_h['phone'])?>" target="_blank" data-animated="true"> <span>Chat Zalo </span></a>
$viewFile = '/home/sahvn/domains/sah.vn/public_html/View/Layouts/frontend/temp/index.ctp'
$dataForView = array(
'code' => (int) 500,
'url' => '/',
'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`configs`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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' => '643bee1a76c16b7be541a7c44d6bc445',
'web2in1_search' => array(
'product' => array(
'enable' => false,
'maker' => false,
'category' => false,
'price' => array([maximum depth reached])
),
'post' => array(
'enable' => false,
'category' => false
)
),
'web2in1_counter' => array(
'enable' => true,
'online' => true,
'yesterday' => true,
'today' => true,
'week' => true,
'month' => true,
'year' => true,
'total' => true
),
'web2in1_web' => array(
'layout' => 'temp',
'column_left' => false,
'column_right' => true,
'logo' => 'logo.png',
'logos' => 'logos.png',
'logo115' => 'logo115.png',
'social' => true,
'nav_footer' => false,
'drop_down' => false,
'notifice' => true,
'tooltip_effect' => 'none',
'icon_discount' => false,
'icon_promotion' => false,
'right_click' => true,
'comment' => false,
'help' => 'http://thietkewebbacgiang.com/'
),
'web2in1_product' => array(
'path' => array(
'product' => '../../public_html/webroot/img/images/products',
'category' => '../../public_html/webroot/img/images/product_categories',
'maker' => '../../public_html/webroot/img/images/product_makers'
),
'size' => array(
'product' => array(
[maximum depth reached]
),
'category' => array(
[maximum depth reached]
),
'category_banner' => array(
[maximum depth reached]
),
'maker' => array(
[maximum depth reached]
),
'maker_banner' => array(
[maximum depth reached]
)
),
'enable' => true,
'code' => false,
'images' => true,
'watermark' => true,
'quantity' => true,
'unit' => array(
'Năm' => 'Năm'
),
'price' => true,
'warranty' => true,
'summary' => true,
'comment' => false,
'related' => false,
'tax' => false,
'onename' => false,
'towname' => true,
'capacity' => true,
'bandwidth' => true,
'emailaddress' => true,
'subdomain' => true,
'phpsever' => true,
'hosting' => true,
'msql' => true,
'rate' => false,
'currency' => false,
'discount' => false,
'promotion' => false,
'option' => false,
'tag' => false,
'like' => false,
'order' => true,
'cart_button' => true,
'comment_face' => false,
'comment_google' => false,
'pro_child' => false,
'multi_box' => false,
'category_banner' => false,
'category_image' => false,
'category_description' => true,
'maker' => false,
'maker_image' => true,
'maker_banner' => true,
'maker_description' => true,
'display' => array(),
'display_home' => array(
'enable' => true,
'ProductQuantity' => (int) 10
)
),
'web2in1_product_home' => array(
'path' => '../../public_html/webroot/img/images/product_homes',
'size' => array(
(int) 0 => (int) 850,
(int) 1 => (int) 530,
(int) 2 => (int) 850,
(int) 3 => (int) 530
),
'enable' => true,
'display' => array()
),
'web2in1_post' => array(
'path' => array(
'post' => '../../public_html/webroot/img/images/posts',
'category' => '../../public_html/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' => false,
'category_image' => true,
'category_description' => true,
'tag' => false,
'rss' => false,
'comment' => false,
'comment_face' => false,
'comment_google' => false,
'rate' => false,
'post_child' => false,
'display' => array(
(int) 5 => 'Có thể bạn quan tâm',
(int) 6 => 'Có thể bạn quan tâm'
),
'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í 1',
(int) 5 => 'Menu vị trí 2',
(int) 6 => 'Menu vị trí 3'
)
),
'web2in1_poll' => array(
'enable' => false
),
'web2in1_testimonial' => array(
'path' => '../../public_html/webroot/img/images/testimonials',
'size' => array(
'testimonial' => array(
[maximum depth reached]
)
),
'enable' => true
),
'web2in1_information' => array(
'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 top vi 5',
(int) 6 => 'Menu top vi 6',
(int) 7 => 'Menu top vi 7',
(int) 8 => 'Menu vi tri 1',
(int) 9 => 'Menu vi tri 2',
(int) 10 => 'Menu vi tri 3',
(int) 11 => 'Menu vi tri 4',
(int) 12 => 'Menu top vi 5',
(int) 13 => 'Menu top vi 6',
(int) 14 => 'Menu top vi 7'
)
),
'web2in1_faq' => array(
'enable' => true
),
'web2in1_contact' => array(
'enable' => true
),
'web2in1_banner' => array(
'path' => '../../public_html/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) 18 => 'Hãng sản xuất',
(int) 4 => 'Danh mục bài viết',
(int) 6 => 'Các trang thông tin',
(int) 11 => 'Video',
(int) 12 => 'Hình ảnh',
(int) 13 => 'Tài liệu',
(int) 9 => 'Faqs',
(int) 5 => 'Liên hệ',
(int) 19 => 'Tất cả',
(int) 20 => 'Trang chủ',
(int) 21 => 'Danh mục sản phẩm',
(int) 22 => 'Hãng sản xuất',
(int) 23 => 'Danh mục bài viết',
(int) 24 => 'Các trang thông tin',
(int) 25 => 'Video',
(int) 26 => 'Hình ảnh',
(int) 27 => 'Tài liệu',
(int) 28 => 'Faqs',
(int) 29 => 'Liên hệ'
),
'display' => array(
(int) 1 => 'Banner',
(int) 2 => 'Slideshow',
(int) 3 => 'Logo chạy chân web',
(int) 4 => 'Ảnh giải pháp bán hàng home',
(int) 5 => 'Ảnh ưu việt',
(int) 6 => '4 box home',
(int) 7 => 'Quảng cáo cam kết dịch vụ home',
(int) 9 => 'Chân web home',
(int) 10 => 'Banner',
(int) 11 => 'Slideshow',
(int) 12 => 'Logo chạy chân web',
(int) 13 => 'Ảnh giải pháp bán hàng home',
(int) 14 => 'Ảnh ưu việt',
(int) 15 => '4 box home',
(int) 16 => 'Quảng cáo cam kết dịch vụ home',
(int) 17 => 'Chân web home'
)
),
'web2in1_support' => array(
'path' => array(
'category' => '../../public_html/webroot/img/images/supports'
),
'size' => array(
'category' => array(
[maximum depth reached]
)
),
'enable' => false,
'image' => true,
'livechat' => false
),
'web2in1_script' => array(
'enable' => true
),
'web2in1_seo' => true,
'web2in1_notifice' => null,
'web2in1_media' => array(
'path' => array(
'gallery' => '../../public_html/webroot/img/images/galleries',
'category' => '../../public_html/webroot/img/images/gallery_categories',
'category_video' => '../../public_html/webroot/img/images/video_categories',
'document' => '../../public_html/webroot/img/files/documents'
),
'size' => array(
'category' => array(
[maximum depth reached]
),
'category_video' => array(
[maximum depth reached]
),
'gallery' => array(
[maximum depth reached]
)
),
'video' => array(
'enable' => false,
'image' => true,
'comment' => false,
'comment_face' => true,
'comment_google' => false,
'rate' => true,
'display' => array(
[maximum depth reached]
)
),
'document' => array(
'enable' => false,
'display' => array(
[maximum depth reached]
)
),
'gallery' => array(
'enable' => false,
'image' => true,
'comment' => false,
'comment_face' => true,
'comment_google' => false,
'rate' => true,
'display' => array(
[maximum depth reached]
)
)
),
'web2in1_language' => array(
'vi' => 'Tiếng Việt'
),
'web2in1_path' => null,
'web2in1_size' => null,
'web2in1_map' => array(
'enable' => false,
'contact' => true
),
'web2in1_sitemap' => array(
'xml' => true,
'html' => true
),
'web2in1_newsletter' => array(
'enable' => true
),
'web2in1_member' => array(
'path' => array(
'member_file' => '../../public_html/webroot/img/files/members'
),
'enable' => true,
'message' => true
),
'web2in1_country' => array(
'path' => '../../public_html/webroot/img/images/countries',
'size' => array(
'country' => array(
[maximum depth reached]
),
'country_banner' => array(
[maximum depth reached]
)
),
'country' => false,
'country_image' => true,
'country_banner' => false,
'link' => false,
'banner_link' => false,
'country_description' => false
),
'web2in1_locations' => array(
'location' => true
),
'web2in1_customer' => array(
'path' => '../../public_html/webroot/img/images/customers',
'size' => array(
(int) 0 => (int) 250,
(int) 1 => (int) 250,
(int) 2 => (int) 250,
(int) 3 => (int) 250
),
'enable' => false,
'display' => array(
(int) 1 => 'Hiển thị trang chủ',
(int) 2 => 'Hiển thị trang chủ'
)
),
'web2in1_config' => array(
'enable' => true,
'site_footer_mobile' => true,
'site_footer2' => true,
'site_footer' => true,
'language' => 'vi'
),
'content_for_layout' => '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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/sah_core/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/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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' => 'contact_%'
),
'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/sah_core/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' => 'contact_%'
),
'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 565</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">'web2in1'</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' => 'contact_%'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span>
<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">'a_configs_h'</span><span style="color: #007700">));
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
is_mobile => false
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'home'
layout => 'frontend/temp/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 => 'page'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Web2in1 => object(Web2in1Component) {}
RequestHandler => object(RequestHandlerComponent) {}
Paginator => object(PaginatorComponent) {}
Config => object(Config) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
[private] limit => (int) 4
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => false
base => ''
webroot => '/'
here => '/'
[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 => false
base => ''
webroot => '/'
here => '/'
[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 = '/'
$name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
)
queryString => 'SHOW FULL COLUMNS FROM `sahvn_sahvn`.`configs`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/sahvn/domains/sah.vn/public_html/sah_core/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 = '643bee1a76c16b7be541a7c44d6bc445'
$web2in1_search = array(
'product' => array(
'enable' => false,
'maker' => false,
'category' => false,
'price' => array()
),
'post' => array(
'enable' => false,
'category' => false
)
)
$web2in1_counter = array(
'enable' => true,
'online' => true,
'yesterday' => true,
'today' => true,
'week' => true,
'month' => true,
'year' => true,
'total' => true
)
$web2in1_web = array(
'layout' => 'temp',
'column_left' => false,
'column_right' => true,
'logo' => 'logo.png',
'logos' => 'logos.png',
'logo115' => 'logo115.png',
'social' => true,
'nav_footer' => false,
'drop_down' => false,
'notifice' => true,
'tooltip_effect' => 'none',
'icon_discount' => false,
'icon_promotion' => false,
'right_click' => true,
'comment' => false,
'help' => 'http://thietkewebbacgiang.com/'
)
$web2in1_product = array(
'path' => array(
'product' => '../../public_html/webroot/img/images/products',
'category' => '../../public_html/webroot/img/images/product_categories',
'maker' => '../../public_html/webroot/img/images/product_makers'
),
'size' => array(
'product' => array(
(int) 0 => (int) 1349,
(int) 1 => (int) 970,
(int) 2 => (int) 1349,
(int) 3 => (int) 970
),
'category' => array(
(int) 0 => (int) 850,
(int) 1 => (int) 530,
(int) 2 => (int) 850,
(int) 3 => (int) 530
),
'category_banner' => array(
(int) 0 => (int) 650,
(int) 1 => 'n',
(int) 2 => (int) 650,
(int) 3 => 'n'
),
'maker' => array(
(int) 0 => (int) 35,
(int) 1 => (int) 25,
(int) 2 => (int) 35,
(int) 3 => (int) 25
),
'maker_banner' => array(
(int) 0 => (int) 580,
(int) 1 => (int) 120,
(int) 2 => (int) 580,
(int) 3 => (int) 120
)
),
'enable' => true,
'code' => false,
'images' => true,
'watermark' => true,
'quantity' => true,
'unit' => array(
'Năm' => 'Năm'
),
'price' => true,
'warranty' => true,
'summary' => true,
'comment' => false,
'related' => false,
'tax' => false,
'onename' => false,
'towname' => true,
'capacity' => true,
'bandwidth' => true,
'emailaddress' => true,
'subdomain' => true,
'phpsever' => true,
'hosting' => true,
'msql' => true,
'rate' => false,
'currency' => false,
'discount' => false,
'promotion' => false,
'option' => false,
'tag' => false,
'like' => false,
'order' => true,
'cart_button' => true,
'comment_face' => false,
'comment_google' => false,
'pro_child' => false,
'multi_box' => false,
'category_banner' => false,
'category_image' => false,
'category_description' => true,
'maker' => false,
'maker_image' => true,
'maker_banner' => true,
'maker_description' => true,
'display' => array(),
'display_home' => array(
'enable' => true,
'ProductQuantity' => (int) 10
)
)
$web2in1_product_home = array(
'path' => '../../public_html/webroot/img/images/product_homes',
'size' => array(
(int) 0 => (int) 850,
(int) 1 => (int) 530,
(int) 2 => (int) 850,
(int) 3 => (int) 530
),
'enable' => true,
'display' => array()
)
$web2in1_post = array(
'path' => array(
'post' => '../../public_html/webroot/img/images/posts',
'category' => '../../public_html/webroot/img/images/post_categories'
),
'size' => array(
'post' => array(
(int) 0 => (int) 600,
(int) 1 => (int) 480,
(int) 2 => (int) 600,
(int) 3 => (int) 480
),
'category' => array(
(int) 0 => (int) 400,
(int) 1 => (int) 252,
(int) 2 => (int) 400,
(int) 3 => (int) 252
),
'category_banner' => array(
(int) 0 => (int) 600,
(int) 1 => (int) 120,
(int) 2 => (int) 600,
(int) 3 => (int) 120
)
),
'enable' => true,
'category_banner' => false,
'category_image' => true,
'category_description' => true,
'tag' => false,
'rss' => false,
'comment' => false,
'comment_face' => false,
'comment_google' => false,
'rate' => false,
'post_child' => false,
'display' => array(
(int) 5 => 'Có thể bạn quan tâm',
(int) 6 => 'Có thể bạn quan tâm'
),
'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í 1',
(int) 5 => 'Menu vị trí 2',
(int) 6 => 'Menu vị trí 3'
)
)
$web2in1_poll = array(
'enable' => false
)
$web2in1_testimonial = array(
'path' => '../../public_html/webroot/img/images/testimonials',
'size' => array(
'testimonial' => array(
(int) 0 => (int) 220,
(int) 1 => (int) 220,
(int) 2 => (int) 220,
(int) 3 => (int) 220
)
),
'enable' => true
)
$web2in1_information = array(
'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 top vi 5',
(int) 6 => 'Menu top vi 6',
(int) 7 => 'Menu top vi 7',
(int) 8 => 'Menu vi tri 1',
(int) 9 => 'Menu vi tri 2',
(int) 10 => 'Menu vi tri 3',
(int) 11 => 'Menu vi tri 4',
(int) 12 => 'Menu top vi 5',
(int) 13 => 'Menu top vi 6',
(int) 14 => 'Menu top vi 7'
)
)
$web2in1_faq = array(
'enable' => true
)
$web2in1_contact = array(
'enable' => true
)
$web2in1_banner = array(
'path' => '../../public_html/webroot/img/images/banners',
'size' => array(
(int) 1 => array(
(int) 0 => (int) 1180,
(int) 1 => (int) 125,
(int) 2 => (int) 1180,
(int) 3 => (int) 125
),
(int) 2 => array(
(int) 0 => (int) 1545,
(int) 1 => (int) 1055,
(int) 2 => (int) 1545,
(int) 3 => (int) 1055
),
(int) 3 => array(
(int) 0 => (int) 115,
(int) 1 => (int) 70,
(int) 2 => (int) 115,
(int) 3 => (int) 70
),
(int) 4 => array(
(int) 0 => (int) 1040,
(int) 1 => 'n',
(int) 2 => (int) 1040,
(int) 3 => 'n'
),
(int) 5 => array(
(int) 0 => (int) 823,
(int) 1 => 'n',
(int) 2 => (int) 823,
(int) 3 => 'n'
),
(int) 6 => array(
(int) 0 => (int) 334,
(int) 1 => (int) 334,
(int) 2 => (int) 334,
(int) 3 => (int) 334
),
(int) 7 => array(
(int) 0 => (int) 1120,
(int) 1 => 'n',
(int) 2 => (int) 1120,
(int) 3 => 'n'
),
(int) 8 => array(
(int) 0 => (int) 600,
(int) 1 => 'n',
(int) 2 => (int) 600,
(int) 3 => 'n'
),
(int) 9 => array(
(int) 0 => (int) 1120,
(int) 1 => 'n',
(int) 2 => (int) 1120,
(int) 3 => 'n'
),
(int) 10 => array(
(int) 0 => (int) 160,
(int) 1 => 'n',
(int) 2 => (int) 160,
(int) 3 => 'n'
)
),
'enable' => true,
'page' => array(
(int) 1 => 'Tất cả',
(int) 2 => 'Trang chủ',
(int) 3 => 'Danh mục sản phẩm',
(int) 18 => 'Hãng sản xuất',
(int) 4 => 'Danh mục bài viết',
(int) 6 => 'Các trang thông tin',
(int) 11 => 'Video',
(int) 12 => 'Hình ảnh',
(int) 13 => 'Tài liệu',
(int) 9 => 'Faqs',
(int) 5 => 'Liên hệ',
(int) 19 => 'Tất cả',
(int) 20 => 'Trang chủ',
(int) 21 => 'Danh mục sản phẩm',
(int) 22 => 'Hãng sản xuất',
(int) 23 => 'Danh mục bài viết',
(int) 24 => 'Các trang thông tin',
(int) 25 => 'Video',
(int) 26 => 'Hình ảnh',
(int) 27 => 'Tài liệu',
(int) 28 => 'Faqs',
(int) 29 => 'Liên hệ'
),
'display' => array(
(int) 1 => 'Banner',
(int) 2 => 'Slideshow',
(int) 3 => 'Logo chạy chân web',
(int) 4 => 'Ảnh giải pháp bán hàng home',
(int) 5 => 'Ảnh ưu việt',
(int) 6 => '4 box home',
(int) 7 => 'Quảng cáo cam kết dịch vụ home',
(int) 9 => 'Chân web home',
(int) 10 => 'Banner',
(int) 11 => 'Slideshow',
(int) 12 => 'Logo chạy chân web',
(int) 13 => 'Ảnh giải pháp bán hàng home',
(int) 14 => 'Ảnh ưu việt',
(int) 15 => '4 box home',
(int) 16 => 'Quảng cáo cam kết dịch vụ home',
(int) 17 => 'Chân web home'
)
)
$web2in1_support = array(
'path' => array(
'category' => '../../public_html/webroot/img/images/supports'
),
'size' => array(
'category' => array(
(int) 0 => (int) 259,
(int) 1 => (int) 259,
(int) 2 => (int) 259,
(int) 3 => (int) 259
)
),
'enable' => false,
'image' => true,
'livechat' => false
)
$web2in1_script = array(
'enable' => true
)
$web2in1_seo = true
$web2in1_notifice = null
$web2in1_media = array(
'path' => array(
'gallery' => '../../public_html/webroot/img/images/galleries',
'category' => '../../public_html/webroot/img/images/gallery_categories',
'category_video' => '../../public_html/webroot/img/images/video_categories',
'document' => '../../public_html/webroot/img/files/documents'
),
'size' => array(
'category' => array(
(int) 0 => (int) 420,
(int) 1 => (int) 420,
(int) 2 => (int) 420,
(int) 3 => (int) 420
),
'category_video' => array(
(int) 0 => (int) 420,
(int) 1 => (int) 420,
(int) 2 => (int) 420,
(int) 3 => (int) 420
),
'gallery' => array(
(int) 0 => (int) 850,
(int) 1 => (int) 654,
(int) 2 => (int) 850,
(int) 3 => (int) 654
)
),
'video' => array(
'enable' => false,
'image' => true,
'comment' => false,
'comment_face' => true,
'comment_google' => false,
'rate' => true,
'display' => array(
(int) 1 => 'Vị trí hiển thị 1',
(int) 2 => 'Vị trí hiển thị 1'
)
),
'document' => array(
'enable' => false,
'display' => array(
(int) 1 => 'Vị trí hiển thị 1',
(int) 2 => 'Vị trí hiển thị 1'
)
),
'gallery' => array(
'enable' => false,
'image' => true,
'comment' => false,
'comment_face' => true,
'comment_google' => false,
'rate' => true,
'display' => array(
(int) 1 => 'Vị trí hiển thị 1',
(int) 2 => 'Vị trí hiển thị 1'
)
)
)
$web2in1_language = array(
'vi' => 'Tiếng Việt'
)
$web2in1_path = null
$web2in1_size = null
$web2in1_map = array(
'enable' => false,
'contact' => true
)
$web2in1_sitemap = array(
'xml' => true,
'html' => true
)
$web2in1_newsletter = array(
'enable' => true
)
$web2in1_member = array(
'path' => array(
'member_file' => '../../public_html/webroot/img/files/members'
),
'enable' => true,
'message' => true
)
$web2in1_country = array(
'path' => '../../public_html/webroot/img/images/countries',
'size' => array(
'country' => array(
(int) 0 => (int) 35,
(int) 1 => (int) 25,
(int) 2 => (int) 35,
(int) 3 => (int) 25
),
'country_banner' => array(
(int) 0 => (int) 580,
(int) 1 => (int) 120,
(int) 2 => (int) 580,
(int) 3 => (int) 120
)
),
'country' => false,
'country_image' => true,
'country_banner' => false,
'link' => false,
'banner_link' => false,
'country_description' => false
)
$web2in1_locations = array(
'location' => true
)
$web2in1_customer = array(
'path' => '../../public_html/webroot/img/images/customers',
'size' => array(
(int) 0 => (int) 250,
(int) 1 => (int) 250,
(int) 2 => (int) 250,
(int) 3 => (int) 250
),
'enable' => false,
'display' => array(
(int) 1 => 'Hiển thị trang chủ',
(int) 2 => 'Hiển thị trang chủ'
)
)
$web2in1_config = array(
'enable' => true,
'site_footer_mobile' => true,
'site_footer2' => true,
'site_footer' => true,
'language' => 'vi'
)
$content_for_layout = '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-316841-2e865-16e4f.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 `sahvn_sahvn`.`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/sah_core/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/sah_core/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 `sahvn_sahvn`.`configs`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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/sah_core/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/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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/sah_core/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 => 'sahvn_sahvn'
table => 'configs'
primaryKey => 'id'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
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]
)
[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' => 'contact_%'
),
'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/sah_core/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' => 'contact_%'
),
'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 565</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">'web2in1'</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' => 'contact_%'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 231</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"> Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config.language'</span><span style="color: #007700">, </span><span style="color: #0000BB">$lang</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">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 style="color: #FF8000">//Đọc cấu hình
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $a_configs_h </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></span>
<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">'a_configs_h'</span><span style="color: #007700">));
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'contact'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 100</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 82</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">if(!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$lang</span><span style="color: #007700">, </span><span style="color: #0000BB">$a_languages </span><span style="color: #007700">)) </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">redirect</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'controller'</span><span style="color: #007700">=></span><span style="color: #DD0000">'pages'</span><span style="color: #007700">,</span><span style="color: #DD0000">'action'</span><span style="color: #007700">=></span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'lang'</span><span style="color: #007700">=></span><span style="color: #0000BB">$a_languages</span><span style="color: #007700">[</span><span style="color: #0000BB">0</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"> 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(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/sah_core/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(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/sah_core/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(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/sah_core/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/sah_core/lib/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(PagesController, 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(PagesController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
is_mobile => false
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'home'
layout => 'frontend/temp/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 => 'page'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Web2in1 => object(Web2in1Component) {}
RequestHandler => object(RequestHandlerComponent) {}
Paginator => object(PaginatorComponent) {}
Config => object(Config) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
[private] limit => (int) 4
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => false
base => ''
webroot => '/'
here => '/'
[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 => false
base => ''
webroot => '/'
here => '/'
[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'
$controller = 'pages'
$action = 'home'
$robots = 'index,follow'
$col_left = false
$col_right = false
$class_col = ' no_col_right no_col_left'include - APP/View/Layouts/frontend/temp/index.ctp, line 357 View::_evaluate() - APP/sah_core/lib/Cake/View/View.php, line 931 View::_render() - APP/sah_core/lib/Cake/View/View.php, line 893 View::renderLayout() - APP/sah_core/lib/Cake/View/View.php, line 525 View::render() - APP/sah_core/lib/Cake/View/View.php, line 470 Controller::render() - APP/sah_core/lib/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 275 ExceptionRenderer::pdoError() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 264 ExceptionRenderer::render() - APP/sah_core/lib/Cake/Error/ExceptionRenderer.php, line 177 ErrorHandler::handleException() - APP/sah_core/lib/Cake/Error/ErrorHandler.php, line 122 [main] - [internal], line ??