Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #8116 oci8(oci8)://system:xxx@XE/ does not work
Submitted: 2006-07-04 16:28 UTC
From: fabrizio dot balliano at crealabs dot it Assigned: lsmith
Status: Closed Package: MDB2_Driver_oci8 (version 0.3.0)
PHP Version: 5.1.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-07-04 16:28 UTC] fabrizio dot balliano at crealabs dot it (Fabrizio Balliano)
Description: ------------ if you define the dsn with this sintax: oci8(oci8)://system:xxx@XE/ I get: Notice: Undefined property: MDB2_Driver_oci8::$datatype in /var/www/p4a/p4a/libraries/pear/MDB2/Driver/Reverse/oci8.php on line 423 Fatal error: Call to a member function mapNativeDatatype() on a non-object in /var/www/p4a/p4a/libraries/pear/MDB2/Driver/Reverse/oci8.php on line 423

Comments

 [2006-07-04 16:34 UTC] fabrizio dot balliano at crealabs dot it
hum, maybe it's not related to DSN but colums definitions my table is: CREATE TABLE "SYSTEM"."BRANDS" ( "BRAND_ID" NUMBER(*,0) NOT NULL ENABLE, "DESCRIPTION" VARCHAR2(4000 BYTE) NOT NULL ENABLE, "VISIBLE" NUMBER(1,0) NOT NULL ENABLE, CONSTRAINT "BRANDS_PK" PRIMARY KEY ("BRAND_ID") ENABLE ) ; it seems that it hangs on: Array ( [table] => [name] => brand_id [type] => NUMBER [length] => 22 [flags] => )
 [2006-07-06 17:33 UTC] lsmith (Lukas Smith)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.