N
N
Nathan Stark2016-08-21 12:33:25
1C-Bitrix
Nathan Stark, 2016-08-21 12:33:25

Why is the bitrix folder not displayed in phpstorm when multisite?

Good to everyone!
There are 2 sites on Bitrix implemented through multisite.
the first - domen.ru
the second - trade.domen.ru
The first one has the core, the second has links to the core.
Everything was done through the standard Bitrix web environment (the server was deployed using it). And sozadvalsya main site and the second the same.
And now the crux of the problem, in phpstorm there is no access to the bitrix, images folders if I work with the second site. It looks like this in the remote host tab: take.ms/GjuRf
Sometimes these folders become available, but what the hell am I doing, I still couldn’t understand how it turns out in the process of working by itself.
Settings:
take.ms/BhZEC
take.ms/7IbAs

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Novikov, 2016-08-24
@MattLe

You specified a specific path as the root path . PhpStrom is great at resolving symlinks, but because of the root path , it can't do it. Solution: specify instead of a specific path - / or make relative symlinks and specify a common path for both sites.

S
Stanislav Harakhnin, 2016-08-23
@Chupokabr

In your case, there is no Bitrix folder on the second domain. Instead, there is a symlink to the folder of the first site. If you work locally, then the symlink will look wrong if you don't fix it yourself.
As you can see in the remote tab you have a symlink but it is crossed out because no such directory was found locally

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question