<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/odbtp/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/odbtp/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/odbtp/discussion/</id><updated>2017-05-18T14:27:19.945000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>PHP7/PHPNG Support</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/6837c73d/?limit=25#a6da" rel="alternate"/><published>2017-05-18T14:27:19.945000Z</published><updated>2017-05-18T14:27:19.945000Z</updated><author><name>CyberDems</name><uri>https://sourceforge.net/u/cyberdems/</uri></author><id>https://sourceforge.net82c284a30174351337717a62819a77b0685f0b74</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Firstly, thanks for this livesaving software!&lt;/p&gt;
&lt;p&gt;Development seems to have nearly halted though, which is a concern given the lack of support for php7 now&lt;/p&gt;
&lt;p&gt;So I had to create a php wrapper script which depends on odbtpcli to fetch required data, as I can't get the php extension compiled for php7.... it barely works and I don't trust it.  Are there any plans to port the php extension to php7?&lt;br/&gt;
Conversion guide is at &lt;a href="https://wiki.php.net/phpng-upgrading" rel="nofollow"&gt;https://wiki.php.net/phpng-upgrading&lt;/a&gt; , but I tried to port this and failed due to all the zend changes which are far beyond the scope of my primitive coding abilities&lt;/p&gt;
&lt;p&gt;Perhaps it's due to a lack of PHP7 support that ADODB are now listing this as obsolete and say that they won't be including it in ADODB v6? Come guys, let's change that. This is extremely useful software which must benefit from continued development / stay current.  Perhaps an official github page is now in order ...??&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[ODBEM][0]Memory Allocation Error</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/97a68354/" rel="alternate"/><published>2016-10-04T22:01:09.782000Z</published><updated>2016-10-04T22:01:09.782000Z</updated><author><name>xianve</name><uri>https://sourceforge.net/u/xianve/</uri></author><id>https://sourceforge.net220890d36fd58e6b8169ba6b0df860e322dd07ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Has anyone had the error:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[ODBEM]&lt;/span&gt;&lt;span&gt;[0]&lt;/span&gt;Memory Allocation Error&lt;/p&gt;
&lt;p&gt;When doing a prepare statement execute?&lt;br/&gt;
Is this error from the ODBTP service or from SQL Server running out of memory.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compile the php extension with PHP 5.5</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/9971faff/" rel="alternate"/><published>2015-07-22T19:25:58.606000Z</published><updated>2015-07-22T19:25:58.606000Z</updated><author><name>Jan-E</name><uri>https://sourceforge.net/u/jan-e/</uri></author><id>https://sourceforge.net93d6bb2692c23fe01d798190427b53c7f121871e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have added php_odbtp.dll to all my 5.3, 5.4, 5.5 &amp;amp; 5.6 builds:&lt;br /&gt;
&lt;a href="https://www.apachelounge.com/viewtopic.php?t=6359" rel="nofollow"&gt;https://www.apachelounge.com/viewtopic.php?t=6359&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In stead of remming out ZVAL_ADDREF(zVar), I changed that into Z_ADDREF_P(zVar). According to &lt;a class="" href="https://sourceforge.net/p/odbtp/discussion/239284/thread/9971faff/#9003"&gt;Chris&lt;/a&gt; it works fine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compile the php extension with PHP 5.5</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/9971faff/" rel="alternate"/><published>2015-04-27T20:48:00.111000Z</published><updated>2015-04-27T20:48:00.111000Z</updated><author><name>Fernando Ortiz</name><uri>https://sourceforge.net/u/fortiz/</uri></author><id>https://sourceforge.neta16deddab331ca99f0837ae174ec60b562f8249c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was able to compile odbtp in PHP 5.5 AND 5.6 with this changes in file php_odbtp.c&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="nx"&gt;diff&lt;/span&gt; &lt;span class="nx"&gt;php_odbtp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c&lt;/span&gt; &lt;span class="nx"&gt;php_odbtp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;orig&lt;/span&gt; 
&lt;span class="mi"&gt;146&lt;/span&gt;&lt;span class="nx"&gt;c146&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="kr"&gt;static&lt;/span&gt; &lt;span class="nx"&gt;zend_function_entry&lt;/span&gt; &lt;span class="nx"&gt;odbtp_functions&lt;/span&gt;&lt;span class="cp"&gt;[]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="o"&gt;---&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;function_entry&lt;/span&gt; &lt;span class="nx"&gt;odbtp_functions&lt;/span&gt;&lt;span class="cp"&gt;[]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="mi"&gt;1927&lt;/span&gt;&lt;span class="nx"&gt;c1927&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;     &lt;span class="c1"&gt;// ZVAL_ADDREF(zVar);&lt;/span&gt;
&lt;span class="o"&gt;---&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;     &lt;span class="nx"&gt;ZVAL_ADDREF&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;zVar&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="mi"&gt;4050&lt;/span&gt;&lt;span class="nx"&gt;c4050&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;     &lt;span class="c1"&gt;// ZVAL_ADDREF(zVar);&lt;/span&gt;
&lt;span class="o"&gt;---&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;     &lt;span class="nx"&gt;ZVAL_ADDREF&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;zVar&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compile the php extension with PHP 5.5</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/9971faff/" rel="alternate"/><published>2015-03-13T19:33:58.776000Z</published><updated>2015-03-13T19:33:58.776000Z</updated><author><name>Chris</name><uri>https://sourceforge.net/u/seadoubleyou/</uri></author><id>https://sourceforge.net279b34f60b872605b9208826f6fef674da5cb8b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ODBTP will not compile under 5.5. Dont think ODBTP has been updated since 5.3. &lt;/p&gt;
&lt;p&gt;I did see a .dll for a 5.4 compile but I have never gotten it to work above 5.3...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compile the php extension with PHP 5.5</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/9971faff/" rel="alternate"/><published>2015-03-13T07:22:58.560000Z</published><updated>2015-03-13T07:22:58.560000Z</updated><author><name>Dimas</name><uri>https://sourceforge.net/u/hastms/</uri></author><id>https://sourceforge.netc5423e847b37c3dbf5d5dc48a4b4b18325ce2be9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to compile the php extension in a Ubuntu Server 14.04 with PHP 5.5:&lt;/p&gt;
&lt;p&gt;cd php/ext/odbtp&lt;br /&gt;
phpize&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;/p&gt;
&lt;p&gt;But make ends with that error: "make: *** &lt;span&gt;[php_odbtp.lo]&lt;/span&gt; Error 1"&lt;br /&gt;
Complete log: &lt;a href="https://dl.dropboxusercontent.com/u/171128/odbtp_make_output.txt" rel="nofollow"&gt;https://dl.dropboxusercontent.com/u/171128/odbtp_make_output.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any idea? :-(&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PHP 5.4</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/e8f9346c/" rel="alternate"/><published>2015-03-13T07:15:29.865000Z</published><updated>2015-03-13T07:15:29.865000Z</updated><author><name>Dimas</name><uri>https://sourceforge.net/u/hastms/</uri></author><id>https://sourceforge.netb66583d139839e4fbd3c4b8dd905d7d6418bab3c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did you get? I'm trying to compile it for PHP 5.5 and the 'make' command ends with an error 1.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exceptions: how to get more info</title><link href="https://sourceforge.net/p/odbtp/discussion/239284/thread/5638b7f0/" rel="alternate"/><published>2015-03-03T16:03:22.032000Z</published><updated>2015-03-03T16:03:22.032000Z</updated><author><name>paquins</name><uri>https://sourceforge.net/u/paquins/</uri></author><id>https://sourceforge.netf1fa596e2c1c13d566a30db595d633642afdd405</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My ODBTP system is really busy and I am getting some exceptions 1 to 3 times a day. I can see a new entry in the exception.log file when that happens. I have also tried enabling LogODBC and LogReadandSent but that did not help get more info. I am looking for more information about the exception in order to find out what is happening. Is it a problem with my client application, the SQL Server or else. &lt;br /&gt;
Anyone can suggest some way to get more logging/debugging information that will help me find what is happening ?&lt;/p&gt;
&lt;p&gt;Log info taken from a restart this morning at 00h12m21&lt;/p&gt;
&lt;p&gt;From exception.log&lt;br /&gt;
03/03/2015 00:12:21 (server)&lt;/p&gt;
&lt;p&gt;From odbtpsrv.log&lt;br /&gt;
...&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; OPEN 192.168.0.72 59328&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; CLOSE 192.168.0.72 59328&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; OPEN 192.168.0.72 59329&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; CLOSE 192.168.0.72 59329&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; OPEN 192.168.0.72 59330&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; CLOSE 192.168.0.72 59330&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; OPEN 192.168.0.72 59331&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:20]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:21]&lt;/span&gt; CLOSE 192.168.0.72 59331&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:21]&lt;/span&gt; OPEN 192.168.0.72 59332&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:21]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:21]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:12:21]&lt;/span&gt; SERVER&lt;span&gt;[Started]&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:17:28]&lt;/span&gt; OPEN 192.168.0.72 1&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:17:28]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5701]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed database context to 'MYDB'.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:17:28]&lt;/span&gt; ODBC&lt;span&gt;[[01000]&lt;/span&gt;&lt;span&gt;[5703]&lt;/span&gt;&lt;span&gt;[Microsoft]&lt;/span&gt;&lt;span&gt;[ODBC SQL Server Driver]&lt;/span&gt;&lt;span&gt;[SQL Server]&lt;/span&gt;Changed language setting to us_english.]&lt;br /&gt;
&lt;span&gt;[03/Mar/2015:00:17:28]&lt;/span&gt; CLOSE 192.168.0.72 1&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;Normal client behavior is a 5 seconds pause followed by 10 connections/action/deconnections in rapid succession. The 59k connections is for 12 hours of operation.&lt;br /&gt;
My client application pauses 5 minutes when it encounters a connection error. &lt;/p&gt;
&lt;p&gt;ODBTP is locally installed on the server as a service. Server is a DL380 G5 with Windows Server 2003 SP1, SQL Server 2005 9.0.4035. CPU usage is around 35%. I have other ODBTP installations on similar hardware/software platforms that do not have exceptions.&lt;/p&gt;
&lt;p&gt;My only guess right now is related to the number of connections/deconnections. Our next option is to slow down the rate of work.&lt;/p&gt;
&lt;p&gt;Any suggestion will be welcome.&lt;br /&gt;
Stephane&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>