UPD: кривой совет
08.10.2020 15:10:51
UPD: кривой совет
|
|
|
|
08.10.2020 15:25:00
Не надо сверлить зубы через задний проход дрелью от Сваровски
|
|||
|
|
08.10.2020 15:41:32
Array( "Мой кабинет", "personal/", Array(), Array(), "CUser::IsAuthorized()" ), на Array( "Мой кабинет", "personal/", Array(), Array(), "$USER->IsAuthorized()" ), то появляется другая ошибка: [ParseError] syntax error, unexpected ')' (0) /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/classes/general/menu.php(273) : eval()'d code:1 #0: CMenu->RecalcMenu(boolean, boolean) /home/o/o2mars6a/arostore.ru/public_html/bitrix/components/bitrix/menu/component.php:55 #1: include(string) /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/classes/general/component #2: CBitrixComponent->__includeComponent() /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/classes/general/component #3: CBitrixComponent->executeComponent() /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/classes/general/component #4: CBitrixComponent->includeComponent(string, array, NULL, boolean) /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/classes/general/main.php:1063 #5: CAllMain->IncludeComponent(string, string, array) /home/o/o2mars6a/arostore.ru/public_html/bitrix/templates/eshop_bootstrap_green/header #6: include_once(string) /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/include/prolog_after.php:106 #7: require(string) /home/o/o2mars6a/arostore.ru/public_html/bitrix/modules/main/include/prolog.php:11 #8: require_once(string) /home/o/o2mars6a/arostore.ru/public_html/bitrix/header.php:1 #9: require(string) /home/o/o2mars6a/arostore.ru/public_html/index.php:2 А вариант с изменением файла user.php ошибку исправляет. Однако это изменение системных файлов, чего делать не хочется. Евгений Жуков, может есть еще способ или я что-то не правильно сделала? |
|||||
|
|
08.10.2020 16:20:40
Не надо сверлить зубы через задний проход дрелью от Сваровски
|
|||||||
|
|
08.10.2020 16:23:20
Спасибо, Евгений!
|
|
|
|
08.10.2020 16:35:51
CUser::IsAuthorized() нигде не используется, а помогло только решение, которое привёл
|
|
|
|
08.10.2020 16:48:57
Это кастомизация ядра.
Не надо сверлить зубы через задний проход дрелью от Сваровски
|
|
|
|
14.10.2020 21:55:27
Ещё одна ошибка при авторизации:
Вход на сайт [Error] Using $this when not in object context (0) /bitrix/modules/main/classes/general/user.php:111 #0: CAllUser::GetFullName() /home/srv156775/site.ru/login/index.php:5 109 public function GetFullName() 110 { 111 return $this->GetParam("NAME"); 112 } |
|
|
|
14.10.2020 22:25:27
Вопрос решился заменой
CUser::GetFullName(); на $USER->GetFullName(); в /site.ru/login/index.php:5 |
||||
|
|
|||