I need to create a new test moodle site from the existing production site.
I created a new directory www.exampleurl.com/training-sample
and copied the contents of www.exampleurl.com/moodle-production
into www.exampleurl.com/training-sample/
I then created a new mysql database, backed up the production database, and then restored it to the new mysql database.
I then followed the moodle instructions for migrating moodle and changed the config.php file to point at the new directory.
When I try to access moodle I get the following error:
Warning: main(/course/lib.php): failed to open stream: No such file or directory in /home/content/e/m/p/empo363/html/training-sample/index.php on line 34
Fatal error: main(): Failed opening required '/course/lib.php' (include_path='.:/usr/local/lib/php') in /home/content/e/m/p/empo363/html/training-sample/index.php on line 34
Any ideas?
Thanks