<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/odbtp/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/odbtp/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/odbtp/bugs/</id><updated>2012-05-20T01:21:10Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>ODBTP Libraries no longer work after applying updates</title><link href="https://sourceforge.net/p/odbtp/bugs/18/" rel="alternate"/><published>2012-05-20T01:21:10Z</published><updated>2012-05-20T01:21:10Z</updated><author><name>Alex</name><uri>https://sourceforge.net/u/alexerwin33444/</uri></author><id>https://sourceforge.netf4cc3565f0965805b0e91c2581f66c6808ae6664</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Example code attached executed perfectly before applying windows 7/2008 normal updates&lt;/p&gt;
&lt;p&gt;The call to the libraries results in a valid column name, but no data. The same query used in the odbtpcli produces &lt;/p&gt;
&lt;p&gt;Version: ODBTP/1.1&lt;br /&gt;
Execute Failed: [HY010][0][Microsoft][ODBC Driver Manager] Function sequence error&lt;/p&gt;
&lt;p&gt;However, the php plugin works as desired with the same sql syntax using the same target odbtp server and sql server.&lt;/p&gt;
&lt;p&gt;A sample response to the query used is: 1) -1 test=(null) Error 0&lt;/p&gt;
&lt;p&gt;I tested this on a Windows 2008 Box and a Windows 7 Box as target and sql host, and used the Windows 2008 as a remote using the CLI, C Libs, and PHP &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ODBTP Fails to build on PHP 5.4</title><link href="https://sourceforge.net/p/odbtp/bugs/17/" rel="alternate"/><published>2012-04-19T21:05:01Z</published><updated>2012-04-19T21:05:01Z</updated><author><name>Matt Schraeder</name><uri>https://sourceforge.net/u/frozen-solid/</uri></author><id>https://sourceforge.net5336966cd7ec05abb1c171c0f5a3961982a353f8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When compiling ODBTP on a server that is running PHP 5.4, the build fails.  I installed Ubuntu 12.04 Final Beta on our testing server, and upgraded it to 5.4 using &lt;a href="https://launchpad.net/~ondrej/+archive/php5" rel="nofollow"&gt;https://launchpad.net/~ondrej/+archive/php5&lt;/a&gt; and ODBTP no longer builds.&lt;/p&gt;
&lt;p&gt;Uninstalling 5.4 and removing the PPA, then going back to the default 5.3.10 installation of PHP allows ODBTP to be built once again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Integer value not always correct</title><link href="https://sourceforge.net/p/odbtp/bugs/16/" rel="alternate"/><published>2011-07-29T06:27:46Z</published><updated>2011-07-29T06:27:46Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6074bb77cc8a1041c5fe0fadbf61e7abd938f44c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The correct integer value isn't always returned.&lt;/p&gt;
&lt;p&gt;For example:&lt;br /&gt;
select 1 as test&lt;/p&gt;
&lt;p&gt;75% of the time, this returns 1.  The rest of the time is returns a random number, i.e. 19946824975&lt;/p&gt;
&lt;p&gt;Everything else works fine, but integers are flakey&lt;/p&gt;
&lt;p&gt;OS: OpenSUSE 11.4 x64&lt;br /&gt;
PHP 5.3&lt;br /&gt;
ODBTP 1.1.4&lt;br /&gt;
SQL Server 2000&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Microsoft SQL Server 2005 SP3 cannot connect with LogODBC=1</title><link href="https://sourceforge.net/p/odbtp/bugs/15/" rel="alternate"/><published>2011-03-09T03:31:55Z</published><updated>2011-03-09T03:31:55Z</updated><author><name>Erik</name><uri>https://sourceforge.net/u/aletheia7/</uri></author><id>https://sourceforge.net0a334b284ecf24f248e57720d122a4f5fbb794d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;odbtp_connect fails when LogODBC=1 is set in odbtpsrv.in with Microsoft SQL Server 2005 SP3. The error message received is “[ODBTPERR][0]Unable to read from server (Success).” This is not a problem with Microsoft SQL Server 2005 SP2. We verified this with the PHP extension and the odbtpcli program compiled in Ubuntu Linux.&lt;/p&gt;
&lt;p&gt;odbtp_connect succeeds with Microsoft SQL Server 2005 SP3 with LogODBC=0.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unix-shared Extension Dumps Core on Ubuntu</title><link href="https://sourceforge.net/p/odbtp/bugs/14/" rel="alternate"/><published>2010-03-25T02:28:26Z</published><updated>2010-03-25T02:28:26Z</updated><author><name>Erik</name><uri>https://sourceforge.net/u/aletheia7/</uri></author><id>https://sourceforge.netddf1d9964e5246807f4ccd3171802e69406428d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The php_odbtp.so (1.1.4) dumps core in apache2.&lt;/p&gt;
&lt;p&gt;I performed a gdb backtrace on the apache2 core file. Here is the function call list:&lt;/p&gt;
&lt;p&gt;#1  0xb6af2b00 in odbFetchRowEx () from /usr/lib/php5/20060613+lfs/php_odbtp.so&lt;br /&gt;
No locals.&lt;br /&gt;
#2  0xb6aea175 in php_odbtp_fetch_hash () from /usr/lib/php5/20060613+lfs/php_odbtp.so&lt;br /&gt;
No locals.&lt;br /&gt;
#3  0xb711e2d1 in execute_internal () from /usr/lib/apache2/modules/libphp5.so&lt;br /&gt;
No symbol table info available.&lt;br /&gt;
#4  0xb6ba163e in ?? () from /usr/lib/php5/20060613+lfs/dbg-php-5.2.so&lt;br /&gt;
No symbol table info available.&lt;br /&gt;
Backtrace stopped: previous frame inner to this frame (corrupt stack?)&lt;br /&gt;
(gdb)&lt;/p&gt;
&lt;p&gt;Environment:&lt;/p&gt;
&lt;p&gt;Apache: 2.2.11&lt;br /&gt;
PHP: 5.2.12-0&lt;br /&gt;
Ubuntu: 9.0.4&lt;br /&gt;
ODBTP: 1.1.4 Attached to this email is the make log output. We compiled with MSSQL support. &lt;/p&gt;
&lt;p&gt;I have been using ODBTP 1.1.4 for 3 years connecting to Foxpro/MSSQL on Windows/PHP. It is extremely stable. We brought our code to the Ubuntu linux environment and are experiencing the core dumps. We compiled the extension with -Wall and are seeing many errors. Any ideas? Thank you for creating ODBTP.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MS SQL INSERT FROM EXEC sp fails</title><link href="https://sourceforge.net/p/odbtp/bugs/13/" rel="alternate"/><published>2007-03-12T14:08:08Z</published><updated>2007-03-12T14:08:08Z</updated><author><name>Mauricio Ramirez</name><uri>https://sourceforge.net/u/moricio/</uri></author><id>https://sourceforge.net677ba0089ff1d44ce7037346419473b7a75ffbf8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have a stored procedure in Microsoft SQL Server 2005 that uses the following statements&lt;br /&gt;
/////////////////////////////////////&lt;br /&gt;
CREATE TABLE #tmpResumenVentasEjecutivoPromotor&lt;br /&gt;
( &lt;br /&gt;
idUsuario INT NOT NULL,&lt;br /&gt;
strNombrePromotor VARCHAR(64) NOT NULL,&lt;br /&gt;
nVisitasEfectuadas FLOAT NOT NULL,&lt;br /&gt;
nVisitasEfectivas FLOAT NOT NULL,&lt;br /&gt;
SUMdblValorEfectivo FLOAT NOT NULL&lt;br /&gt;
)&lt;/p&gt;
&lt;p&gt;INSERT INTO #tmpResumenVentasEjecutivoPromotor&lt;br /&gt;
EXEC [procResumenVentasEjecutivoPromotorDatosBasicos] &lt;br /&gt;
@idPromotor = @idPromotor,&lt;br /&gt;
@nHoraReporteInicio = @nHoraReporteInicio, -- DATEPART(hh, DATEADD(hh, -1, GETDATE()))&lt;br /&gt;
@nHoraReporteFinal  = @nHoraReporteFinal, -- DATEPART(hh, DATEADD(hh, -1, GETDATE()))&lt;br /&gt;
@dtmFechaReporteInicio = @dtmFechaReporteInicio, -- dbo.EXTRACTDATE(GETDATE())&lt;br /&gt;
@dtmFechaReporteFinal = @dtmFechaReporteFinal; -- dbo.EXTRACTDATE(GETDATE())&lt;/p&gt;
&lt;p&gt;SELECT top 10 * FROM #tmpResumenVentasEjecutivoPromotor&lt;br /&gt;
return&lt;br /&gt;
////////////////////////&lt;br /&gt;
The sp does not return anything.&lt;/p&gt;
&lt;p&gt;I run the SP inside management and it works flawlessly.&lt;/p&gt;
&lt;p&gt;The code for executing in php is&lt;br /&gt;
//////////////////////&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
include("includes/dbase.php");&lt;br /&gt;
try {&lt;br /&gt;
$rs1 = $DB-&amp;gt;Execute("EXEC [procResumenVentasEjecutivoPromotorUltimaHora] @idPromotor = 941");&lt;br /&gt;
if ($rs1-&amp;gt;EOF)&lt;br /&gt;
{&lt;br /&gt;
echo "No ha efectuado visitas" . "&amp;lt;br/&amp;gt;";&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
rs2html($rs1);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
catch (exception $e) {&lt;br /&gt;
fnMostrarError("temp2.php", "DatosInsert&amp;lt;br/&amp;gt;", $e, true, false);&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
//////////////////////&lt;/p&gt;
&lt;p&gt;Thanks for your product. It works great.&lt;/p&gt;
&lt;p&gt;MRamirez&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Return value from stored procedure is inaccesible</title><link href="https://sourceforge.net/p/odbtp/bugs/12/" rel="alternate"/><published>2007-01-31T21:14:03Z</published><updated>2007-01-31T21:14:03Z</updated><author><name>Mauricio Ramirez</name><uri>https://sourceforge.net/u/moricio/</uri></author><id>https://sourceforge.net2b02365e4d128cb4e7afea4d84dd04d2562db018</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi and thanks for a very nice piece of software. Today, I discovered you and today it has been implemented successfully. The only problem found so far is about return values from stored procedures in Microsoft SQL Server.&lt;/p&gt;
&lt;p&gt;We are using AdoDB in PHP and the following piece of code:&lt;/p&gt;
&lt;p&gt;# @RETVAL = SP_RUNSOMETHING @myid,@group&lt;br /&gt;
$stmt = $db-&amp;gt;PrepareSP('SP_RUNSOMETHING'); &lt;br /&gt;
# note that the parameter name does not have @ in front!&lt;br /&gt;
$db-&amp;gt;InParameter($stmt,$id,'myid');&lt;br /&gt;
$db-&amp;gt;InParameter($stmt,$group,'group',64);&lt;br /&gt;
# return value in mssql - RETVAL is hard-coded name &lt;br /&gt;
$db-&amp;gt;OutParameter($stmt,$ret,'RETVAL');&lt;br /&gt;
$db-&amp;gt;Execute($stmt);&lt;/p&gt;
&lt;p&gt;Variable $ret doesn't contain any value at all at exit.&lt;/p&gt;
&lt;p&gt;Is there a problem? Thanks in advance.&lt;/p&gt;
&lt;p&gt;Mauricio Ramirez&lt;br /&gt;
MV Ltda.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Connection Problems</title><link href="https://sourceforge.net/p/odbtp/bugs/11/" rel="alternate"/><published>2006-08-15T14:48:43Z</published><updated>2006-08-15T14:48:43Z</updated><author><name>Pierre Jochem</name><uri>https://sourceforge.net/u/pierrejochem/</uri></author><id>https://sourceforge.net59de6b6556dba54099ea2c4af6433b60324e21eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br /&gt;
I'm using your example files and get this error:&lt;/p&gt;
&lt;p&gt;Warning: [ODBTPERR][0]Invalid Response &lt;br /&gt;
in /srv/www/htdocs/test/odbtp/query.php on line 16&lt;/p&gt;
&lt;p&gt;The Connect itself is okay:&lt;/p&gt;
&lt;p&gt;[15/Aug/2006:16:29:53] SERVER[Started]&lt;br /&gt;
[15/Aug/2006:16:46:11] OPEN 172.16.1.167 1&lt;br /&gt;
[15/Aug/2006:16:46:26] CLOSE 172.16.1.167 1&lt;br /&gt;
[15/Aug/2006:16:46:35] OPEN 172.16.1.167 2&lt;br /&gt;
[15/Aug/2006:16:46:36] CLOSE 172.16.1.167 2&lt;/p&gt;
&lt;p&gt;I have added the needed part in the php.ini and have &lt;br /&gt;
created a interface file.&lt;/p&gt;
&lt;p&gt;Can you help?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple queries of a reserved connection</title><link href="https://sourceforge.net/p/odbtp/bugs/10/" rel="alternate"/><published>2006-06-21T10:18:57Z</published><updated>2006-06-21T10:18:57Z</updated><author><name>Vladimir Antonenko</name><uri>https://sourceforge.net/u/vladant/</uri></author><id>https://sourceforge.net68d46aae65146b6f39ba1a1c3c3c60caef71fd95</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using reserved connection:&lt;/p&gt;
&lt;p&gt;// creating connection&lt;br /&gt;
odbLogin(hCon, SVR,2799, ODB_LOGIN_RESERVED, szDbConn);&lt;br /&gt;
odbLogout(hCon, FALSE);&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;odbLogin(hCon, SVR, 2799, ODB_LOGIN_RESERVED, szConn)&lt;br /&gt;
odbExecute (hQry, SQL);&lt;br /&gt;
qid = odbGetQueryId (hQry);&lt;br /&gt;
// qid = 0 - OK&lt;br /&gt;
odbLogout(hCon, FALSE);&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;// then again&lt;/p&gt;
&lt;p&gt;odbLogin(hCon, SVR, 2799, ODB_LOGIN_RESERVED, szConn)&lt;br /&gt;
odbExecute (hQry, NEW_SQL_STATEMENT);&lt;br /&gt;
qid = odbGetQueryId (hQry);&lt;br /&gt;
// qid egual 0 again !&lt;br /&gt;
odbLogout(hCon, FALSE);&lt;/p&gt;
&lt;p&gt;Conclusion: the reserved connection does not restore &lt;br /&gt;
properly its queries.&lt;/p&gt;
&lt;p&gt;vlad&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialization in odbAllocateQuery()</title><link href="https://sourceforge.net/p/odbtp/bugs/9/" rel="alternate"/><published>2006-06-15T11:14:05Z</published><updated>2006-06-15T11:14:05Z</updated><author><name>Vladimir Antonenko</name><uri>https://sourceforge.net/u/vladant/</uri></author><id>https://sourceforge.net168e8641c7e095fed92eb4848fbdd973480d29cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Function odbAllocateQuery do not initialize some &lt;br /&gt;
members of odbHCONNECTION, for example &lt;br /&gt;
pbySavedRowDataEndByte. This leads to segmentation &lt;br /&gt;
fault in function odbRestoreRowDataBytes().&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>