G
G
grinch_asd2018-05-23 13:24:21
1C-Bitrix
grinch_asd, 2018-05-23 13:24:21

Bitrix. How to reset user with id=1?

Hello.
Such situation. You need to restore the site on Bitrix. There is a database, there is access to ftp. But the problem is that the Bitrix license has expired and standard methods like

<?
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
global $USER;
$USER->Authorize(1);
LocalRedirect("/bitrix/admin/");
no longer help - except for the page with the message "The trial version of the product has expired. You can buy a fully functional version of the product on the site" does not go anywhere. There is a working key. They said that you need to reset the user with ID=1. What to do, tell me

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-05-23
@idruweb

Try to paste the key into the /bitrix/license_key.php file and delete cache folders

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question