← Back to team overview

mahara-contributors team mailing list archive

[Bug 1843537] Re: CSV-Upload Users

 

I get the same incorrect redirect when Mahara is in a subdirectory with
uploading by csv, however changing line 500 in
htdocs/admin/users/uploadcsv.php did not resolve the issue. Jochen
recommends also changing all occurrences of the redirect without using
the wwwroot as a parameter, so perhaps one of these others is what fixed
the issue for his site.

I wondered whether all of the redirects without the wwwroot would fail if Mahara was in a subdirectory, but this was not the case:
I tested a user deleting themselves which runs in mahara/htdocs/account/delete.php - 
ln 116:     redirect('/account/index.php'); 
Also creating a user in mahara/htdocs/admin/users/add.php - 
ln 375: redirect('/admin/users/edit.php?id=' . $user->id);

For this reason, I'd be reluctant to do a blanket find and replace
without knowing exactly

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1843537

Title:
  CSV-Upload Users

Status in Mahara:
  Triaged
Status in Mahara 18.10 series:
  Triaged
Status in Mahara 19.04 series:
  Triaged
Status in Mahara 19.10 series:
  Triaged

Bug description:
  Greetings from germany.

  When we upload users via CSV and Mahara is installed in a subdirectory (https://dns/mahara
  The users were created but the redirect of the pages goes to https://dns/admin/users/uploadcsv.php

  Is there a bug like in filepicker.

  Thanks
  Jochen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1843537/+subscriptions


References