A
A
Alexander Kovalenko2020-10-17 13:22:55
1C-Bitrix
Alexander Kovalenko, 2020-10-17 13:22:55

How to fix an error on the site after editing the page?

Question. There is a website dublinhotel.ru powered by Bitrix. I needed to change my phone number on the site. Changed. After the change on my computer, the site stopped opening in any browser with an error

[ParseError]
syntax error, unexpected '\' (T_NS_SEPARATOR) (0)
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/templates/template7/lang/ru/hotel.php:12
#0: include
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/modules/main/classes/general/main.php:1360
#1: CAllMain->IncludeFile(string)
/var/www/u0930354/data/www /dublinhotel.ru/bitrix/php_interface/core/lang.php:81
#2: SiteLanguage::includeLangFile()
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/modules/main/classes/general/ module.php:475
#3: ExecuteModuleEventEx(array)
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/modules/main/include.php:572
#4: require_once(string)
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/modules/main/include/prolog_admin_before.php:28
#5: require_once(string)
/var/www/u0930354/data/www/dublinhotel.ru/ bitrix/modules/main/interface/desktop.php:2
#6: require(string)
/var/www/u0930354/data/www/dublinhotel.ru/bitrix/admin/index.php:2

The site works on other computers, the site opens on the phone. It's been that way for over a day. The phone number hasn't changed, by the way. The question is, what kind of magic is used here?
Moreover, there is nothing at all in the hotel.php file on the 12th line.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Gololobov, 2020-10-17
@dGololobov

Remove one plus in the message HOTEL_INFO ->
<a href="tel:++79531063288">...</a>
<a href="tel:+79531063288">...</a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question