save button in administration not work

  • Posts: 11
  • Thank you received: 0
9 years 2 weeks ago #240705

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.32

When you click the save button in administration=>component=>hikashop=>global-configuration
I get redirected to the home page
(On exiting the administrator) and the changes are not saved.
This problem occurs only in the button saves administration=>component=>hikashop=>global-configuration.
the button saves works in other parts of administrator of joomla.
Thanks

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

  • Posts: 26251
  • Thank you received: 4039
  • MODERATOR
9 years 2 weeks ago #240706

Hi,

Your server have a limitation on the POST data length.
The HikaShop configuration screen contains a lot of data to submit and if you are redirect to the home page it means that Joomla did not catch the end of the form data which contains elements like "options", "ctrl" and "task".

Please check your server configuration or any security plugin.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 9
  • Thank you received: 1
8 years 6 months ago #255830

Hello, I've got the same problem, did you solve it?
I've increased the post_max_size value to 128MB on my php but nothing changed. Could you please be more specific about security plugin or other issues that may interfere with hikashop? Thanks a lot
Elisa

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #256535

Hi,

We can't be more specific as we don't know all the existing ways to restrict POST requests on a server or how your server is configured.
It could be a setting from suExec or from mod_security, or an admin security component on your website, etc. The best is to ask your hosting company if they have some module which would block requests in some cases like parameters amount restrictions, or hack atempts detected, etc.

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

  • Posts: 11
  • Thank you received: 0
8 years 6 months ago #256601

Hello Nicolas,
your explanation of the problem is correct.
but,
This problem always occurs only with hikashop.
Saving button in Joomla global configuration always works.
also on other components saving button-configuration always works.

my question is:
because the configuration is not saved only on hikashop?
thanks!

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #256603

Hi,

Probably because that's the only page on your backend were you have so many options.
For example, if you have a limit of 128 parameters per POST request, probably only that page of your backend has more tha this amount of parameters.

If you want to test if it comes from that, delete some of the tabs of the configuration page in the developer tools of your browser and then save the configuration and it should then work fine which points to the fact that there is a limit on the number of parameters on your server

But it could also be something else. For example, a security extension which depends a potential strange parameter on the HikaShop configuration form (and while it's not a threat, the security extension might not be tweaked correctly enough to understand that). And that wya you would also only get that error on the configuration form.

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

  • Posts: 9
  • Thank you received: 1
8 years 6 months ago #256690

Hi I know there might be different causes for that error, but I've tried basically everything and the hosting provider told me nothing changed. At this point I was wondering if there is a way to set those configuration variables by hand. I need to change the checkout flow, where are those variables stored in the database or there is a file where I can modify the settings?

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

  • Posts: 11
  • Thank you received: 0
8 years 6 months ago #256694

in my case the problem is caused by an Apache module (Mod security)
If this module is disabled the button for saving the global configuration works.
if your hosting provider allows you to edit the module(Mod security) settings you can:

1)or disable the Mod security from cpanel by security options,
2)or disable the module from the .htaccess file by inserting the following rules:
SecFilterEngine Off
SecFilterScanPOST Off.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #256702

Hi,

The settings are stored in the table hikashop_config so you can change them via your phpMyAdmin.

An easier solution could be to backup your website, restore it on a local web server on your computer, change the settings, backup the local website and restore it on your online server.
Or migrate to a hosting company which provides proper support...

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

Time to create page: 0.085 seconds
Powered by Kunena Forum