Language

  • English
  • Español
  • Russian

Top Menu

  • Live Chat
  • Submit a ticket
  • Sample Templates
  • Contact Us
 

Knowledgebase and documentation
  • Web templates
    • 3 Color Templates
      • Product Description
      • Tutorials
    • CSS Templates
      • Product Description
      • Tutorials
    • Dynamic Flash
      • Product Description
      • Tutorials
    • Dynamic Flash Photo Gallery
      • Product Description
      • Tutorials
      • Updates & Innovations
    • Flash Animated Templates
      • Product Description
      • Tutorials
    • Flash CMS Intro
      • Product Description
      • Tutorials
    • Flash Intro Templates
      • Product Description
      • Tutorials
    • Flash Templates
      • Product Description
      • Quick Guide
      • Tutorials
    • Dynamic SWISH Templates
      • Product Description
      • Tutorials
    • Full Package Templates
      • Product Description
      • Tutorials
    • Full Site templates
      • Product Description
      • Quick Guide
      • Tutorials
    • JS Animated
      • Tutorials
    • PSD Templates
      • Product Description
      • Tutorials
    • Razor Templates
      • Product Description
    • Stretched Template
      • Product Description
      • Tutorials
    • SWISH Animated templates
      • Product Description
      • Tutorials
    • Swish Templates
      • Product Description
      • Tutorials
    • XML Flash Templates
      • Product Description
      • Tutorials
  • E-commerce Templates
    • CRE Loaded
      • Product Description
      • Tutorials
      • Updates & Innovations
    • Magento
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • OpenCart
      • Tutorials
    • OsCommerce
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • Prestashop
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • VirtueMart
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • ZenCart
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • E-Commerce Comparison
    • E-commerce templates compatibility table
  • CMS & Blog Templates
    • Drupal
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • Joomla!
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • Mambo
      • Product Description
    • PhpBB
      • Product Description
      • Tutorials
    • Php-Nuke
      • Product Description
      • Tutorials
    • Tumblr templates
      • Tutorials
    • Wordpress
      • Product Description
      • Quick Guide
      • Tutorials
      • Updates & Innovations
    • CMS Product versions compatibility
  • Corporate Design
    • Corporate Identity
      • Product Description
      • Tutorials
    • Icon Set
      • Product Description
      • Tutorials
    • Logo Set
      • Product Description
      • Tutorials
    • Logo Templates
      • Product Description
      • Tutorials
    • PowerPoint Templates
      • Product Description
      • Tutorials
  • Silverlight
    • Silverlight Templates
      • Product Description
      • Tutorials
    • Silverlight Intro
      • Product Description
  • Video Templates
    • After Effects Intros
      • Product Description
      • Tutorials
    • After Effects Logo Reveals
      • Product Description
      • Tutorials
    • VideoSmash
      • Tutorials
  • Facebook Layouts
    • Facebook Flash Templates
      • Product Description
      • Tutorials
    • Facebook HTML Templates
      • Tutorials
    • Facebook Reveal Template
      • Tutorials
    • Updates & Innovations
 

Pre-Sale Questions

  • Pre-Sale Questions
    • After Sale Support
    • Copyright & Template Usage
    • Licensing Questions
  • Billing Questions
 

General Tutorials

  • Developer Tools
  • Hosting FAQ
  • Working with CSS
  • Working with Photoshop
  • Working with HTML
  • Working with Files
  • Working with Flash
  • Working with JQuery
  • Working with fonts
  • Working with XML Flash
  • Working with Swish
 

How to reset Prestashop admin details

  • Author: Gordon J. Blair
  • Posted on: March 16, 2011
  • Relation: Administer
  • Complexity: Low
  • Tags: admin, database, details, hosting, login, phpMyAdmin, Prestashop, reset
GD Star Rating
a WordPress rating system
 

1) Login into your Hosting Control Panel and open PHPMyAdmin tool (or the tool which is used for managing databases). If you’re not sure how to locate and open it, please consult with your Hosting Provider.

2) From the list in the left pane, you should select the database which you created for your Prestashop CMS.

(click to enlarge)

3) You should see a list of tables that are used in the selected database, but we don’t need to work with any of them directly. Click on the SQL tab

(click to enlarge)

4) Now paste the following line of code into “Run SQL query/queries” text area
UPDATE `ps_employee` SET `passwd` = MD5(‘<_COOKIE_>password’) WHERE `ps_employee`.`id_employee` = 1;

Before pressing the GO button to execute this query, you need to modify it a bit:

- replace the <_COOKIE_> with the actual cookie code, which you can find in the /config/settings.inc.php file of your Prestashop engine. In my case the value is WRhw145L5k724dJEFti0a0nHuDjC8AWvbioCWOjA2cebIbv48VjEfzX2
The code value will be different for your site, as this is unique key generated for the store during installation


<?php

define('__PS_BASE_URI__', '/gordon/presta135/');
define('_THEME_NAME_', 'theme065');
define('_DB_NAME_', 'gordon_presta135');
define('_DB_SERVER_', 'localhost');
define('_DB_USER_', 'root');
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', '');
define('_DB_TYPE_', 'MySQL');
define('_COOKIE_KEY_', 'WRhw145L5k724dJEFti0a0nHuDjC8AWvbioCWOjA2cebIbv48VjEfzX2');
define('_COOKIE_IV_', 'mPBcrcuj');
define('_PS_VERSION_', '1.3.5.0');

?>

- replace the word “password” with the new password you want to use for the admin login

The final result should look similar to the screenshot below. Note! there must be no spaces or any additional symbols between the cookie code and the password

(click to enlarge)

5) Now press the GO button to execute the query. If it has been executed succesfully you should get the following message

(click to enlarge)

How to reset Prestashop admin details, 5.0 out of 5 based on 2 ratings
This entry was posted in PrestaShop, PrestaShop Tutorials and tagged admin, database, details, hosting, login, phpMyAdmin, Prestashop, reset. Bookmark the permalink.

Related posts:

  1. How to manage admin details
  2. How to download a Prestashop engine
  3. How to install the Prestashop engine
  4. How to install a Prestashop template
  5. Prestashop Template

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Copyright 2003-2011 Template-help.com All rights reserved.