sptcri Posted January 8, 2016 Share Posted January 8, 2016 Salve, con prestashop sono alle prime armi. Ho provato a comprare un prodotto sul mio sito, arrivo alla quinta fase e mi manda ad una pagina diversa dalla conclusione dell'ordine... Cosa ho sbagliato? [PrestaShopDatabaseException] 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 'GROUP BY hm.id_hook, hm.id_module ORDER BY hm.`position`' at line 9 SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module, h.`live_edit` FROM `ps_module` m INNER JOIN ps_module_shop module_shop ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 4) INNER JOIN `ps_module_shop` ms ON ms.`id_module` = m.`id_module` INNER JOIN `ps_hook_module` hm ON hm.`id_module` = m.`id_module` INNER JOIN `ps_hook` h ON hm.`id_hook` = h.`id_hook` WHERE ((h.name = "displayPayment" AND (SELECT id_country FROM ps_module_country mc WHERE mc.id_module = m.id_module AND id_country = 10 AND id_shop = 1 LIMIT 1) = 10)) AND ((h.name = "displayPayment" AND (SELECT id_currency FROM ps_module_currency mcr WHERE mcr.id_module = m.id_module AND id_currency IN (2, -1, -2) ) AND (hm.id_shop = 1) GROUP BY hm.id_hook, hm.id_module ORDER BY hm.`position` at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {790. if ($sql) {791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');792. }793. 794. throw new PrestaShopDatabaseException($this->getMsgError());795. }796. }DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments]DbCore->executeS - [line 120 - override/classes/Hook.php] - [1 Arguments]Hook::getHookModuleExecList - [line 440 - classes/Hook.php] - [1 Arguments]HookCore::exec - [line 578 - controllers/front/ParentOrderController.php] - [1 Arguments]ParentOrderControllerCore->_assignPayment - [line 469 - controllers/front/OrderController.php]OrderControllerCore->_assignPayment - [line 228 - controllers/front/OrderController.php]OrderControllerCore->initContent - [line 189 - classes/controller/Controller.php]ControllerCore->run - [line 367 - classes/Dispatcher.php]DispatcherCore->dispatch - [line 28 - index.php] Per favore aiutatemi, nessuno può effettuare acquisti e non so quale sia il problema. Link to comment Share on other sites More sharing options...
tuk66 Posted January 12, 2016 Share Posted January 12, 2016 Qual è la vostra versione di PrestaShop? Che cosa hai fatto di recente (aggiornamento, nuovo modulo)? Possiamo vedere online? What is your PrestaShop version? What did you do recently (upgrade, new module)? Can we see it online? Link to comment Share on other sites More sharing options...
sptcri Posted January 12, 2016 Author Share Posted January 12, 2016 Salve, innanzitutto grazie per aver risposto al mio appello, il sito online è http://www.sphonetechnology.it/ ho PrestaShop 1.6.1.2 perchè non so come aggiornalo visto che aruba, mi ha creato dei probblemi non indifferenti con i database, non so più a chi rivolgermi, spero di trovare una soluzione, si è investito tanto, ed ora siamo in perdita Non ricordo di aver fatto aggiornamenti di moduli... Grazie infinite per l'aiuto. Versione di PHP 5.5.30 Versione di MySQL 5.5.45-37.4-log Versione di PrestaShop 1.6.1.2 URL del negozio http://www.sphonetechnology.it/ Link to comment Share on other sites More sharing options...
tuk66 Posted January 12, 2016 Share Posted January 12, 2016 Ci sono due possibili radici di questo problema: il tavolo ps_hook_module e il file /override/classes/Hook.php. Posso risolvere il problema. There are two possible roots of this problem: the ps_hook_module table and the /override/classes/Hook.php file. I can fix it. http://www.presta-addons.com/en/services/23-prestashop-fix.html Link to comment Share on other sites More sharing options...
sptcri Posted January 12, 2016 Author Share Posted January 12, 2016 sarebbe una cosa meravigliosa, cosa posso fare? Link to comment Share on other sites More sharing options...
tuk66 Posted January 12, 2016 Share Posted January 12, 2016 Inviato PM. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now