Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Please help! Language adding shows 404 error

Started by gelatinsilver, September 14, 2017, 11:03:38 AM

Previous topic - Next topic

gelatinsilver

Hello! I have a strange problem. Generally site works well, but when I'm installing any language extension and trying to switch on (or edit) it in System>Localization>Language the site shows 404 error. Please, help. I appreciate for any suggestions.

P.S.
Also 404 arises when I'm trying to add new language in System>Localization>Language

Adding and editing currencies are working fine.

If it helps: Site is whitelabeled and goes under SSL and redirected from http to https via htaccess

Basara

Hello.

Please check your error log just after you got an error

gelatinsilver

#2
Hello!
Thank you for the quick respond, the matter is that no errors highlighted in the errors log, just when I press "+" button in "System>Localization>Language" I'm getting 404 error.

This page shows 404
/index.php?rt=localisation/language/insert&s=xxxxxxxx&token=xxxxxxxx

And this page is ok
/index.php?rt=localisation/currency/insert&s=xxxxxxxx&token=xxxxxxxx


gelatinsilver


gelatinsilver

Have you any idea why it happens? I tried to switch off the https, tried to disable mod_security. Seems this is a core bug or something else. Any way I'm very sad with the fact that I can't add a new language to the site.

Basara

Most of hosting do not allow you to disable mod_secure. Are you sure you disable it?

Did you check file permissions? Are the accessible?

gelatinsilver

index.php is 644, I tried 755 - the same result
I included the following directive in htaccess and nothing changed
<IfModule mod_security.c>
SecFilterInheritance Off
</IfModule>

Basara

If you add this does not mean it work. Most of hostings limit users with .htaccess and php.ini commands

gelatinsilver

So, you advise to ask hosting provider to disable mod_security? Ok, I'll try, not sure that this will help, but thank you.

Basara

Problem not in disable or enable mod_secure. Usually hosting administrator should configure it correctly  ;)

gelatinsilver

Can you please write the correct configuration for mod_security, so I'll be able to ask provider to configure it properly. Thank you.

gelatinsilver

SOLVED, thank you! The matter was exactly in the apache's mod_security, it must be switched off via CPanel and not htaccess.

Forum Rules Code of conduct
AbanteCart.com 2010 -