Hi,
Using Moodle Moodle 1.9.2+ (Build: 20080910)
I tried using excel in creating a csv file to upload users. and seeing that it needs to be in utf-8 i save it again in notepad.
But when I press upload I get file is empty error.
But When I open it in notepad there is data in it.
Followed the help in setting up the file.
thanks
In reply to Winston Seares
Re: User Upload file CSV from excel cannot be used
by Mathieu Petit-Clair -
Hi Winston,
Starting in 1.9, the file doesn't need to be UTF-8. You can select the encoding on the import page.
Can you go in server->debugging and activate the display of error messages and possibly increase the debug level as well (that's the first select box on the page). This should display a bit more information about the error...
Mat
Starting in 1.9, the file doesn't need to be UTF-8. You can select the encoding on the import page.
Can you go in server->debugging and activate the display of error messages and possibly increase the debug level as well (that's the first select box on the page). This should display a bit more information about the error...
Mat
In reply to Mathieu Petit-Clair
Re: User Upload file CSV from excel cannot be used
by Winston Seares -
Hi,
Got this:
Notice: Array to string conversion in /opt/moodle/html/lib/pear/HTML/QuickForm/Rule/Required.php on line 39
thanks
Got this:
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()
thanks
Hi, I'm having exactly the same problem, using Moodle 1.9.2+ (Build: 20080924). When I try to upload a CSV file I get:
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:
Should one of us file a bug report?
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()
Should one of us file a bug report?
Bug report filed: http://tracker.moodle.org/browse/MDL-16763
This problem has been solved, it is not a bug with Moodle.
Turns out the problem was php_admin_value open_basedir didn't contain /tmp in httpd.conf.
See http://bugs.contribs.org/show_bug.cgi?id=4610
Turns out the problem was php_admin_value open_basedir didn't contain /tmp in httpd.conf.
See http://bugs.contribs.org/show_bug.cgi?id=4610