title: Prestashop migration - broken URL, bad redirect, and can't reset admin password / access back-end office
body: <p>So I have a local copy of prestashop (~Sites/shop) and my /etc/hosts set up so that 'localhost/shop' lets me develop on it. I'm ready to push it to the server, where its temporary spot is (http://66.206.84.189/~walnutci/shop). It isn't an entire site, just the shop sub-pages. The main site content will need to be static, so I need this contained within the 'shop' folder. </p>
  
  <p>I tarred the thing up, moved it into my /shop subfolder, created an empty database of the same name as my local copy with a identically named user and permissions, imported the database (so I shouldn't have to mess with config/settings.inc.php) and...</p>
  
  <p>Home page redirects me to localhost/shop, my local copy. So, I go try to log in to change it in Preferences > SEO&amp;URL and <a href="http://66.206.84.189...hop/adminfolder" rel="nofollow">http://66.206.84.189...hop/adminfolder</a> properly forwards me to back-end log in. However, it's not taking my admin email and password. Same database != same credentials? I updated it with</p>
  
  <pre><code>UPDATE ps_employee SET passwd = md5('7uSpY718uKjnAOOH367gbVzzjm5StzLyfIBpSDsdI5FwxVq84UD4tPdMpassword') WHERE email = 'me@mycompany.com';
  </code></pre>
  
  <p>and zilch. I hit Enter at it refreshes the page, ignoring my input. The URL displays the email address I'm trying to log in with, but no red error. If I put in garbage for the password it throws the proper error "wrong password". My password, and manually updating it in the database work fine locally. </p>
  
  <p>So, am I manually updating my admin password wrong? Can I hard-code the site URL somehow? I thought by keeping the folder names the same and using my Apache /etc/hosts I wouldn't run into any redirection errors (Friendly URLs are turned off, so there is no .htaccess anywhere). </p>
  
  <p>Running 1.4.6.2. Mac OSX 10.7.2 locally, server is CentOS 5.7. </p>
  
  <p>Thank you so much. I threw up a post to Prestashop a while back, kept looking over the weekend, and still haven't figured it out. Appreciate any ideas / insight. </p>