prestashop登陆后台提示_employee does not exist or bad password

安装prestashop,系统是Centos,控制面板是DirectAdmin,不知道是因为什么,貌似官方的版本有BUG ?
安装完毕登陆后台,系统提示 employee does not exist or bad password …
看了一下, ps_employee的表是空的 @_@

  1. mysql> INSERT INTO ps_employee(id_employee,id_profile,lastname,firstname,email,passwd,last_passwd_gen,
  2. stats_date_from,stats_date_to,active) VALUES('1','1','OWNER','YourFirstName',
  3. 'name@your.email','','2009-11-05 11:11:31','2009-01-01','2009-10-01','1');

config里的settings.inc.php里面,有个 _COOKIE_KEY_ 复制起来
md5码紧跟着新密码 xxxxxxxxxxxxxxxxxxxxxNewpasswd
例如: xxxxxxxxxxxxxxxxxxxxxxxxx123456
然后更新表的记录

  1. mysql> update ps_employee set passwd=md5('YourMD5Value123456') where email='name@your.email';

2 Comments

  1. 来看看老兄,呵呵

  2. DA还这么多问题阿?