Author Topic: Cannot open the admin panel. Frontend opens instead.  (Read 3810 times)

Offline maxmax

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Cannot open the admin panel. Frontend opens instead.
« on: November 18, 2016, 02:50:06 PM »
Hello,

I freshly installed Abantecart, and the installation went smoothly. However, I can't open the admin panel page. The frontend/homepage opens instead.

I try to reach the backend this way:  mydomain.com/?s=admin. I have checked the config.php file, and the path to the admin page is the same as I use in URL, so everything looks correct, but the frontend opens instead of the backend. It looks like there is a redirect issue or something like that.

Could somebody please help me with this problem?

Thank you,

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Cannot open the admin panel. Frontend opens instead.
« Reply #1 on: November 18, 2016, 04:00:32 PM »
try to use url with index.php. For ex http://yourdomain.com/index.php?s=admin
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline maxmax

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Cannot open the admin panel. Frontend opens instead.
« Reply #2 on: November 19, 2016, 01:42:56 AM »

I tried as advised: yourdomain.com/index.php?s=admin, but the outcome was the same - the website homepage opens instead of the admin login page.  What else could I try to solve the problem? If the path to admin in config.php is the same as the path that I type in URL, what else can cause the redirection issue ?

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Re: Cannot open the admin panel. Frontend opens instead.
« Reply #3 on: November 20, 2016, 11:26:37 AM »
Look at the file system-->config.php-->define('ADMIN_PATH', 'xxxxx');

The x's are the name you gave the admin path so in yourdomain.com/index.php?s=admin  replace admin with what the ADMIN_PATH is in config.php.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5797
  • Karma: +274/-2
    • View Profile
Re: Cannot open the admin panel. Frontend opens instead.
« Reply #4 on: November 21, 2016, 12:58:51 AM »
Admin page in AbanteCart is secured with unique path which You enter during setup.
http://docs.abantecart.com/pages/tips/troubleshooting.html#admin

 

Powered by SMFPacks Social Login Mod