Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS + php-sybase_ct on Debian Sarge

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeTDS + php-sybase_ct on Debian Sarge
  • Date: Wed, 14 Sep 2005 23:01:26 -0400

John Fleming wrote:
> > > Warning: sybase_connect(): Sybase: Client message: Login
> incorrect.
> > > (severity 78) in /path/named/hidden/database.phtml on line 25
>
> > That message doesn't prevent the query from working. Isn't there any
> > way to prevent warning messages from replacing data?
>
> Indeed, this ended up being the key to fixing my issues.
>
> In my php.ini, I had
>
> sybct.min_server_severity = 11
> sybct.min_client_severity = 11
>
> I set both values to 12 (since the severity of the charset warning was
> reported as 11). I set the TDS level back to 5.0 as well. Now the
> site works consistently with no errors.
>
> Thank you for the insight!

You're welcome, I'm sure.

Be aware that you might be masking other useful messages. Perhaps they
can be logged somehow? For more information about Sybase severity levels,
see http://tinyurl.com/do6p2.

(http://manuals.sybase.com/onlinebooks/group-as/asg1250e/sag/@Generic__Bo
okTextView/4594)

HTH.

--jkl






Archive powered by MHonArc 2.6.24.

Top of Page