Ramesh S
Ramesh S

Reputation: 804

Opencart 2.0 403 Forbidden Access after Setting Save in Admin

I just install a clean version (with a new database) of opencart 2.0, then I go to the admin page, Setting then just open and save the configuration (no changes made) and I get the following error:

403 Forbidden

Access to this resource on the server is denied!

Am checking server folder permissions on the server it is 755.

Upvotes: 0

Views: 2365

Answers (2)

Ramesh S
Ramesh S

Reputation: 804

Finlay i got the solution, it is based on cPanel issues.

Solutions for following steps:

Step 1:

Login your cPanel.

Step 2:

Find ModSecurity.

enter image description here

Step 3:

Choose your domain and disable ModSecurity.

Step 4:

Clear the History and try it again.

Thank You

Upvotes: 1

Tadtoad
Tadtoad

Reputation: 25

Your hosting company probably blacklisted your IP

(I'm assuming it's not on your localhost)

I used to have this issue too and it only occurred on the Admin Settings page after saving. Changing permissions of every folder and file didn't fix it.

After about a year of searching for a fix and having to manually make edits directly to my database, I contacted my hosting company about it and they said my IP was blacklisted. All they had to do was allow a set of IP addresses and I haven't had the issue ever since.

So contact your hosting company about it. And be as specific as possible with them.

Upvotes: 0

Related Questions