Ask a Question related to PHP Development, Design and Development.
-
sniper@php.net #1
#24244 [Fbk->NoF]: odbc_errormsg() sometimes returns a bad string when no error occurs
ID: 24244
Updated by: [email]sniper@php.net[/email]
Reported By: bl at btn dot de
-Status: Feedback
+Status: No Feedback
Bug Type: ODBC related
Operating System: Red Hat Linux
PHP Version: 4.3.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-07-27 13:19:29] [email]iliaa@php.net[/email]
Actually I wanted to see the error id not the error message. So please
tell me what is the output of:
var_dump(odbc_error())
------------------------------------------------------------------------
[2003-06-26 18:23:37] [email]sniper@php.net[/email]
Do not add comments to your own report, use this link:
[url]http://bugs.php.net/bug.php?id=24244&edit=2[/url]
------------------------------------------------------------------------
[2003-06-26 04:07:16] mb at btn dot de
Output of var_dump(odbc_errormsg()) as follows:
string(146)
"31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31: *.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:* .xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:"
string(122)
"1:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35 :*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:* .png=01;35:*.tif=01;35:"
These are only two examples. I had to reproduce the error in a small
script to generate these. That's why the variety is not that great like
in our production environment where we currently use a dirty
workaround.
------------------------------------------------------------------------
[2003-06-18 10:24:52] [email]iliaa@php.net[/email]
What does var_dump(odbc_error()) return after a valid query?
------------------------------------------------------------------------
[2003-06-18 06:54:21] bl at btn dot de
sorry ... one more thing ...
in my "Actual Results" section I forgot to remove the "or"'s ...
So of course the "or"'s are not part of the string which is returned by
odbc_errormsg() ...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/24244[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=24244&edit=1[/url]
sniper@php.net Guest
-
BUG: An 8144 error occurs when you try to attach adatabase to an instance of SQL Server by using SQL ServerEnterprise
Hi guys... just wondering if any of you have come up with a 8144 database error... I'm getting this through calling cfstoredproc with more than... -
#25917 [Fbk->Opn]: odbc_error() sometimes returns a bad string
ID: 25917 User updated by: thorsten at rinne dot info Reported By: thorsten at rinne dot info -Status: Feedback... -
#24244 [Com]: odbc_errormsg() sometimes returns a bad string when no error occurs
ID: 24244 Comment by: thorsten at rinne dot info Reported By: bl at btn dot de Status: No Feedback Bug Type: ... -
How to get Line no. when error occurs?
Hi all! I have a problem in my VB6 component that is hard to understand.... Im using on error goto printErrReport In printErrReport i just... -
Error occurs in IIS 5 and Not IIS4
Suggest you attempt to Response.Write() the SQL statement you are sending to the database: Response.Write(strSQL) Response.End Cheers Ken ...



Reply With Quote

