- Posts: 11
- Thank you received: 0
save button in administration not work
10 years 4 months ago #240705
by chris0879
save button in administration not work was created by chris0879
-- 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
-- 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.
10 years 4 months ago #240706
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic save button in administration not work
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,
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.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #255830
by elisir77
Replied by elisir77 on topic save button in administration not work
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
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.
9 years 10 months ago #256535
by nicolas
Replied by nicolas on topic save button in administration not work
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.
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.
9 years 10 months ago #256601
by chris0879
Replied by chris0879 on topic save button in administration not work
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!
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.
9 years 10 months ago #256603
by nicolas
Replied by nicolas on topic save button in administration not work
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.
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.
9 years 10 months ago #256690
by elisir77
Replied by elisir77 on topic save button in administration not work
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.
9 years 10 months ago #256694
by chris0879
Replied by chris0879 on topic save button in administration not work
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.
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.
9 years 10 months ago #256702
by nicolas
Replied by nicolas on topic save button in administration not work
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...
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.172 seconds