Search the Community
Showing results for tags 'Error 500'.
-
Hello, I have been experiencing an issue with error 500 for a few weeks now, and unfortunately, the problem is getting worse. It started occurring two weeks after migrating to PrestaShop version 8 and adding new products to the store. Since these were similar products, I didn't hesitate to create duplicates, especially since the specifications were similar. After some time, these duplications began to slow down more than usual (there were no logs in PrestaShop). I initially blamed it on the internet due to the weather conditions at that time, but even after the weather improved, the situation did not get better. My colleagues were the first to notice this – we share some of the same responsibilities and often exchange them, so they were the first to see the error message. I then started searching the internet for "truth" and various tips that could help with diagnostics. I began with the PHP server, but the parameters seemed to be even better than those described in forum threads. I then started looking into the PHP server files to see if any changes had occurred, but none had – I hadn't added any new queries to the server or any new modules. Of course, I also checked all the modules connected to the site, disabling and checking them one by one. Initially, error 500 was not very persistent, appearing sporadically with some changes as a pop-up at the top of the screen, but now it has become serious. Additionally, there was an interleaving message Doctrine\DBAL\Exception\ConnectionLost Code 0 (sometimes with a comment referring to a database query – usually an UPDATE), and of course, GENERAL ERROR 2006 MySQL Server Has Gone Away – why? I have no idea. Since the 500 error message led to enabling the debug mode, we haven’t touched the products at all – apart from duplicating, we were also working on SEO in the department, but as I mentioned, we haven't done any work on products since then. PHP server parameters: Memory limit: 1024M Maximum execution time: 900 Maximum upload file size: 1G Do you have any ideas on how to tackle this issue? "Server has gone" appears in the logs, but all settings seem to be within the norm. Debug mode from the admin panel unfortunately doesn't give me any clues, and I can't find anything specific in other threads that could help me with this problem. What is causing the problem to worsen? The admin panel, which should work flawlessly in Lightning McQueen mode, currently moves like a dragging ox, and some transitions between options end with a total error 500, suggesting enabling the debug mode. I get messages in Presta logs about missing templates, e.g., No template found for catalog/_partials/product-flags and not only this. If someone could tell me the path where the _partials folder should be located so I can find it on the FTP server, I would be grateful. I have a problem with editing products – I still need to perform many duplications and SEO section edits, and performance issues and errors make this impossible. I don't know if I missed any aspect, but I would be grateful for any help on this matter.
- 2 replies
-
- error 2006
- php server 8.1.27
- (and 3 more)
-
Witam , od kilku tygodni pojawia mi się problem z errorem 500 z którym nijak nie mogę sobie poradzić- a problem niestety się nasila. Zacznę od tego, że problem zaczął pojawiać się dwa tygodnie po migracji na wersję 8 presty i dodawaniu kolejnych produktów do sklepu- jako że były to podobne produkty nie wahałam się tworzyć duplikaty, szczególnie że specyfikacje miały podobne. Po pewnym czasie zaczęły te duplikacje przebiegać wolniej niż zazwyczaj (nie było żadnych informacji w logach prestashop)- zrzuciłam to na internet zważając na pogodę, która w tamtym czasie była, lecz pomimo poprawy pogody sytuacja wcale się nie polepszyła. Współpracownicy jako pierwsi to odczuli najbardziej- wykonujemy po części te same obowiązki więc często się nimi wymieniamy i to też oni zauważyli komunikat o errorze jako pierwsi. Zaczęłam zatem grzebać po internecie w poszukiwaniu "prawdy" i wszelakich tipów, które mogłyby pomóc w diagnostyce. Zaczęłam od serwera PHP, ale parametry wydawały się być nawet lepsze niż opisywane w wątkach na forum. Zaczęłam zatem doszukiwać się plików dotyczących serwera PHP i w nich przeglądać czy jakieś zmiany nastąpiły, no ale nie nastąpiły- nie dodawałam żadnych nowych zapytań do serwera, ani także żadnych nowych modułów. Oczywiście sprawdziłam także wszystkie podpięte do strony moduły, które po kolei wyłączałam i sprawdzałam. Początkowo error 500 nie był na tyle uporczywy, pojawiał się sporadycznie przy niektórych zmianach w formie popa w górnej części ekranu, ale teraz to zaczęło się robić poważne. Poza tym, przeplatał się komunikat Doctrine\DBAL\Exception\ConnectionLost Code 0 (czasem z komentarzem nawiązującym do jakiegoś zapytania z bazy- najczęściej chodziło o UPDATE), a w nim oczywiście GENERAL ERROR 2006 MySQL Server Has Gone Away- czemu? Nie mam bladego pojęcia. Od momentu, gdy komunikat z errorem 500 doprowadził do wprowadzenia trybu debugowania strony kwestii produktów w ogóle nie dotykam- oprócz duplikowania wykonywaliśmy w dziale działania z SEO, aczkolwiek tak jak piszę, od tamtego momentu, żadnych działań na produktach nie wykonujemy. Parametry serwera PHP: Limit pamięci: 1024M Maksymalny czas wykonywania: 900 Maksymalny rozmiar pliku do przesłania: 1G Czy macie może jakiś pomysł jak ugryźć tą kwestię? "Server has gone" pojawia się w logach, ale wszystkie ustawienia wyglądają jako nie odbiegające od normy. Tryb debugowania z panelu administracyjnego niestety nic mi nie podpowiada, a z poradników w innych wątkach niestety nic nie wyciągam konkretnego co pomogłoby mi w tym problemie. O co chodzi z nasilaniem problemu? Panel administracyjny który powinien działać bez zarzutu w trybie szybkiego Lightning McQueen aktualnie jest w formie włóczącego się wołu, a niektóre przejścia po opcjach kończą się wywaleniem totalnego errora 500 i sugerowanie włączenia debuga. Pojawiają mi się w logach w preście komunikaty o brakujących templatkach, np. No template found for catalog/_partials/product-flags i nie tylko to Jakby mógł mi ktoś podpowiedzieć w jakiej ścieżce powinien znajdować się folder _partials bym mogła go poszukać na serwerze ftp to byłabym wdzięczna. Mam problem z edytowaniem produktów- powinnam wykonać jeszcze wiele duplikacji i edycji sekcji SEO, a problemy z wydajnością i błędy sprawiają, że kwestia ta jest nierozwiązywalna. Nie wiem czy jakaś kwestia mi nie umknęła ale byłabym wdzięczna za jakąkolwiek pomoc w tym temacie.
- 4 replies
-
- error 2006
- mysql 8.1.27
-
(and 3 more)
Tagged with:
-
Добрый день! Нужна помощь специалистов и/или тех кто сталкивался с похожей проблемой. Версия 1.6.1.24 Шаблон лицензионный leo quickmart (но покупали давно очень) Версия php 7.0* режим cgi При включении отображения ошибок в карточке товара получаем ошибки - залила на google диск, так как сюда не хочет принимать https://drive.google.com/file/d/17EBh9AU0vWDXq22xAzW8AD_a8sWfC_p5/view?usp=sharing
-
Hi there, I'm using the version 1.7.8.6 of Prestashop. Ok for my surprise (after many time without sales) I was visiting my website, The admin is working fine, catalog pages works fine... however, when I click in an banner ad, the link shows a http error 500, WHAT???.... ok I thought may be I put a wrong link... but then I try any of my products... and ALL are giving the same ERROR 500. Please!!! Any idea how to resolve this issue? I was thinking to talk with the hosting technician but I guess is the platform. The site is https://ohmyicons.com/ Thanks!!
-
Hello. I have a problem after transferring a site to my server with Debian, ispconfig and Apache. I don't remember the version of prestashop that was installed. I backed up the site with “Akeeba Solo Core” and restored it to my server with “Akeeba Kickstart”. In the /web/app/config/parameters.php file I corrected the db name, user and password. I deleted the contents of /var/cache/dev and /var/cache/prod . But when I open the home page I get the error “HTTP ERROR 500”. In the file /web/config/defines.inc.php I changed “define('_PS_MODE_DEV_', true);” And this is the error: If I install new Prestashop it works. What can I do? Thank you
-
Buenos dias! De la noche a la mañana funcionaba todo perfecto, iba descubriendo como agilizar la web, fluia todo y me levanto con TODA la web caida con error 500. A ver si me ayudan... este es el error en archivo error.log PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /home/tienda/public_html/src/Adapter/EntityMapper.php:99 Stack trace: #0 /home/tienda/public_html/src/Adapter/EntityMapper.php(99): array_key_exists('id_shop', Object(Shop)) #1 /home/tienda/public_html/classes/ObjectModel.php(264): PrestaShop\PrestaShop\Adapter\EntityMapper->load(1, NULL, Object(Shop), Array, NULL, true) #2 /home/tienda/public_html/classes/shop/Shop.php(128): ObjectModelCore->__construct(1, NULL, NULL) #3 /home/tienda/public_html/classes/shop/Shop.php(411): ShopCore->__construct(1) #4 /home/tienda/public_html/config/config.inc.php(118): ShopCore::initialize() #5 /home/tienda/public_html/index.php(27): require('/home/tienda/...') #6 {main} thrown in /home/tienda/public_html/src/Adapter/EntityMapper.php on line 99 Y en archivos modificados hay varios en smarty/cache Versión actual presta 1.7.7.0 - php 8.1 (venía funcionando hasta hoy) Espero puedan tirarme datos de donde mirar, que mirar y que quizás están cambiando últimamente en prestashop. Gracias
-
Bonjour, je travaille sur la version 1.7.6.1 Pour répondre à la demande des sociétés de livraison j'ai voulu rendre obligatoire le téléphone dans l'adresse de livraison sur ma boutique www.boutique.mari-et-femme.com. J'ai coché la case "phone_mobile" dans le menu > client/adresse/définir les champs recquis <. Dans le tunnel d'achat, la rubrique téléphone est toujours "optionel" ce qui est étrange et si on ne renseigne pas le numéro de teléphone, lorsqu'on clique sur "commander" cela affiche une "500 server error" Au lieu d'indiquer que le téléphone est indispensable. Si on renseigne le numéro de téléphone, tout va bien. Il semble que la nécessité de renseigner le numéro est enregistrée mais qu'une moulinette ne se mets par en route. J'ai décoche "Phone_mobile" dans définir les champs requis, mais le message d'erreur apparait toujours. Pour décrire complètement mon malheur, En me référent à des infos sur le forum concernant une version plus ancienne de PS, j'ai modifié sur le serveur le fichier "classes/Adresse.php" en rendant obligatoire la déclaration d'adresse. Depuis j'ai remis en place le fichier d'origine que j'avais sauvegardé mais mon problème persiste. Cette manie a-t'elle modifié quelque chose dans la BD. Faut il faire une restauration de la BD. Quelqu'un t'il rencontré ce problème et trouvé une solution ? Merci !
- 6 replies
-
- téléphone
- obligatoire
-
(and 1 more)
Tagged with:
-
Hi there I got this error and i am not sure how to resolve please help thanks, i am using prestashop 1.7.5.2 Describe the bug Error 500 when I click on the invoice item in the backend menu. To Reproduce Steps to reproduce the behavior: in backend Click on invoice item menu: /index.php/sell/orders/invoices/ Symfony\Component\Form\Exception\UnexpectedTypeException: Expected argument of type "object, array or empty", "string" given at vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:41 at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms('', object(RecursiveIteratorIterator)) (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379) at Symfony\Component\Form\Form->setData('') (vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49) at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('#KING', '#KING', '#KING', '#KING'), 'add_current_year' => false, 'reset_number_annually' => false, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => null, 'footer_text' => '', 'invoice_model' => 'invoice', 'use_disk_cache' => false), object(RecursiveIteratorIterator)) (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379) at Symfony\Component\Form\Form->setData(array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('#KING', '#KING', '#KING', '#KING'), 'add_current_year' => false, 'reset_number_annually' => false, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => null, 'footer_text' => '', 'invoice_model' => 'invoice', 'use_disk_cache' => false)) (vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:49) at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(array('invoice_options' => array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('#KING', '#KING', '#KING', '#KING'), 'add_current_year' => false, 'reset_number_annually' => false, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => null, 'footer_text' => '', 'invoice_model' => 'invoice', 'use_disk_cache' => false)), object(RecursiveIteratorIterator)) (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:379) at Symfony\Component\Form\Form->setData(array('invoice_options' => array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => false, 'invoice_prefix' => array('#KING', '#KING', '#KING', '#KING'), 'add_current_year' => false, 'reset_number_annually' => false, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => null, 'footer_text' => '', 'invoice_model' => 'invoice', 'use_disk_cache' => false))) (vendor/symfony/symfony/src/Symfony/Component/Form/Form.php:483) at Symfony\Component\Form\Form->initialize() (vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php:226) at Symfony\Component\Form\FormBuilder->getForm() (src/Core/Form/FormHandler.php:114) at PrestaShop\PrestaShop\Core\Form\FormHandler->getForm() (src/PrestaShopBundle/Controller/Admin/Sell/Order/InvoicesController.php:57) at PrestaShopBundle\Controller\Admin\Sell\Order\InvoicesController->indexAction(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (adminking2013/index.php:88)
-
Podczas składania zamówienia jako gość i wybierając płatność przelewem po kliknięciu potwierdzenia zamówienia po bardzo długim ładowaniu wyskakuje błąd 500 po odświeżeniu strony normalnie wyświetla się strona z potwierdzeniem zamówienia po włączeniu trybu debug wyświetla się takie coś: Fatal error: Uncaught Error: Call to a member function setTemplate() on null in /home2/diamopl1/public_html/moskitiery24h/config/smartyfront.config.inc.php:97 Stack trace: #0 /home2/diamopl1/public_html/moskitiery24h/classes/Smarty/SmartyLazyRegister.php(81): smartyRender() #1 /home2/diamopl1/public_html/moskitiery24h/var/cache/dev/smarty/compile/bentrizlayouts_layout_full_width_tpl/66/ec/04/66ec04ba1f332eff464356f30a4a1d16bab4f95c_2.file.order-confirmation.tpl.php(193): SmartyLazyRegister->__call() #2 /home2/diamopl1/public_html/moskitiery24h/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_20147842964b63e982aec99_71957917->callBlock() #3 /home2/diamopl1/public_html/moskitiery24h/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #4 /home2/diamopl1/public_html/moskitiery24h/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() in /home2/diamopl1/public_html/moskitiery24h/config/smartyfront.config.inc.php on line 97 Gdy składa się zamówienie będąc zalogowanym i wybiera się płątność przelewem to wtedy po bardzo długim ładowaniu od razu przenosi na stronę potwierdzenia zamówienia i nie wyskakuje żaden błąd. Przy składaniu zamówienia i wyborze płatności przy odbiorze wyskakuje komunikat: Błąd – Brakuje poniższego szablonu e-mail: cashondelivery Wie ktoś jak rozwiązać powyższe problemy?
- 5 replies
-
- przelew
- płatność przy odbiorze osobistym
- (and 3 more)
-
Hi, following a server transfer, everything works fine, but if I disable debug mode, this error appears and I can't investigate further because nothing is recorded in the log. But why does it appear only if debugging is disabled? It doesn't seem normal to me
-
Hi everyone, I recently upgraded to Prestashop 1.8.0.4 PHP 8.0, and my site URL is https://www.gr8-kitchenware.co.uk/ When attempting to checkout as a guest it takes me onto the checkout page and allows me to put my addresses and everything in, but as soon as I click proceed to payment the page returns an error 500 every single time. When I am already signed into my account and I click proceed to checkout, the screen automatically either whites out or returns the error 500 without taking me to the next page. I have attached some screenshots for reference. If anyone could please help me I would truly be grateful. Thanks so much for your time.
- 4 replies
-
- checkoutpage
- error
-
(and 4 more)
Tagged with:
-
Hello there, From a day to the next, i got an error on my website Prestashop 1.7.5.1, Parse error: syntax error, unexpected '$html' (T_VARIABLE), expecting function (T_FUNCTION) in /home/bijougrasl/ideecad/classes/controller/FrontController.php on line 669 Here is the line 669 I am available for any further information Thanks
- 1 reply
-
- server error 500
- error 500
-
(and 2 more)
Tagged with:
-
De verdad que siempre es lo mismo con prestashop, lo hacen mas complicado de lo que es, siempre que transfieres el host te comes un error 500. El caso es que ayer migre la copia de OVH a una VPS con PLESK, y no me funcionaba, llegue a la conclusión de la versión php8 no servía y al poner la 7.4 funciono aunque se quedaba en la foto de error 500, en vez del error 500 que da el navegador, he reinstalado todo de nuevo y al activar el debug no tengo forma de quitar este error. Warning: require_once(/var/www/vhosts/*.com/tienda.*.com/config/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/vhosts/*.com/tienda.*.com/config/autoload.php on line 26 Fatal error: require_once(): Failed opening required '/var/www/vhosts/*.com/tienda.*.com/config/../vendor/autoload.php' (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/*.com/tienda.*.com/config/autoload.php on line 26
-
Hi everyone, I have tried to update a prestashop from 1.7.2 to 1.7.8 4 times. The first and the second time I did it using the module 1 click update and I had this error: Failed to start the session because headers have already been sent by "/homepages/16/d868063837/htdocs/public_html/website/override/classes/Link.php" at line 245. I have checked that document and I see it is related to a module named ps it clean urls, I deactivated, activated it again and also reseted it. The third and fourth time I did update it manually and I had this error: Error reading XML: root element not found. Ubication: mywebsite.com/install/upgrade/upgrade.php on line 221 (1/1) ContextErrorException Notice: Trying to get property 'id_category_default' of non-object in ProductController.php line 1245 at ProductControllerCore->getBreadcrumbLinks()in FrontController.php line 1736 at FrontControllerCore->getBreadcrumb()in FrontController.php line 533 at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 590 at FrontControllerCore->initContent()in ProductController.php line 417 at ProductControllerCore->initContent()in Controller.php line 306 at ControllerCore->run()in Dispatcher.php line 525 at DispatcherCore->dispatch()in index.php line 28 Php version is 7.4. I would really appreciate any clue or any recommendation to solve any of these situations. Thanks for reading and regards
- 2 replies
-
- headers already sent
- error 500
- (and 2 more)
-
Hola a todos, acabo de actualizar el prestashop a la última versión pero me sale este error 500 y no me queda claro qué hacer
-
So I first had issues with the checkout, there was a 500 server error thrown: [Wed Nov 03 18:14:52.942411 2021] [php7:error] [pid 238973] [client xx] PHP Fatal error: Access level to SaferpayCw_LayoutController::$page_name must be public (as in class ModuleFrontController) in /var/www/html/myshop/modules/saferpaycw/lib/SaferpayCw/LayoutController.php on line 30, referer: https://myshop Then I tried to revert back to version 1.7.7, which failed, and now the shop is down for good: [Wed Nov 03 18:27:07.941129 2021] [php7:error] [pid 238993] [client xx] PHP Fatal error: Uncaught Error: Call to a member function getName() on null in /var/www/html/myshop/config/config.inc.php:122\nStack trace:\n#0 /var/www/html/myshop/admin/index.php(40): require()\n#1 {main}\n thrown in /var/www/html/myshop/config/config.inc.php on line 122, referer: https://myshop/admin/index.php?controller=AdminSelfUpgrade&token=3d0219119f80e7987c95775c8e94458a [Wed Nov 03 22:28:54.598932 2021] [php7:warn] [pid 238973] [client xx] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/myshop/classes/shop/Shop.php on line 346 What are your ideas? How to revert back manually?
- 13 replies
-
- prestashop 1.7.8
- error 500
-
(and 1 more)
Tagged with:
-
¡Hola! Después de seleccionar el campo de DNI como obligatorio para España dentro de Ubicaciones geográficas - Países - España, nuestros clientes ya registrados anteriormente en la web que no pusieron su DNI están teniendo problemas para hacer el pedido. Al pasar por caja, directamente aparece el error 500. ¿Se puede solucionar de alguna manera? No podemos dejarlo como opcional (como nos indican desde el hosting), ya que es necesario para realizar facturas.
- 2 replies
-
- dni
- formulario de registro
-
(and 1 more)
Tagged with:
-
Hi everyone; I recently updated my Prestashop version to 1.7.8. After the updrage, everything works well except for the fact that there is an error 500 (crbug/1173575, non-JS module files deprecated.) when a product is being clicked to load product details. I have tried several solutions to no avail. I will very much appreciate it if anyone can provide for me a lasting solution. Thanks
- 6 replies
-
- error 500
- crbug/1173575
-
(and 2 more)
Tagged with:
-
The debug mode is widely used to see the errors on your shop and when: you get blank pages; you get 500 Internal Server Error; you have strage issues with your shop and don't know where to start; Edit: Debug mode on PrestaShop 8.0 PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES Debug mode on PrestaShop 1.7 PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES To turn on the Debug mode on PrestaShop 1.7 is more simple comparing it to the previous versions of Prestashop. You can do this from your PrestaShop Dashboard > Advanced Parameters > Performance > DEBUG MODE PANEL > Set it to YES If you can't acces you dashboard you can also enable it through FTP by accessing config/defines.inc.php and usually @line 29 you will find: define('_PS_MODE_DEV_', false); change it to: define('_PS_MODE_DEV_', true); Turning on the Debug Mode on other versions of Prestashop Debug mode on PrestaShop 1.5.3 to 1.6 For PrestaShop 1.5.3 to 1.6 the procedure is the same: Open config/defines.inc.php and usually @line 29 you will find : define('_PS_MODE_DEV_', false); change it to: define('_PS_MODE_DEV_', true); For PrestaShop below 1.5.3 you have to edit the config/defines.inc.php file and make the following changes: Change this line: @ini_set('display_errors', 'off'); to this: @ini_set('display_errors', 'on'); !!! Be careful, turn the Debug Mode off when finished debugging, hackers may get advatage of it and may harm your website and besides of that any visible error is not good for visitors. Debug mode for Admin or specific IPs Because Debug mode should not be visible for your customers here's a smart solution that allows you to enable it only for admins or for some provided IPs. This way your shop will not be vulnerable while you debug.
- 11 replies
-
- 12
-
- 8.0
- error reporting
- (and 9 more)
-
Hi, For those, who could encounter Internal server error 500 during the installation of PrestaShop 1.7.0.x A small solution, that was discovered recently on some hosting providers. When you try to install your Prestashop ver.1.7 you receive the 500 internal server error. If it is not connected with php zip extension, then it is error with file permissions. Open your FTP account and locate the index.php file from your installation (after you have unpacked the downloaded archive). Change the permissions for this file: deactivate permissions from "all users" to "yourself" and activate "execution". And that's all. Your installation will start after this small change. Hope this will help for someone )
- 47 replies
-
- 1
-
- 500
- server error
- (and 7 more)
-
Salve a tutti ho un problema con il mio è prestashop 1.7.6.4 Quando l'utente conclude l'ordine anzichè uscire la pagina di conferma con eventuali dati per pagamento, il sito restituisce HTTP ERROR 500 quindi il cliente non sa se è riuscito a fare l'ordine, a me non arriva l'email di un nuovo acquisto sul sito, mentre nel back office mi viene notificato l'ordine. Altre indicazioni per capire il problema l'indirizzo che l'utente vedrà quando esce l'errore è https://www.miosito.it/module/ps_wirepayment/validation ho tre moduli per il pagamento, è tutti mi danno lo stesso errore se metto in modalità debug quando l'utente conclude l'ordine questi sono i dettagli dell'errore Riuscite ad aiutarmi? Grazie!!!
-
Hi Im trying to get PrestaShop 1.7.2.4 installed on server. But when I'm trying to access backend (admin) i see error 500 In PHP error logs i've got this: [06-Dec-2017 16:48:44 Europe/Warsaw] PHP Fatal error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in C:\pr77777.myfreespace.us\www\controllers\admin\AdminDashboardController.php on line 539 [06-Dec-2017 16:48:44 Europe/Warsaw] PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in C:\pr77777.myfreespace.us\www\controllers\admin\AdminDashboardController.php:539 Stack trace: #0 {main} Next LogicException: Request stack is empty in C:\pr77777.myfreespace.us\www\app\bootstrap.php.cache:3224 Stack trace: #0 [internal function]: Symfony\Component\HttpKernel\HttpKernel->terminateWithException(Object(Symfony\Component\Debug\Exception\FatalErrorException)) #1 C:\pr77777.myfreespace.us\www\vendor\symfony\symfony\src\Symfony\Component\Debug\ErrorHandler.php(606): call_user_func(Array, Object(Symfony\Component\Debug\Exception\FatalErrorException)) #2 C:\pr77777.myfreespace.us\www\vendor\symfony\symfony\src\Symfony\Component\Debug\ErrorHandler.php(668): Symfony\Component\Debug\ErrorHandler->handleException(Object(Symfony\Component\Debug\Exception\FatalErrorException), Array) #3 [internal in C:\pr77777.myfreespace.us\www\app\bootstrap.php.cache on line 3224 Do someone know how to fix this?
-
Hello, I feel ridiculous, but I'm getting 500 error on two different hosting companies while trying to install Prestashop 1.7.4.3 and 1.7.4.2 The error log is: [Mon Oct 08 13:11:48 2018] [warn-ioncube] mmap cache can't open /home/..../var/cache/prod/appParameters.php - Permission denied I tried the suggestions regarding this type of error: I made 777 permissions on /var and /cache directory including subdirectories and files. I tried to use United States settings during the installation. But still without success.
-
My PrestaShop v 1.7.4.2 Both servers from same hosting provider and they done migration. After migrate a server I got HTTP ERROR 500 Front office and back office are not working. Then I enabled error reports using defines.inc.php After ('_PS_MODE_DEV_', false); Replace it with: define('_PS_MODE_DEV_', true); showing this error report Fatal error: Uncaught Error: Class 'PrestaShop\PrestaShop\Core\ContainerBuilder' not found in /home/..../public_html/config/bootstrap.php:34 Stack trace: #0 /home/..../public_html/config/config.inc.php(57): require_once() #1 /home/..../public_html/index.php(27): require('/home/..../p...') #2 {main} thrown in /home/..../public_html/config/bootstrap.php on line 34
- 11 replies
-
- prestashop 1.7.4
- server migration
-
(and 1 more)
Tagged with:
-
Bonjour, J'ai 2 problèmes qui sont apparus sur le backoffice : 1. Je n'ai plus accès à la page Catalogue/Produits . Le message Error 500 s'affiche et en mode Débug cela me donne Whoops, looks like something went wrong. 4/4 ConnectionException in AbstractMySQLDriver.php line 103:An exception occured in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known 3/4 PDOException in PDOConnection.php line 47:SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known 2/4 PDOException in PDOConnection.php line 43:SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known 1/4 PDOException in PDOConnection.php line 43:PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known 2. Impossible d'accéder aux modules installés, la page ne met pas d'erreur mais me dit que je n'ai aucun module installé... Le mode Débug donne la même chose.... Pourriez vous m'aider à comprendre si les 2 problèmes sont liés ? Est ce que cela vient de l'hebergement ? D'un module prestashop ? Comment résoudre ce problème ? Merci d'avance
- 9 replies
-
- error 500
- backoffice
-
(and 1 more)
Tagged with: