Created
January 21, 2025 05:35
-
-
Save MrWhiteD/21b8f4e3b148662ec9fa81e55eb5ba5d to your computer and use it in GitHub Desktop.
[Различные ошибки] #error #ошибки #ERRДоступзапрещен
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 система обновлений выдает ERRДоступ запрещен. Не работает site_checker, upload файлов etc | |
// Вместо "main.ru - свой домен | |
COption::SetOptionString("main","server_name","main.ru"); | |
COption::SetOptionString("main","site_name","main.ru"); | |
// Убераем из Нстройки - Сайты - Список сайтов (в активный сайт ) | |
$obSite = new CSite(); | |
$t = $obSite->Update("s1", array( | |
'ACTIVE' => "Y", | |
"SERVER_NAME" => "", | |
"DOMAINS" => "" | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment