Ortez Posted April 23, 2017 Share Posted April 23, 2017 [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 'AND cs.`id_shop` = 1' at line 3 SELECT cs.* FROM `ps_wtsoldproducts` c at line 744 in file classes/db/Db.php 739. if ($webservice_call && $errno) {740. $dbg = debug_backtrace(); 741. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {743. if ($sql) {744. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');745. }746.747. throw new PrestaShopDatabaseException($this->getMsgError());748. }749. } DbCore->displayError - [line 378 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 596 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 157 - modules/wtspecials/classes/specialproductclass.php] - [1 Arguments] SpecialProductClass->getStaticQuantity - [line 181 - modules/wtspecials/classes/specialproductclass.php] - [1 Arguments] SpecialProductClass->getSpecialProductList - [line 248 - modules/wtspecials/wtspecials.php] - [1 Arguments] WtSpecials->callGetProductList - [line 264 - modules/wtspecials/wtspecials.php] WtSpecials->getWidgetVariables - [line 279 - modules/wtspecials/wtspecials.php] - [2 Arguments] WtSpecials->renderWidget - [line 896 - classes/Hook.php] - [2 Arguments] HookCore::coreRenderWidget - [line 857 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 168 - config/smarty.config.inc.php] - [3 Arguments] smartyHook - [line - ] - [2 Arguments] call_user_func_array - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments] SmartyLazyRegister->__call - [line 466 - app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/50/bb/9b/50bb9b105b84aa658c912b1056525df115d577ed.file.index.tpl.php] - [2 Arguments] SmartyLazyRegister->smartyHook - [line 466 - app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/50/bb/9b/50bb9b105b84aa658c912b1056525df115d577ed.file.index.tpl.php] - [2 Arguments] content_58fb000543b3d2_01952780 - [line 133 - app/cache/dev/smarty/compile/layouts_layout_full_width_tpl/50/bb/9b/50bb9b105b84aa658c912b1056525df115d577ed.file.index.tpl.php] - [1 Arguments] content_58fb0005543026_30501910 - [line 188 - vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 41 - classes/Smarty/SmartyDev.php] - [7 Arguments] SmartyDev->fetch - [line 660 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->smartyOutputContent - [line 644 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->display - [line 225 - classes/controller/Controller.php] ControllerCore->run - [line 369 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
0 Ortez Posted April 23, 2017 Author Share Posted April 23, 2017 Dodam również, że podczas kliknięcia na "Katalog" z produktami czasami wyskakuję mi Eror 505 Link to comment Share on other sites More sharing options...
0 endriu107 Posted April 23, 2017 Share Posted April 23, 2017 Jest to błąd spowodowany modułem który dodaje do bazy tabele wtsoldproducts. Link to comment Share on other sites More sharing options...
0 Ortez Posted April 23, 2017 Author Share Posted April 23, 2017 Co najlepiej z tym zrobić? Endriu107 tym są spowodowane te wszystkie błędy? Link to comment Share on other sites More sharing options...
0 Ortez Posted April 23, 2017 Author Share Posted April 23, 2017 W tej chwili jak sprawdzam zainstalowane moduły to nie pokazuję mi żadnego zainstalowanego Link to comment Share on other sites More sharing options...
0 endriu107 Posted April 23, 2017 Share Posted April 23, 2017 Zgłoś się do autora modułu, lub znajdź jaki to moduł i spróbuj go przeinstalować. Link to comment Share on other sites More sharing options...
Question
Ortez
at line 744 in file classes/db/Db.php
Link to comment
Share on other sites
5 answers to this question
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