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

Bug #9759 fatal error when trying to connect to unexisting database with mdb2
Submitted: 2007-01-06 23:20 UTC
From: dscherbina at ukr dot net Assigned: wiesemann
Status: Closed Package: Structures_DataGrid_DataSource_MDB2
PHP Version: 4.4.4 OS: winxp
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-06 23:20 UTC] dscherbina at ukr dot net (Dmitriy)
Description: ------------ fatal php error when trying to connect to unexisting database with mdb2. message: Fatal error: Unsupported operand types in z:\home\new_pear\www\PEAR\Structures\DataGrid\Renderer.php on line 500 -->> ceil($totalRowNum / $rowsPerPage) ->> rowsPerPage is mdb2_error Object! Test script: --------------- $datagrid =& new Structures_DataGrid(10); $options = array('dsn' => 'mysql://root:@localhost/new_pear2'); // UNEXISTING DataBase $test = $datagrid->bind('SELECT * FROM auth', $options, DATAGRID_SOURCE_MDB2); Expected result: ---------------- correct error handling!

Comments

 [2007-01-07 13:19 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!