Bug #11045: Odd MSSQL errors about 25% of the time
| From: | uhl at cis dot ohio-state dot edu | Date: | Wed, 23 May 2001 02:27:44 +0000 |
| Subject: | Bug #11045: Odd MSSQL errors about 25% of the time | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56406@lists.php.net to get a copy of this message | ||
From: uhl@cis.ohio-state.edu
Operating system: Win2K
PHP version: 4.0.5
PHP Bug Type: MSSQL related
Bug description: Odd MSSQL errors about 25% of the time
Below is an example of the series of errors I get when loading a page on my website. What is odd
about it is that the errors do not always occur. About 75% of the time, the page works perfectly.
Then I'll refresh the page without even making any changes to the source and the errors will
occur. Refresh again and they disappear and the page works.
Another interesting occurance. Sometimes, the first queries that are run will run and complete
successfully, but then a query that comes later in the source on the same page will cause these
errors.
Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in
c:\www\demoxpress.com\html\db.inc.php on line 4
Warning: MS SQL: Unable to select database: demoXpress in c:\www\demoxpress.com\html\db.inc.php on
line 4
Cannot select demoXpress DB.
Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in
c:\www\demoxpress.com\html\class_menu.php on line 30
Warning: MS SQL: Unable to set query in c:\www\demoxpress.com\html\class_menu.php on line 30
Warning: Supplied argument is not a valid MS SQL-result resource in
c:\www\demoxpress.com\html\class_menu.php on line 31
Warning: Supplied argument is not a valid MS SQL-result resource in
c:\www\demoxpress.com\html\class_menu.php on line 32
Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in
c:\www\demoxpress.com\html\class_menu.php on line 30
Warning: MS SQL: Unable to set query in c:\www\demoxpress.com\html\class_menu.php on line 30
Warning: Supplied argument is not a valid MS SQL-result resource in
c:\www\demoxpress.com\html\class_menu.php on line 31
Warning: Supplied argument is not a valid MS SQL-result resource in
c:\www\demoxpress.com\html\class_menu.php on line 32
Warning: MS SQL: Unable to set query in c:\www\demoxpress.com\html\class_newsmachine.php on line 52
Warning: Supplied argument is not a valid MS SQL-result resource in
c:\www\demoxpress.com\html\class_newsmachine.php on line 58
Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in
c:\www\demoxpress.com\html\class_pollbox.php on line 22
Warning: MS SQL: Unable to set query in c:\www\demoxpress.com\html\class_pollbox.php on line 22
--
Edit Bug report at: http://bugs.php.net/?id=11045&edit=1