Erreur 500 à l'enregistrement d'une adresse après modification

  • Posts: 468
  • Thank you received: 30
  • Hikashop Business
4 years 5 months ago #313394

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 () index.php?option=com_hikashop&ctrl=address&task=save&cid=6&tmpl=raw&Itemid=109

Bonjour,

Quand j'édite une adresse, j'ai une erreur 500 (Internal Server Error) à l'enregistrement :

Failed to load resource: the server responded with a status of 500 () index.php?option=com_hikashop&ctrl=address&task=save&cid=6&tmpl=raw&Itemid=109

Quand je tente d'accéder à la page, j'obtiens "Erreur, Accès interdit"

Avec "tmpl=raw" dans l'URL je crois comprendre qu'il s'agit d'une requête AJAX. Mais pourquoi est-elle bloquée et par quoi, mystère ?

Ça ne se produit pas lors de la création d'une adresse
Ça ne se produit pas lors de la suppression d'une adresse
Ça ne vient pas du SEF (même problème avec SEF activé/désactivé)
Ça ne vient pas de l'extension de sécurité (désactivée)

J'utilise Gantry 5 qui me fournit aussi cette information :
0 Call to a member function getCart() on null
Call stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/address.php:246
2 hikashopAddressClass->save() JROOT/administrator/components/com_hikashop/classes/address.php:424
3 hikashopAddressClass->frontSaveForm() JROOT/components/com_hikashop/controllers/address.php:176
4 addressController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:710
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1976
6 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:92
7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

Last edit: 4 years 5 months ago by lesyeux. Reason: Problème corrigé par la réinstallation d'un package plus récent d'Hikashop 4.2.2

Please Log in or Create an account to join the conversation.

  • Posts: 468
  • Thank you received: 30
  • Hikashop Business
4 years 5 months ago #313396

L'erreur se produit en frontend et backend.

Et j'ai une erreur similaire lorsque j'édite un client dans le backend puis que j'enregistre :
Call to a member function getCart() on null

Last edit: 4 years 5 months ago by lesyeux.

Please Log in or Create an account to join the conversation.

  • Posts: 468
  • Thank you received: 30
  • Hikashop Business
4 years 5 months ago #313399

C'est bon, j'ai trouvé ce sujet en anglais www.hikashop.com/forum/customers/898639-...ormation.html#312894 qui concernait le problème d'édtion d'un client, alors j'ai résinstallé un package tout frais d'Hikashop 4.2.2 et cela a corrigé le problème.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum