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

From: Date: Fri, 02 Mar 2012 16:30:36 +0000
Subject: Bug #19237 [Com]: MDB2 fails to see data in mysql table
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8346@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 Comment by: lambik@gmail.com 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'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? Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2012-01-22 08:00:32] johnk_uk Apologies: a newbie error confusing patches with attachments. Example code and output is at http://www.isc-ltd.co.uk/pear_19237. ------------------------------------------------------------------------ [2012-01-22 07:40:17] johnk_uk Added #patch bug:19237;patch:example-code;revision:1327218017;. ------------------------------------------------------------------------ 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 (#8346) next »