I moved the moodle site from one server to another, but the courses disappeared.
I moved moodle with copying moodledata folder from one server to another and with mysql backup and then restored moodledata and mysql tables in the other server. Everyting works fine, but I do not see any courses we had in the original server. Even the URL somemoodlesite.com/course shows course numbers: 6, 9, and so on. When you click the category name there, then no course is visible.
Any ideas?
-ReinL:
In reply to Rein Laaneser
Re: Moved Moodle from server to another, courses disappeared
by Zbigniew Fiedorowicz -
What do you mean by:
Here a few tips that might help:
the course URL shows course numbers, 6, 9 and so on ??
Here a few tips that might help:
- Check that your config.php is correct for the new server
- Turn debugging on in your Administration->Configuration->Variables page and see whether you get any error messages
- For more debugging, edit the function execute_sql in datalib.php adding the statement $db->debug=true;
- Check your Apache error logs
- Check your mySql error logs
- Check your new Moodle database with phpMyAdmin
In reply to Zbigniew Fiedorowicz
Re: Moved Moodle from server to another, courses disappeared
by Rein Laaneser -
> the course URL shows course numbers, 6, 9 and so on ??
Sorry :
I mean in page with URL somemoodlesite.com/course I will see my former course categories names and numbers showing how many courses I have in different categories - 6, 9 and so on.
:-o
-ReinL:
Sorry :
I mean in page with URL somemoodlesite.com/course I will see my former course categories names and numbers showing how many courses I have in different categories - 6, 9 and so on.
:-o
-ReinL:
In reply to Rein Laaneser
Re: Moved Moodle from server to another, courses disappeared
by Zbigniew Fiedorowicz -
If you search for courses, do you find them?
See the following discussion: http://moodle.org/mod/forum/discuss.php?d=8150
See the following discussion: http://moodle.org/mod/forum/discuss.php?d=8150
In reply to Zbigniew Fiedorowicz
Re: Moved Moodle from server to another, courses disappeared
by Rein Laaneser -
Solved
Yes I did see courses with search. Somehow i did not find the debugging on in Administration->Configuration->Variables in moodle 1.4.3+
But problem solved with help of
http://moodle.org/mod/forum/discuss.php?d=8150
"chmod 777 /var/tmp" changed te situation.
Thank you for help
-ReinL:
Yes I did see courses with search. Somehow i did not find the debugging on in Administration->Configuration->Variables in moodle 1.4.3+
But problem solved with help of
http://moodle.org/mod/forum/discuss.php?d=8150
"chmod 777 /var/tmp" changed te situation.
Thank you for help
-ReinL: