U
U
user32019-09-26 16:40:09
MySQL
user3, 2019-09-26 16:40:09

How to use 1 database for 2 sites (Bitrix)?

There is a site with a 600 mb+ database, quite mature, it was decided to make a mobile version for this case. The former progger for the test domain screwed up a new database, making an export from the main one. As a result, we have 2bd, 2 sites. But.
The unloading from 1s and the exchange of orders from the same 1s are tied to the main database.
Further.
When I register the data for connecting to the database in settings.php and dbconn.php, the pictures on my "small" site fall off a little less than completely.
Help, plz

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yaroslav Alexandrov, 2019-09-27
@alexyarik

As a result, we have 2bd, 2 sites

- this is a violation of the Bitrix license, if you try to update, you will be banned from receiving updates.
This is called multisite, there is a whole online course
https://dev.1c-bitrix.ru/learning/course/index.php...

U
user3, 2019-09-30
@user3

I solved the problem with accessing the database, everything is in order, within the framework of the condition for granting a license. There was another moment - the mobile template does not want to get up in any way (yes, not adaptive, mobile template). I will attach links to the Yandex disk with screenshots (does not want to throw it here). Moreover, everything is fine on the test site, but as soon as I try to forward the template to the combat one, the template immediately crashes.
Z.Y. I have never been particularly involved in layout, so I am ready to listen to all the angry epithets in my direction. thanks for the help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question