ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
Re: [PHP-DB] [fwd] Sybase (from: stephanb@whacky.net)
by =?iso-8859-1?Q?Jos=E9_Pedro_Esteves?= other posts by this author
Sep 29 2003 4:00PM messages near this date
[PHP-DB] [fwd] Sybase (from: stephanb@whacky.net) | [PHP-DB] Mozilla stops displaying the web page[2]
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@[...].net> 
To: <php-db@[...].net> 
Sent: Monday, September 29, 2003 8:52 AM
Subject: [PHP-DB] [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@[...].net>  -----

From: Stephan van Beerschoten <stephanb@[...].net> 
To: php-db@[...].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@[...].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@[...].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
Thread:
Stephan van Beerschoten
=?iso-8859-1?Q?Jos=E9_Pedro_Esteves?=

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved