Author Topic: Admin 403 forbidden  (Read 250 times)

Offline windsurfer

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Admin 403 forbidden
« on: October 27, 2019, 01:44:04 PM »
Using latest version just installed
When i go to the admin i get the 403 forbidden so i changed the adminpath to
define('ADMIN_PATH',
'https://
URL/admin/index.php');  and i still can't get in
I didn't change the UniqueID or the encryption key.
I have ssl installed
Any ideas ?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1495
  • Karma: +390/-2
    • View Profile
Re: Admin 403 forbidden
« Reply #1 on: October 27, 2019, 06:32:11 PM »
yourdomainname.com/index.php?s=[your_admin]

try adding the ?s  into your url


https://abantecart.atlassian.net/wiki/spaces/AD/pages/3801090/Can+not+login+to+admin

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4411
  • Karma: +205/-0
    • View Profile
Re: Admin 403 forbidden
« Reply #2 on: October 28, 2019, 01:30:02 AM »
Hello.

403 error can also be related to incorrect mod_security rules (php modules installed on your server)
https://abantecart.atlassian.net/wiki/spaces/AD/pages/3604484/Mod+security+403+406+error
“Chuck Norris is so amazing.”
― Mother Teresa

Offline windsurfer

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Admin 403 forbidden
« Reply #3 on: October 28, 2019, 11:19:21 AM »
I was reading this
The correct link to admin is based on what is set during the installation process of the AbanteCart. yourdomainname.com/index.php?s=[your_admin]  [your_admin] is provided during installation and can be located in system/config.php AFTER installation.

I have no idea where that would be in the config file, there is no mention of Your_admin.

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1495
  • Karma: +390/-2
    • View Profile
Re: Admin 403 forbidden
« Reply #4 on: October 28, 2019, 02:09:57 PM »
in your cPanel,  public_html  files -  your installation location (domain) (subfolder, if any)

in system/ config


// Admin Section Configuration. You can change this value to any name. Will use ?s=name to access the admin
define('ADMIN_PATH', 'clean1215');   where clean1215  is whatever you set your admin_path  during your installation.

Since you are just starting -  why don't you delete this installation and re- install after reading a bit more in the manual.
Or if you cPanel has Softaculous  use it to install AbanteCart - and most of your issue should be resolved.




 

Powered by SMFPacks Social Login Mod