Page 1 of 1

403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 3:47 am
by varrate
Hi,
I just install a clean version (with a new database) of opencart 2.2.0.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!

Please If anyone knows how to solve it, thanks

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 9:25 am
by Randem
Hi varrate,

Have you verified that your permissions on the server folders is correct?

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 9:47 am
by varrate
Yes, all folder: 755

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:06 am
by Randem
See if setting the permissions to 777 makes any differences... But do not leave them at that permission; Change them back to 755

Also where did you get your copy of OpenCart?

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:17 am
by varrate
Still not working :(
the problem is only on Setting -> Save

If you want I can grant you access to Cpanel and admin if you want to see

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:24 am
by Randem
Now you installed OpenCart with no issues? Or did you just upload the files without installing?

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:31 am
by varrate
I tried a new installation 1.5.6.4 and 2.2.0.0 versions
Also I use my original opencart store backup which works with no problem (version 1.5.6.4)

The only difference is that are different servers

I don't know what else to do :(

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:35 am
by Randem
What versions of php are the servers running?

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:38 am
by varrate
PHP: native (5.4)

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:41 am
by varrate
cPanel Versión 54.0 (build 20)
Tema paper_lantern
Versión Apache 2.4.12
Versión PHP 5.4.39
Versión MySQL 10.0.24-MariaDB
Arquitectura x86_64
Sistema operativo linux

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:49 am
by Randem
If both server are running exactly the same systems then check you config files there is most likely a mistake in them.

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 10:55 am
by varrate
Everything look good :(

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed Mar 23, 2016 11:07 am
by Randem
Let someone else have a look...

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Mon Mar 28, 2016 7:37 am
by neogeo
i fixed my issu with this
check
1-permissions
2-.htaccess

link
http://ocart1.blogspot.ca/2016/03/corre ... ncart.html

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Tue Jul 19, 2016 9:08 pm
by kavlito
I have the same issue with a new installation of 2.2.0.0. Cannot save System Settings without getting 403 error. I checked neogeo's suggestions, folder permissions are OK, and I removed -Indexes. But it did not help.

Makes OpenCart completely unusable.

Server info:

cPanel Version 56.0 (build 13)
Apache Version 2.2.29
PHP Version 5.3.29
MySQL Version 5.5.49-cll
Architecture x86_64
Operating System linux
Perl Version 5.10.1

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Tue Jul 19, 2016 11:17 pm
by straightlight
kavlito wrote:I have the same issue with a new installation of 2.2.0.0. Cannot save System Settings without getting 403 error. I checked neogeo's suggestions, folder permissions are OK, and I removed -Indexes. But it did not help.

Makes OpenCart completely unusable.

Server info:

cPanel Version 56.0 (build 13)
Apache Version 2.2.29
PHP Version 5.3.29
MySQL Version 5.5.49-cll
Architecture x86_64
Operating System linux
Perl Version 5.10.1
Are there any OC extensions installed?

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Tue Aug 29, 2017 2:25 pm
by mithtech
Go to your Cpanel > Security> ModSecurity
Disable it & edit your store setting & save it.
Once your done turn the ModSecurity back on!

I dont have to hope that this helps..... Cause i know this will help......

Re: 403 Forbidden Access after Setting Save in Admin

Posted: Wed May 02, 2018 12:17 am
by evopixel
Simply change the URL from sitemap to sitemaps (or any other name you may want) - as it basically conflicts with another module you may have installed.

Code: Select all

UPDATE `opc_url_alias` SET `keyword` = 'sitemaps';
It worked on Opencart 2.1.0.2