freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] mssql_execute(): stored procedure execution failed
- From: Sylvain Viart - Gmail <sylvain.viart AT gmail.com>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] mssql_execute(): stored procedure execution failed
- Date: Mon, 24 May 2010 09:39:48 +0200
Hi,
On 23/05/2010 03:07, Robert Gonzalez wrote:
If possible, take the return from mssql_init() and check it for booleanPHP Warning: mssql_init(): unable to init stored procedure int give any error messages when it doesn't work?
read_msg.php on line 46
PHP Warning: mssql_execute() expects parameter 1 to be resource,
boolean given in read_msg.php on line 47
PHP Warning: mssql_free_statement() expects parameter 1 to be resource,
boolean given in read_msg.php on line 48
false. If it is, try to trap the error returned from the server with
mssql_get_last_message(). All of the errors you see after the mssql_init()
failure are because you are trying to pass a boolean value (in this case, a
FALSE) to functions that expect an initialized stored proc resource handle.
Yes, I gonna log that and report it back.
No clue about the difference between mssql_init + mssql_bind versus mssql_query("EXEC ...")?
Regards,
Sylvain.
-
[freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/20/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Craig A. Berry, 05/20/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/21/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Robert Gonzalez, 05/22/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/24/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Robert Gonzalez, 05/24/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/27/2010
- Re: [freetds] mssql_execute(): stored procedure execution failed, Robert Gonzalez, 05/27/2010
- Re: [freetds] mssql_execute(): stored procedure execution failed, Sylvain Viart - Gmail, 05/28/2010
- Re: [freetds] mssql_execute(): stored procedure execution failed, Robert Gonzalez, 05/28/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/27/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Robert Gonzalez, 05/24/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/24/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Robert Gonzalez, 05/22/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Sylvain Viart - Gmail, 05/21/2010
-
Re: [freetds] mssql_execute(): stored procedure execution failed,
Craig A. Berry, 05/20/2010
Archive powered by MHonArc 2.6.24.