403 - Forbidden

So I am updating my website and adding accounts. On my localhost, it works fine and users can sign up and log in. Then I uploaded it here and users can sign in, but they can’t sign up because it gives an error code 403 - Forbidden. Why?

Where do you see this error exactly? Do you have a URL we can check?

https://infinityfree.net/errors/403 that is where it redirects. And my website is https://sei4or.us

Hmm, strange, it doesn’t appear to be a code or .htaccess issue.

Could you try to move the signup.php script outside the includes folder? It could be that there’s a security filter in the web server preventing direct access to any folder called includes (because scripts in an includes folder usually are not supposed to be accessed directly).

Didn’t work. :C

@MadBear said:
Didn’t work. :C

I just checked your signup page and I don’t see a 403 error?

@Admin said:

@MadBear said:
Didn’t work. :C

I just checked your signup page and I don’t see a 403 error?

The error shows up when you click the sign up button.

@MadBear said:

@Admin said:

@MadBear said:
Didn’t work. :C

I just checked your signup page and I don’t see a 403 error?

The error shows up when you click the sign up button.

I see a page saying “Fatal Error - So your idiot self stubbled upon this page. Some error occured and Sei4or has been notified.”. As far as I can tell, it’s generated by your script, not a server issue.

I just changed the error page. Before it redirected to infinityfree page with 403 Forbidden.