Recent Activity Error!

Recent Activity Error!

by Travis Newton -
Number of replies: 2

Hello! I get this error when I view one of my courses:

Warning: print_recent_activity(/home/coco563/public_html/ecourses/mod/lesson/lib.php): failed to open stream: No such file or directory in /home/coco563/public_html/ecourses/course/lib.php on line 608

I upgraded my Moodle from my CP so I don't know if I should just copy everything and delete that Moodle and just start over to see if the error cleared. If you can help me, thanks!smile

Average of ratings: -
In reply to Travis Newton

Re: Recent Activity Error!

by Martyn Overy -
Not sure how you 'upgraded' the account from CPanel.

Did you backup the database and moodledata files first?

Overwriting files is not a good idea.

Backup mysql database first and the moodledata directory/files

Normally if my moodle is located in a directory such as mymoodle, then I

(1) Make another directory like mymoodle2
(2) Upload all the new Moodle files there.
(3) Transfer the config.php file from mymoodle to mymoodle2.
(4) Rename mymoodle to something else ,
(5) Rename mymoodle2 to mymoodle.

Then run mymoodle/admin/
In reply to Martyn Overy

Re: Recent Activity Error!

by Travis Newton -
Well, I just said heck with it, uninstalled it and well just re-installed it. Everything semed to work fine. I just have to replace most of the courses (only had about 2) which won't be a big deal because I didn't have anything in them. But thanks anyways! smile