#5803: Error in DB Connection - Incompatibility with PHP 5
--------------------------+-------------------------------------------------
Reporter: jaydipdave | Owner: phishy
Type: Bug | Status: new
Priority: Critical | Milestone: 1.2.x.x
Component: Oracle | Version: RC2
Severity: Major | Keywords: connection error, php5
compatibility issue
Php_version: PHP 5 | Cake_version:
--------------------------+-------------------------------------------------
I am using CakePHP first time.
I was using oracle with CakePHP. Anyhow, I was not able to connect to the
database. I am not sure whether this is happening with other database or
not.
Finally, after debugging of 2 hours I found following bug:
'''cake/libs/datasources/datasouce.php'''
Line no: 365
'''Wrong:'''
$this->config = array_merge($this->_baseConfig, $this->config, $config);
'''Right:'''
$this->config = array_merge((array)$this->_baseConfig,
(array)$this->config, (array)$config);
I couldn't find SVN path for CakePHP, otherwise I would like to change it.
I like this framework.
Thanks,
Jaydeep.
--
Ticket URL: <https://trac.cakephp.org/ticket/5803>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---