AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: maxmax on November 18, 2016, 02:50:06 PM

Title: Cannot open the admin panel. Frontend opens instead.
Post by: maxmax 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,
Title: Re: Cannot open the admin panel. Frontend opens instead.
Post by: abolabo on November 18, 2016, 04:00:32 PM
try to use url with index.php. For ex http://yourdomain.com/index.php?s=admin
Title: Re: Cannot open the admin panel. Frontend opens instead.
Post by: maxmax 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 ?
Title: Re: Cannot open the admin panel. Frontend opens instead.
Post by: digitalt 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.
Title: Re: Cannot open the admin panel. Frontend opens instead.
Post by: Basara 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