Warning (2): mysql_pconnect() [function.mysql-pconnect]: Too many connections [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 564]Code |
Context $config['connect'] = 'mysql_connect';
} else {
$this->connection = mysql_pconnect($config['host'] . ':' . $config['port'], $config['login'], $config['password']);
$config = array(
"persistent" => true,
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"port" => "*****",
"driver" => "mysql",
"connect" => "mysql_connect",
"prefix" => "*****"
)
mysql_pconnect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 564
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 144
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2863
Model::__construct() - CORE/cake/libs/model/model.php, line 478
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
CakeSession::__construct() - CORE/cake/libs/cake_session.php, line 180
SessionComponent::__construct() - CORE/cake/libs/controller/components/session.php, line 59
Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 247
Component::init() - CORE/cake/libs/controller/component.php, line 78
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 483
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): mysql_real_escape_string() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684]Code |
Context }
default:
return "'" . mysql_real_escape_string($data, $this->connection) . "'";
$data = "a81f7uci6gbaan1ilu3jpvu175"
$column = "string"
$safe = false
$parent = null
mysql_real_escape_string - [internal], line ??
DboMysql::value() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684
DboSource::__parseKey() - CORE/cake/libs/model/datasources/dbo_source.php, line 2289
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2231
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2113
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1474
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1264
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 820
Model::find() - CORE/cake/libs/model/model.php, line 2153
CakeSession::__read() - CORE/cake/libs/cake_session.php, line 736
session_start - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 587
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
ConnectComponent::initialize() - CORE/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]Code |
Context */
function _execute($sql) {
return mysql_query($sql, $this->connection);
$sql = "SELECT `Session`.`id`, `Session`.`data`, `Session`.`expires` FROM `cake_sessions` AS `Session` WHERE `id` = '' LIMIT 1"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 254
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 411
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 822
Model::find() - CORE/cake/libs/model/model.php, line 2153
CakeSession::__read() - CORE/cake/libs/cake_session.php, line 736
session_start - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 587
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
ConnectComponent::initialize() - CORE/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): mysql_errno() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695]Code */
function lastError() {
if (mysql_errno($this->connection)) {
mysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 258
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 411
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 822
Model::find() - CORE/cake/libs/model/model.php, line 2153
CakeSession::__read() - CORE/cake/libs/cake_session.php, line 736
session_start - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 587
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
ConnectComponent::initialize() - CORE/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [CORE/cake/libs/cake_session.php, line 587]Code } elseif (!isset($_SESSION)) {
session_cache_limiter ("must-revalidate");
session_start();
session_start - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 587
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
ConnectComponent::initialize() - CORE/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [CORE/cake/libs/cake_session.php, line 588]Code session_cache_limiter ("must-revalidate");
session_start();
header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
header - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 588
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
ConnectComponent::initialize() - CORE/plugins/facebook/controllers/components/connect.php, line 64
Component::initialize() - CORE/cake/libs/controller/component.php, line 98
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 521
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Invalid argument supplied for foreach() [APP/apis/menu/menu_api_controller.php, line 427]Code |
Context
if (!$breadcrumb) {
$_breadcrumb = $this->Menu->getPathByElement($this->_getCurrentMenuPosition($path));
$path = "/gallery/collections/index/1"
$currentPosition = null
$_paths = array(
"",
"gallery",
"collections",
"index",
"1"
)
$tmp = "/gallery/collections/index/1/"
$paths = false
$elements = array(
"",
"/gallery",
"/gallery/collections",
"/gallery/collections/index",
"/gallery/collections/index/1",
"/"
)
$item = "1"
$score = 0
$winner = 0
MenuApiController::_getCurrentMenuPosition() - APP/apis/menu/menu_api_controller.php, line 427
MenuApiController::getBreadcrumb() - APP/apis/menu/menu_api_controller.php, line 453
AppController::beforeFilter() - APP/app_controller.php, line 241
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Invalid argument supplied for foreach() [APP/models/menu.php, line 320]Code |
Context
if (!$breadcrumb) {
$_breadcrumb = $this->Menu->getPathByElement($this->_getCurrentMenuPosition($path));
$result = null
$node = stdClass
stdClass::$id = NULL
stdClass::$left = NULL
stdClass::$right = NULL
$path = false
Menu::getPathByElement() - APP/models/menu.php, line 320
MenuApiController::getBreadcrumb() - APP/apis/menu/menu_api_controller.php, line 453
AppController::beforeFilter() - APP/app_controller.php, line 241
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [APP/apis/wikitool/wikitool_api_controller.php, line 133]Code |
Context }
setcookie("dokuCookie",base64_encode(Security::cipher("username=".$user.",uuid=".String::uuid().",gid=".$gid.",read_policy=".(($this->PrivacyApi->hasReadCookieProfiling())?"1":"0"),$this->key.$database['host'].$database['password'].$database['login'])), time()+ (Configure::read('Session.timeout') * $multiplier), "/",INI_Get('session.cookie_domain'));
$username = "anonymous~ecomuseo"
$user = "anonymous~ecomuseo"
$multiplier = 300
$database = array(
"driver" => "mysql",
"connect" => "mysql_connect",
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"prefix" => "*****"
)
$gid = "dd9dbf2d095815538fc350c811e01bde"
setcookie - [internal], line ??
WikitoolApiController::set_cookies() - APP/apis/wikitool/wikitool_api_controller.php, line 133
WikitoolApiController::addAnonymousCookie() - APP/apis/wikitool/wikitool_api_controller.php, line 234
ApiController::eventHandler() - APP/apis/core/api_controller.php, line 248
EventHandler::_notify() - APP/apis/core/event_classes.php, line 321
EventHandler::notify() - APP/apis/core/event_classes.php, line 206
AppController::notify() - APP/app_controller.php, line 580
AppController::beforeFilter() - APP/app_controller.php, line 292
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [CORE/cake/libs/controller/components/request_handler.php, line 763]Code |
Context */
function _header($header) {
header($header);
$header = "Content-type: text/html; charset=UTF-8"
header - [internal], line ??
RequestHandlerComponent::_header() - CORE/cake/libs/controller/components/request_handler.php, line 763
RequestHandlerComponent::respondAs() - CORE/cake/libs/controller/components/request_handler.php, line 747
RequestHandlerComponent::startup() - CORE/cake/libs/controller/components/request_handler.php, line 248
Component::triggerCallback() - CORE/cake/libs/controller/component.php, line 186
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 523
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [CORE/cake/libs/controller/controller.php, line 742]Code |
Context */
function header($status) {
header($status);
$status = "HTTP/1.0 404 Not Found"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 742
ErrorHandler::error404() - CORE/cake/libs/error.php, line 159
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
AppError::__construct() - APP/error.php, line 18
Object::cakeError() - CORE/cake/libs/object.php, line 199
CollectionsController::index() - APP/plugins/media_gallery/controllers/collections_controller.php, line 31
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/ecomuseo/home/cake/libs/debugger.php:686) [APP/error.php, line 22]Code |
Context
function _outputMessage($template) {
header('HTTP/1.1 404 Not Found');
$template = "error404"
header - [internal], line ??
AppError::_outputMessage() - APP/error.php, line 22
ErrorHandler::error404() - CORE/cake/libs/error.php, line 166
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
AppError::__construct() - APP/error.php, line 18
Object::cakeError() - CORE/cake/libs/object.php, line 199
CollectionsController::index() - APP/plugins/media_gallery/controllers/collections_controller.php, line 31
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Warning (2): Invalid argument supplied for foreach() [APP/models/path.php, line 84]Code |
Context
function &getBlocksetIdByPathData($path) {
$path = $this->Path->findPath($path['url']);
$path = "/content/error"
$exp = "/^\/([a-z_\-0-9\/\:]|(\/\*)|(\*\/))*$/i"
$tablename = "paths"
$paths = false
$new_score = 0
$score = 0
$winner = 0
Path::findPath() - APP/models/path.php, line 84
BlocksetApiController::getBlocksetIdByPathData() - APP/apis/blockset/blockset_api_controller.php, line 187
AppController::beforeRender() - APP/app_controller.php, line 503
Controller::render() - CORE/cake/libs/controller/controller.php, line 863
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Dispatcher::__construct() - CORE/cake/dispatcher.php, line 80
AppError::_outputMessage() - APP/error.php, line 39
ErrorHandler::error404() - CORE/cake/libs/error.php, line 166
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
AppError::__construct() - APP/error.php, line 18
Object::cakeError() - CORE/cake/libs/object.php, line 199
CollectionsController::index() - APP/plugins/media_gallery/controllers/collections_controller.php, line 31
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96
Fatal Error (256): You must specify a template name [APP/apis/templates/templates_api_controller.php, line 88]Code |
Context $this->setTitleFromBreadcrumb();
$this->loadApi('Templates');
$areas=$this->TemplatesApi->getAreas($blockset['Blockset']['template']);
$template = null
TemplatesApiController::getAreas() - APP/apis/templates/templates_api_controller.php, line 88
AppController::beforeRender() - APP/app_controller.php, line 510
Controller::render() - CORE/cake/libs/controller/controller.php, line 863
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Dispatcher::__construct() - CORE/cake/dispatcher.php, line 80
AppError::_outputMessage() - APP/error.php, line 39
ErrorHandler::error404() - CORE/cake/libs/error.php, line 166
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
AppError::__construct() - APP/error.php, line 18
Object::cakeError() - CORE/cake/libs/object.php, line 199
CollectionsController::index() - APP/plugins/media_gallery/controllers/collections_controller.php, line 31
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 96