Skip to main content

css and js were broken after iomad was installed

I got this error in nginx while installing the moodle iomad

all was working perfectly until i got the page to setup the user, pass, email, 

css and js were broken

i checked with the theme setting in the config.php

nothing worked :(

i deleted the nginx cofig (vhosts) file and below error i got

t think i didnt change the ip or port of it

--------------------------------------------------------------------------------------------

 Skip to main content

Installation must be finished from the original IP address, sorry.

More information about this error


---------------------solution----------------------- try once --------------------

error/admin/installhijacked

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='<ip address here>' where username='admin';).

Comments

Popular Posts