michal95nh Posted August 8, 2016 Share Posted August 8, 2016 (edited) Cześć mam w sklepie zamówienia na 1 karcie i przy wpisywaniu adresu i kodu pocztowego wyskakują mi poniższe błędy przez co goście nie widzą płatności. Czytałem na necie,ale nic konkretnego nie znalazłem. Mam moduł ship to pay. Płatności przy odbiorze i przelewy24 Presta 1.6.1.4 www.redshop24.pl TECHNICAL ERROR: unable to save adressesDetails:Error thrown: [object Object]Text status: error TECHNICAL ERROR: unable to save carrierDetails:Error thrown: [object Object]Text status: error Edited August 8, 2016 by michal95nh (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2016 Share Posted August 8, 2016 0) włącz raportowanie błędów 1) kliknij w te błędy: 2) na kolejnej stronie kliknij raz jeszcze 3) otwórz zakładkę response 4) skopiuj treść tutaj Link to comment Share on other sites More sharing options...
michal95nh Posted August 9, 2016 Author Share Posted August 9, 2016 Dzięki za zainteresowanie tematem. Nie wiem czy o to Ci chodziło, ale skopiowałem kod: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="This store is powered by PrestaShop" /> <style> ::-moz-selection { background: #b3d4fc; text-shadow: none; } ::selection { background: #b3d4fc; text-shadow: none; } html { padding: 30px 10px; font-size: 16px; line-height: 1.4; color: #737373; background: #f0f0f0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } html, input { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } body { max-width:600px; _width: 600px; padding: 30px 20px 50px; border: 1px solid #b3b3b3; border-radius: 4px; margin: 0 auto; box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff; background: #fcfcfc; } h1 { margin: 0 10px; font-size: 50px; text-align: center; } h1 span { color: #bbb; } h2 { color: #D35780; margin: 0 10px; font-size: 40px; text-align: center; } h2 span { color: #bbb; font-size: 60px; } h3 { margin: 1.5em 0 0.5em; } p { margin: 1em 0; } ul { padding: 0 0 0 40px; margin: 1em 0; } .container { max-width: 380px; _width: 380px; margin: 0 auto; } input::-moz-focus-inner { padding: 0; border: 0; } </style> </head> <body> <div class="container"> <h2><span>500</span> Server Error</h2> <p>Oops, something went wrong.<br /><br />Try to refresh this page or feel free to contact us if the problem persists.</p> </div> </body> </html> Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2016 Share Posted August 9, 2016 punkt: 0) włącz raportowanie błędów nie został wykonany https://www.prestashop.com/forums/topic/263589-500-error-b%C5%82%C4%99dy-bia%C5%82a-strona-instrukcja-dotycz%C4%85ca-trybu-debugowania/ Link to comment Share on other sites More sharing options...
michal95nh Posted August 9, 2016 Author Share Posted August 9, 2016 Dzięki za instrukcję będę wiedział na przyszłość. <style> #psException{font-family: Verdana; font-size: 14px} #psException h2{color: #F20000} #psException p{padding-left: 20px} #psException ul li{margin-bottom: 10px} #psException a{font-size: 12px; color: #000000} #psException .psTrace, #psException .psArgs{display: none} #psException pre{border: 1px solid #236B04; background-color: #EAFEE1; padding: 5px; font-family: Courier; width: 99%; overflow-x: auto; margin-bottom: 30px;} #psException .psArgs pre{background-color: #F1FDFE;} #psException pre .selected{color: #F20000; font-weight: bold;} </style><div id="psException"><h2>[PrestaShopException]</h2><p><b>Unknown method "partialSubmitAddress"</b><br /><i>at line </i><b>313</b><i> in file </i><b>controllers/front/OrderOpcController.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>308. $this->context->cart->setNoMultishipping(); 309. $this->ajaxDie(); 310. break; 311. 312. default: <span class="selected">313. throw new PrestaShopException('Unknown method "'.Tools::getValue('method').'"'); </span>314. } 315. } else { 316. throw new PrestaShopException('Method is not defined'); 317. } 318. } </pre></div><ul><li><b>OrderOpcControllerCore->init</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_0').style.display = (document.getElementById('psTrace_0').style.display != 'block') ? 'block' : 'none'; return false">[line 170 - classes/controller/Controller.php]</a><div class="psTrace" id="psTrace_0" ><pre>165. /** 166. * Starts the controller process (this method should not be overridden!) 167. */ 168. public function run() 169. { <span class="selected">170. $this->init(); </span>171. if ($this->checkAccess()) { 172. // setMedia MUST be called before postProcess 173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 174. $this->setMedia(); 175. } </pre></div></li><li><b>ControllerCore->run</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_1').style.display = (document.getElementById('psTrace_1').style.display != 'block') ? 'block' : 'none'; return false">[line 367 - classes/Dispatcher.php]</a><div class="psTrace" id="psTrace_1" ><pre>362. if (isset($params_hook_action_dispatcher)) { 363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 364. } 365. 366. // Running controller <span class="selected">367. $controller->run(); </span>368. } catch (PrestaShopException $e) { 369. $e->displayMessage(); 370. } 371. } 372. </pre></div></li><li><b>DispatcherCore->dispatch</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_2').style.display = (document.getElementById('psTrace_2').style.display != 'block') ? 'block' : 'none'; return false">[line 28 - index.php]</a><div class="psTrace" id="psTrace_2" ><pre>23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); <span class="selected">28. Dispatcher::getInstance()->dispatch(); </span></pre></div></li></ul></div> Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2016 Share Posted August 11, 2016 czy coś było zmieniane w kontrolerze? partialSubmitAddress funkcja nie istnieje w nowym OrderOpcController.php więc wyglada to na coś niestandardowego, hmm ? Link to comment Share on other sites More sharing options...
michal95nh Posted August 17, 2016 Author Share Posted August 17, 2016 Właśnie nic nie było ruszane w plikach :/ Link to comment Share on other sites More sharing options...
michal95nh Posted September 2, 2016 Author Share Posted September 2, 2016 @odświeżam 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