Error/admin/installhijacked: различия между версиями

Материал из База знаний Центра ПУСК МФТИ
1>Michael-milette
Нет описания правки
 
м 1 версия импортирована
 
(нет различий)

Текущая версия от 06:53, 18 октября 2024

This error compares $adminuser->lastip with the users current IP address.

It will occur if a site has been installed on a server via the cli scripts in admin/cli (install_database.php or install.php). After installing the site remotely, visiting the site via a web browser (a different IP) will trigger the error message.

Workaround:

Update the database directly with your current IP address (table: mdl_user, field: lastip, SQL: UPDATE mdl_user set lastip='159.245.48.2' where username='admin';).

See also

es:error/admin/installhijacked