ShauniD Posted May 16, 2012 Share Posted May 16, 2012 I am at ends witt. I have moved my prestashop from my test domain to the new domain. I did this by downloading all the prestashop files to my local hard drive, then uploading via FTP to the new domain. I then logged in to BO and updated/changed the Domain Name and Domain Name for SSL. It worked fine, and did not redirect to the test site domain. So alls well there. However, when i go to the FO, all the modules except the Featured Products are not showing. I tried using live edit to see if the modules show up there, to no avail. I then tried to send it back to the test site by editing the Domain Name and Domain Name for SSL to point to the test site - PERFECT. All the modules show on the FO of the test site. But i need it on the new domain, and this does not work. The modules just dont show up and the Featured Products module in the FO is not in the correct place. Please, i have been trying to solve this for 2 day, and have not found any answers. Any help will be appreciated Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 You need to install the Prestashop on your new host. Upload the install file into the root folder aswell and install prestashop on your new host! Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 It is on the same server at the same host. So i hope i dont have to install it twice? Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 Any other suggestions that might help? Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 Okay here goes nothing: Update your database Log into cPanel, then go to "PHPMyAdmin" and log into your PrestaShop database. Go to the table "ps_configuration" and locate the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Change these to the new domain name. Check the configuration table for any other entries that contain the old domain name and change accordingly. Updating your config settings Via FTP or the file manager in cPanel, modify the PHP file /config/settings.inc.php. Look for the entry for PS_BASE_URI__ and modify as necessary. For a shop located in the root, it should read: // <![CDATA[ define('__PS_BASE_URI__', '/'); // Delete (or rename) the .htaccess file on your site. In our PrestaShop admin, you now need to re-generate the SEO URLs with the new domain name. Log into your PS admin, then go to "tools->generate->generate .htaccess". Enabling SSL If your site has a full SSL Certificate, then you can also enable this via your PS admin under "Preferences page -> Enable SSL: Yes". Please note that PrestaShop won't work with our Shared SSL as the SEO URLs rewrite rules don't work with the server paths. For PS shops, you either need to have a Dedicated IP & your own Full SSL Certificate or you need to disable SSL. Let me know if things worked out! 3 Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 Ok. So i had already done all the things you mentioned above. I have just triple checked each step, and all is in good order. All the url's are correct and the htaccess file regenerated. I have updated the config setting - it was already as you said it should be. Unfortunately even triple doing all of the things, the FO is still not showing correctly. The modules are still missing. The BO is working perfectly however, i can add, edit, delete products, or do anything else on the backend. PLEASE . . . what else can i do to correct this? Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 Have you been into your database aswell? You need to change two tables in order to get everything to work: PS_SHOP_DOMAIN should be something like PS_shaunid_com (or whatever you website is called) And this also for PS_SHOP_DOMAIN_SSL 1 Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 Yes, that was one of the first places i went once i moved prestashop. It is pointing at the correct domain name in both tables. Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 As i said in my first post. . . If i use the default theme that came with prestashop, all works fine on the FO. If i use another modified them, then no modules show on the FO. Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 (edited) I am affraid each module must be pinpointed to the new domain.. I suggest delete all modules and reinstall them on the new domain. Let me know if this has any solution for you! regards helldog *EDIT* can you tell me new theme used and URL to the website? Edited May 16, 2012 by helldog2004 (see edit history) Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 Ok. So can i delete them in the BO. Or do i need to go the my control panel and delete them there? I have the shop in maintenance mode, so you wont be able to see the url unless i add your ip address. www.alphaofficesupplies.co.za and the theme is clothetheme. Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 Yes you can uninstall the modules first in BO Then click on delete in BO Double-check your modules folder via FTP or anything in some sort. Reinstall all modules and try again.. Let me know if things worked out for you! Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 I have uninstalled, deleted and re-installed all the modules. Still nothing. If anything i think it made matters worse. It now displays the FO even worse. Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 humm I am sorry, I think I am out of options then. Anyone else having some ideas on how to fix this? Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 I have now uninstalled the theme and re-installed the original theme (before edit version). And still no modules show in the FO???? Link to comment Share on other sites More sharing options...
ShauniD Posted May 16, 2012 Author Share Posted May 16, 2012 Ok. . . so perhaps a new plan of action. If i uninstall the entire prestashop install and do a fresh install of prestashop . . . 1. will it loose the database, if so, how do i point the fresh install to the old database? 2. then install the new theme? 3. then edit (the intension is to copy and paste the already edited theme pages into the fresh theme install) the new theme? So in theory, a complete new install??? Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 What you do can try to do is offcourse make a back-up of your database by using the tools/DB backup try it out and see if it worked out for you. If not you can always reset the back-up to its original state. Let me know if you figured things out! Link to comment Share on other sites More sharing options...
ShauniD Posted May 17, 2012 Author Share Posted May 17, 2012 (edited) Ok. I have tried fruitlessly, to sort this out. List of what i have tried: WHAT I DID FIRST I moved prestashop to a new domain on the same server by downloading from the test site then uploading to the new domain. Logged into cPanel, went "PHPMyAdmin" and logged into PrestaShop database. Went to the table "ps_configuration" and located the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Changed these to the new domain name. Checked the configuration table for any other entries that contained the old domain name and changed accordingly. Via file manager in cPanel, modifid the PHP file /config/settings.inc.php to define('__PS_BASE_URI__', '/'); In PrestaShop admin, re-generated the SEO URLs with the new domain name. Logged iPS admin, then to "tools->generate->generate .htaccess". PROBLEM Front office not displaying correctly. It dropped all the modules except the Featured Products Module. Clicking on the New Products, showed the products but WAY over to the left. Re - instating the default module from PS install worked, but putting it back to custom theme NO modules yet again WHAT I TRIED SECONDLY Unistalled all the modules via the BO then deleted them via the BO. Re-installed all the modules via the BO PROBLEM Somehow, it made it even worse. The modules were still not showing, not even the featured products. Only one module from the custom theme was now showing, but had lost all its custom styling. WHAT I DID THIRDLY Uploaded via FTP all the files and folders from the original test site This was in the hope something went wrong with the first upload. DId exactly the same steps as in the first instance. Uninstalled the custom theme then re-installed it. PROBLEMS The exact same thing as in the first instance No modules showing on the FO in the custom theme. Switched to default theme and all working fine Switch back to custom theme, no modules WHAT I DID LAST Did a new install of PS on another domain. Pointed it to the old database PROBLEM When i point it to the old database no modules Point it to the new database, no problems Please i need help solving this. I need this site moved and cant seem to find the answer or solution anywhere. Edited May 17, 2012 by ShauniD (see edit history) Link to comment Share on other sites More sharing options...
helldog2004 Posted May 17, 2012 Share Posted May 17, 2012 The last resort I can think about is to use UNIX path instead of folder paths. This is how I solved one of my Paypal modules which showed all blocks wrong. Used the UNIX path, which you can probably find on the admin of your server or ask them your path. Try this out, and let me know Link to comment Share on other sites More sharing options...
ShauniD Posted May 17, 2012 Author Share Posted May 17, 2012 Unfortunately your suggestion about using the UNIX path instead of folder paths did not work. So what i did was a fresh install of PS with a new database. I then downloaded the tables in the SQL database for the original test site and imported it into the new database via MyphpAdmin. This worked and all aspects of the site are up and running. All products loaded and functional. I copied the img folder from the test site to the new domain. However this does not work and only show "image not available" And then for the BIG problem . . . the new site with the updated database is SLOW loading. And i really do mean SLOW. It took about 4 minutes just to load the homepage. What could be causing this? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 17, 2012 Share Posted May 17, 2012 Hi ShauniD, Please make sure you've followed all the steps in our guide for moving PrestaShop here. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
ShauniD Posted May 18, 2012 Author Share Posted May 18, 2012 Hi Mike Thank for the info. Unfortunately that is the link i used when i originaly started the move. I found it very comprehensive and thought all would go well. And still encountered the problem. Link to comment Share on other sites More sharing options...
helldog2004 Posted May 18, 2012 Share Posted May 18, 2012 You can make your site a little faster by comprimating and chaching offcourse. Ask you provider / hoster if they have Memchache PECL installed. if so: click on preferences in your admin Smart cache for javascript: CCC for Javascript HTML minimalising: HTML minimalising after 'smarty compiler' comprimate inline javascript in HTML: Comprimate inline javascript in HTML after 'smarty compiler' and in the tab caching click on yes (if your host has Memcache PECL installed offcourse) Maybe this will make the site a little faster, also try to clean your cache before doing this all.. Cheers Helldog! Link to comment Share on other sites More sharing options...
qviorel Posted June 25, 2012 Share Posted June 25, 2012 Hi helldog2004 . Please help me. I have installed PrestaShop on this domain http://cauciucurish.ro/anvelope-online'>http://cauciucurish.ro/anvelope-online and I want to move to http://cauciucurish.ro I made backup of DB, I move all the files and folder to http://cauciucurish.ro . When I acces http://cauciucurish.ro I am redirect to http://cauciucurish.ro/anvelope-online'>http://cauciucurish.ro/anvelope-online Ok, than I follow your advice to modify into the phpmyadmin my database (ps_configuration) but I can't find: PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL I just find PS_SHOP_ENABLE and PS_SSL_ENABLED What can I do? Please help me. Thank you very much, Viorel Link to comment Share on other sites More sharing options...
marcis Posted February 13, 2013 Share Posted February 13, 2013 Modify the domain at ps_shop_url table 1 Link to comment Share on other sites More sharing options...
danr87 Posted May 14, 2014 Share Posted May 14, 2014 Hi helldog2004 . Please help me. I have installed PrestaShop on this domain http://cauciucurish.ro/anvelope-online and I want to move to http://cauciucurish.ro I made backup of DB, I move all the files and folder to http://cauciucurish.ro . When I acces http://cauciucurish.ro I am redirect to http://cauciucurish.ro/anvelope-online Ok, than I follow your advice to modify into the phpmyadmin my database (ps_configuration) but I can't find: PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL I just find PS_SHOP_ENABLE and PS_SSL_ENABLED What can I do? Please help me. Thank you very much, Viorel That table has more pages, you can find it at page 10 Link to comment Share on other sites More sharing options...
abqashop Posted May 28, 2014 Share Posted May 28, 2014 Help me plz!!!! . I don't know much about website devlopmentI installed prestashop from cpanel and web hosting serivce is bigrock.. I see in the end of my domain name which is www.abqashop.com/presta. I wonder why this presta word comes. I want to remove it and want to make my little changes go live on real internet. Can anybody tell me what to do? I saw videos on you tube but they talk about local host etc. I think my site is not on my computer but on prestashop server. How can I move it from prestashop server to real internet. Link to comment Share on other sites More sharing options...
vekia Posted May 28, 2014 Share Posted May 28, 2014 you installed it in subdirectory /presta/ ? Link to comment Share on other sites More sharing options...
piyushbanna Posted April 9, 2015 Share Posted April 9, 2015 Hello prestashop, I want to know that How can i EDIT PRESTASHOP VIA HTML CSS EDITOR, like I want to make html javascript cod on my store.. I am using v1.6.0.14 please reply on [email protected] thanks Prestashop customer Link to comment Share on other sites More sharing options...
arian7 Posted February 28, 2016 Share Posted February 28, 2016 You need to install the Prestashop on your new host. Upload the install file into the root folder aswell and install prestashop on your new host! Have you been into your database aswell? You need to change two tables in order to get everything to work: PS_SHOP_DOMAIN should be something like PS_shaunid_com (or whatever you website is called) And this also for PS_SHOP_DOMAIN_SSL thank you it works for me Link to comment Share on other sites More sharing options...
Recommended Posts