Sometimes it happens that after transfer the site to another hosting or after a global change of the coding of the website on the Bitrix stops working CAPCHA and not rendered graphics. And before that everything worked fine. What to do?

You need to check these files:

/bitrix/php_interface/dbconn.php
/bitrix/php_interface/after_connect.php
/bitrix/php_interface/after_connect_d7.php
/bitrix/php_interface/init.php (if any)
/bitrix/.settings.php

 The problem is solved as follows. In each of these files for all directives need to close tag "?>". A tag should close the last row, and after the tag should not be any characters.

That's so wrong

define("BX_UTF", true);
define("BX_FILE_PERMISSIONS", 0644);
define("BX_DIR_PERMISSIONS", 0755);
@umask(~BX_DIR_PERMISSIONS);
define("BX_DISABLE_INDEX_PAGE", true); ?>(there may be something else invisible)

 But so right

define("BX_UTF", true);
define("BX_FILE_PERMISSIONS", 0644);
define("BX_DIR_PERMISSIONS", 0755);
@umask(~BX_DIR_PERMISSIONS);
define("BX_DISABLE_INDEX_PAGE", true);?>(nothing here) 

Check out all of the files, and you will earn.

Back to the list

Related Information: