error 403 when trying to install

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 27   (RSS)

By w2kd - June 22

Have uploaded the zip and unpacked in on the site

Then ran the cmsb/admin.php  but get a 403 error

Have disabled user.ini  php.ini  .htaccess and still get the error.

Is there a log or somewhere to check what the issue is.

Site is running php 7.4 and folders are set to 755  and files 666

www.splatgraphics.com.au

By w2kd - June 23

I have resolved this by setting files to 644 permissions

www.splatgraphics.com.au

By daniel - June 27

Hi w2kd,

Thanks for the update - I'm glad you were able to resolve the issue!

For those who might be curious, some webservers will not open files with certain permission configurations - in particular they will prevent access to files that are too permissive. In this case, having the permissions set to 666 allows anyone to write to the file, which was likely the cause of the issue. Tightening the permissions to 644 (only the owner of the file has write access) satisfies the webserver's rules.

Further reading on Linux file permissions: https://linuxize.com/post/chmod-command-in-linux/

Cheers,

Daniel
Technical Lead
interactivetools.com