Jump to content

Admin login page won't appear after changing the admin's folder for security


Recommended Posts

Hello,

I have everything install on my local drive. The store appears beautifully, but when I go to the admin page it state the following:

+++++++++++++++++++++++++++++++++++++

For security reasons, you cannot connect to the Back Office until after you have:

- deleted the /install folder
- renamed the /admin folder (eg. /admin524)

+++++++++++++++++++++++++++++++++++++

I did exactly that; I deleted the install folder, as well as rename the admin fold, but no dice. I don't get errors. All I get is a blank browser. Oh I'm using safari and I tried using firefox and chrome, still the same issue.

PLEASE HELP!

Thank you,
Nick

Link to comment
Share on other sites

Same thing here. Reinstalled and all went well. When I change the admin folder name, login.php loads ok but returns error:
On Safari: Blank page
On Chrome: "The website encountered an error while retrieving index.php. It may be down for maintenance or configured incorrectly."
Is this a chmod issue?
Please help!
Prestashop 1.4

Link to comment
Share on other sites

  • 5 weeks later...
  • 4 weeks later...

Same happening with me....... today must be a bad day

Turning on error reporting reveals this:

Warning: require_once(/var/www/vhosts/xxxxxx.co.uk/httpdocs/admin/init.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/xxxxx.co.uk/httpdocs/admin/header.inc.php on line 34

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/xxxxx.co.uk/httpdocs/admin/init.php' (include_path='.:') in /var/www/vhosts/xxxxxx.co.uk/httpdocs/admin/header.inc.php on line 34

These messages refer to admin folder which of course no longer exists. Someone must know what the problem is and how to fix it ! :)

Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...
  • 4 weeks later...

Hello,

I am using Prestashop 1.5.5.0

I renamed the folder admin. but when i call the url like "http://localhost/prestashop/admin" i got the back office login page. the problem is again the admin folder name changed to admin755 !

 

How can i fix this ?

 

It is automatically changed because the default "admin" should never be used for a live store, it is too easy to access. So instead, PrestaShop autmatically renames it. You can go into your FTP and rename it as you want.

 

If you don't want to do that just use admin755 instead of admin, you will reach your back office. 

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...