Warning (2): file_put_contents(/var/www/scbali/data/www/devel.dcvisu.com/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/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 = '[MissingConnectionException] Database connection "Mysql" is missing, or could not be created. Exception Attributes: array ( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [1040] Too many connections', 'enabled' => true, ) Request URL: /documents/view/5 Stack Trace: #0 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/Datasource/DboSource.php(262): Mysql->connect() #1 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/ConnectionManager.php(107): DboSource->__construct(Array) #2 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Translate/Model/Behavior/CroogoTranslateBehavior.php(53): ConnectionManager::getDataSource('default') #3 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/BehaviorCollection.php(150): CroogoTranslateBehavior->setup(Object(Block), Array) #4 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/BehaviorCollection.php(68): BehaviorCollection->load('Translate.Croog...', Array) #5 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/Model.php(748): BehaviorCollection->init('Block', Array) #6 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Croogo/Model/CroogoAppModel.php(58): Model->__construct(Array, NULL, NULL) #7 [internal function]: CroogoAppModel->__construct(Array) #8 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Utility/ClassRegistry.php(168): ReflectionClass->newInstance(Array) #9 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Blocks/Controller/Component/BlocksComponent.php(40): ClassRegistry::init('Blocks.Block') #10 [internal function]: BlocksComponent->initialize(Object(DocumentsController)) #11 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Utility/ObjectCollection.php(132): call_user_func_array(Array, Array) #12 [internal function]: ObjectCollection->trigger(Object(CakeEvent)) #13 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent)) #14 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Controller/Controller.php(674): CakeEventManager->dispatch(Object(CakeEvent)) #15 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess() #16 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(DocumentsController), Object(CakeRequest), Object(CakeResponse)) #17 /var/www/scbali/data/www/devel.dcvisu.com/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #18 {main}' $output = '2025-11-16 21:55:44 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created. Exception Attributes: array ( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [1040] Too many connections', 'enabled' => true, ) Request URL: /documents/view/5 Stack Trace: #0 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/Datasource/DboSource.php(262): Mysql->connect() #1 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/ConnectionManager.php(107): DboSource->__construct(Array) #2 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Translate/Model/Behavior/CroogoTranslateBehavior.php(53): ConnectionManager::getDataSource('default') #3 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/BehaviorCollection.php(150): CroogoTranslateBehavior->setup(Object(Block), Array) #4 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/BehaviorCollection.php(68): BehaviorCollection->load('Translate.Croog...', Array) #5 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Model/Model.php(748): BehaviorCollection->init('Block', Array) #6 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Croogo/Model/CroogoAppModel.php(58): Model->__construct(Array, NULL, NULL) #7 [internal function]: CroogoAppModel->__construct(Array) #8 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Utility/ClassRegistry.php(168): ReflectionClass->newInstance(Array) #9 /var/www/scbali/data/www/devel.dcvisu.com/app/Plugin/Blocks/Controller/Component/BlocksComponent.php(40): ClassRegistry::init('Blocks.Block') #10 [internal function]: BlocksComponent->initialize(Object(DocumentsController)) #11 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Utility/ObjectCollection.php(132): call_user_func_array(Array, Array) #12 [internal function]: ObjectCollection->trigger(Object(CakeEvent)) #13 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent)) #14 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Controller/Controller.php(674): CakeEventManager->dispatch(Object(CakeEvent)) #15 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess() #16 /var/www/scbali/data/www/devel.dcvisu.com/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(DocumentsController), Object(CakeRequest), Object(CakeResponse)) #17 /var/www/scbali/data/www/devel.dcvisu.com/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #18 {main} ' $filename = 'error.log' $pathname = '/var/www/scbali/data/www/devel.dcvisu.com/app/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 144 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 454 ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 180 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 113 [main] - [internal], line ??
Notice (1024): Element Not Found: "Langbar".Elements/langbar.ctp [CORE/Cake/View/View.php, line 415]Code Context$name = str_replace('/', DS, $name);$file = $plugin . 'Elements' . DS . $name . $this->ext;trigger_error(__d('cake_dev', 'Element Not Found: %s', $file), E_USER_NOTICE);$name = 'langbar' $data = array( 'block' => array( 'Block' => array( 'id' => '10', 'region_id' => '7', 'title' => 'Langbar', 'alias' => 'langbar', 'body' => '[element:langbar plugin="Langbar"]', 'show_title' => false, 'class' => '', 'status' => true, 'weight' => '7', 'element' => '', 'visibility_roles' => '', 'visibility_paths' => '', 'visibility_php' => '', 'params' => '', 'updated' => '2014-05-07 09:18:18', 'created' => '2014-05-07 09:17:34' ), 'Params' => array() ) ) $options = array( 'plugin' => '"Langbar"', 'callbacks' => false ) $file = '"Langbar".Elements/langbar.ctp' $plugin = '"Langbar".'View::element() - CORE/Cake/View/View.php, line 415 LayoutHelper::filterElements() - APP/Plugin/Croogo/View/Helper/LayoutHelper.php, line 378 LayoutHelper::filter() - APP/Plugin/Croogo/View/Helper/LayoutHelper.php, line 346 include - APP/Plugin/Blocks/View/Elements/block.ctp, line 14 View::_evaluate() - CORE/Cake/View/View.php, line 931 View::_render() - CORE/Cake/View/View.php, line 893 View::_renderElement() - CORE/Cake/View/View.php, line 1191 View::element() - CORE/Cake/View/View.php, line 408 RegionsHelper::blocks() - APP/Plugin/Blocks/View/Helper/RegionsHelper.php, line 68 include - APP/View/Themed/Dcvisu/Layouts/default.ctp, line 67 View::_evaluate() - CORE/Cake/View/View.php, line 931 View::_render() - CORE/Cake/View/View.php, line 893 View::renderLayout() - CORE/Cake/View/View.php, line 525 View::render() - CORE/Cake/View/View.php, line 470 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 221 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 276

Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1040] Too many connections
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, 'encoding' => 'UTF8' )
* @access public*/public function setup(Model $model, $config = array()) {$db = ConnectionManager::getDataSource($model->useDbConfig);if (!$db->connected) {
'default'
$config = array();}$this->_loaded[$alias]->settings['priority'] = $priority;$this->_loaded[$alias]->setup(ClassRegistry::getObject($this->modelName), $config);
object(Block) {
name => 'Block'
actsAs => array(
[maximum depth reached]
)
validate => array(
[maximum depth reached]
)
filterArgs => array(
[maximum depth reached]
)
belongsTo => array(
[maximum depth reached]
)
useCache => true
useDbConfig => 'default'
useTable => 'blocks'
id => false
data => array([maximum depth reached])
schemaName => 'devel_dcvisu'
table => 'blocks'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => 'Blocks'
alias => 'Block'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => null
recursive => (int) 1
order => 'Block.weight ASC'
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]
)
Region => object(Region) {}
tablePrefix => ''
cacheConfig => 'croogo_blocks'
[protected] _displayFields => array([maximum depth reached])
[protected] _editFields => array([maximum depth reached])
[protected] _schema => array(
[maximum depth reached]
)
[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(
'fields' => array(
'title' => 'titleTranslation',
'body' => 'bodyTranslation'
),
'translateModel' => 'Blocks.Block'
)if (!empty($behaviors)) {foreach (BehaviorCollection::normalizeObjectArray($behaviors) as $config) {$this->load($config['class'], $config['settings']);}
'Translate.CroogoTranslate' array( 'fields' => array( 'title' => 'titleTranslation', 'body' => 'bodyTranslation' ), 'translateModel' => 'Blocks.Block' )
}$this->_createLinks();$this->Behaviors->init($this->alias, $this->actsAs);}
'Block' array( 'Containable' => null, 'Croogo.Encoder' => null, 'Croogo.Ordered' => array( 'field' => 'weight', 'foreign_key' => false ), 'Croogo.Cached' => array( 'groups' => array( [maximum depth reached] ) ), 'Croogo.Params' => null, 'Search.Searchable' => null, 'Translate.CroogoTranslate' => array( 'fields' => array( [maximum depth reached] ), 'translateModel' => 'Blocks.Block' ) )
*/public function __construct($id = false, $table = null, $ds = null) {Croogo::applyHookProperties('Hook.model_properties', $this);parent::__construct($id, $table, $ds);}
array( 'class' => 'Blocks.Block', 'plugin' => 'Blocks', 'alias' => 'Block' ) null null
array( 'class' => 'Blocks.Block', 'plugin' => 'Blocks', 'alias' => 'Block' )
}}if ($reflection->getConstructor()) {$instance = $reflection->newInstance($settings);} else {
array( 'class' => 'Blocks.Block', 'plugin' => 'Blocks', 'alias' => 'Block' )
if (isset($controller->Block)) {$this->Block = $controller->Block;} else {$this->Block = ClassRegistry::init('Blocks.Block');}
'Blocks.Block'
object(DocumentsController) {
name => 'Documents'
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Documents'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Dcvisu'
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Document'
modelKey => 'document'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}}$result = null;foreach ($list as $name) {$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);if ($options['collectReturn'] === true) {
array(
(int) 0 => object(BlocksComponent) {},
(int) 1 => 'initialize'
)
array(
'subject' => object(DocumentsController) {}
)object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(DocumentsController) {}
[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(ComponentCollection) {},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(DocumentsController) {}
[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(DocumentsController) {}
[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(DocumentsController) {
name => 'Documents'
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Documents'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Dcvisu'
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Document'
modelKey => 'document'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'documents/view/5'
base => ''
webroot => '/'
here => '/documents/view/5'
[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])
}App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$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 => 'documents/view/5'
base => ''
webroot => '/'
here => '/documents/view/5'
[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])
}