Jump to content

Cannot log in to admin panel


Recommended Posts

Can anybody help, the guys developing the website have loaded the website, but are no longer responding, how do I login to the admin panel to fine tune the site. The login password recovery is requesting original email at registration.

Link to comment
Share on other sites

In store folder, search for config folder and inside look for file settings.inc.php, and you will see this code:

 

<?php
define('__PS_BASE_URI__', '/store_folder/');
define('_MEDIA_SERVER_1_', '');
define('_MEDIA_SERVER_2_', '');
define('_MEDIA_SERVER_3_', '');
define('_PS_CACHING_SYSTEM_', 'MCached');
define('_PS_CACHE_ENABLED_', '0');
define('_THEME_NAME_', 'prestashop');
define('_DB_NAME_', 'database_name');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_DB_SERVER_', 'localhost');
define('_DB_USER_', 'username');
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', 'password');
define('_DB_TYPE_', 'MySQL');
define('_COOKIE_KEY_', 'cxtb414W9ertiuq29kAbwqNQNpj35syxVceGyvxcevpwZTrg');
define('_COOKIE_IV_', 'hOktyeIvQ');
define('_PS_CREATION_DATE_', '2012-04-16');
define('_RIJNDAEL_KEY_', '56XNnDgGn4fgrfdygHbHfHhiXy5RBo9ZGt');
define('_RIJNDAEL_IV_', 'xO1DfEpksdfsVqrzXrI+3vw==');
define('_PS_VERSION_', '1.4.7.3');
?>

 

In first line where says store_folder you must have de correct name of your store folder in public_html . If you have the store in the root of public_html just let "/" instead of "/store_folder/".

 

See also if the you don't have the database name and username from another database.

Link to comment
Share on other sites

Actually, if you have cpanel hosting your best bet is going in through php myadmin and changing your emaill address. Do you know if you have cpanel hosting? Or if your host offers php myadmin?

  • Like 1
Link to comment
Share on other sites

Ok, I am going to assume that you are not hosting any other sites. log into your cpanel account. Then go to phpmyadmin. If you are not hosting any other sites you will only have one database in there. If you are, it will be the database where the first table is ps_access. Don't do anything to that table. scroll down til you find the table that says ps_employee. When you click on that, there should be only one result. If there are more than one, it is ok. towards the left, click on edit and it will bring up the fields of the database. Change the email address to your email address. DO NOT CHANGE THE PASSWORD. it is encrypted, so don't touch it. after you have saved this, go to your back office and try to reset your password. It should send you the reset email.

 

IF YOU DON'T FEEL COMFORTABLE DOING THIS OR DO NOT KNOW WHAT YOU ARE DOING DO NOT DO IT.

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...