nycbicycleshop Posted March 24, 2010 Share Posted March 24, 2010 Hi everybodyI have problem with transferring the database and the main PrestaShop files from my old hosting to my new hosting godaddy.First I installed the prestaShop to my new hosting for try and next the create the database everything work perfect.But The store is empty Now second step I tried the export the old database with mysql and tried the import to new database to my new mysql but I got error.After I tried to backup the database from the old one and transfer to new database with restore it with changing the name it worked. After i tried the copy prestashop files to my new hosting directory with over-right all the files it copied. But when i open the web site all my categories okey but i can't go subcategories it say not found and no pictures and when I enter my admin account I can't login it say invalid Email or password.I tried the put old hosting account username and password still not worked.After i tried the PrestaShop installation to over the old files.I put the install folder to old files directory and I tried the install it but it say the database is already in there you have to create new database or changed the prefix. I think my main problem is Prestashop not communication with database some database names, usernames and passwords.My questions are 1.When I created the new database on the new hosting account I have to use the same username and the password from the old database?(I have problem with this because my old username is to long and its not fit the space to new mysql. and the password it say one uppercase old one is everything is lowercase)2.First I have to copy the all files to new hosting and after created the database and installed the prestashop?I messed up everthing, please somebody explain what are the steps?THANKS Link to comment Share on other sites More sharing options...
rocky Posted March 25, 2010 Share Posted March 25, 2010 Topic movedAfter copying all the files and database from one host to another, you need to modify config/settings.inc.php and update your database settings. If your store has changed from being in the root directory to a subdirectory or vice versa, you'll need to update __PS_BASE_URI__ too. If you do that, you'll need to regenerate your .htaccess file for the images to work. Link to comment Share on other sites More sharing options...
nycbicycleshop Posted March 26, 2010 Author Share Posted March 26, 2010 Everything it's looks okay, except pictures and subcategories.I can't see any pictures and when I click subcategories it's say not found.I deleted all prestashop files on the new server and I copied all old files to new server again and change the setting from settings.inc.php to new database settings.I can login to prestashop with new passwords no problem.I don't know htaccess file we have to edit this one too? and how?Is there any idea how can I fix pictures and the subcategories problem.Here is my Websitehttp://www.nycbicycleshop.com Link to comment Share on other sites More sharing options...
rocky Posted March 27, 2010 Share Posted March 27, 2010 All your friendly URLs are broken, so it is probably your .htaccess file that is broken. There should be a .htaccess file in the root directory of Prestashop. If there is, make a backup of it. If there isn't, create a blank .htaccess file and give it chmod 666 permissions. Then go to Tools > Generators and click "Generate .htaccess file". If you have any more problems, check your backed up .htaccess file and copy over any code that is missing in the generated .htaccess file. Link to comment Share on other sites More sharing options...
nycbicycleshop Posted March 27, 2010 Author Share Posted March 27, 2010 Okay everything is done Thanks:)I generated .htaccess file from prestashop and worked. :-) Link to comment Share on other sites More sharing options...
alexlextar Posted June 21, 2010 Share Posted June 21, 2010 How did you resolve the login problem? I still have your problem: can't login after server change Link to comment Share on other sites More sharing options...
nycbicycleshop Posted June 22, 2010 Author Share Posted June 22, 2010 First backup your old database and the main prestashop files and delete the database and create another fresh one and import your old data to new database.Clean the main root directory from hosting account put your old prestashop files to root directory and go to your hosting account file manager or cpanel and find the config folder settings.inc.php and put your new database informations. After try to login the admin panel and go to tools and create htaccess file and you okey.Any problem reply again. Link to comment Share on other sites More sharing options...
alexlextar Posted June 22, 2010 Share Posted June 22, 2010 I tried several times, but I can't login to the backend. When I click "login" in the admin panel, I get no error, but it redirects back to the login screen.The user is recognized, but don't know why, instead opening the admin panel, I get back the login screen. Link to comment Share on other sites More sharing options...
nycbicycleshop Posted June 22, 2010 Author Share Posted June 22, 2010 It's looks you have installation problem please backup your database and files and try to clean installation on the new server. Link to comment Share on other sites More sharing options...
alexlextar Posted June 22, 2010 Share Posted June 22, 2010 Already tried...I made a new backup of files and database, but when i upload it on the new server, can't login to backendhere's the link:http://shop.studiomusicshow.it/asd/ Link to comment Share on other sites More sharing options...
nycbicycleshop Posted June 23, 2010 Author Share Posted June 23, 2010 HiTry to install to main directory not the under the subdirectory shop.studiomusicshow.it/asdshop.studiomusicshow.it Link to comment Share on other sites More sharing options...
alexlextar Posted June 23, 2010 Share Posted June 23, 2010 It's already installed in the main directory, "asd" is the admin folder renamed to asd Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now