Comment 8 for bug 1843537

Revision history for this message
Lisa Seeto (lisaseeto) wrote : Re: CSV-Upload Users

Hi All,

In order to get a correct redirect, the redirect had to be changed in the form->reply function on line 654:
'goto' => '/admin/users/uploadcsv.php',
changed to:
'goto' => get_config('wwwroot').'admin/users/uploadcsv.php',

ln 499 refers to a redirect for when an admin attempts to add more than the maximum users allowed into an institution via upload of csv file. I tested this also but uncovered a bug affecting both instances of mahara in subdirectories and those not in sudirectories where the application hangs and the progress bar attempts to update the progress continuously until a refresh of the page. This issue was addressed in a patch that changed that redirect to a form-> reply with PIEFORM_ERR code.