SQLSTATE[HY000] [2002] Connection refused
Warning (512): _cake_core_ cache was unable to write 'cake_eng' to File cache [CORE/Cake/Cache/Cache.php, line 328]
Error:
An Internal Error Has Occurred. ),
E_USER_WARNING
);
$key = 'cake_eng'
$value = array(
'LC_MESSAGES' => array(
'Submit' => array(
'' => ''
),
'empty' => array(
'' => ''
),
'Error in field %s' => array(
'' => ''
),
'Error' => array(
'' => ''
),
'The requested address %s was not found on this server.' => array(
'' => ''
),
'An Internal Error Has Occurred.' => array(
'' => ''
),
'Home' => array(
'' => ''
),
'%po-header' => array(
'' => ''
),
'Companie Noua' => array(
'' => ''
),
'Task' => array(
'' => ''
),
'Cauta user...' => array(
'' => ''
),
'adauga user' => array(
'' => ''
),
'Alege agent' => array(
'' => ''
),
'Alege asm' => array(
'' => ''
),
'Company' => array(
'' => ''
),
'Adauga utilizator' => array(
'' => ''
),
'Nume' => array(
'' => ''
),
'Prenume' => array(
'' => ''
),
'Email' => array(
'' => ''
),
'Parola' => array(
'' => ''
),
'Rol' => array(
'' => ''
),
'ASM' => array(
'' => ''
),
'Salveaza' => array(
'' => ''
),
'Inapoi' => array(
'' => ''
),
'Task-uri' => array(
'' => ''
),
'Filtre' => array(
'' => ''
),
'Vezi mai mult' => array(
'' => ''
),
'Vezi mai putin' => array(
'' => ''
),
'Adauga pachet' => array(
'' => ''
),
'Impersoneaza' => array(
'' => ''
),
'Editeaza' => array(
'' => ''
),
'Vizualizeaza' => array(
'' => ''
),
'Dezactiveaza' => array(
'' => ''
),
'Notificare email' => array(
'' => ''
),
'ore inainte' => array(
'' => ''
),
'ora inainte' => array(
'' => ''
),
'Descriere' => array(
'' => ''
),
'Minuta' => array(
'' => ''
),
'Utilizatori' => array(
'' => ''
),
'Compania adaugata exista in baza de date!' => array(
'' => ''
),
'Exista un pachet cu acest cod in baza de date!' => array(
'' => ''
),
'Asteptati, se proceseaza...' => array(
'' => ''
),
'Adauga' => array(
'' => ''
),
'Atasamente' => array(
'' => ''
),
'Valoare noua:' => array(
'' => ''
),
'Nume pachet' => array(
'' => ''
),
'Cod bare pachet' => array(
'' => ''
),
'Adauga produs' => array(
'' => ''
),
'Nr.' => array(
'' => ''
),
'Produs' => array(
'' => ''
),
'Cantitate' => array(
'' => ''
),
'Pachete Produse' => array(
'' => ''
),
'Cod' => array(
'' => ''
),
'Nr Produse' => array(
'' => ''
),
'Actiuni' => array(
'' => ''
),
'Editare task' => array(
'' => ''
),
'Task nou' => array(
'' => ''
),
'Descriere Task(minim 10 caractere)' => array(
'' => ''
),
'Email notificare' => array(
'' => ''
),
'Selecteaza participanti' => array(
'' => ''
),
'Editare Companie' => array(
'' => ''
),
'Companie noua' => array(
'' => ''
),
'Date firma' => array(
'' => ''
),
'Date contact' => array(
'' => ''
),
'Proprietati' => array(
'' => ''
),
'Va rugam nu selectati o companie existenta' => array(
'' => ''
),
'Adauga minuta' => array(
'' => ''
),
'Minuta Task(minim 10 caractere)' => array(
'' => ''
),
'Ai uitat parola?' => array(
'' => ''
)
)
)
$config = '_cake_core_'
$settings = array(
'engine' => 'File',
'prefix' => 'myapp_cake_core_',
'path' => '/home/myexpert/itxs.ro/app/tmp/cache/persistent/',
'serialize' => true,
'duration' => (int) 10,
'lock' => true,
'isWindows' => false,
'mask' => (int) 436,
'probability' => (int) 100,
'groups' => array()
)
$success = false
Cache::write() - CORE/Cake/Cache/Cache.php, line 328
I18n::translate() - CORE/Cake/I18n/I18n.php, line 240
__d - CORE/Cake/basics.php, line 636
include - APP/View/Elements/Frontend/itxs/Errors/error500.ctp, line 19
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Errors/error500.ctp, line 1
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
ExceptionRenderer::_outputMessageSafe() - CORE/Cake/Error/ExceptionRenderer.php, line 328
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 309
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 278 → Mysql->connect()
));
}
if ($autoConnect) {
$this->connect();
}
- CORE/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct(array)
'message' => 'Datasource is not found in Model/Datasource package.'
));
}
static::$_dataSources[$name] = new $class(static::$config->{$name});
static::$_dataSources[$name]->configKeyName = $name;
array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'datasource' => 'Database/Mysql', 'persistent' => false, 'prefix' => '', 'encoding' => 'utf8' )
- CORE/Cake/Model/Model.php line 3646 → ConnectionManager::getDataSource(string)
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
'default'
- CORE/Cake/Model/Model.php line 1162 → Model->setDataSource(string)
* @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
'default'
- CORE/Cake/Model/Model.php line 3673 → Model->setSource(string)
public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
'routes'
- CORE/Cake/Model/Model.php line 3475 → Model->getDataSource()
if (count($params) === 1 || count($params) === 2 && !is_bool($params[1])) {
$params[] = $this->cacheQueries;
}
$db = $this->getDataSource();
return call_user_func_array(array(&$db, 'query'), $params);
- APP/Lib/ModelRoute.php line 59 → Model->query(string)
$this->FilterSet = new FilterSet();
$this->Attribute = new Attribute();
}
$this->Route->query("SET @@SESSION.sql_mode='';");
// $this->setRouteValues();
'SET @@SESSION.sql_mode='';'
- CORE/Cake/Routing/Router.php line 377 → ModelRoute->__construct(string, array, array)
if ($routeClass === 'RedirectRoute' && isset($defaults['redirect'])) {
$defaults = $defaults['redirect'];
}
static::$routes[] = new $routeClass($route, $defaults, $options);
return static::$routes;
'/' array( 'plugin' => null, 'action' => 'index' ) array()
- APP/Config/routes.php line 43 → Router::connect(string, array, array)
// Router::connect('/:controllerFrontend/:action/*',array('controller' => 'frontend'), array('controllerFrontend' => '^(?!admin$).*'));
Router::connect('/', array(), array('routeClass' => 'ModelRoute'));
Router::connect('/', array('controller' => 'pages', 'action' => 'display'), array('routeClass' => 'ModelRoute'));
'/' array() array( 'routeClass' => 'ModelRoute' )
- CORE/Cake/Routing/Router.php line 1284 → include(string)
*/
protected static function _loadRoutes() {
static::$initialized = true;
include CONFIG . 'routes.php';
}
'/home/myexpert/itxs.ro/app/Config/routes.php'
- CORE/Cake/Routing/Router.php line 596 → Router::_loadRoutes()
*/
public static function parse($url) {
if (!static::$initialized) {
static::_loadRoutes();
}
- CORE/Cake/Routing/Dispatcher.php line 219 → Router::parse(string)
public function parseParams($event) {
$request = $event->data['request'];
Router::setRequestInfo($request);
$params = Router::parse($request->url);
$request->addParams($params);
'sitemap.xml'
- [internal function] → Dispatcher->parseParams(CakeEvent)
object(CakeEvent) { data => array( 'request' => object(CakeRequest) {}, 'response' => object(CakeResponse) {}, 'additionalParams' => array() ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) { [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE/Cake/Event/CakeEventManager.php line 243 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array( (int) 0 => object(Dispatcher) { [protected] _eventManager => object(CakeEventManager) {} }, (int) 1 => 'parseParams' ) object(CakeEvent) { data => array( 'request' => object(CakeRequest) {}, 'response' => object(CakeResponse) {}, 'additionalParams' => array() ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) { [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE/Cake/Routing/Dispatcher.php line 147 → CakeEventManager->dispatch(CakeEvent)
*/
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( 'request' => object(CakeRequest) {}, 'response' => object(CakeResponse) {}, 'additionalParams' => array() ) result => null [protected] _name => 'Dispatcher.beforeDispatch' [protected] _subject => object(Dispatcher) { [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- APP/webroot/index.php line 118 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => null, 'action' => null, 'named' => array(), 'pass' => array(), 'isAjax' => false ) data => array() query => array() url => 'sitemap.xml' base => '' webroot => '/' here => '/sitemap.xml' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }