mightyeagle Posted June 7, 2017 Share Posted June 7, 2017 (edited) Hello there, I'm having issues migrating my Prestashop content to the new domain/webserver. I will try to explain in detail: I'm trying to migrate my Prestashop (1.7) to a new server and new domain (same webhost, but unfortunately they do not provide me with support for this). So far, I've followed this guide from Prestashop: https://www.prestashop.com/en/blog/how-to-migrate-prestashop-to-a-new-server So in short the steps I took: I've made a backup of the old site, copied to my computer, exported the SQL database, imported to the new website, and copied all the files to the new server using Filezilla FTP client. However, I'm getting stuck however at Step 8: Edit the PrestaShop config/settings.inc.php files Whenever I try to open settings.inc.php nothing is there except for two lines: <?php //@deprecated 1.7 I used the settings.inc.php through the FTP client old site, the local backup, as well as the new site FTP. Doesn't matter which one I open, they are all empty. The guide says to 'edit' a few lines, but if there's nothing there, I guess something went wrong in the process. Could anyone help me out? If additional info is needed, please let me know. I'm not a regular, and have limited knowledge over server stuff. I will add additional info to my topic start if need be. Thanks in advance! Edited June 7, 2017 by mightyeagle (see edit history) 1 Link to comment Share on other sites More sharing options...
musicmaster Posted June 7, 2017 Share Posted June 7, 2017 This is a manual for 1.5/1.6. Not for 1.7. In 1.7 your settings file is app/config/parameters.php 1 Link to comment Share on other sites More sharing options...
nbadmin Posted June 19, 2017 Share Posted June 19, 2017 i have the same problem. please help ! Link to comment Share on other sites More sharing options...
mightyeagle Posted June 19, 2017 Author Share Posted June 19, 2017 i have the same problem. please help ! The solution is already provided by musicmaster, see the post above you. The guide that I followed, was not suitable for Prestashop 1.7. I should have used a different guide, as the locations for the files has changed drastically. Link to comment Share on other sites More sharing options...
nbadmin Posted June 20, 2017 Share Posted June 20, 2017 This is a manual for 1.5/1.6. Not for 1.7. In 1.7 your settings file is app/config/parameters.php This is a manual for 1.5/1.6. Not for 1.7. In 1.7 your settings file is app/config/parameters.php The solution is already provided by musicmaster, see the post above you. The guide that I followed, was not suitable for Prestashop 1.7. I should have used a different guide, as the locations for the files has changed drastically. i tried to change informations in this file but i have Error 404 Vhost unknown Vhost unknown Varnish L7 server Have you a guide to see how to fulfill this field and can you post the link please? Link to comment Share on other sites More sharing options...
Rail Balco Posted October 9, 2017 Share Posted October 9, 2017 (edited) Hi I have pretty much same problem. Thx to this thread and posted manual I managed to have running frontend, but backend still has issues. Basically backend is still redirected to old hosting, giving me error about open_basedir is denied: ContextErrorException in ClassCollectionLoader.php line 85: Warning: is_file(): open_basedir restriction in effect. File - here follows files on old hosting My version is 1.7.2.2, anyone smarter than me? Edit: I also tried to delete .htaccess, no change EDIT SOLUTION Ok so my problem was that my original website was on dev mode. After disable of dev mode in /www/config/defines.inc.php (line 29 - define('_PS_MODE_DEV_', false) change to true) backend runs. Edited October 9, 2017 by Rail Balco (see edit history) 1 Link to comment Share on other sites More sharing options...
Rail Balco Posted October 9, 2017 Share Posted October 9, 2017 To my issue, we've found that /app/cache/dev/twig/ is full of files with notes of old domain name. However deleting this does nothing. Link to comment Share on other sites More sharing options...
musicmaster Posted October 9, 2017 Share Posted October 9, 2017 To my issue, we've found that /app/cache/dev/twig/ is full of files with notes of old domain name. However deleting this does nothing. Did you change the domain names (backoffice: Settings->SEO & urls or database ps_shop_url)? Link to comment Share on other sites More sharing options...
Tadaz Posted February 7, 2018 Share Posted February 7, 2018 To turn on/off DEV mode is not a solution. There is cached configuration files. Try to delete marked files in app/cache/dev directory. https://image.prntscr.com/image/41mQ90QtQmCvNVCtWS5d1w.jpg 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