Jump to content

Issues migrating local copy + reseting a password


Recommended Posts

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.

 

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...

 

Home page redirects me to localhost/shop, my local copy. So, I go try to log in to change it in Preferences > SEO&URL and http://66.206.84.189...hop/adminfolder 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 "UPDATE ps_employee SET passwd = md5('7uSpY718uKjnAOOH367gbVzzjm5StzLyfIBpSDsdI5FwxVq84UD4tPdMpassword') WHERE email = '[email protected]';" 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.

 

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).

 

Running 1.4.6.2. Mac OSX 10.7.2 locally, server is CentOS 5.7.

 

Thank you so much. This is my first time developing a custom theme for Prestashop and honestly coding the front-end, despite the occasional wrestling match with module positioning, has been a real joy.

 

Best,

 

Joel

Link to comment
Share on other sites

can you try to do a fresh install of PF and see if you can login to the BO, that would let us know if it is related to anything on your server, or the specific installation.

 

I did that back on 1.4.5 and upgraded to 1.4.6. Hope it's not the upgrade... I'll see if I can find time to do a fresh 1.4.6 install.

Link to comment
Share on other sites

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...