leowls Posted April 8, 2013 Share Posted April 8, 2013 (edited) hi guys, I have been developing my prestashop(1.5.3) website on my local computer. The "admin" folder in my local computer is "123". Today I decided to get a web hosting account and managed to install prestashop (1.5.3) on the web host. After installing prestashop on my web host, I deleted the install folder and rename the "admin" folder to "abc". I could access the back office. I then renamed the local computer admin folder which is "123" to "abc" to match the one on the web host. Then I transferred all files from my local computer to the web host. After the upload I was not able to login to the back office and got an error 500. Does it has something to do with the admin folder? How do I transfer my files from local computer to my web host after a fresh installation of prestashop on the web? Edited April 8, 2013 by leowls (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 9, 2013 Share Posted April 9, 2013 This issue appears because you use two different installations. In simple words this mean that configuration files isn't the same (salt keys etc.). The best thing in this case is: 1) remove all files from your remote server. 2) remove database from your remote server 3) export database from localhost and import it to remote server. 4) go to the ps_shop_url and change paramteres 5) upload all files from your localhost to remote server this should help Link to comment Share on other sites More sharing options...
leowls Posted April 9, 2013 Author Share Posted April 9, 2013 This issue appears because you use two different installations. In simple words this mean that configuration files isn't the same (salt keys etc.). The best thing in this case is: 1) remove all files from your remote server. 2) remove database from your remote server 3) export database from localhost and import it to remote server. 4) go to the ps_shop_url and change paramteres 5) upload all files from your localhost to remote server this should help Thanks vekia for the reply, I'm stuck at step 4, could you elaborate on it? What parameters should I change? Thank you. Link to comment Share on other sites More sharing options...
leowls Posted April 10, 2013 Author Share Posted April 10, 2013 (edited) hi, i somehow got it working... i edited the following files 1. mydatabase.sql replacing all localhost with mydomain.com. 2. setting.ini.php, changing the value for define '_DB_SERVER_', '_DB_NAME_','_DB_USER_','_DB_PASSWD_' 3. edit the value of shop_url. I could not find the table ps_shop_url in my database. if there's anything I missed out, please kindly point it out to me. Thanks! Edited April 10, 2013 by leowls (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2013 Share Posted April 10, 2013 hey, sorry about long waiting time for my response. you need to edit domain values in shop_url (ps_ is prefix, so you probably dont use prefix) everything works fine? Link to comment Share on other sites More sharing options...
leowls Posted April 10, 2013 Author Share Posted April 10, 2013 hi vekia, yes thanks, i can see my Front and backend. i created a thread earlier regarding the access to my site while it is in maintenance mode. i have input my ip address but still see the maintenance page. can you help? 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