error/admin/installhijacked: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
m (Added link to spanish translation of page and Category:Error)
Ingen redigeringssammanfattning
 
Rad 8: Rad 8:
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';).
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==
* [https://moodle.org/mod/forum/discuss.php?d=408774 AWS EC2: Installation must be finished from the original IP address, sorry.]


[[Category:Error]]
[[Category:Error]]


[[es:error/admin/installhijacked]]
[[es:error/admin/installhijacked]]

Nuvarande version från 18 augusti 2020 kl. 20.03

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