Warning (2): PDO::__construct(): Server sent charset (255) unknown to the client. Please, report to the developers [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' ) $flags = array( (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ) $dsn = 'mysql:host=thrive-standard-prod-instance-1.ckjcqxnfpgmh.us-east-1.rds.amazonaws.com;port=3306;dbname=app_database_standard' $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 => false affected => null numRows => null took => null configKeyName => null virtualFieldSeparator => '__' connected => false config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql' ) 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 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3498 Model::_findCount() - CORE/Cake/Model/Model.php, line 3021 Model::buildQuery() - CORE/Cake/Model/Model.php, line 2934 Model::find() - CORE/Cake/Model/Model.php, line 2869 PartnerRoute::parse() - APP/Lib/PartnerRoute.php, line 17 Router::parse() - CORE/Cake/Routing/Router.php, line 575 Dispatcher::parseParams() - CORE/Cake/Routing/Dispatcher.php, line 211 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 140 [main] - APP/webroot/index.php, line 111
Warning (2): PDO::__construct() [pdo.construct]: Server sent charset (255) unknown to the client. Please, report to the developers [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' ) $flags = array( (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ) $dsn = 'mysql:host=thrive-standard-prod-instance-1.ckjcqxnfpgmh.us-east-1.rds.amazonaws.com;port=3306;dbname=app_database_standard' $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 => false affected => null numRows => null took => null configKeyName => null virtualFieldSeparator => '__' connected => false config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'datasource' => 'Database/Mysql' ) 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 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3498 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2902 Model::find() - CORE/Cake/Model/Model.php, line 2874 AppController::beforeFilter() - APP/Controller/AppController.php, line 122 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 154 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 92 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 119 [main] - [internal], line ??
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers
Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp
));
}
if ($autoConnect) {
$this->connect();
}
'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self::$_dataSources[$name] = new $class(self::$config->{$name});
self::$_dataSources[$name]->configKeyName = $name;
array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'datasource' => 'Database/Mysql', 'persistent' => false )
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
'default'
* @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
'default'
public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
'partners'
$query = $this->{'_find' . ucfirst($query['type'])}('before', $query);
}
$db = $this->getDataSource();
$query['order'] = false;
);
if ($this->findMethods[$type] === true) {
$query = $this->{'_find' . ucfirst($type)}('before', $query);
}
'before' array( 'conditions' => array( 'Partner.slug' => 'ui-lightness/jquery-ui-1.10.3.custom.css' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => null, 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
$this->findQueryType = $type;
$this->id = $this->getID();
$query = $this->buildQuery($type, $query);
if ($query === null) {
'count' array( 'conditions' => array( 'Partner.slug' => 'ui-lightness/jquery-ui-1.10.3.custom.css' ), 'recursive' => (int) -1 )
$count = $partner_model->find( 'count', array(
'conditions' => array( 'Partner.slug' => $partner_slug ),
'recursive' => -1,
) );
if ( $count > 0 ) {
'count' array( 'conditions' => array( 'Partner.slug' => 'ui-lightness/jquery-ui-1.10.3.custom.css' ), 'recursive' => (int) -1 )
for ($i = 0, $len = count(self::$routes); $i < $len; $i++) {
$route =& self::$routes[$i];
if (($r = $route->parse($url)) !== false) {
self::$_currentRoute[] =& $route;
'/ui-lightness/jquery-ui-1.10.3.custom.css'
public function parseParams($event) {
$request = $event->data['request'];
Router::setRequestInfo($request);
$params = Router::parse($request->url);
$request->addParams($params);
'ui-lightness/jquery-ui-1.10.3.custom.css'
object(CakeEvent) { data => array( [maximum depth reached] ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) {} [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(Dispatcher) {}, (int) 1 => 'parseParams' ) object(CakeEvent) { data => array( [maximum depth reached] ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) {} [protected] _stopped => false }
*/
public function dispatch(CakeRequest $request, CakeResponse $response, $additionalParams = array()) {
$beforeEvent = new CakeEvent('Dispatcher.beforeDispatch', $this, compact('request', 'response', 'additionalParams'));
$this->getEventManager()->dispatch($beforeEvent);
object(CakeEvent) { data => array( [maximum depth reached] ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) {} [protected] _stopped => false }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'ui-lightness/jquery-ui-1.10.3.custom.css' base => '' webroot => '/' here => '/ui-lightness/jquery-ui-1.10.3.custom.css' [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]) }
©2024 THRIVE