User Upload Error

User Upload Error

by Bob Morris -
Number of replies: 1

Need a little help...

Yesterday I was able to upload new users into Moodle using a csv file.  This morning I get the following error:

Warning: require_once(lib.php) [function.require-once]: failed to open stream: No such file or directory in D:\Moodle19\server\moodle\admin\uploaduser.php on line 8

Fatal error: require_once() [function.require]: Failed opening required 'lib.php' (include_path='D:\Moodle19\server\moodle/lib/pear;.;D:\Moodle19\server\php\pear\') in D:\Moodle19\server\moodle\admin\uploaduser.php on line 8

Checked uplaoduser.php - no change.

Looked for lib.php cannot find it.  I don't have a backup.  Is there a fix for this?

Thanks for the help -- Bob Morris

Average of ratings: -
In reply to Bob Morris

Re: User Upload Error

by Emanuel Delgado -
Hello,

Someone must have deleted it !?

If you did not make any changes to the file, all you have to do is:
  • go to http://download.moodle.org/ and download a fresh copy of Moodle source code (check for the same version you have running).
  • extract file.
  • copy the files missing to your running Moodle.
That should do it.

hth
ED