Koozali.org: home of the SME Server

Moodle upload users via CSV file not working

Offline tspoon1986

  • **
  • 33
  • +0/-0
Moodle upload users via CSV file not working
« on: October 09, 2008, 04:40:13 AM »
Hi all,

I'm using Moodle 1.9.2+ (Build: 20080924). When I try to upload moodle users using a CSV file I get (with developer debug turned on):
Notice: Array to string conversion in /opt/moodle/html/lib/pear/HTML/QuickForm/Rule/Required.php on line 39
"The CSV File is empty"
Stack trace:

    * line 1651 of lib/deprecatedlib.php: call to debugging()
    * line 99 of admin/uploaduser.php: call to error()

I'm using moodle on SME Server 7.3. I've used Moodle successfully on that server before, although with version 1.8.2+ (2007021520), not 1.9.2.

I've tried installing Moodle with yum install smeserver-moodle from dungog, and also manually following instructions from the moodle.org site. I've also tried manually installing 1.8.6+, but then I get the error '"" is not a valid field name'. I have found one other user who is encountering the same problem, it appears this person is using SME Server as well. I've filed bug reports both with Moodle and SME, but if anyone has encountered this and knows how to fix it I'd greatly appreciate any help.

Post on Moodle forum: http://moodle.org/mod/forum/discuss.php?d=106847
Moodle bug report: http://tracker.moodle.org/browse/MDL-16763
SME bug report: http://bugs.contribs.org/show_bug.cgi?id=4610

Offline johnhebert

  • *
  • 11
  • +0/-0
Re: Moodle upload users via CSV file not working
« Reply #1 on: October 09, 2008, 08:58:55 PM »
I have used POP3 authentication with SME to avoid the need to create separate user database in Moodle.
See this thread http://forums.contribs.org/index.php?topic=38860.0
Sorry I can't help with CSV import however.

Offline tspoon1986

  • **
  • 33
  • +0/-0
Re: Moodle upload users via CSV file not working
« Reply #2 on: October 13, 2008, 06:08:19 AM »
Thanks for your reply johnhebert.

The problem is now solved, see http://bugs.contribs.org/show_bug.cgi?id=4610