Parse error : syntax error, unexpected 'database' (T_STRING), expecting ')' in /home/metropoliscolleg/public_html/app/Config/database.php on line 21
Warning (512) : _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache [CORE/Cake/Cache/Cache.php , line 325 ]Code Context ),
E_USER_WARNING
); $key = 'cake_dev_en-us'
$value = array(
'LC_MESSAGES' => array()
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'engine' => 'File',
'path' => '/home/metropoliscolleg/public_html/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 325
I18n::translate() - CORE/Cake/I18n/I18n.php, line 177
__d - CORE/Cake/basics.php, line 615
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
App::shutdown() - CORE/Cake/Core/App.php, line 899
[main] - [internal], line ?? Warning (512) : _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.php , line 325 ]Code Context ),
E_USER_WARNING
); $key = 'file_map'
$value = array(
'Configure' => '/home/metropoliscolleg/public_html/lib/Cake/Core/Configure.php',
'Hash' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/Hash.php',
'Cache' => '/home/metropoliscolleg/public_html/lib/Cake/Cache/Cache.php',
'FileEngine' => '/home/metropoliscolleg/public_html/lib/Cake/Cache/Engine/FileEngine.php',
'CacheEngine' => '/home/metropoliscolleg/public_html/lib/Cake/Cache/CacheEngine.php',
'Inflector' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/Inflector.php',
'ErrorHandler' => '/home/metropoliscolleg/public_html/lib/Cake/Error/ErrorHandler.php',
'CakeLog' => '/home/metropoliscolleg/public_html/lib/Cake/Log/CakeLog.php',
'LogEngineCollection' => '/home/metropoliscolleg/public_html/lib/Cake/Log/LogEngineCollection.php',
'ObjectCollection' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/ObjectCollection.php',
'FileLog' => '/home/metropoliscolleg/public_html/lib/Cake/Log/Engine/FileLog.php',
'BaseLog' => '/home/metropoliscolleg/public_html/lib/Cake/Log/Engine/BaseLog.php',
'CakeLogInterface' => '/home/metropoliscolleg/public_html/lib/Cake/Log/CakeLogInterface.php',
'CakePlugin' => '/home/metropoliscolleg/public_html/lib/Cake/Core/CakePlugin.php',
'Debugger' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/Debugger.php',
'String' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/String.php',
'Dispatcher' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Dispatcher.php',
'CakeEventListener' => '/home/metropoliscolleg/public_html/lib/Cake/Event/CakeEventListener.php',
'CakeRequest' => '/home/metropoliscolleg/public_html/lib/Cake/Network/CakeRequest.php',
'CakeResponse' => '/home/metropoliscolleg/public_html/lib/Cake/Network/CakeResponse.php',
'CakeEvent' => '/home/metropoliscolleg/public_html/lib/Cake/Event/CakeEvent.php',
'CakeEventManager' => '/home/metropoliscolleg/public_html/lib/Cake/Event/CakeEventManager.php',
'AssetDispatcher' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Filter/AssetDispatcher.php',
'DispatcherFilter' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/DispatcherFilter.php',
'CacheDispatcher' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Filter/CacheDispatcher.php',
'Router' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Router.php',
'CakeRoute' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Route/CakeRoute.php',
'PluginShortRoute' => '/home/metropoliscolleg/public_html/lib/Cake/Routing/Route/PluginShortRoute.php',
'HomesController' => '/home/metropoliscolleg/public_html/app/Controller/HomesController.php',
'AppController' => '/home/metropoliscolleg/public_html/app/Controller/AppController.php',
'Controller' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Controller.php',
'Object' => '/home/metropoliscolleg/public_html/lib/Cake/Core/Object.php',
'ComponentCollection' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/ComponentCollection.php',
'AclComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/AclComponent.php',
'Component' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component.php',
'DbAcl' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/Acl/DbAcl.php',
'AclInterface' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/Acl/AclInterface.php',
'ClassRegistry' => '/home/metropoliscolleg/public_html/lib/Cake/Utility/ClassRegistry.php',
'Permission' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Permission.php',
'AppModel' => '/home/metropoliscolleg/public_html/app/Model/AppModel.php',
'Model' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Model.php',
'BehaviorCollection' => '/home/metropoliscolleg/public_html/lib/Cake/Model/BehaviorCollection.php',
'Aro' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Aro.php',
'AclNode' => '/home/metropoliscolleg/public_html/lib/Cake/Model/AclNode.php',
'Aco' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Aco.php',
'TreeBehavior' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Behavior/TreeBehavior.php',
'ModelBehavior' => '/home/metropoliscolleg/public_html/lib/Cake/Model/ModelBehavior.php',
'AuthComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/AuthComponent.php',
'SessionComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/SessionComponent.php',
'CookieComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/CookieComponent.php',
'RequestHandlerComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/RequestHandlerComponent.php',
'PaginatorComponent' => '/home/metropoliscolleg/public_html/lib/Cake/Controller/Component/PaginatorComponent.php',
'CakeSession' => '/home/metropoliscolleg/public_html/lib/Cake/Model/Datasource/CakeSession.php',
'Generalsetting' => '/home/metropoliscolleg/public_html/app/Model/Generalsetting.php',
'ConnectionManager' => '/home/metropoliscolleg/public_html/lib/Cake/Model/ConnectionManager.php'
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'engine' => 'File',
'path' => '/home/metropoliscolleg/public_html/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 325
App::shutdown() - CORE/Cake/Core/App.php, line 899
[main] - [internal], line ?? Warning (2) : file_put_contents() [function.file-put-contents ]: Only 0 of 179 bytes written, possibly out of free disk space [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 = 'Fatal Error (4): syntax error, unexpected 'database' (T_STRING), expecting ')' in [/home/metropoliscolleg/public_html/app/Config/database.php, line 21]'
$output = '2026-07-12 15:03:01 Error: Fatal Error (4): syntax error, unexpected 'database' (T_STRING), expecting ')' in [/home/metropoliscolleg/public_html/app/Config/database.php, line 21]
'
$filename = 'error.log'
$pathname = '/home/metropoliscolleg/public_html/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::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 242
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 205
call_user_func - [internal], line ??
App::_checkFatalError() - CORE/Cake/Core/App.php, line 931
App::shutdown() - CORE/Cake/Core/App.php, line 904
[main] - [internal], line ?? Warning (2) : file_put_contents() [function.file-put-contents ]: Only 0 of 706 bytes written, possibly out of free disk space [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 = '[FatalErrorException] syntax error, unexpected 'database' (T_STRING), expecting ')'
Request URL: /
Stack Trace:
#0 /home/metropoliscolleg/public_html/lib/Cake/Error/ErrorHandler.php(205): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/home/metropoli...', 21)
#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/home/metropoli...', 21, Array)
#2 /home/metropoliscolleg/public_html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 4, 'syntax error, u...', '/home/metropoli...', 21, Array)
#3 /home/metropoliscolleg/public_html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}'
$output = '2026-07-12 15:03:01 Error: [FatalErrorException] syntax error, unexpected 'database' (T_STRING), expecting ')'
Request URL: /
Stack Trace:
#0 /home/metropoliscolleg/public_html/lib/Cake/Error/ErrorHandler.php(205): ErrorHandler::handleFatalError(4, 'syntax error, u...', '/home/metropoli...', 21)
#1 [internal function]: ErrorHandler::handleError(4, 'syntax error, u...', '/home/metropoli...', 21, Array)
#2 /home/metropoliscolleg/public_html/lib/Cake/Core/App.php(931): call_user_func('ErrorHandler::h...', 4, 'syntax error, u...', '/home/metropoli...', 21, Array)
#3 /home/metropoliscolleg/public_html/lib/Cake/Core/App.php(904): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
'
$filename = 'error.log'
$pathname = '/home/metropoliscolleg/public_html/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
call_user_func - [internal], line ??
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 254
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 205
call_user_func - [internal], line ??
App::_checkFatalError() - CORE/Cake/Core/App.php, line 931
App::shutdown() - CORE/Cake/Core/App.php, line 904
[main] - [internal], line ??
Notice (8) : Undefined variable: setting [APP/View/Layouts/default.ctp , line 7 ]Code Context < meta http - equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
<title><?php echo $setting [ 'Generalsetting' ][ 'sitenamebng' ]; ?> :: <?php echo $title_for_layout ; ?> </title>
$viewFile = '/home/metropoliscolleg/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'url' => '/',
'name' => 'syntax error, unexpected 'database' (T_STRING), expecting ')'',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'syntax error, unexpected 'database' (T_STRING), expecting ')''
[protected] code => (int) 500
[protected] file => '/home/metropoliscolleg/public_html/app/Config/database.php'
[protected] line => (int) 21
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'url',
(int) 2 => 'name'
),
'acl' => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
},
'auth' => null,
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
syntax error, unexpected 'database' (T_STRING), expecting ')' <br>
<strong>File: </strong>
/home/metropoliscolleg/public_html/app/Config/database.php <br>
<strong>Line: </strong>
21</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$url = '/'
$name = 'syntax error, unexpected 'database' (T_STRING), expecting ')''
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'syntax error, unexpected 'database' (T_STRING), expecting ')''
[protected] code => (int) 500
[protected] file => '/home/metropoliscolleg/public_html/app/Config/database.php'
[protected] line => (int) 21
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'url',
(int) 2 => 'name'
)
$acl = object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array()
components => array()
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array()
}
$auth = null
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
syntax error, unexpected 'database' (T_STRING), expecting ')' <br>
<strong>File: </strong>
/home/metropoliscolleg/public_html/app/Config/database.php <br>
<strong>Line: </strong>
21</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors' include - APP/View/Layouts/default.ctp, line 7
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
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 275
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 199
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 177
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 122
call_user_func - [internal], line ??
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 254
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 205
call_user_func - [internal], line ??
App::_checkFatalError() - CORE/Cake/Core/App.php, line 931
App::shutdown() - CORE/Cake/Core/App.php, line 904
[main] - [internal], line ?? :: Errors
Fatal Error
Error:
syntax error, unexpected 'database' (T_STRING), expecting ')'
File:
/home/metropoliscolleg/public_html/app/Config/database.php
Line:
21
Notice:
If you want to customize this error message, create app/View/Errors/fatal_error.ctp
Warning (2) : Unknown: write failed: Disk quota exceeded (122) [Unknown , line 0 ]Code Context session_write_close - [internal], line ??
[main] - [internal], line ?? Warning (2) : Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea-php56) [Unknown , line 0 ]Code Context session_write_close - [internal], line ??
[main] - [internal], line ??