Quantcast
Channel: OXID Community Forum - Module
Viewing all articles
Browse latest Browse all 816

SQL Fehlermeldung durch ein Core Klasse beim ausgeben der Artikelliste im Bestellvorgang.

$
0
0
Hallo und guten morgen,

ich muss für unser Modul eine Artikelliste zusammenstellen mit Werten die erst zur Verfügung stehen wenn ein Order eingetragen wurde. Das funktioniert auch ganz gut, nur bekomme ich, wenn ich mir mit folgendem Code,

PHP Code:

$this->_order->getOrderArticles()->getList()->getArray(); 

die Artikel zur OrderId, im Debugmodus ausgeben lassen will um zu prfüen wo welche Werte stehen, folgende SQL Fehlermeldung geworfen.

Code:

2013-04-16 08:30:39exception 'ADODB_Exception' with message 'mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from' at line 1] in EXECUTE("select .`oxid` from ")
' in D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\adodblite\adodb-exceptions.inc.php:84
Stack trace:
#0 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\adodblite\adodbSQL_drivers\mysql\mysql_driver.inc(369): adodb_throw('mysql', 'EXECUTE', 1064, 'You have an err...', 'select .`oxid` ...', false, Object(object_ADOConnection))
#1 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\adodblite\adodb.inc.php(316): mysql_driver_ADOConnection->do_query('select .`oxid` ...', -1, -1, false)
#2 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxlegacydb.php(147): ADOConnection->Execute('select .`oxid` ...', false)
#3 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxlist.php(393): oxLegacyDb->select('select .`oxid` ...')
#4 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxlist.php(492): oxList->selectString('select .`oxid` ...')
#5 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\modules\mycompany\core\mycompanySaleData.php(67): oxList->getList()
#6 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\modules\mycompany\controllers\mycompanyOrder.php(188): mycompanySaleData->__construct(Object(oxUser), 42, '60.0000', Object(mycompanyOrderModel), 2, Object(oxBasket))
#7 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\modules\mycompany\controllers\mycompanyOrder.php(104): mycompanyOrder->_mycompanySaleData(42, '60.0000', Object(mycompanyOrderModel), 2, Object(oxBasket))
#8 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxview.php(541): mycompanyOrder->execute()
#9 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxshopcontrol.php(390): oxView->executeFunction('execute')
#10 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxshopcontrol.php(156): oxShopControl->_process('order', 'execute', NULL, NULL)
#11 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\core\oxid.php(40): oxShopControl->start()
#12 D:\Entwicklung\PHP\mycompany-oxidshop\trunk\index.php(28): Oxid::run()
#13 {main}

Kann mir vieleicht jemand einen Tipp geben was da falsch läuft? Vielen Dank udn Gruß Daniel

Viewing all articles
Browse latest Browse all 816

Latest Images

Trending Articles