#24176 [NEW]: Pear DB 1.4.0 stable DSN port bug

From: Date: Fri, 13 Jun 2003 17:04:04 +0000
Subject: #24176 [NEW]: Pear DB 1.4.0 stable DSN port bug
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17419@lists.php.net to get a copy of this message
From: kevinwatt dot bbs at lls dot twbbs dot org Operating system: Debian PHP version: 4.3.2 PHP Bug Type: PEAR related Bug description: Pear DB 1.4.0 stable DSN port bug Description: ------------ ==================================================== zen stockbook # /usr/bin/php stock.inc mssql://user:passwd@tcp(203.73.xx.xxx:5005)/POSsrc /tds/login.c: tds_connect: 203.73.xx.xxxx:1433: Connection refused DB Error: connect failed ===================================================== Reproduce code: --------------- in function parseDSN($dsn) - line 551 if (strpos($proto_opts, ':') !== false) { ^^^^ here is the problem. Expected result: ---------------- http://tw2.php.net/manual/tw/function.strpos.php zen stockbook # /usr/bin/php stock.inc mssql://user:passwd@tcp(203.73.53.166:5005)/POSsrc /tds/login.c: tds_connect: 203.73.53.166:1433: Connection refused DB Error: connect failed Actual result: -------------- can't connect. + line 551 if (strpos($proto_opts, ':') !=== false) { couse http://www.php.net/manual/en/function.strpos.php -- Edit bug report at http://bugs.php.net/?id=24176&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24176&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24176&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24176&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24176&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24176&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24176&r=support Expected behavior: http://bugs.php.net/fix.php?id=24176&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24176&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24176&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24176&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24176&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24176&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24176&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24176&r=gnused

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