michalochal Posted March 24, 2015 Share Posted March 24, 2015 Witam, w moim sklepie na prestashop 1.6 po potwierdzeniu zamówienia wyskakuje błąd 500 server error, nie ważne jaki moduł obsługuje płatności przelew/pobranie itp. wszystko kończy się tak samo. logi błędu: Tue Mar 24 11:06:12 2015] [error] [client 54.161.247.124] Invalid URI in request GET /../ HTTP/1.1[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055 Co może być przyczyną ? Link to comment Share on other sites More sharing options...
SirPresta Posted March 24, 2015 Share Posted March 24, 2015 To zależy.Włącz opcję debugowania. W pliku: config/defines.inc.php zmień na chwilę linijkę z: define('_PS_MODE_DEV_', false); na define('_PS_MODE_DEV_', true); I wklej tutaj komunikat błędu na stronie z błędem 500. Link to comment Share on other sites More sharing options...
michalochal Posted March 24, 2015 Author Share Posted March 24, 2015 Wyskoczyło coś takiego: Can't load Order statusat line 178 in file classes/PaymentModule.php 173. 174. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);175. if (!Validate::isLoadedObject($order_status))176. {177. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true);178. throw new PrestaShopException('Can\'t load Order status');179. }180. 181. if (!$this->active)182. {183. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments] BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
SirPresta Posted March 24, 2015 Share Posted March 24, 2015 Jest to jakiś problem z domyślnymi statusami Prestashop. Prawdopodobnie po aktualizacji. Najlepszym sposobem byłoby zaimportowanie tabeli do bazy danych przez phpmyadmin z nowozainstalowanej instacji prestashop 1.6 .Mówiąc bardziej po ludzku - prestashop chce ustawić status po złożeniu zamówienia, a ten status nie istnieje w panelu administracyjnym w zakładce Zamówienia->Statusy.Tutaj ktoś miał podobny problem: https://www.prestashop.com/forums/topic/341790-solved-x-2-closed-getting-error-in-cash-on-delivery-module/?p=1789528Pozdrawiam Link to comment Share on other sites More sharing options...
vekia Posted March 24, 2015 Share Posted March 24, 2015 Witam, w moim sklepie na prestashop 1.6 po potwierdzeniu zamówienia wyskakuje błąd 500 server error, nie ważne jaki moduł obsługuje płatności przelew/pobranie itp. wszystko kończy się tak samo. logi błędu: Tue Mar 24 11:06:12 2015] [error] [client 54.161.247.124] Invalid URI in request GET /../ HTTP/1.1[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue'>http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055[Tue Mar 24 12:55:19 2015] [warn] [client 94.72.106.96] mod_fcgid: stderr: PHP Warning: Missing argument 1 for LinkCore::getPageLink(), called in /home/room1st/domains/firstroom.pl/public_html/override/controllers/admin/AdminOrdersController.php on line 34 and defined in /home/room1st/domains/firstroom.pl/public_html/classes/Link.php on line 432, referer: http://firstroom.pl/admin245arvapc/index.php?controller=AdminDashboard&token=09c2cc61afa90c4b2eb30ca279d34055 Co może być przyczyną ? usuwałeś statusy zamówień w orders > states ? Link to comment Share on other sites More sharing options...
michalochal Posted March 24, 2015 Author Share Posted March 24, 2015 (edited) były usuwane zamówienia demo które wgrały się razem z prestą Edited March 24, 2015 by michalochal (see edit history) Link to comment Share on other sites More sharing options...
michalochal Posted March 24, 2015 Author Share Posted March 24, 2015 problem rozwiązany rzeczywiście usunięte zostały statusy zamówień, dziękuję za pomoc ! Link to comment Share on other sites More sharing options...
ramzes12 Posted May 24, 2020 Share Posted May 24, 2020 On 3/24/2015 at 1:33 PM, SirPresta said: Jest to jakiś problem z domyślnymi statusami Prestashop. Prawdopodobnie po aktualizacji. Najlepszym sposobem byłoby zaimportowanie tabeli do bazy danych przez phpmyadmin z nowozainstalowanej instacji prestashop 1.6 . Mówiąc bardziej po ludzku - prestashop chce ustawić status po złożeniu zamówienia, a ten status nie istnieje w panelu administracyjnym w zakładce Zamówienia->Statusy. Tutaj ktoś miał podobny problem: https://www.prestashop.com/forums/topic/341790-solved-x-2-closed-getting-error-in-cash-on-delivery-module/?p=1789528 Pozdrawiam Gdzie na ftp powinienem szukać pliku ze statusami czy wystarczy faktycznie z nowej presty dodać oryginalne statusy? Pozdrawiam 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