Hi list. I had the same problem when trying to use Sybase_Connect ... Insted i defined alias in ODBC and used OBDC_Connetc. JPedro ----- Original Message ----- From: "Stephan van Beerschoten" <stephanb@whacky.net> To: <php-db@lists.php.net> Sent: Monday, September 29, 2003 8:52 AM Subject: [fwd] Sybase (from: stephanb@whacky.net) Since I have gotten 0 (zero) response on the problem below, let me try again. Also, I kept trying to work with it, and I found out that a sybase_connect from a php shellscript does work, but it won't work from inside a php handled webpage. This is even stranger. I also found a way to up the level of error output I get, and now the php gives me this: ct_con_alloc(): unable to get layer message string: unable to get origin message string: error string not available I searched for this error, but found only people who had the same problem, but no solution. Isn't this odd when a script does work on the cmdline but not in a website ? I have never experienced this before. Please help. /Stephan ----- Forwarded message from Stephan van Beerschoten <stephanb@whacky.net> ----- From: Stephan van Beerschoten <stephanb@whacky.net> To: php-db@lists.php.net Date: Thu, 25 Sep 2003 22:47:33 +0200 Subject: Sybase User-Agent: Mutt/1.5.4i Hi all, As many, I'm forced to start my message too with the problem statement that I can't connect to my sybase database. I have to be more honest even in saying that I don't even know the difference in --enable-sybase and --enable-sybase-ct (I have tried both). I'm by no means an SQL nitwit.. I just never had to work with sybase before. I don't have any clue when it comes to sybase.. never worked with any, but I have to now. I have a login and can connect using isql and the database definition 'CST_SYB' which comes straight out of the sybase interfaces file. However I can't seem to get any php connections working. I can flood you with sybase_connect() examples, but they come straight from the manual. What am I missing ? Oh btw, I compiled my php using the orignal sybase openclient package in $SYBASE, but I also see people referring to 'freedts'? I assume this is a substitute in case no original sybase libs are available, right? Anyway, any pointers would be more then welcome. /Stephan -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" ----- End forwarded message ----- -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php