Ltc_Komfortkasse - Version 1.6.3

Version Notes

improvements for multi shop environments

Download this release

Release Info

Developer Komfortkasse
Extension Ltc_Komfortkasse
Version 1.6.3
Comparing to
See all releases


Code changes from version 1.6.2 to 1.6.3

app/code/community/Ltc/Komfortkasse/Helper/788426360839 ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a:5:{i:0;s:487:"SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1, query was: SELECT o.increment_id FROM sales_flat_order o join sales_flat_order_payment p on p.parent_id = o.entity_id left join m2epro_order m on m.magento_order_id=o.entity_id left join m2epro_ebay_order e on e.order_id=m.id where o.store_id=3 and created_at > 2015-10-15 and ()";i:1;s:1889:"#0 /srv/http/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
2
+ #1 /srv/http/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
3
+ #2 /srv/http/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
4
+ #3 /srv/http/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT o.increm...', Array)
5
+ #4 /srv/http/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT o.increm...', Array)
6
+ #5 /srv/http/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT o.increm...', Array)
7
+ #6 /srv/http/app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse_Order.php(137): Zend_Db_Adapter_Abstract->fetchAll('SELECT o.increm...')
8
+ #7 /srv/http/app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse.php(71): Komfortkasse_Order::getOpenIDs()
9
+ #8 /srv/http/app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse.php(23): Komfortkasse::read(false)
10
+ #9 /srv/http/app/code/community/Ltc/Komfortkasse/Helper/Data.php(44): Komfortkasse::readorders()
11
+ #10 /srv/http/app/code/community/Ltc/Komfortkasse/controllers/MainController.php(46): Ltc_Komfortkasse_Helper_Data->readorders()
12
+ #11 /srv/http/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Ltc_Komfortkasse_MainController->readordersAction()
13
+ #12 /srv/http/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('readorders')
14
+ #13 /srv/http/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
15
+ #14 /srv/http/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
16
+ #15 /srv/http/app/Mage.php(684): Mage_Core_Model_App->run(Array)
17
+ #16 /srv/http/index.php(86): Mage::run('base', 'website')
18
+ #17 {main}";s:3:"url";s:29:"/komfortkasse/main/readorders";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:12:"german_esouq";}
app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse.php CHANGED
@@ -8,7 +8,7 @@ require_once 'Komfortkasse_Order.php';
8
  */
9
  class Komfortkasse
10
  {
11
- const PLUGIN_VER = '1.6.2';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
8
  */
9
  class Komfortkasse
10
  {
11
+ const PLUGIN_VER = '1.6.3';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse_Order.php CHANGED
@@ -8,7 +8,7 @@
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
- * @version 1.6.2-Magento1
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  global $komfortkasse_order_extension;
@@ -133,10 +133,11 @@ class Komfortkasse_Order
133
  }
134
 
135
  $query .= ')';
136
-
137
- $results = $readConnection->fetchAll($query);
138
- foreach ($results as $result) {
139
- $ret [] = $result ['increment_id'];
 
140
  }
141
  }
142
  }
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
+ * @version 1.6.3-Magento1
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  global $komfortkasse_order_extension;
133
  }
134
 
135
  $query .= ')';
136
+ if (!$first) { // nur wenn min. eine teil-query angehängt wurde
137
+ $results = $readConnection->fetchAll($query);
138
+ foreach ($results as $result) {
139
+ $ret [] = $result ['increment_id'];
140
+ }
141
  }
142
  }
143
  }
app/code/community/Ltc/Komfortkasse/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
- <version>1.6.2</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
+ <version>1.6.3</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
- <version>1.6.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
@@ -16,8 +16,8 @@ Es ist eine Anmeldung auf www.komfortkasse.eu erforderlich (kostenloses Paket ve
16
  <notes>improvements for multi shop environments</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
  <date>2016-10-14</date>
19
- <time>13:44:11</time>
20
- <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="Data.php" hash="42f1d168bb70725128e15daf305802ba"/><file name="Komfortkasse.php" hash="cb3e002089aaee0a0e21d9d35c7ea1c0"/><file name="Komfortkasse.php.bak" hash="2a8cd73b832172bbbed17f2c062f7e4a"/><file name="Komfortkasse_Config.php" hash="991250ec3cdbc9b7b79ab38888e3a022"/><file name="Komfortkasse_Order.php" hash="e250b2d10d2a0fcdbd8794e9166597c5"/></dir><dir name="Model"><file name="Encryptionoptions.php" hash="1fbe2ffc43cc3c1489688d20f4c8af11"/><file name="Observer.php" hash="5b616b6d3651df44f8297c732dc478bb"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="a3faae91c9e658bc9968fa3234f79344"/><file name="system.xml" hash="4477e69044c79edab2b70691b0236bd8"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
+ <version>1.6.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
16
  <notes>improvements for multi shop environments</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
  <date>2016-10-14</date>
19
+ <time>14:13:23</time>
20
+ <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="788426360839" hash="15e420365e230f5866897d2cbcce2bac"/><file name="Data.php" hash="42f1d168bb70725128e15daf305802ba"/><file name="Komfortkasse.php" hash="47d6e4d1a948cdbd171f193933c988a8"/><file name="Komfortkasse.php.bak" hash="2a8cd73b832172bbbed17f2c062f7e4a"/><file name="Komfortkasse_Config.php" hash="991250ec3cdbc9b7b79ab38888e3a022"/><file name="Komfortkasse_Order.php" hash="94eac48800d5f69047701b20e5631a19"/></dir><dir name="Model"><file name="Encryptionoptions.php" hash="1fbe2ffc43cc3c1489688d20f4c8af11"/><file name="Observer.php" hash="5b616b6d3651df44f8297c732dc478bb"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="4964d847be82ded534fcbc1e12f214a3"/><file name="system.xml" hash="4477e69044c79edab2b70691b0236bd8"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>