M
M
Maxim Grechushnikov2015-06-15 19:19:22
1C-Bitrix
Maxim Grechushnikov, 2015-06-15 19:19:22

Bitrix: I can not log in. What's my mistake?

Transferred the site using regular Bitrix tools through the archives and the restore.php file. Transferred the millennium
to the hosting of the timeweb.
the site works quickly, bitrix_server_test is green, but does not let you into the admin panel.
times from 6-10 authorizes. but clicking on any link throws it back to authorization. cleared cache, cleared cookies.
Cookies seem to be set correctly. I tried with FF, YandexChrome, android, iphone, winfon. everywhere the same behavior. a person from Yekaterinburg logged in, everything is ok. no problem. but in Kaliningrad, I don’t want to go to any))) I already have no ideas where to dig))) I
tried a Wi-Fi network, a 4G network.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Express777, 2015-06-16
@Express777

Check the init.php and dbcon.php files in the /bitrix/phpinterface folder.
Remove the closing tag ?> from these scripts.
That is, there should be no closing PHP tag ?> at the end of the file!
Check the init.php file to see if any HTML tags are output.
Example:

function showPopup(){?>
<div class="popup"></div>
<?}?>

Try to temporarily move all such scripts to header.php or comment them out in init.
Check if the authorization worked.

A
Aleks_1969, 2017-03-19
@Aleks_1969

It is necessary to look at the paths for sessions. By default, something like this
php_admin_value session.save_path /tmp/php_sessions/ext_www/automanarch
php_admin_value upload_tmp_dir /tmp/php_upload/ext_www/automanarch
If these folders do not exist or there is no access to them, then such a problem will be observed.

R
rommul, 2015-06-15
@rommul

dev.1c-bitrix.ru/community/blogs/howto/955.php Is
n't there an answer to your question?

A
Anton Tarara, 2017-02-26
@atarara

Problem not solved? I have a similar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question