joomla-projects / com_localise

forked version of the original com_localise for experimental purposes
GNU General Public License v2.0
24 stars 36 forks source link

403 Forbidden - Access to this resource on the server is denied! #343

Open YODAstudio opened 2 years ago

YODAstudio commented 2 years ago

Hello everybody.

First of all, I'm using Joomla! 3.9.24 and Localise 4.0.31 with a website in Italian language. I have trouble editing some of the .ini files. I can open language files and edit the translations, but there's nothing more I can do. Clicking on "save" or "close" I get a 403 error page with the message in the subject. As far as I'm concerned, it happens only with Joomla! main file.ini and com_virtuemart.ini. I thought it could be due to the high number of phrases (1047 and 1648) but I have no problem with com_sppagebuilder.ini (1405 phrases).

In this way I have some limitations using Localise extension. Any idea about solving this problem? Thanks.

infograf768 commented 2 years ago

You should first update to https://github.com/joomla-projects/com_localise/releases/tag/4.0.38-dev by installing https://github.com/joomla-projects/com_localise/releases/download/4.0.38-dev/com_localise-4.0.38-dev.zip and test again.

Do NOT update to 4.10 as it may not work OK.

BTW J 3.9.24 is an older release (Jan 06, 2021) and you may want to update J .

If you still have the error, usual causes for a 403 Forbidden are :

    Corrupted .htaccess file
    Files permissions incorrect
YODAstudio commented 2 years ago

Hello there and thanks for answering. I've partially done what you suggested but it still doesn't work. Localise in now v. 4.0.38 but I can't update Joomla! since I may have issues with other not updated extensions. The weird stuff is that the problem is just with few of the .ini files (the ones I mentioned before), but all the rest are working fine. May be this caused by a corrupted .htaccess file?

Thanks

Valc commented 2 years ago

@YODAstudio Large files edition can to be issued due "max_imput_vars" is set by server config with a default value = '1000'.

But your error message does not match with the issue.

When this one happens at "translations" view is noticed displaying a system message alerting about it and only is posible edit that files in 'raw mode'.

Maybe you can try to set the 'max_imput_vars' directive to '10000' from your php.ini file and restart the server.