Jump to content

[Solved] Going from test to live


Recommended Posts

Hi,

i have been developing my shop as /prestashop/test and now want to take it live on .com/ (as discussed in the installation section on the PS website).

Can i use my existing database or must i create a new one?

If i use the existing database will it create a conflict between live and test version? If i change the prefix for my database when installing the live site from ps_ to something else, say, pslive_ will i have a conflict?

If i create a new database will i lose all of my product info?

i want to avoid creating another database since I will be charged 50 dollars. How do i secure/back up everything in order to move to the new location?

Link to comment
Share on other sites

if your staying on the same server you wont need to create a new database, all you need to do is move the installation from your prestashop folder to whereever you want it to be, then alter the settings.ic.php file located in your config folder.

define('__PS_BASE_URI__', '/');

Link to comment
Share on other sites

Thank you very much. Though i don't understand the last sentence - not sure what i should alter in that file.

Yes, its the same server.

Do i need to do a fresh install in the new position then overwrite the files of the new install with my existing files or do i just drag and drop all of the existing files and folders to the new position without doing a new install, then alter the settings.ic.php file (which i don't yet understand)?

Thanks again for your help.

David

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys, first of all excuse me for my very bad english!

I've the same need and I had already done what you has described but something doesn't work fine! :-(

My site works properly but after I copy under a different location (and update correctly my settings.inc.php) when i try to navigate the new URL a blank page appears.

I have tried to investigate and someone told me that could be a problem of .htaccess but the HOSTING Service I'm using to host my site doesn't support .htaccess file so in my original site (that work fine) I don't have any .htaccess files.
Anyway I have tried to create a .htaccess into any folders with the content suggested by PSteam but nothing happens.

Please, someone could help me?!?!

I would test the new 1.2 beta but if I can't create a copy of my site I can't do it directly in production environment!!

Have a nice day!
mM

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...