[freetds] FreeTDS + php-sybase_ct on Debian Sarge
James K. Lowden
jklowden at freetds.org
Wed Sep 14 23:01:26 EDT 2005
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
More information about the FreeTDS
mailing list