c4tom / db2php

Automatically exported from code.google.com/p/db2php
GNU General Public License v3.0
0 stars 0 forks source link

not working #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 !!!!!!!!!!!!!!

Original issue reported on code.google.com by mrad1...@gmail.com on 18 Apr 2013 at 4:50

GoogleCodeExporter commented 9 years ago
Maybe select a database?

Original comment by rc.poi...@gmail.com on 20 Apr 2013 at 2:52