Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dev-версія сайту


Recommended Posts

Posted (edited)

Вітаю!

 

Виникла така цікава проблема. З робочого сайту, потрібно було зробити актуальний дев. 

Скопіював повністю сайт з бекапом існуючої бази на інший домен, на іншому сервері. Але коли вношу правки, або навіть просто переводжу дев в режим обслуговування, то робочий сайт(prod) також ці правки отримує, і переходить в тестовий режим. А нові замовлення я бачу на тестовому сайті. Як таке може бути )

 

В config.php, admin/config.php прописані нові URL 

Edited by kostyukdv
Link to comment
Share on other sites


В 05.06.2023 в 21:35, kostyukdv сказав:

В config.php, admin/config.php прописані нові URL 

а вот БД там старая

В 05.06.2023 в 21:46, spectre сказав:

99,9%

 

  • +1 1
Link to comment
Share on other sites

Створіть окрему БД, перенесіть туди дамп проду (замініть URL перед цим якщо потрібно), потім вкажіть її в dev кофігах

Link to comment
Share on other sites

Дякую, помилку виправлено. Дійсно url до бази саме в admin/config.php був невірний, а інший хостер за замовчуванням дозволяв зовнішні конекти, тому і це ввело в оману що воно так магічно працює

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
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.