clauf Posted January 19, 2011 Share Posted January 19, 2011 Hi there,Does anyone have the experience move Prestashop from localhost with XAMPP to web sever? What is the best way? If someone has done that before, can you kindly share the steps?Thanks a lot,Clau Link to comment Share on other sites More sharing options...
valentin.g Posted January 19, 2011 Share Posted January 19, 2011 copy site to server and set folder permissionsfrom localhost in phpmyadmin export database and write down user/pass accesson webserver from phpmyadmin create database with same name and import file from above then add user/passthat's all 1 Link to comment Share on other sites More sharing options...
clauf Posted January 20, 2011 Author Share Posted January 20, 2011 Thanks Saach, I will try that. I'm very grately all my questions got an answer at the forum, every time. Seems that I got lucky since I found Prestashop. Previously I was stuck with some lousy Chinese non -open source software and it was terrible! Link to comment Share on other sites More sharing options...
vineshkumar Posted January 26, 2011 Share Posted January 26, 2011 Hi,What should be done if the database name and userid/pwd diff in local machine and in webserver.All tables have same prefix ps_. Please do let me know. Thanks in advance. Link to comment Share on other sites More sharing options...
valentin.g Posted January 26, 2011 Share Posted January 26, 2011 Hi,What should be done if the database name and userid/pwd diff in local machine and in webserver.All tables have same prefix ps_. Please do let me know. Thanks in advance. then edit config/settings.inc.php Link to comment Share on other sites More sharing options...
clauf Posted February 8, 2011 Author Share Posted February 8, 2011 I followed all these steps, but when I visit my domain, I only see ' it works!' What can possiblly cause this? Link to comment Share on other sites More sharing options...
Paul C Posted February 8, 2011 Share Posted February 8, 2011 Check you don't have a file called index.html or index.htm in the web root with that text in it?Paul Link to comment Share on other sites More sharing options...
valentin.g Posted February 8, 2011 Share Posted February 8, 2011 I followed all these steps, but when I visit my domain, I only see ' it works!' What can possiblly cause this? you must to copy prestashop folders in root. delete main folder and copy them again in root all prestashop folders and files Link to comment Share on other sites More sharing options...
clauf Posted February 11, 2011 Author Share Posted February 11, 2011 'It works!' is the index.html file in the root folder of my shop. When I ran on local server, these words never show and the homepage displays.I did copy the Prestashop files in root. When I install the Prestashop newly from scratch on my domain, there is no problem. But when I move the modified files from my localhost, only 'it works' can be seen. It's like the index.html file is not linked to php and database etc?And I just found I can enter backoffice without any problem! So why the front office only shows 'it works'? Link to comment Share on other sites More sharing options...
valentin.g Posted February 11, 2011 Share Posted February 11, 2011 'It works!' is the index.html file in the root folder of my shop. When I ran on local server, these words never show and the homepage displays.I did copy the Prestashop files in root. When I install the Prestashop newly from scratch on my domain, there is no problem. But when I move the modified files from my localhost, only 'it works' can be seen. It's like the index.html file is not linked to php and database etc?And I just found I can enter backoffice without any problem! So why the front office only shows 'it works'? delete index.html from your root because prestashop has index.phpand voilaaa Link to comment Share on other sites More sharing options...
clauf Posted February 11, 2011 Author Share Posted February 11, 2011 I just deleted it and now the homepage seems ok: no more 'it works' and all the images and elements display normally.Thank you all for your great help. Link to comment Share on other sites More sharing options...
Paul C Posted February 12, 2011 Share Posted February 12, 2011 I love it when I'm right The reason it works differently locally and remotely is that the two systems are using a different priority order when searching for a default page to use. When you go to a directory (including the root directory) of a web site with no file specified, then the web server looks for files starting with "index" to use as a default (and in fact it doesn't have to be index, but it is standard/common). The order of preference might then be to look for index.html and if not found look for index.htm, and if not found look for index.php, and then if not found look for index.cgi etc. etc. The exact order is configured on the server, and in your case they must be different, so a different result on each machine.Have fun,Paul Link to comment Share on other sites More sharing options...
clauf Posted February 14, 2011 Author Share Posted February 14, 2011 I love it when I'm right The reason it works differently locally and remotely is that the two systems are using a different priority order when searching for a default page to use. When you go to a directory (including the root directory) of a web site with no file specified, then the web server looks for files starting with "index" to use as a default (and in fact it doesn't have to be index, but it is standard/common). The order of preference might then be to look for index.html and if not found look for index.htm, and if not found look for index.php, and then if not found look for index.cgi etc. etc. The exact order is configured on the server, and in your case they must be different, so a different result on each machine.Have fun,Paul Yes, you are really good! :-) Without your help, I don't know when I can figure out what has caused the strange problem by myself. Learnt something again. Thanks and Best regardsClau 1 Link to comment Share on other sites More sharing options...
joydeziners Posted August 10, 2015 Share Posted August 10, 2015 i renamed the index.html to home.html in main directory.. Its Also not working still its shows same type of error 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