Warning (2): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: No such host is known. [CORE\Cake\Model\Datasource\Database\Mysql.php, line 175]Code Context $config['password'],
$flags
);
$config = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
$flags = array(
(int) 12 => false,
(int) 1000 => true,
(int) 3 => (int) 2,
(int) 1002 => 'SET NAMES utf8'
)
$dsn = 'mysql:host=mysql01.struturalsolucoes.com.br;port=3306;dbname=struturalsoluc'
$this = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => null
numRows => null
took => null
configKeyName => null
virtualFieldSeparator => '__'
connected => false
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => null
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => null
[protected] _queriesCnt => (int) 0
[protected] _queriesTime => null
[protected] _queriesLog => array()
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => false
[protected] _descriptions => array()
[protected] _sources => null
[protected] _transactionStarted => false
}PDO::__construct() - [internal], line ??
Mysql::connect() - CORE\Cake\Model\Datasource\Database\Mysql.php, line 175
DboSource::__construct() - CORE\Cake\Model\Datasource\DboSource.php, line 260
ConnectionManager::getDataSource() - CORE\Cake\Model\ConnectionManager.php, line 105
Model::setDataSource() - CORE\Cake\Model\Model.php, line 3476
Model::setSource() - CORE\Cake\Model\Model.php, line 1126
AppModel::setSource() - APP\Model\AppModel.php, line 11
Model::getDataSource() - CORE\Cake\Model\Model.php, line 3498
Model::__call() - CORE\Cake\Model\Model.php, line 800
Texto::findByCd_texto() - APP\Plugin\Texto\Model\Texto.php, line 10
Texto::get() - APP\Plugin\Texto\Model\Texto.php, line 10
SiteController::beforeFilter() - APP\Plugin\Frontend\Controller\SiteController.php, line 12
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 674
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 182
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 160
[main] - APP\webroot\index.php, line 108
Warning (2): Cannot modify header information - headers already sent by (output started at E:\home\struturalsolucoes\Web\lib\Cake\Utility\Debugger.php:800) [APP\Model\AppModel.php, line 40]Code Context CakeSession::write('nodatabase', true);
header('Location: '.PREFIX.'setup/install/config');
$string = 'textos'
$e = object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. ',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => 'E:\home\struturalsolucoes\Web\lib\Cake\Model\Datasource\Database\Mysql.php'
[protected] line => (int) 183
}
$Session = array(
'Config' => array(
'userAgent' => 'c31e354eb5e6e838417e1d76f867b2a7',
'time' => (int) 1779203847,
'countdown' => (int) 10
),
'Message' => array(
'flash' => array(
'message' => 'Você precisa definir uma conexão com o banco de dados.',
'element' => 'flash_error',
'params' => array(
[maximum depth reached]
)
)
),
'nodatabase' => true
)header - [internal], line ??
AppModel::setSource() - APP\Model\AppModel.php, line 40
Model::getDataSource() - CORE\Cake\Model\Model.php, line 3498
Model::__call() - CORE\Cake\Model\Model.php, line 800
Texto::findByCd_texto() - APP\Plugin\Texto\Model\Texto.php, line 10
Texto::get() - APP\Plugin\Texto\Model\Texto.php, line 10
SiteController::beforeFilter() - APP\Plugin\Frontend\Controller\SiteController.php, line 12
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 247
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 674
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 182
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 160
[main] - APP\webroot\index.php, line 108