by sachin sharma.
Questions ... the instance of the moodle that works:
Where is it's code directory?
/var/www/html
Where is it's moodledata directory?
/var/www
What's it's DB name? (check it's config.php file)
exam
In the instance you are trying to recover having only SQL dump and moodledata:
Where is it's code directory?
/var/www/html
Where is it's moodledata directory?
/var/www
What's it's DB name? (check it's config.php file)
euniv
Are you running virtual apaches?
yes
1 server that responds to multiple fully qualfied domain names? Example: moodlea.somenet.net and moodleb.somenet.net
Are you running these moodle instances in subdirectories of the same fully qualfied domain name?
yes
Example: Moodle A in in server.somenet.net/moodle and Moodle B (the one you are attempting to restore) is at server.somenet.net/restoredmoodle
Have you checked the config of virtuals?
yes
Is the site you are attempting to restore in the maintenance mode?
checked- not in maintenance mode
Have you checked web server error logs?
[19/Nov/2018:16:46:07 +0530] "GET /moodle/ HTTP/1.1" 200 408 "-""Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15"
Apologies for again stressing on the fact the the instance i am trying to recover, i have only moodledata folder and sqldump, i dont have moodle code so i am using the fresh code downloded from moodle site for same version