Bug #19237 [Fbk]: MDB2 fails to see data in mysql table

From: Date: Fri, 02 Mar 2012 19:03:45 +0000
Subject: Bug #19237 [Fbk]: MDB2 fails to see data in mysql table
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8349@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19237&edit=1 ID: 19237 Updated by: pear@isc-ltd.co.uk Reported By: pear at isc-ltd dot co dot uk Summary: MDB2 fails to see data in mysql table Status: Feedback Type: Bug Package: MDB2 Operating System: Windows 7 Package Version: 2.4.1 PHP Version: 5.3.9 Assigned To: danielc Roadmap Versions: New Comment: I can also confirm the bug is fixed in MDB2-2.5.0b3. Thank you. Previous Comments: ------------------------------------------------------------------------ [2012-03-02 16:36:02] lambik Okay, easier than expected: pear install MDB2-2.5.0b3 And now this bug is fixed indeed, I have no issues anymore, the query results are there :-) ------------------------------------------------------------------------ [2012-03-02 16:30:36] lambik I'm quite the newbie on this.. All I know is "pear upgrade", so should I just svn get the files from your repository and overwrite the ones in my pear folders scattered around? ------------------------------------------------------------------------ [2012-03-02 16:18:21] danielc -Status: Open +Status: Feedback -Assigned To: +Assigned To: danielc I'm pretty sure was fixed in SVN a while ago. Can you please try it? ------------------------------------------------------------------------ [2012-03-02 15:56:15] lambik This is what I see when debugging: PHP Warning: mysql_fetch_row() expects parameter 1 to be resource, object given in PEAR\MDB2\Driver\mysql.php on line 1163 (after I removed the @ in front of the function) So the $result being passed in to the function, is not a resource. I don't know why not however! ------------------------------------------------------------------------ [2012-03-02 15:09:57] lambik I have the same problem as you, most likely. I can query "select * from table" fine with mysql_query() but I cannot do it with MDB2. There is no error, it just pretends that there are no results. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=19237 -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19237&edit=1

« previous php.pear.bugs (#8349) next »