Release Notes for CakePHP 2.4.4.
Read the changelog
URL rewriting is not properly configured on your server. 1) Help me configure it
2) I don't / can't use URL rewriting
Your version of PHP is 5.2.8 or higher.
Your tmp directory is writable.
The FileEngine is being used for core caching. To change the config edit APP/Config/core.php
Your database configuration file is present.
Warning (2): oci_pconnect(): ORA-01017: invalid username/password; logon denied [APP/Plugin/Datasources/Model/Datasource/Database/Oracle.php, line 205]Code Context $config['database']
);
$this->_connection = $connect($config['login'], $config['password'], $connString, $config['encoding']);
$config = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'schema' => '*****',
'persistent' => true,
'encoding' => 'AL32UTF8',
'nls_sort' => '',
'cataloged' => false,
'service_name' => true,
'filter_owner' => true,
'datasource' => 'Datasources.Database/Oracle'
)
$connect = 'oci_pconnect'
$connect_data = 'SERVICE_NAME'
$connString = '(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 173.230.130.22)(PORT = 1521)))(CONNECT_DATA=(SERVICE_NAME=xepdb1)))'
oci_pconnect - [internal], line ??
Oracle::connect() - APP/Plugin/Datasources/Model/Datasource/Database/Oracle.php, line 205
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 260
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 105
include - APP/View/Pages/home.ctp, line 91
View::_evaluate() - CORE/Cake/View/View.php, line 929
View::_render() - CORE/Cake/View/View.php, line 891
View::render() - CORE/Cake/View/View.php, line 460
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
PagesController::display() - APP/Controller/PagesController.php, line 72
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
CakePHP is NOT able to connect to the database.
Notice (8): Undefined variable: errorMsg [APP/View/Pages/home.ctp, line 113]Code Context echo __d('cake_dev', 'CakePHP is NOT able to connect to the database.');
echo '<br /><br />';
echo $errorMsg;
$viewFile = '/usr/share/nginx/html/middleware-dev/app/View/Pages/home.ctp'
$dataForView = array(
'page' => 'home',
'subpage' => null,
'title_for_layout' => 'Home'
)
$page = 'home'
$subpage = null
$title_for_layout = 'Home'
$settings = array(
'prefix' => '*****',
'engine' => 'File',
'path' => '/usr/share/nginx/html/middleware-dev/app/tmp/cache/',
'lock' => true,
'serialize' => true,
'isWindows' => false,
'mask' => (int) 436,
'duration' => (int) 3600,
'probability' => (int) 100,
'groups' => array()
)
$filePresent = true
$connected = object(Oracle) {
description => 'Oracle Database OCI Driver'
startQuote => '''
endQuote => '''
alias => ''
_sequences => array()
__transactionStarted => false
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
),
'number' => array(
[maximum depth reached]
),
'inet' => array(
[maximum depth reached]
)
)
_error => 'ORA-01017: invalid username/password; logon denied'
_sequenceMap => array()
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => null
numRows => null
took => null
configKeyName => 'default'
virtualFieldSeparator => '__'
tableParameters => array()
fieldParameters => array()
connected => false
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'schema' => '*****',
'persistent' => true,
'encoding' => 'AL32UTF8',
'nls_sort' => '',
'cataloged' => false,
'service_name' => true,
'filter_owner' => true,
'datasource' => 'Datasources.Database/Oracle'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'database' => '*****',
'port' => '*****',
'schema' => '*****',
'persistent' => true,
'encoding' => 'AL32UTF8',
'nls_sort' => '',
'cataloged' => false,
'service_name' => false,
'filter_owner' => true
)
[protected] _connection => false
[protected] _limit => (int) -1
[protected] _offset => (int) 0
[protected] _map => null
[protected] _currentRow => null
[protected] _numRows => null
[protected] _results => null
[protected] _result => null
[protected] _queriesCnt => (int) 0
[protected] _queriesTime => null
[protected] _queriesLog => array()
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => false
[protected] _descriptions => array()
[protected] _sources => null
[protected] _transactionStarted => false
}include - APP/View/Pages/home.ctp, line 113
View::_evaluate() - CORE/Cake/View/View.php, line 929
View::_render() - CORE/Cake/View/View.php, line 891
View::render() - CORE/Cake/View/View.php, line 460
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
PagesController::display() - APP/Controller/PagesController.php, line 72
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
DebugKit is not installed. It will help you inspect and debug different aspects of your application.
You can install it from GitHub
Editing this Page
To change the content of this page, edit: APP/View/Pages/home.ctp.
To change its layout, edit: APP/View/Layouts/default.ctp.
You can also add some CSS styles for your pages at: APP/webroot/css.
Getting Started
New CakePHP 2.0 Docs
The 15 min Blog Tutorial
Official Plugins
-
DebugKit:
provides a debugging toolbar and enhanced debugging tools for CakePHP applications.
-
Localized:
contains various localized validation classes and translations for specific countries
More about CakePHP
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.