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

Bug #625 popexpecterror error with Oracle
Submitted: 2004-01-26 05:16 UTC
From: thierry dot bo at netcourrier dot com Assigned: lsmith
Status: Closed Package: MDB
PHP Version: 4.3.2 OS: Win32XP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 2 + 17 = ?

 
 [2004-01-26 05:16 UTC] thierry dot bo at netcourrier dot com
Description: ------------ Hi, Since I found Oracle SID need to be set as 'host' in DSN, connection works fine, but each time I want to insert data, I get this error : Fatal error: Call to undefined function: popexpecterror() in F:\httpd\php\pear\MDB\Common.php on line 3565 I did not found this function somewhere. Thierry Bothorel (MDB 1.2) Reproduce code: --------------- $area_name_q = unslashes($name); $id = $mdb->nextId('mrbs_area_id'); if (MDB::isError($id)) { fatal_error(1, "<p>" . $id->getMessage() . "<br>" . $id->getUserInfo()); } $sql = "INSERT INTO mrbs_area (id, area_name) VALUES ($id, " . $mdb->getTextValue ($area_name_q) . ")"; $res = $mdb->query($sql); if (MDB::isError($res)) { fatal_error(1, "<p>" . $res->getMessage() . "<br>" . $res->getUserInfo()); } $area = $mdb->currId('mrbs_area_id'); Expected result: ---------------- new row in table. Works with Mysql, Mssql and pgsql Actual result: -------------- Fatal error: Call to undefined function: popexpecterror() in F:\httpd\php\pear\MDB\Common.php on line 3565

Comments

 [2004-01-26 09:23 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!