Reviewed: https://reviews.mahara.org/1043 Committed: http://gitorious.org/mahara/mahara/commit/7f231697437e70371b9ac2767eb23391612c9e2d Submitter: Hugh Davenport ([email protected]) Branch: master
commit 7f231697437e70371b9ac2767eb23391612c9e2d Author: Richard Mansfield <[email protected]> Date: Mon Feb 13 16:30:42 2012 +1300 Add a maximum number of users for csv files (bug #823048) This allows $cfg->maxusercsvlines to be specified in config.php to stop admins and institutional admins from uploading large csv files. This is potentially useful on large multi-user sites. And until such time as we can reduce the amount of memory used by the create_user function, setting this option will provide the user with some feedback on csv upload failure (because we can't easily trap the php out-of-memory error). See also bug #548042. This commit also adds a call to set_time_limit() after processing each user, so that the script doesn't fail due to php's max. execution time. Change-Id: I662231288c7d0c6e70602c548123f12c63427a97 Signed-off-by: Richard Mansfield <[email protected]> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/823048 Title: Uploading new users via CSV gives generic error message Status in Mahara ePortfolio: In Progress Bug description: When you attempt to upload a lot of users via CSV and the upload is not made, you only receive a generic error message that doesn't give you the reason why the upload failed. When a certain server limit is reached, in some cases 100 users, the upload doesn't proceed so that the process does not take up all the processing power. The admin should be made aware of that and the error message should be more specific. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/823048/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

