mastek Posted September 28, 2015 Share Posted September 28, 2015 Witam, Jak w temacie, postawiliśmy sklep na prestashop 1.6.0.9 - wszystko ładnie działało do momentu jak klienci nie zaczęło składać dużych zamówień tj. np. w koszyku na liście 100 rodzai produktów gdzie suma ilości daje około już ponad 1500szt. Zamówienie przechodzi do ostatniego kroku, po momencie wyboru płatności wyskakuje 500 serwer error. Posiadamy serwer VPS: 1024 MB - gwarantowany RAM 2048 MB - maksymalny RAM Procesor - 3,4 Ghz - 100% 1 rdzenia W ustawieniach sklepu mamy: Nigdy nie kompiluj ponownie plików szablonu Pamięć podręczna - TAK Inteligentna pamięć podręczna dla CSS - TAK Inteligentna pamięć podręczna dla JavaScript - TAK Limit pamięci 1024M Maksymalny czas wykonywania 600 Prestashop 1.6.0.9 - szablon domyślny. Bardzo proszę o pomoc co może być przyczyną: - czy zgłosić coś administratorom, tj. aby zmienili jakieś ustawienia serwera - czy złościć może administratorom podwyższenie parametrów serwera VPS (więcej RAM-u itp) Przy małych zamówieniach jest OK, problem dotyczy tylko tych dużych. - z góry dziękuje za jakąkowliek pomoc. Link to comment Share on other sites More sharing options...
presta4you.com Posted September 28, 2015 Share Posted September 28, 2015 Trzeba włączyć wyświetlanie błędów i spróbować wrzucić takie duże zamówienie. Po drugie proponowałbym sprawdzić również error_loga z godziny, w której było składane to zamówienie. Link to comment Share on other sites More sharing options...
mastek Posted September 29, 2015 Author Share Posted September 29, 2015 Zaraz stworzę podobne zamówienie z funkcją (define('_PS_MODE_DEV_', true) - trochę to potrwa. Natomiast Apache error log z ostatnich 3 dni pokazuje mi takie coś - nie wiem czy czy godzina na serwerze jest poprawna. Zamówienie moje testowe składałem 2015-09-28 13:41:48. [Sun Sep 27 03:20:05.001556 2015] [ssl:warn] [pid 6395] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Sun Sep 27 03:20:05.001878 2015] [lbmethod_heartbeat:notice] [pid 6395] AH02282: No slotmem from mod_heartmonitor [Sun Sep 27 03:20:05.002651 2015] [mpm_prefork:notice] [pid 6395] AH00163: Apache/2.4.7 (Unix) OpenSSL/1.0.1e configured -- resuming normal operations [Sun Sep 27 03:20:05.002675 2015] [core:notice] [pid 6395] AH00094: Command line: '/usr/sbin/httpd -D SSL' [Sun Sep 27 08:10:44.569385 2015] [cgi:error] [pid 23551] [client 87.117.204.95:41817] script not found or unable to stat: /var/www/cgi-bin/php [Sun Sep 27 08:10:44.603688 2015] [cgi:error] [pid 23551] [client 87.117.204.95:41817] script not found or unable to stat: /var/www/cgi-bin/php5 [Sun Sep 27 08:10:44.636440 2015] [cgi:error] [pid 23551] [client 87.117.204.95:41817] script not found or unable to stat: /var/www/cgi-bin/php-cgi [Sun Sep 27 08:10:44.669634 2015] [cgi:error] [pid 23551] [client 87.117.204.95:41817] script not found or unable to stat: /var/www/cgi-bin/php.cgi [Sun Sep 27 08:10:44.701152 2015] [cgi:error] [pid 23551] [client 87.117.204.95:41817] script not found or unable to stat: /var/www/cgi-bin/php4 [Sun Sep 27 13:04:19.103374 2015] [cgi:error] [pid 5215] [client 212.48.87.19:43288] script not found or unable to stat: /var/www/cgi-bin/php [Sun Sep 27 13:04:19.133163 2015] [cgi:error] [pid 5215] [client 212.48.87.19:43288] script not found or unable to stat: /var/www/cgi-bin/php5 [Sun Sep 27 13:04:19.162850 2015] [cgi:error] [pid 5215] [client 212.48.87.19:43288] script not found or unable to stat: /var/www/cgi-bin/php-cgi [Sun Sep 27 13:04:19.192513 2015] [cgi:error] [pid 5215] [client 212.48.87.19:43288] script not found or unable to stat: /var/www/cgi-bin/php.cgi [Sun Sep 27 13:04:19.223356 2015] [cgi:error] [pid 5215] [client 212.48.87.19:43288] script not found or unable to stat: /var/www/cgi-bin/php4 [Mon Sep 28 03:21:02.292839 2015] [core:error] [pid 6395] (2)No such file or directory: AH00095: failed to remove PID file /var/run/httpd.pid [Mon Sep 28 03:21:02.293611 2015] [mpm_prefork:notice] [pid 6395] AH00169: caught SIGTERM, shutting down [Mon Sep 28 03:21:06.009701 2015] [ssl:warn] [pid 18135] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Mon Sep 28 03:21:06.013388 2015] [suexec:notice] [pid 18135] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Sep 28 03:21:06.016913 2015] [auth_digest:notice] [pid 18136] AH01757: generating secret for digest authentication ... [Mon Sep 28 03:21:07.000892 2015] [ssl:warn] [pid 18136] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Mon Sep 28 03:21:07.001242 2015] [lbmethod_heartbeat:notice] [pid 18136] AH02282: No slotmem from mod_heartmonitor [Mon Sep 28 03:21:07.002010 2015] [mpm_prefork:notice] [pid 18136] AH00163: Apache/2.4.7 (Unix) OpenSSL/1.0.1e configured -- resuming normal operations [Mon Sep 28 03:21:07.002035 2015] [core:notice] [pid 18136] AH00094: Command line: '/usr/sbin/httpd -D SSL' [Mon Sep 28 06:34:26.516182 2015] [:error] [pid 22836] [client 198.204.252.252:30878] File does not exist: /var/www/html/xmprpc.php [Mon Sep 28 21:18:58.426895 2015] [ssl:error] [pid 12187] AH02032: Hostname 185.5.98.177 provided via SNI and hostname localhost provided via HTTP are different [Mon Sep 28 21:18:58.428657 2015] [ssl:error] [pid 12187] AH02032: Hostname 185.5.98.177 provided via SNI and hostname localhost provided via HTTP are different [Mon Sep 28 22:37:48.488427 2015] [core:error] [pid 17021] [client 198.20.69.74:49160] AH00135: Invalid method in request quit [Tue Sep 29 03:31:01.155238 2015] [core:error] [pid 18136] (2)No such file or directory: AH00095: failed to remove PID file /var/run/httpd.pid [Tue Sep 29 03:31:01.184418 2015] [mpm_prefork:notice] [pid 18136] AH00169: caught SIGTERM, shutting down [Tue Sep 29 03:31:04.002274 2015] [ssl:warn] [pid 2061] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Tue Sep 29 03:31:04.003926 2015] [suexec:notice] [pid 2061] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Sep 29 03:31:04.009282 2015] [auth_digest:notice] [pid 2062] AH01757: generating secret for digest authentication ... [Tue Sep 29 03:31:05.000731 2015] [ssl:warn] [pid 2062] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Tue Sep 29 03:31:05.001074 2015] [lbmethod_heartbeat:notice] [pid 2062] AH02282: No slotmem from mod_heartmonitor [Tue Sep 29 03:31:05.001806 2015] [mpm_prefork:notice] [pid 2062] AH00163: Apache/2.4.7 (Unix) OpenSSL/1.0.1e configured -- resuming normal operations [Tue Sep 29 03:31:05.001831 2015] [core:notice] [pid 2062] AH00094: Command line: '/usr/sbin/httpd -D SSL' Link to comment Share on other sites More sharing options...
mastek Posted September 29, 2015 Author Share Posted September 29, 2015 (edited) Wyskoczył mi taki błąd przy ponownej próbie złożenia dużego zamówienia. Dodam że z każdym kolejny produktem sklep odczuwalnie zwalniał, coraz dłużej czekałem na wyskakujące okno (kontynuuj zakupy, idź do koszyka) [PrestaShopException] Property OrderDetail->product_ean13 is not valid at line 846 in file classes/ObjectModel.php 840. 841. $message = $this->validateField($field, $this->$field); 842. if ($message !== true) 843. { 844. if ($die) 845. throw new PrestaShopException($message); 846. return $error_return ? $message : false; 847. } 848. } 849. 850. return true; ObjectModelCore->validateFields - [line 260 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 464 - classes/ObjectModel.php] ObjectModelCore->add - [line 425 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 589 - classes/order/OrderDetail.php] OrderDetailCore->create - [line 613 - classes/order/OrderDetail.php] - [7 Arguments] OrderDetailCore->createList - [line 352 - classes/PaymentModule.php] - [7 Arguments] 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] Dodatkowo directadmin error log pokazuje takie coś: 2015:09:28-09:52:36: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:52:40: Can't connect to ssl! 2015:09:28-09:52:40: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:52:40: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:52:44: Can't connect to ssl! 2015:09:28-09:52:44: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:52:44: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:52:57: Can't connect to ssl! 2015:09:28-09:52:57: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:52:57: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:02: Can't connect to ssl! 2015:09:28-09:53:02: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:02: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:36: Can't connect to ssl! 2015:09:28-09:53:36: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:36: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:40: Can't connect to ssl! 2015:09:28-09:53:40: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:40: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:47: Can't connect to ssl! 2015:09:28-09:53:47: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:47: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:51: Can't connect to ssl! 2015:09:28-09:53:51: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:51: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:55: Can't connect to ssl! 2015:09:28-09:53:55: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:55: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-09:53:59: Can't connect to ssl! 2015:09:28-09:53:59: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-09:53:59: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-12:19:32: Can't connect to ssl! 2015:09:28-12:19:32: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-12:19:32: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-12:19:38: Username ****** 21 characters long, but the directadmin.conf has this setting 'max_username_length=10' 2015:09:28-12:30:29: Can't connect to ssl! 2015:09:28-12:30:29: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-12:30:29: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-13:56:33: Can't connect to ssl! 2015:09:28-13:56:33: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-13:56:33: -> error:00000001:lib(0):func(0):reason(1) 2015:09:28-17:18:31: Can't connect to ssl! 2015:09:28-17:18:31: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:28-17:18:31: -> error:00000001:lib(0):func(0):reason(1) 2015:09:29-13:24:41: Can't connect to ssl! 2015:09:29-13:24:41: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:29-13:24:42: -> error:00000001:lib(0):func(0):reason(1) 2015:09:29-13:48:39: Can't connect to ssl! 2015:09:29-13:48:39: -> A failure in the SSL library occurred, usually a protocol error. 2015:09:29-13:48:39: -> error:00000001:lib(0):func(0):reason(1) Edited September 29, 2015 by mastek (see edit history) Link to comment Share on other sites More sharing options...
mastek Posted September 29, 2015 Author Share Posted September 29, 2015 OK, znalazłem przyczynę. Produkty importowane są w WF-Maga, i program do importu uzupełnił pole EAN13 spacjami. Jak taki produkt jest w koszyku to występuje ten błąd - nie ma różycy czy produktów jest 100 czy tylko 1. Temat do zamknięcie. presta4you.com dziękuje za zainteresowanie i nakierowanie. 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