From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.17 RedHat 7.2
PHP version:      4.1.2
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  mysql_query fails connecting to a sybase Application Server

The Problem is with Sybase's "Jaguar CTS component transaction server".
On our application we use it to store session data between serveral
web-servers. It's running a simple java-application.

Yesterday i upgraded to 4.2.1 on a test Server. Everything worked fine on
4.1.2.

Code example:
$server = sybase_connect(SERVER,USER,PASS);
sybase_query("exec PhpSession.Manager_de.setSessionData
'0146119b4fb52b5e408243a37c118720cb','TEST'",$server);
$query  = sybase_query("exec PhpSession.Manager_de.getSessionData
'0146119b4fb52b5e408243a37c118720cb'",$server);
if(!$query)     echo "QUERY FAILED";

You see that our Application is very easy: Just set or get Session-Data.
This Code Sample works on all Live-Servers and on the Test Server running
4.1.2. I tried both: connect and pconnect, but 4.2.1 doesn't work. It even
doesn't matter which Query i use, they all fail, without Error-Message.

Furthermore, the normal sybase DB-Connections are working without Problems
on 4.2.1. It's just this Application-Server connection which fails.

I use the Sybase client 11.9.2 and Apache 1.3.24 (I tried 1.3.23, too).

Thx ...

-- 
Edit bug report at http://bugs.php.net/?id=17336&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17336&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17336&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17336&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17336&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17336&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17336&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17336&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17336&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17336&r=globals

Reply via email to