This file contains 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
#!/bin/sh | |
# 1. https://gist.github.com/zetrider/28f1d463c6bd9af1c0e6 | |
# 2. $1 = type !important | |
if [ -z $1 ]; then | |
echo 'Not found the first variable "Type"' | |
exit; | |
fi; | |
### Site1 ### |
This file contains 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
user - имя пользователя | |
server.timeweb.ru - сервер | |
1. На машине ssh-keygen -t rsa | |
2. Копируем, можно по FTP или одной из команд | |
2.1. ssh-copy-id -i ~/.ssh/id_rsa user@server.timeweb.ru | |
2.2. scp ~/.ssh/id_rsa.pub user@server.timeweb.ru:~ | |
3. На сервере | |
[ -d ~/.ssh ] || (mkdir ~/.ssh; chmod 711 ~/.ssh) # создание директории и изменение прав | |
cat ~/id_rsa.pub >> ~/.ssh/authorized_keys # добавление открытого ключа |
This file contains 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
syntax:glob | |
*.gz | |
*.tmp* | |
error_log | |
access_log | |
.hgignore | |
.DS_Store | |
public_html/[^/]*\.log$ |
This file contains 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
Так же подобная ошибка возникает в случае, когда реквизиты доступа к базе данных в файлах | |
bitrix/.settings.php | |
и | |
bitrix/php_interface/dbconn.php | |
Разные. | |
Другие решения проблемы: | |
CharsetReCODEMultipartForms off | |
http://dev.1c-bitrix.ru/support/faq/8370/#112840 |
This file contains 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
<? | |
/* Массив таблиц и стобцов с сериализованными данными которые удалось найти */ | |
$arDB = array( | |
'b_component_params' => 'PARAMETERS', | |
'b_event' => 'C_FIELDS', | |
'b_event_log' => 'DESCRIPTION', | |
'b_event_message' => 'ADDITIONAL_FIELD', | |
'b_group' => 'SECURITY_POLICY', | |
'b_iblock_element_property' => 'VALUE', | |
'b_iblock_fields' => 'DEFAULT_VALUE', |
NewerOlder