I think I have it working using the dbo_oracle from the new version of
Cake.  I scrapped trying to use pear.

On Dec 3, 1:16 pm, Greg Baker <[EMAIL PROTECTED]> wrote:
> I seem to be having a little trouble getting cake to connect to Oracle
> using Pear.  The config file says to use 'driver' => 'pear-
> drivername' (which I assume would be pear-oci8), but this does not
> work.  So I tried using 'driver' => 'pear' which got me a little
> further..  Here's a snippet of my configuration, please tell me if I
> am correct......
>
> var $oracle = array(
>     'driver' => 'pear',
>     'connect' => 'oci_connect',
>     'host' => 'my.hostname.com',
>     'login' => 'user',
>     'password' => 'password',
>     'database' => 'database'
> );
>
> When I attempt to view my app I get the following error:
> Warning: Missing argument 1 for DboPear::connect(), called in /usr/
> share/php/cake/libs/model/datasources/dbo_source.php on line 90 and
> defined in /usr/share/php/cake/libs/model/dbo/dbo_pear.php on line 61.
>
> Argument 1 being the $connect variable.
>
> So anyway, I cannot find any extensive documentation on using pear
> with Cake, so any help would be greatly appreciated.  Thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to