Bug #18398 Updated: Sporadic link failure/invalid link error
| From: | sniper@php.net | Date: | Wed, 17 Jul 2002 21:48:57 +0000 |
| Subject: | Bug #18398 Updated: Sporadic link failure/invalid link error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14457@lists.php.net to get a copy of this message | ||
ID: 18398
Updated by: sniper@php.net
Reported By: vmcore@mysun.com
-Status: Open
+Status: Feedback
-Bug Type: *General Issues
+Bug Type: Sybase (dblib) related
Operating System: Solaris 8
PHP Version: 4.1.2
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
You should also try using --with-sybase-ct instead..
Previous Comments:
------------------------------------------------------------------------
[2002-07-17 17:42:57] vmcore@mysun.com
Build string:
./configure --prefix=/local/opt --enable-static=mysql
--enable-static=sybase --with-mysql=/local/opt/mysql
--with-sybase=/local/run/tp/sybase/OpenClientServer/v11.1.1ebf8262
--with-apxs=/local/opt/apache/bin/apxs
Version: 4.1.2
Errors:
Warning: 0 is not a Sybase link index in
/sbclocal/opt/icenine/www/dev/checksheets/include/checksheet_web.class.php
on line 145
Warning: -1 is not a Sybase link index in
/sbclocal/opt/icenine/www/dev/checksheets/include/checksheet_web.class.php
on line 1809
Warning: 0 is not a Sybase result index in
/sbclocal/opt/icenine/www/dev/checksheets/include/checksheet_web.class.php
on line 1811
Connect Statement:
function dbConnect () // Create basic connection
{
// create linkid
$this->dbLinkid = sybase_connect("$this->dbHost", "$this->dbUser",
"$this->dbPass");
// select database
sybase_select_db($this->dbDbase, $this->dbLinkid);
} // dbConnect
It's quite sporadic. Sometimes the errors are different. I was using
the same syntax with mysql, but I never had any issues.
= Josh =
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18398&edit=1