1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 403 while saving EXTRA.css

Discussion in 'Troubleshooting and Problems' started by loplo, May 10, 2016.

  1. loplo

    loplo Active Member

    Hey guys,
    I was trying to save some changes done to my extra.css and I'm greeted with the error shown below.
    Any other template can be changed/saved but extra.
    Can anyone help me out of this situation?
    Thanks in advance.

  2. Tracy Perry

    Tracy Perry Well-Known Member

    403 error is normally a permission denied error on a file from my experience with OLS. You need to check to make sure that the files in the associated areas have the correct permission settings.

    it's been a while since I used OLS (Open LiteSpeed), the free version which works similar, but I know I had some "unique" issues with permissions on a few files once or twice.
    loplo likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    A 403 erorr is a forbidden error.

    A typical cause of that is some sort of security mechanism on the server, something like mod_security.

    Contact your host and they should be able to resolve it.
    loplo likes this.
  4. loplo

    loplo Active Member

    Could it be cloudflare related?
  5. Tracy Perry

    Tracy Perry Well-Known Member

    Have you checked the LiteSpeed logs for any hint of the error? That's the first place you need to check.
    loplo likes this.
  6. Solidus

    Solidus Well-Known Member

    ^ only if you are pro with WAF enabled, check traffic log if so.
    loplo likes this.
  7. loplo

    loplo Active Member

    The log I have in cPanel shows me the following:

    2016-05-10 20:16:34.481 [INFO] [] File not found [/home/flyra/public_html/403.shtml]
    2016-05-10 20:16:34.366 [INFO] [] File not found [/home/flyra/public_html/403.shtml]
    2016-05-10 20:16:34.363 [NOTICE] [/home/flyra/public_html/.htaccess:170] Unsupported ErrorDocument URL: default, must start with '/' or 'http'.
    That IP belongs to cloudflare.
  8. loplo

    loplo Active Member

    Just confirmed with my hosting company, it was mod_security.
    Thanks for your help guys!
  9. Brogan

    Brogan XenForo Moderator Staff Member

    He shoots, he scores! :D
    Amaury and loplo like this.

Share This Page