Donal Posted July 2, 2013 Share Posted July 2, 2013 Hi, I have made changes to a PrestaShop script. I want to use these files for individual clients that want an E-Commerce site. This is the way I think I am going to do it. (1) Download my version of PrestaShop (From my hosting) (2) Set up Domain for client (3) Upload the files to the Domain (4) Make new database (5) Change the settings.inc.php file in the following lines, with the new database information. define('_DB_SERVER_', '*******'); define('_DB_NAME_', '***********'); define('_DB_USER_', '************); define('_DB_PASSWD_', '***********'); Is that it, will the new domain have PrestaShop installed? If yes, is there any problem with different sites having the same cookie and RIJNDAEL_KEYs Will I have to change the name of the admin file for every install and if yes, could that effect the install or the performance. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 2, 2013 Share Posted July 2, 2013 you will install prestashop? or just upload "installed" one ? Link to comment Share on other sites More sharing options...
Donal Posted July 3, 2013 Author Share Posted July 3, 2013 Upload an installed one. Hopefully upload the installed one to a few different domains/databases. Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 so, then the cookie keys will be different and you can't use the same for many shops. Link to comment Share on other sites More sharing options...
Donal Posted July 3, 2013 Author Share Posted July 3, 2013 Why can I not use the same for many shops? Is it, as I asked the cookie and RIJNDAEL_KEYs has to be different for each site and if that is the reason can I not get the key numbers from fresh downloads and put the new key numbers in to my version. Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 when you're installing prestashop - the install process create own RIJNDAEL_KEY if you will change it after installation - the passwords for customers and employees will not work Link to comment Share on other sites More sharing options...
Donal Posted July 3, 2013 Author Share Posted July 3, 2013 Any way around this? Link to comment Share on other sites More sharing options...
Dh42 Posted July 3, 2013 Share Posted July 3, 2013 Also, from the steps you mentioned, you just created a database, you didn't create the tables that prestashop needs. In the database if you are using a copied database, you will need to change the shop_url table to reflect the changes from domain to domain. Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 well, you can't change rijndael key after installation, because all passwords will not work the only way to achieve what you want: you can change the installation sources to use the same rijndael key for all shops (not generate one for each new installation) Link to comment Share on other sites More sharing options...
Dh42 Posted July 3, 2013 Share Posted July 3, 2013 For the time you are putting into this, it might just be best to find a host that has an automatic installer. It will actually be quicker since your are not uploading 15k files. Link to comment Share on other sites More sharing options...
Recommended Posts