mumeishi Posted June 21, 2011 Share Posted June 21, 2011 So I made the shop offline using Xampp, when I uploaded and installed it to a live site, it's the default store! With the default catalog! What happened? Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 I uploaded all of my changed files, why didn't my site pop up? This is awful! It's like I'm at square one now, how do I get my 100+ items to show up and have all the options and modules configured the way I did without having to do it again! This is awful! Link to comment Share on other sites More sharing options...
Raphaël Malié Posted June 21, 2011 Share Posted June 21, 2011 Hi, you have to export your local database (go on localhost/phpmyadmin), then you have to import it on your online website Edit : you can export your database via your local prestashop administration instead of using phpmyadmin, but you need to import it online next : all your "virtual" data (products, categories, etc..) are stored in MySQL database, outside of the programm files Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 Ah, I have it exported now, just need to import it, should I delete the other database or replace it? Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 Ok, I dropped the old database, and imported the localhost one, however now I can not login to my cms. Should I reinstall? Link to comment Share on other sites More sharing options...
Raphaël Malié Posted June 21, 2011 Share Posted June 21, 2011 No, you have to open and edit your online file config/settings.inc.php and change the value of following data in the file : define('_COOKIE_KEY_', 'hifPheVeTnLLiR8tRmehkAaSNMzLB4o1jft9dR4crPpnq3c9cZg8VAWh'); by the data who was in your local config/settings.php fileThen you will be able to connect to your backoffice. Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 When I imported the files, I lost my back office, so I deleted the database and re-uploaded my localhost to a new database, while reinstalling it said I had to change the prefix or remove the database... So what do I have to do here? Install their ps_blah and then drop it, import mine, and edit the config file to login? Link to comment Share on other sites More sharing options...
Raphaël Malié Posted June 21, 2011 Share Posted June 21, 2011 Okay you should restart your online work : delete files on your online FTP and drop your online database.Then :- Upload files again- Import your local database on your online website- Do not install Prestashop online !- Edit your online file config/settings.inc.php, and change the following by your online MySQL configuration. Change the path too : define('_DB_SERVER_', 'localhost'); define('_DB_NAME_', 'prestashop'); define('_DB_USER_', 'root'); define('_DB_PASSWD_', ''); define('__PS_BASE_URI__', '/prestashop/'); These are the only constants you have to edit. Then save your config/settings.inc.php file and upload it again. Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 "Invalid loadConfiguration() SQL query" - This is where I'm at now. =/Ok So don't use their installer? Just upload my database and edit that file? Link to comment Share on other sites More sharing options...
Raphaël Malié Posted June 21, 2011 Share Posted June 21, 2011 Yes Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 Ok, I can see the backdoor login, but it's giving me the ol' delete the install, change the admin folder. The front end doesn't come up because it's trying to re-route to the localhost! I changed the config to my database, is it because I changed that key file? Link to comment Share on other sites More sharing options...
mumeishi Posted June 21, 2011 Author Share Posted June 21, 2011 Nvm, found out why! Got in the back office to, thank you for your help! Now I just have to test paypal, should I make a low cost item or is there a good way to do this? ;3 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