Posts made by Martin Dougiamas

Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
The best way is to use the Unix command "pwd" from a shell.

If you can't use the shell, then one quick trick you can use is to point your browser directly at moodle/lib/setup.php ... it will give an error, but in the error it usually prints the full path, eg /aaa/bbbbb/ccccc/moodle/lib/setup.php

Just use everything before the /lib/setup.php for the dirroot variable, eg /aaa/bbbbb/ccccc/moodle

Assuming you put the moodledata directory next to your moodle directory, then the dataroot path would be: /aaa/bbbbb/ccccc/moodledata
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
If you drop all your database tables again and email me your URL, I'll take a look at it for you (in about 8 hours from this post).

The reason it says 'SERIOUS ERROR' is because being unable to read or write a table that you've just created means something is seriously wrong with the database or database connection.