delboy01 Posted February 19, 2015 Share Posted February 19, 2015 (edited) so I'm trying to move my local prestashop to a live host do i need to upload prestashop then install it them move my shop or ?? been at this all day now and i get get it to work first time trying this all out so its all new to me cheers Edited February 19, 2015 by delboy01 (see edit history) Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 i give up wasted so much time doing this Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2015 Share Posted February 19, 2015 1. I would do a fresh installation on remote host just so PS can check that the server is configured properly (you can skip this if you already but it's a good idea) 2. Your post doesn't really have much info, so you didn't get any replies, i.e. what did you do already etc. so on and so forth. so. Create new db on your remote, note the db username/pwd export your localhost db and import into remote ftp your localhost files to remote delete the .htaccess on remote (or rename) edit config/settings.inc.php on remote here you will put your new db info (db server/name/user/pwd) now you should be able to navigate to your back office. then backoffice-->preferences-->seo & urls...scroll down and replace the domain/ssl domain names with your domain name. and don't give up...you can't just post it didn't work and get results...so drop and give us 50 good luck 1 Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 (edited) sorry i didn't give much detail its been a long day trying to get this working i can install PS no problem using the downloaded prestashop with the install file there (demo store) it goes fine its when i try and move my prestashop that i made on my local host to the live host i end up with a blank screen I'm using hostinger as a trial until i can sorted it then i will buy a plan with someone else Edited February 19, 2015 by delboy01 (see edit history) Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 here where I'm at fresh install of PS how can i get it to my custom website I've made on my local host many thanks Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2015 Share Posted February 19, 2015 yes, doing this first time can be a learning curve....but it's not impossible, soon you will have it working then you can help others... for blank page: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ follow the advice I gave above on how to move. breath in, breath out... Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 Thank for your help El patron The blank page was all the site so I couldn't get to back end I've started a fresh install of presto shop And it's all working with the default shop What I would like to do now is If there's a way upload my custom front end shop /theme / products To the default theme that's working Many thanks Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2015 Share Posted February 19, 2015 Thank for your help El patron The blank page was all the site so I couldn't get to back end I've started a fresh install of presto shop And it's all working with the default shop What I would like to do now is If there's a way upload my custom front end shop /theme / products To the default theme that's working Many thanks no, you can not upload your localhost into an installed shop... if your shop is working properly on your localhost, it's not a big deal to move to remote follow the steps I've outlined. And I also gave you instruction on how to get the php error on blank page. Once you get the reason for blank page it's generally pretty easy to search/resolve. focus man, focus 1 Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 this is what I'm getting now after editing the settings.inc.php Link to database cannot be established: SQLSTATE[28000] [1045] Access denied for user 'xxxxxxxx_xxx'@'10.2.1.27' (using password: YES) Link to comment Share on other sites More sharing options...
delboy01 Posted February 19, 2015 Author Share Posted February 19, 2015 (edited) and this after turning false to true Parse error: syntax error, unexpected '_MYSQL_ENGINE_' (T_STRING) in /home/u468504037/public_html/prestashop/config/settings.inc.php on line 7 Edited February 19, 2015 by delboy01 (see edit history) Link to comment Share on other sites More sharing options...
delboy01 Posted February 20, 2015 Author Share Posted February 20, 2015 no, you can not upload your localhost into an installed shop... if your shop is working properly on your localhost, it's not a big deal to move to remote follow the steps I've outlined. And I also gave you instruction on how to get the php error on blank page. Once you get the reason for blank page it's generally pretty easy to search/resolve. focus man, focus Do you have an idea what's going wrong please buddy I so wish to have a PS running So much better than the one I have at the moment Regards Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2015 Share Posted February 20, 2015 I think you may have made a typo when updating settings.inc.php with you remote db info. Around line 7 as the error above tells us. <?php define('_DB_SERVER_', '127.0.0.1'); define('_DB_NAME_', '16011'); define('_DB_USER_', 'root'); define('_DB_PASSWD_', 'some_password'); define('_DB_PREFIX_', 'ps_'); define('_MYSQL_ENGINE_', 'InnoDB'); Link to comment Share on other sites More sharing options...
delboy01 Posted February 20, 2015 Author Share Posted February 20, 2015 I think you may have made a typo when updating settings.inc.php with you remote db info. Around line 7 as the error above tells us. <?php define('_DB_SERVER_', '127.0.0.1'); define('_DB_NAME_', '16011'); define('_DB_USER_', 'root'); define('_DB_PASSWD_', 'some_password'); define('_DB_PREFIX_', 'ps_'); define('_MYSQL_ENGINE_', 'InnoDB'); this is what i copied from my settings <?php define('_DB_SERVER_', 'mysql.hostinger.co.uk'); define('_DB_NAME_', ‘xxxxxxxx_xxxxx’); define('_DB_USER_', 'xxxxxxxxx_xxxx'); define('_DB_PASSWD_', ‘xxxxxxx’); define('_DB_PREFIX_', 'ps_’); define('_MYSQL_ENGINE_', 'InnoDB'); define('_PS_CACHING_SYSTEM_', 'CacheMemcache'); define('_PS_CACHE_ENABLED_', '0'); define('_COOKIE_KEY_', 'F8OdczSUhiUQY1b8Bv12vad6yZFqNjKBUF4NjJbmoJZEwKVVWTBt6yC6'); define('_COOKIE_IV_', '7EJNpFFn'); define('_PS_CREATION_DATE_', '2015-02-17'); if (!defined('_PS_VERSION_')) define('_PS_VERSION_', '1.6.0.11'); define('_RIJNDAEL_KEY_', 'md6DROI7MpRNL3KC6pyEQt1tfABodSN9'); define('_RIJNDAEL_IV_', '8xSBbPxm3Ik6G35UZzNA+w=='); Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2015 Share Posted February 20, 2015 you are using a back tick ` replace those with regular ' http://screencast.com/t/ZuOwALK1n in the future you may want to obtain an editor that has code highlighter so you can see coding errors in real-time Link to comment Share on other sites More sharing options...
delboy01 Posted February 20, 2015 Author Share Posted February 20, 2015 i just copped the one from my local to live and this is what it coming up with now Warning: Unexpected character in input: '' (ASCII=2) state=0 in /home/u466678037/public_html/prestashop/config/settings.inc.php on line 178 Warning: Unexpected character in input: '' (ASCII=23) state=0 in /home/u466678037/public_html/prestashop/config/settings.inc.php on line 178Parse error: in /home/u466504037/public_html/prestashop/config/settings.inc.php on line 178 Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2015 Share Posted February 20, 2015 where you at on this? dude..settings.inc.php does not have a line 178...make sure to review the error , i.e. look at the code....you made a mess of it using the back ticks...try to find a decent editor that shows you when you muck it up. save you loads of time... Link to comment Share on other sites More sharing options...
delboy01 Posted February 20, 2015 Author Share Posted February 20, 2015 where you at on this? dude..settings.inc.php does not have a line 178...make sure to review the error , i.e. look at the code....you made a mess of it using the back ticks...try to find a decent editor that shows you when you muck it up. save you loads of time... Hi El Patron you done it its up and running thank you so much but now it some times points to the live then sometimes goes back to the local host i followed Nemo's youtube video and done everything he done but somethings still not right hmmm also when i go straight to my url it just comes up with a blank page with a link to prestashop after pressing it goes to my site regards del Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2015 Share Posted February 20, 2015 little by little...some progress, and good leanings. typically if link goes to localhost, you can simply clear your browser cache... and if you get blank page, turn on error reporting 1 Link to comment Share on other sites More sharing options...
delboy01 Posted February 20, 2015 Author Share Posted February 20, 2015 little by little...some progress, and good leanings. typically if link goes to localhost, you can simply clear your browser cache... and if you get blank page, turn on error reporting sorted the home and contact us buttons just need to and the links from local to host in top horizontal menu am i able to get the url working as i say it goes to blank page with prestashop link once i click the link it goes to my site prestashops is in /public_html/prestashop Link to comment Share on other sites More sharing options...
delboy01 Posted February 21, 2015 Author Share Posted February 21, 2015 little by little...some progress, and good leanings. typically if link goes to localhost, you can simply clear your browser cache... and if you get blank page, turn on error reporting Hi El Patron Sorry to be a pain I just have one final hurdle to over come and I'm good to go I think how to fix this please i put my domain in the search and it takes me to a white page with a link to prestashop link then takes me to my website after clicking the link here's what i mean http://totally-tartylicious.co.uk Link to comment Share on other sites More sharing options...
delboy01 Posted February 21, 2015 Author Share Posted February 21, 2015 i did ring my host up and they said move the files out of prestashop into the public_html file instead of the public_domain/prestashop file it worked but all my links on the site are broken and pictures won't load Link to comment Share on other sites More sharing options...
El Patron Posted February 21, 2015 Share Posted February 21, 2015 Hi, I am unable to reproduce the issue. I click on your link..I can navigate without issue. Great products... Link to comment Share on other sites More sharing options...
delboy01 Posted February 21, 2015 Author Share Posted February 21, 2015 Hi, I am unable to reproduce the issue. I click on your link..I can navigate without issue. Great products... thanks El Patron my live host provider sorted out the links and stuff its a shame i don't know what he did should i download the prestashop on the live host so if anything goes wrong i have a back up ? Link to comment Share on other sites More sharing options...
El Patron Posted February 21, 2015 Share Posted February 21, 2015 back up back up back up...it's the number one rule. check your hosting control pane, you hosting may have a nice back up process but having on localhost (especially db) give one a warm and fuzzy. 1 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