PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » MDB2_Driver_mssql » Bug #8708

PHP script exit without exception after execute

Details

Submitted2006-09-15 10:38 UTC
Fromusenet at filthaut dot com
Assigneddavidc
StatusBogus
PackageMDB2_Driver_mssql
PHP Version5.1.2
OSLinux, SuSE 10.x
Roadmaps(Not assigned)

Comments

[2006-09-15 10:38 UTC] usenet at filthaut dot com

Description:
------------
Hi,

on our Linux server we connect via the freetds driver to a MS SQL 2000 server.

SELECT commands via MDB2 works fine but with execute or autoExecute we have problems.

After the autoExecute is done the script dies without a error message. The autoExecute works fine but no PHP code after the autoExecute.

The only changes on MDB2 we made are disable the check if mssql if installed.

When we use the msssql_query function all works fine.

Thanks
Marc

Test script:
---------------
$table_name = 'tTest';

$fields_values = array(
'id' => 5
);
$types = array('integer');

$mdb2->loadModule('Extended');

echo "No error displayed";

$affectedRows = $mdb2->extended->autoExecute($table_name, $fields_values, MDB2_AUTOQUERY_INSERT, null, $types);

echo "This is never displayed";

if (PEAR::isError($affectedRows)) {
die($affectedRows->getMessage());

Expected result:
----------------
No Exception or error message is return

[2006-09-15 11:26 UTC] usenet at filthaut dot com

Hi,

sorry same effect. Nothing changed.

Best regards
Marc

[2006-09-21 09:24 UTC] usenet at filthaut dot com

Hi,

somthing new to test for me ?

We have to release our software by end of this month ;-)

Best regards
Marc

[2007-01-05 09:41 UTC] usenet at filthaut dot com

I will test it next week again, when I am at the customer.

[2007-01-31 16:38 UTC] powtac at gmx dot de

Do You have the latest version of the SQL Server Client Library? For windows you need version 2000.80.194.0 of ntwdblib.dll to work with MSSql 2005. On linux?