Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: error/admin/installhijacked.

error/admin/installhijacked

From MoodleDocs
Revision as of 01:47, 3 September 2013 by Chris Wharton (talk | contribs) (Created page with "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_dat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.