Create frontend_custom.css in config screen. Always Forbidden 403 error

  • Posts: 4
  • Thank you received: 0
  • Hikashop Essential
2 months 1 week ago #308365

-- HikaShop version -- : 4.1
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Safari 12.1.1
-- Error-message(debug-mod must be tuned on) -- : Forbidden

You don't have permission to access /administrator/index.php on this server.

On this website, it seems Hikashop doesn't seem to work very well....First I couldn't edit my overrides of the Dutch language file->"click save button" -> Forbidden You don't have permission to access /administrator/index.php on this server.. Even when trying to add a frontend_custom.css file in the configuration, when pressing save-> same f*cking error!!!

Attachments:

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

  • Posts: 66836
  • Thank you received: 9872
  • MODERATOR
2 months 1 week ago #308366

Hi,

It's not a problem of HikaShop. That's because your hosting has some security system which refuses all the requests with potentially harmful text. And when you save a file, that system detects the file as a false positive and refuse it.
You could check with the hosting support to deactivate that security system or change its configuration to not flags these modifications as potentially harmful.
Otherwise, these are all saved as file overrides. So you don't necessarily need to go through the interface to do them:
- for language overrides, you can go through the Joomla translation override interface:
www.joomla-monster.com/documentation/tem...in-joomla-3-template
- for view overrides, you can also do that through the Joomla interface when you edit the template:
docs.joomla.org/Special:MyLanguage/J3.2:...r#Creating_Overrides
- for CSS, you can either add your CSS modifications to your template CSS files via the template manager (which is what I would recommend), or do a copy of the files in media/com_hikashop/css/ to modify them via FTP and then select them in the HikaShop configuration.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum