Export to GitHub

db2php - issue #18

not working


Posted on Apr 18, 2013 by Happy Rhino

it does not work for me , i tried the example and the same errors occurs , the following exception is displayed :

Fatal error: Uncaught exception 'Exception' with message '00000:array ( 0 => '00000', 1 => 1046, 2 => 'No database selected', )' in C:\Program Files\Apache Software Foundation\Apache HTTP Server\htdocs\example\ProductModel.class.php:749 Stack trace: #0 C:\Program Files\Apache Software Foundation\Apache HTTP Server\htdocs\example\index.php(19): ProductModel::findById(Object(PDO), 948933) #1 {main} thrown in C:\Program Files\Apache Software Foundation\Apache HTTP Server\htdocs\example\ProductModel.class.php on line 749

i checked the generated helpers and the models and i found that it need more development because some errors are fixed in these php classes ...

the db2php version i used is : the v1.3 and v1.07 ...

please update !!!!!!!!!!!!!!

Comment #1

Posted on Apr 20, 2013 by Grumpy Horse

Maybe select a database?

Status: Invalid

Labels:
Type-Defect Priority-Medium