Warning (2): file_put_contents(C:\Domains\sltbooking\sltbooking.com\wwwroot\app\tmp\logs\error.log): failed to open stream: Permission denied [CORE\Cake\Log\Engine\FileLog.php, line 142]Code Context$pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error' $message = '[PDOException] SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired Request URL: /hotels/listing Stack Trace: #0 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(461): PDOStatement->execute(Array) #1 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(427): DboSource->_execute('SELECT `UserAct...', Array) #2 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(664): DboSource->execute('SELECT `UserAct...', Array, Array) #3 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(1113): DboSource->fetchAll('SELECT `UserAct...', false) #4 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(3031): DboSource->read(Object(UserActivity), Array) #5 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(3003): Model->_readDataSource('first', Array) #6 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(595): Model->find('first', Array) #7 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(827): DboSource->query('findByUseragent', Array, Object(UserActivity)) #8 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(486): Model->__call('findByUseragent', Array) #9 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(486): UserActivity->findByUseragent('cdf5u6uu43cpall...') #10 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(84): UserAuthComponent->updateActivity(Object(HotelsController), 'Hotels/listing') #11 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Controller\AppController.php(63): UserAuthComponent->beforeFilter(Object(HotelsController)) #12 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Controller\AppController.php(57): AppController->userAuth() #13 [internal function]: AppController->beforeFilter(Object(CakeEvent)) #14 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Event\CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent)) #15 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Controller\Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent)) #16 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Routing\Dispatcher.php(189): Controller->startupProcess() #17 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Routing\Dispatcher.php(167): Dispatcher->_invoke(Object(HotelsController), Object(CakeRequest)) #18 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\webroot\index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #19 C:\Domains\sltbooking\sltbooking.com\wwwroot\index.php(41): require('C:\\Domains\\sltb...') #20 {main}' $output = '2021-04-19 13:38:06 Error: [PDOException] SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired Request URL: /hotels/listing Stack Trace: #0 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(461): PDOStatement->execute(Array) #1 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(427): DboSource->_execute('SELECT `UserAct...', Array) #2 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(664): DboSource->execute('SELECT `UserAct...', Array, Array) #3 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(1113): DboSource->fetchAll('SELECT `UserAct...', false) #4 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(3031): DboSource->read(Object(UserActivity), Array) #5 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(3003): Model->_readDataSource('first', Array) #6 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php(595): Model->find('first', Array) #7 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Model.php(827): DboSource->query('findByUseragent', Array, Object(UserActivity)) #8 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(486): Model->__call('findByUseragent', Array) #9 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(486): UserActivity->findByUseragent('cdf5u6uu43cpall...') #10 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php(84): UserAuthComponent->updateActivity(Object(HotelsController), 'Hotels/listing') #11 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Controller\AppController.php(63): UserAuthComponent->beforeFilter(Object(HotelsController)) #12 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\Controller\AppController.php(57): AppController->userAuth() #13 [internal function]: AppController->beforeFilter(Object(CakeEvent)) #14 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Event\CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent)) #15 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Controller\Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent)) #16 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Routing\Dispatcher.php(189): Controller->startupProcess() #17 C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Routing\Dispatcher.php(167): Dispatcher->_invoke(Object(HotelsController), Object(CakeRequest)) #18 C:\Domains\sltbooking\sltbooking.com\wwwroot\app\webroot\index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #19 C:\Domains\sltbooking\sltbooking.com\wwwroot\index.php(41): require('C:\\Domains\\sltb...') #20 {main} ' $filename = 'error.log' $pathname = 'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\tmp\logs\error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE\Cake\Log\Engine\FileLog.php, line 142 CakeLog::write() - CORE\Cake\Log\CakeLog.php, line 445 ErrorHandler::_log() - CORE\Cake\Error\ErrorHandler.php, line 188 ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 118 [main] - [internal], line ??
Notice (8): Undefined variable: sitename [APP\View\Layouts\default.ctp, line 5]CMS : ErrorsCode Context<head>
<?php echo $this->Html->charset(); ?>
<title><?php echo $sitename ?> CMS : <?php echo $title_for_layout; ?></title>
$viewFile = 'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\View\Layouts\default.ctp' $dataForView = array( 'var' => array(), 'code' => (int) 500, 'name' => 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired', 'message' => 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired', 'url' => '/hotels/listing', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' [protected] message => 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired' [protected] code => 'HY000' [protected] file => 'C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php' [protected] line => (int) 461 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url', (int) 4 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1 </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app\View\Errors\pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE\Cake\Model\Datasource\DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE\Cake\Model\Datasource\DboSource.php line 427</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE\Cake\Model\Datasource\DboSource.php line 664</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE\Cake\Model\Datasource\DboSource.php line 1113</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE\Cake\Model\Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(UserActivity, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE\Cake\Model\Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE\Cake\Model\Datasource\DboSource.php line 595</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$params</span><span style="color: #007700">[</span><span style="color: #0000BB">3 </span><span style="color: #007700">+ </span><span style="color: #0000BB">$off</span><span style="color: #007700">])) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $recursive </span><span style="color: #007700">= </span><span style="color: #0000BB">$params</span><span style="color: #007700">[</span><span style="color: #0000BB">3 </span><span style="color: #007700">+ </span><span style="color: #0000BB">$off</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$args</span><span style="color: #007700">[</span><span style="color: #0000BB">2</span><span style="color: #007700">]-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">, </span><span style="color: #DD0000">'fields'</span><span style="color: #007700">, </span><span style="color: #DD0000">'order'</span><span style="color: #007700">, </span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'order' => null, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE\Cake\Model\Model.php line 827</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->query(string, array, UserActivity)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #0000BB">$method</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' ) object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 486</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Model->__call(string, array)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserActivity"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserActivity</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">=</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $res</span><span style="color: #007700">=</span><span style="color: #0000BB">$activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">findByUseragent</span><span style="color: #007700">(</span><span style="color: #0000BB">$useragent</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'logout'</span><span style="color: #007700">]) && !empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]) && </span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]==</span><span style="color: #0000BB">$user_id</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 486</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">UserActivity->findByUseragent(string)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserActivity"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserActivity</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">=</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $res</span><span style="color: #007700">=</span><span style="color: #0000BB">$activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">findByUseragent</span><span style="color: #007700">(</span><span style="color: #0000BB">$useragent</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'logout'</span><span style="color: #007700">]) && !empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]) && </span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]==</span><span style="color: #0000BB">$user_id</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'cdf5u6uu43cpalldkapo56q4h1'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 84</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">UserAuthComponent->updateActivity(HotelsController, string)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserGroup"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $userGroupModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserGroup</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!</span><span style="color: #0000BB">defined</span><span style="color: #007700">(</span><span style="color: #DD0000">'CRON_DISPATCHER'</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">updateActivity</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">, </span><span style="color: #0000BB">$actionUrl</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">isLogged</span><span style="color: #007700">()) {</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } 'Hotels/listing'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">APP\Controller\AppController.php line 63</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">UserAuthComponent->beforeFilter(HotelsController)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">private function </span><span style="color: #0000BB">userAuth</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">UserAuth</span><span style="color: #007700">-></span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP\Controller\AppController.php line 57</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">AppController->userAuth()</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">userAuth</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'title'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE\Cake\Event\CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} }, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE\Cake\Controller\Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">CORE\Cake\Routing\Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Controller->startupProcess()</a> <div id="file-excerpt-16" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE\Cake\Routing\Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">Dispatcher->_invoke(HotelsController, CakeRequest)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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 => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">APP\webroot\index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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', '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', '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' ) [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() }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">ROOT\index.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">require(string)</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> define</span><span style="color: #007700">(</span><span style="color: #DD0000">'CAKE_CORE_INCLUDE_PATH'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #0000BB">APP_DIR </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #0000BB">WEBROOT_DIR </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre>'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\webroot\index.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $var = array() $code = (int) 500 $name = 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired' $message = 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired' $url = '/hotels/listing' $error = object(PDOException) { errorInfo => array( (int) 0 => 'HY000', (int) 1 => (int) 1194, (int) 2 => 'Table 'user_activities' is marked as crashed and should be repaired' ) queryString => 'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' [protected] message => 'SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired' [protected] code => 'HY000' [protected] file => 'C:\Domains\sltbooking\sltbooking.com\wwwroot\lib\Cake\Model\Datasource\DboSource.php' [protected] line => (int) 461 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url', (int) 4 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1 </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app\View\Errors\pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE\Cake\Model\Datasource\DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE\Cake\Model\Datasource\DboSource.php line 427</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE\Cake\Model\Datasource\DboSource.php line 664</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE\Cake\Model\Datasource\DboSource.php line 1113</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE\Cake\Model\Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(UserActivity, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE\Cake\Model\Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE\Cake\Model\Datasource\DboSource.php line 595</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$params</span><span style="color: #007700">[</span><span style="color: #0000BB">3 </span><span style="color: #007700">+ </span><span style="color: #0000BB">$off</span><span style="color: #007700">])) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $recursive </span><span style="color: #007700">= </span><span style="color: #0000BB">$params</span><span style="color: #007700">[</span><span style="color: #0000BB">3 </span><span style="color: #007700">+ </span><span style="color: #0000BB">$off</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$args</span><span style="color: #007700">[</span><span style="color: #0000BB">2</span><span style="color: #007700">]-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">, </span><span style="color: #DD0000">'fields'</span><span style="color: #007700">, </span><span style="color: #DD0000">'order'</span><span style="color: #007700">, </span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'order' => null, 'recursive' => null )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE\Cake\Model\Model.php line 827</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->query(string, array, UserActivity)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #0000BB">$method</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' ) object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 486</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Model->__call(string, array)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserActivity"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserActivity</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">=</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $res</span><span style="color: #007700">=</span><span style="color: #0000BB">$activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">findByUseragent</span><span style="color: #007700">(</span><span style="color: #0000BB">$useragent</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'logout'</span><span style="color: #007700">]) && !empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]) && </span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]==</span><span style="color: #0000BB">$user_id</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 486</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">UserActivity->findByUseragent(string)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserActivity"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserActivity</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">=</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $res</span><span style="color: #007700">=</span><span style="color: #0000BB">$activityModel</span><span style="color: #007700">-></span><span style="color: #0000BB">findByUseragent</span><span style="color: #007700">(</span><span style="color: #0000BB">$useragent</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'logout'</span><span style="color: #007700">]) && !empty(</span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]) && </span><span style="color: #0000BB">$res</span><span style="color: #007700">[</span><span style="color: #DD0000">'UserActivity'</span><span style="color: #007700">][</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">]==</span><span style="color: #0000BB">$user_id</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'cdf5u6uu43cpalldkapo56q4h1'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">APP\Plugin\Usermgmt\Controller\Component\UserAuthComponent.php line 84</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">UserAuthComponent->updateActivity(HotelsController, string)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">import</span><span style="color: #007700">(</span><span style="color: #DD0000">"Model"</span><span style="color: #007700">, </span><span style="color: #DD0000">"Usermgmt.UserGroup"</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $userGroupModel </span><span style="color: #007700">= new </span><span style="color: #0000BB">UserGroup</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if(!</span><span style="color: #0000BB">defined</span><span style="color: #007700">(</span><span style="color: #DD0000">'CRON_DISPATCHER'</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">updateActivity</span><span style="color: #007700">(</span><span style="color: #0000BB">$c</span><span style="color: #007700">, </span><span style="color: #0000BB">$actionUrl</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">isLogged</span><span style="color: #007700">()) {</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } 'Hotels/listing'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">APP\Controller\AppController.php line 63</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">UserAuthComponent->beforeFilter(HotelsController)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">private function </span><span style="color: #0000BB">userAuth</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">UserAuth</span><span style="color: #007700">-></span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP\Controller\AppController.php line 57</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">AppController->userAuth()</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">userAuth</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'title'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE\Cake\Event\CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} }, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE\Cake\Controller\Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">CORE\Cake\Routing\Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Controller->startupProcess()</a> <div id="file-excerpt-16" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE\Cake\Routing\Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">Dispatcher->_invoke(HotelsController, CakeRequest)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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 => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">APP\webroot\index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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', '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', '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' ) [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() }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">ROOT\index.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">require(string)</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> define</span><span style="color: #007700">(</span><span style="color: #DD0000">'CAKE_CORE_INCLUDE_PATH'</span><span style="color: #007700">, </span><span style="color: #0000BB">ROOT </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'lib'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require </span><span style="color: #0000BB">APP_DIR </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #0000BB">WEBROOT_DIR </span><span style="color: #007700">. </span><span style="color: #0000BB">DS </span><span style="color: #007700">. </span><span style="color: #DD0000">'index.php'</span><span style="color: #007700">;</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre>'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\webroot\index.php'</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP\View\Layouts\default.ctp, line 5 View::_evaluate() - CORE\Cake\View\View.php, line 971 View::_render() - CORE\Cake\View\View.php, line 933 View::renderLayout() - CORE\Cake\View\View.php, line 546 View::render() - CORE\Cake\View\View.php, line 481 Controller::render() - CORE\Cake\Controller\Controller.php, line 963 ExceptionRenderer::_outputMessage() - CORE\Cake\Error\ExceptionRenderer.php, line 289 ExceptionRenderer::pdoError() - CORE\Cake\Error\ExceptionRenderer.php, line 278 ExceptionRenderer::render() - CORE\Cake\Error\ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 127 [main] - [internal], line ??
Error: SQLSTATE[HY000]: General error: 1194 Table 'user_activities' is marked as crashed and should be repaired
SQL Query: SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1
Notice: If you want to customize this error message, create app\View\Errors\pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' array() array()
// Build SQL statement with the primary model, plus hasOne and belongsTo associations
$query = $this->buildAssociationQuery($Model, $queryData);
$resultSet = $this->fetchAll($query, $Model->cacheQueries);
unset($query);
'SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified` FROM `sltbooking`.`user_activities` AS `UserActivity` WHERE `UserActivity`.`useragent` = 'cdf5u6uu43cpalldkapo56q4h1' LIMIT 1' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )
return null;
}
return $this->_readDataSource($type, $query);
}
'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )
if (isset($params[3 + $off])) {
$recursive = $params[3 + $off];
}
return $args[2]->find('first', compact('conditions', 'fields', 'order', 'recursive'));
}
'first' array( 'conditions' => array( 'UserActivity.useragent' => 'cdf5u6uu43cpalldkapo56q4h1' ), 'fields' => null, 'order' => null, 'recursive' => null )
return $result;
}
return $this->getDataSource()->query($method, $params, $this);
}
'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' ) object(UserActivity) { belongsTo => array( 'User' => array( 'className' => 'Usermgmt.User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable' ) useDbConfig => 'default' useTable => 'user_activities' id => false data => array() schemaName => 'sltbooking' table => 'user_activities' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'UserActivity' alias => 'UserActivity' tableToModel => array( 'user_activities' => 'UserActivity' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'UserActivity' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'first' order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 10, 'unsigned' => false, 'key' => 'primary' ), 'useragent' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'user_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_action' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'last_url' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout_time' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 10, 'unsigned' => false ), 'user_browser' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'ip_address' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'logout' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'deleted' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'created' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }
App::import("Model", "Usermgmt.UserActivity");
$activityModel = new UserActivity;
$activityModel->id=null;
$res=$activityModel->findByUseragent($useragent);
if(!empty($res['UserActivity']['logout']) && !empty($res['UserActivity']['user_id']) && $res['UserActivity']['user_id']==$user_id) {
'findByUseragent' array( (int) 0 => 'cdf5u6uu43cpalldkapo56q4h1' )
App::import("Model", "Usermgmt.UserActivity");
$activityModel = new UserActivity;
$activityModel->id=null;
$res=$activityModel->findByUseragent($useragent);
if(!empty($res['UserActivity']['logout']) && !empty($res['UserActivity']['user_id']) && $res['UserActivity']['user_id']==$user_id) {
'cdf5u6uu43cpalldkapo56q4h1'
App::import("Model", "Usermgmt.UserGroup");
$userGroupModel = new UserGroup;
if(!defined('CRON_DISPATCHER')) {
$this->updateActivity($c, $actionUrl);
if (!$this->isLogged()) {
object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } 'Hotels/listing'
}
private function userAuth() {
$this->UserAuth->beforeFilter($this);
}
object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }
}
function beforeFilter() {
$this->userAuth();
$this->set('title', '');
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [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(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} }, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
* @triggers Controller.startup $this
*/
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(HotelsController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Hotels' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Hotels' layoutPath => null viewVars => array([maximum depth reached]) view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Paginator => object(PaginatorComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
*/
protected function _invoke(Controller $controller, CakeRequest $request) {
$controller->constructClasses();
$controller->startupProcess();
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(HotelsController) { components => array( 'Session' => null, 'RequestHandler' => null, 'Usermgmt.UserAuth' => null, 'Paginator' => null ) uses => array( (int) 0 => 'Hotel', (int) 1 => 'CreatedUser', (int) 2 => 'ModifiedUser', (int) 3 => 'User', (int) 4 => 'State', (int) 5 => 'City' ) helpers => array( (int) 0 => 'Form', (int) 1 => 'Html', (int) 2 => 'Session', (int) 3 => 'Js', (int) 4 => 'Time', (int) 5 => 'Usermgmt.UserAuth', (int) 6 => 'Usermgmt.Image', (int) 7 => 'Pagination' ) name => 'Hotels' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Hotels' layoutPath => null viewVars => array() view => 'listing' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(HotelsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'status', (int) 1 => 'index', (int) 2 => 'view', (int) 3 => 'get_city_home', (int) 4 => 'add', (int) 5 => 'edit', (int) 6 => 'delete', (int) 7 => 'listing', (int) 8 => 'main', (int) 9 => 'navBar' ) modelClass => 'Hotel' modelKey => 'hotel' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserAuth => object(UserAuthComponent) { components => array( [maximum depth reached] ) configureKey => 'User' cont => object(HotelsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} ControllerList => object(ControllerListComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(HotelsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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 => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'hotels', 'action' => 'listing', 'named' => array(), 'pass' => array(), 'isAjax' => false, 'models' => array( 'UserSetting' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'UserGroup' => array( [maximum depth reached] ), 'UserActivity' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'hotels/listing' base => '' webroot => '/' here => '/hotels/listing' [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', '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', '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' ) [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() }
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');
}
require APP_DIR . DS . WEBROOT_DIR . DS . 'index.php';
'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\webroot\index.php'