Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Ruprt on January 20, 2022, 11:59:19 AM

Title: Error 403 on my forum.
Post by: Ruprt on January 20, 2022, 11:59:19 AM
Error 403 on my forum.

Hi,
please advise. Day by day an error started to appear. It happens if I want to sort users by ID, Username, Email, IP, Online, Posts. Can someone please advise? Thank you in advance.

Forbidden
You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Error 403 on my forum.
Post by: Doug Heffernan on January 20, 2022, 12:33:35 PM
Quote from: Ruprt on January 20, 2022, 11:59:19 AMError 403 on my forum.

Hi,
please advise. Day by day an error started to appear. It happens if I want to sort users by ID, Username, Email, IP, Online, Posts. Can someone please advise? Thank you in advance.

Forbidden
You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Usually the 403 error means that the web server doesn't have the rights to read the file and therefore can't continue the request. i.e. it is a permission issue.

P.s. Was any change/modification made to the forum prior to this happening?
Title: Re: Error 403 on my forum.
Post by: Kindred on January 20, 2022, 01:34:57 PM
it's also, frequently, caused by a poorly configured mod_security in php (at the host level)
Title: Re: Error 403 on my forum.
Post by: Ruprt on January 21, 2022, 02:02:42 AM
I didn't make any changes. I didn't install any new add-ons either.
Title: Re: Error 403 on my forum.
Post by: Doug Heffernan on January 21, 2022, 06:19:39 AM
Quote from: Ruprt on January 21, 2022, 02:02:42 AMI didn't make any changes. I didn't install any new add-ons either.

You should contact your host about it.
Title: Re: Error 403 on my forum.
Post by: Ruprt on January 21, 2022, 09:00:16 AM
They wrote to me:  We have disabled the Modsec rules.

But it didn't help.  :-\

P. S.  I can't get to my site or Cpanel...
Title: Re: Error 403 on my forum.
Post by: Kindred on January 21, 2022, 09:26:23 AM
if you can't get to your site/cpanel, then it definitely is a host-side issue....
Title: Re: Error 403 on my forum.
Post by: Ruprt on January 22, 2022, 05:21:21 AM
Thank you. Resolved. It was mod_security.