This topic is locked
[SOLVED]

 distributed Report getting Fatal error:

6/3/2015 4:45:47 PM
PHPRunner General questions
J
jmartin17 author

[RESOLVED] Subject: distributing Reports getting Fatal error: Call to undefined function odbc_connect() in /www/zendsvr/htdocs/PCC/connections/ODBCConnection.php on line 48
I am back to having the same problem as I had with this:

Ticket 339951: Creating and distributing Reports (Category: Support) Status: Closed Updated: 2/2/2015 5:50:24 PM which was resolved by using server database connection

$data["dbType"] = nDATABASE_DB2;
I add a report to the same project that contains the one that was working at my site and client's site. I copied the output folder to the clients machine but I get the:

Fatal error: Call to undefined function odbc_connect() in /www/zendsvr/htdocs/PCC/connections/ODBCConnection.php on line 48
I have checked the server database connection. It contains:

$data["dbType"] = nDATABASE_DB2;

which works on my machine. I am on PHPRunner Enterprise 8.0 Build 23504.
I anyone having the same problems

J
jmartin17 author 6/6/2015

Xlinesoft Support provided me with a modified DB2Connection.php to support iSeries DB2 when I first

purchased PHPRunner Enterprise.
I think I figured out what happen. When I created a second report and copied for the same client

as the first report the old DB2Connection.php on my windows 7 pro system did not have the new DB2Connection.zip

unzipped and applied to the D:\Users\James R Martin\DocumentsPHPRunnerProjects\PCC\output

where the build of the application’s output folder is.
I unzipped it there and also where PHPRunner Enterprise is installed: D:\Program Files (x86)\PHPRunner8.0\source\connections

replacing the DB2Connection.php file so any new reports will have the correct connection information when distributed to each

iSeries client.