Jump to content

do i need to install prestashop on live host from local even though I've made my own shop


Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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 by delboy01 (see edit history)
Link to comment
Share on other sites

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

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

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 :)

  • Like 1
Link to comment
Share on other sites

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

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

 

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

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 178

Parse error: in /home/u466504037/public_html/prestashop/config/settings.inc.php on line 178

Link to comment
Share on other sites

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...