WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => Modules => Topic started by: astricia on November 07, 2019, 10:20:26 AM

Title: OFA 2.0.2.23 - permission denied
Post by: astricia on November 07, 2019, 10:20:26 AM
Hi all,

I am working on a new project - WB 2.12.2, PHP 7.3 - and I want to use OFA 2.0.2.23 as I always do.

It installed alright, and I can add fields and entries as usual. But when I want to edit the page settings, as soon as I click "Save", I get a "403 Forbidden" message. "You do not have permission to access this document." How can this happen? I am superadmin and I installed that module myself... ?

Please help!

Thanks,
Astrid
Title: Re: OFA 2.0.2.23 - permission denied
Post by: dbs on November 07, 2019, 10:52:27 AM
Hi, you have checked via FTP the file- or folder permissions (0644, 0755)?Also the permissions in WB settings > advanced settings > server settings?
Title: Re: OFA 2.0.2.23 - permission denied
Post by: astricia on November 07, 2019, 11:12:37 AM
Yes. All folders are 0755 - all files are 0644. Everything is the same as always.

I found out that strangely enough sometimes my changes go through - but in most cases they don't. There seems to be no rule as to when the changes go through and when they don't. Is there anywhere else where I can change the header, item-loop and footer section? Only in the database probably..?

I even tried installing a second OFA module, but it shows the same behaviour.

Everything else (so far) works as it should (other modules so far installed are Minislider, MiniHeroBanner and AddonFileEditor).
Title: Re: OFA 2.0.2.23 - permission denied
Post by: dbs on November 07, 2019, 11:21:02 AM
Maybe some hoster specific rules needed.
E.g. Domain Factory needs RewriteBase /  in the htaccess.
Title: Re: OFA 2.0.2.23 - permission denied
Post by: astricia on November 07, 2019, 11:28:47 AM
Yes, obviously. I just called the hoster - and they have a web application firewall that prevents such scripts from being executed (mod_security). They have now deactivated it, so hopefully in a few minutes I should be able to work normally...