Bitrix
bitrix in cp1251
php_value default_charset "cp1251" php_value mbstring.internal_encoding cp1251 php_value mbstring.func_overload 2
bitrix размер стека и pcre.recursion_limit
Для этого добавил в файл .htaccess в корневой директории вашего аккаунта следующие директивы: php_value pcre.jit 0 php_value pcre.recursion_limit 100000 - удалил
bitrix mysqli
define("BX_USE_MYSQLI", true); # DBCONN.PHP ... 'className' => '\\Bitrix\\Main\\DB\\MysqliConnection', # .SETTINGS.PHP
bitrix innodb_strict_mode
по пути /bitrix/php_interface/ правим:
- after_connect_d7.php:
$connection->queryExecute("SET innodb_strict_mode=0");
- after_connect.php:
$DB->Query("SET innodb_strict_mode=0");
bitrix запустить индекс в консоли
Добавить в начало файла
$_SERVER["DOCUMENT_ROOT"] = __DIR__;
bitrix pcre limit
php_value pcre.jit 0
bitrix mbstring orig pos
https://admin4web.ru/article/oshibka-mb-orig-strpos/
php_value mbstring.func_overload 2
[Error] Call to undefined function mb_orig_strpos() (0) /public_html/bitrix/modules/security/classes/general/post_filter.php:320 #0: CSecurityXSSDetect::fastStrpos(string, string) /public_html/bitrix/modules/security/classes/general/post_filter.php:190 #1: CSecurityXSSDetect->findInArray(string, array) /public_html/bitrix/modules/security/classes/general/post_filter.php:221 #2: CSecurityXSSDetect->isDangerBody(string) /public_html/bitrix/modules/security/classes/general/post_filter.php:237 #3: CSecurityXSSDetect->getFilteredScriptBody(string) /public_html/bitrix/modules/security/classes/general/post_filter.php:262 #4: CSecurityXSSDetect->getFilteredScript(array) #5: preg_replace_callback(string, array, string) /public_html/bitrix/modules/security/classes/general/post_filter.php:274 #6: CSecurityXSSDetect->filter(string) /public_html/bitrix/modules/security/classes/general/post_filter.php:72 #7: CSecurityXSSDetect->process(string) /public_html/bitrix/modules/security/classes/general/post_filter.php:55 #8: CSecurityXSSDetect::OnEndBufferContent(string) /public_html/bitrix/modules/main/classes/general/module.php:490 #9: ExecuteModuleEventEx(array, array) /public_html/bitrix/modules/main/classes/general/main.php:3192 #10: CAllMain->EndBufferContent(string) /public_html/bitrix/modules/main/classes/general/main.php:3140 #11: CAllMain->EndBufferContentMan() /public_html/bitrix/modules/main/include/epilog_after.php:36 #12: require(string) /public_html/index.php:1
No Comments