Bjarstal Posted February 19, 2017 Share Posted February 19, 2017 Hi I manged to delete the home directory and I had backups of everything except my Prestahsop 1.6-something. But I have the database !!! My queston is if there could be possible to install the same version of 1.6 in the file system, connect it to the DB and then add the images that are missing, one by one from within Prestashop? The were no modifications of the theme or css or anything like that. If the above is possible, can I in the database find info about the exact version of 1.6 that I was using? All the best Hans Link to comment Share on other sites More sharing options...
JeredBolton Posted February 20, 2017 Share Posted February 20, 2017 Search the ps_configuration table for PS_INSTALL_VERSION - it's the third item in my database so it shouldn't be too hard to find. Probably best to do a fresh install of the correct version of PrestaShop using a new database so that you know the shop has been installed correctly. Once that's up and running change the database details in config/settings.inc.php to point to the old database and hopefully you should be up and running once more! Link to comment Share on other sites More sharing options...
musicmaster Posted February 20, 2017 Share Posted February 20, 2017 (edited) You might consider using my tool Copy_shopdata: https://www.prestashop.com/forums/topic/445453-copy-shopdata-script-for-copying-shop-content-for-upgrade/ The Prestashop version is stored in the file system in \config\settings.inc.php. In the database you find the entries PS_VERSION_DB and PS_INSTALL_VERSION in the ps_configuration table. Edited February 20, 2017 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
Bjarstal Posted February 21, 2017 Author Share Posted February 21, 2017 Hi Thank you both of you for your answer. I'm up running. I just have to add the images again and I seem to hava had some css file that went lost but it is not a big deal. I had to stop the ssl as I lost the certificate in the home directory but it was just to search in the DB and change the value from 1 to 0. I also learned how to change Password, and I did so from this link http://www.inmotionhosting.com/support/edu/prestashop-15/308-password-change-via-database I also learned how to install phpmyadmin directly and not from apt-get install phpmyadmin. I have php 7 from dotdeb installed on my Debian but if I install phpmyadmin with apt-get then it will install php5. So I found this and it is just do put it into a subfolder to any site you have. Go to the folder where you want to have it it and run git clone --depth=1 --branch=STABLE https://github.com/phpmyadmin/phpmyadmin.git Anyhow, right now I'm trying to upgrade from 1.6.10 to 1.6.11 but it seem to be hanging when upgrading the database. I'll go to sleep now and I'll see tomorrw what it will look like. All the best Hans Link to comment Share on other sites More sharing options...
Bjarstal Posted February 21, 2017 Author Share Posted February 21, 2017 It hangs here 1 tables have been saved. Database backup: 350 table(s) left... La table ps_connections a été sauvegardée. 1 tables have been saved. Database backup: 350 table(s) left... La table ps_connections a été sauvegardée. 1 tables have been saved. Database backup: 350 table(s) left... La table ps_connections a été sauvegardée. 1 tables have been saved. Database backup: 350 table(s) left... La table ps_connections a été sauvegardée. 1 tables have been saved. Database backup: 350 table(s) left... Any idea? Hans Link to comment Share on other sites More sharing options...
Bjarstal Posted February 21, 2017 Author Share Posted February 21, 2017 It had to do with some settings in MySQL. All is fine now; the DB and the full is is upgraded to 1.6.11 Hans 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