Bug #18398: Sporadic link failure/invalid link error
| From: | vmcore at mysun dot com | Date: | Wed, 17 Jul 2002 21:42:58 +0000 |
| Subject: | Bug #18398: Sporadic link failure/invalid link error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14456@lists.php.net to get a copy of this message | ||
From: vmcore@mysun.com
Operating system: Solaris 8
PHP version: 4.1.2
PHP Bug Type: *General Issues
Bug description: Sporadic link failure/invalid link error
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 bug report at http://bugs.php.net/?id=18398&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18398&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18398&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18398&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18398&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18398&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18398&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18398&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18398&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18398&r=globals