Jump to content

Recommended Posts

Hi,

 

I am using prestashop 1.5.4.1 on a live server.

How can I duplicate it on the same server on one of subdirectories for testing purposes?

Also I would like to make another website from the existing one. (I want to keep both.)

What should I consider? Should I change the database name? (how should I do that?)

 

 

Thank you very much,

Mojtaba

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

I find how to export and import a databases, but how can I assign it to the new existing prestashop website?

Is there any configuration file?

I have some experience with joomla, and it has a .conf file which specifies what is the name of the database.

 

Any help is highly appreciated.

 

Thank you very much,

Mojtaba

Link to comment
Share on other sites

Thank you very much for your response.

If I want to duplicate a live website on the same server for testing purposes, the only thing should I do is to copy all the content in a subdirectory and duplicate the database and change the database name and also rename it in config/settings.inc.php?

Is there any other requirement for duplication which I should take into account?

Link to comment
Share on other sites

Hi,

 

I made a new database and import the first database in to it and then changed the name and user, passwords of the database in config/settings.inc.php file; Also I copied all the prestashop files in a subdirectory; But I can not login to the backend of the newly created site at www.domain.com/subdomain/admin

Could you please let me know what should I do?

 

Thank you very much

Mojtaba

Edited by mojtabam (see edit history)
Link to comment
Share on other sites

  On 7/4/2013 at 10:55 PM, mojtabam said:

Hi,

 

I made a new database and import the first database in to it and then changed the name and user, passwords of the database in config/settings.inc.php file; Also I copied all the prestashop files in a subdirectory; But I can not login to the backend of the newly created site at www.domain.com/subdomain/admin

Could you please let me know what should I do?

 

Thank you very much

Mojtaba

 

when you say you can't log in, what happens?

 

note: typically a subdomain, if that is what you created would be subdomainname.yoururl.com for example...

 

but make sure to detail what happens when something does not work. :)

Link to comment
Share on other sites

Hi,

 

Actually it does not show my new website when I type subdomain.mydomain.com or mydomain.com/subdomain.

And when I type mydomain.com/subdomain/admin, it asks me to login, and when I enter those username and password which I had before, it just say: "The Employee does not exist, or the password provided is incorrect."

 

Thanks

Link to comment
Share on other sites

My main website is www.artterest.com and the newly created website is www.kado2iran.com

The other problem is that, there is no image in the newly created website, and also I can login now to the backend. I just reset my password. :)

 

Thank you very much,

Mojtaba

Edited by mojtabam (see edit history)
Link to comment
Share on other sites

try this:

 

from back office-->preferences-->seo & urls

scroll down to 'set up urls'.

Set 'Friendly URL's' to no and save

Then set 'Friendly URL's' to yes and save

 

clear your browse cache and cookies

 

navigate to your front office and see if any better results (i.e. non 404 when clicking on a category).

 

as for images, make sure that your files made it to the new site. I am not strong is this area but regnerating thumbnails may be a good thing to try.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...