So a user with userid=2 is in the backup you restored but not now. So somebody was in action in between. Moodle is not known to expel its 'admin'.

Visvanath Ratnaweera
Posts made by Visvanath Ratnaweera
I would follow up that " no idea why". These causes are often recurring.
;-D
;-D
> mysite/test.php loads but does not display the info, just the code in that file.
I thought you knew LAMP. Before continue get that problem solved! Usually it is a matter of loading a PHP module on to the web server.
> index.php loads,
test.php shows code, index.php loads? That doesn't sound feasible.
> but that is not what we want.
Wrong! You want the php files to run! The "test.php shows code" is not good.
> I will get working on cleaning up the permissions to /moodle since I opened that wide up.
Cleaning permissions won't help, unless you have some really dirty permissions. On a serious Moodle installation the web server needs read permission in the whole Moodle code directory but no write permissions anywhere inside that.
I thought you knew LAMP. Before continue get that problem solved! Usually it is a matter of loading a PHP module on to the web server.
> index.php loads,
test.php shows code, index.php loads? That doesn't sound feasible.
> but that is not what we want.
Wrong! You want the php files to run! The "test.php shows code" is not good.
> I will get working on cleaning up the permissions to /moodle since I opened that wide up.
Cleaning permissions won't help, unless you have some really dirty permissions. On a serious Moodle installation the web server needs read permission in the whole Moodle code directory but no write permissions anywhere inside that.
If sample.html doesn't respond you still not at PHP. If phpinfo.php doesn't respond, you haven't reached Moodle yet.
The shortened form was supposed to mean moodledata/muc, moodledata/cache, moodledata/localcache.
So the redirect happens at the web server, transparent to Moodle. It *always* gets HTTPS?
So the redirect happens at the web server, transparent to Moodle. It *always* gets HTTPS?