#22033 [NEW]: Kryptic errors when not using "portability" option in DB

From: Date: Mon, 03 Feb 2003 16:34:49 +0000
Subject: #22033 [NEW]: Kryptic errors when not using "portability" option in DB
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12951@lists.php.net to get a copy of this message
From: stamer@uni-oldenburg.de Operating system: Linux & Oracle PHP version: 4.3.0 PHP Bug Type: PEAR related Bug description: Kryptic errors when not using "portability" option in DB Hi, This is not really a bug, but it may take to too much time to track the source of error. I am using Linux with Oracle9. If I use e.g. DB_Result::numRows() without option set to "portability" (didn't know about it, first...), I get really kryptic error messages, since an object is returned instead of an expected integer. This yields then "Unsupported operand types" if you try to subtract an integer, and one really does not know what is going on. Greetings, Heinrich -- Edit bug report at http://bugs.php.net/?id=22033&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22033&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22033&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22033&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22033&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22033&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22033&r=support Expected behavior: http://bugs.php.net/fix.php?id=22033&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22033&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22033&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22033&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22033&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22033&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22033&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22033&r=gnused

« previous php.pear.dev (#12951) next »