I am working on getting CakePHP 1.2 to work nicely with our Oracle
db. After getting it all configured, the index.php page was throwing:
Undefined index: connect [CORE/cake/libs/model/datasources/dbo/
dbo_oracle.php, line 141]
and
Fatal error: Function name must be a string in /usr/ns-home/docs/prod-
experts/frameworks/demo2/cake/libs/model/datasources/dbo/
dbo_oracle.php on line 145
so on line 141 of dbo_oracle.php I changed
//$connect = $config['connect'];
$connect = 'oci_connect';
I'm sure this isn't the best fix. Do I have something configured
incorrectly?
my dbo_oracle.php info:
/* SVN FILE: $Id: dbo_oracle.php 5875 2007-10-23 00:25:51Z phpnut $ */
/**
* Oracle layer for DBO.
*
* Long description for file
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/
>
* Copyright 2005-2007, Cake Software Foundation, Inc.
* 1785 E. Sahara
Avenue, Suite 490-204
* Las Vegas,
Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
* @link
http://www.cakefoundation.org/projects/info/cakephp
CakePHP(tm) Project
* @package cake
* @subpackage cake.cake.libs.model.datasources.dbo
* @since CakePHP v 1.2.0.4041
* @version $Revision: 5875 $
* @modifiedby $LastChangedBy: phpnut $
* @lastmodified $Date: 2007-10-22 19:25:51 -0500 (Mon, 22 Oct 2007) $
* @license
http://www.opensource.org/licenses/mit-license.php The
MIT License
*/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---