Jump to content
Bobytza

Instalare noua conectata la o BD veche

Recommended Posts

Buna ziua ,

as dori sa stiu daca pot face o instalare noua de prestashop, intr-un alt folder, pe acelas server, dar sa o conectez la BD existenta (fara sa pierd datele din BD)

Cred ca trebuie sa modific un fisier dar care este acela?

Share this post


Link to post
Share on other sites

/app/config/parameters.php

Pui datele vechi, db name, user pass.

Share this post


Link to post
Share on other sites

Am instalat site-ul pe public_html/online

am reinstalat aceeasi versiune de PS direct pe public_html si am modificat fisierul sa se conecteze la baza de date folosita de cealalta instalare. Se redirectioneaza automat catre instalarea din /online... si nu ma mai pot conecta in Back Office

 

 

Share this post


Link to post
Share on other sites

Trebuie sa modific in tabelul din baza de date si path-ul respectiv. ca sa  te directioneze in locatia dorita.

Share this post


Link to post
Share on other sites

Nu prea este o idee buna, cu siguranta sunt multe diferente intre cele doua DB, ex module instalate cu tabele diferite, customizari tema etc.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More