← Back to team overview

mahara-contributors team mailing list archive

[Bug 1595789] Re: "$cfg->urlsecret = null; " doesn't work during installation

 

** Changed in: mahara/16.04
       Status: In Progress => Fix Committed

-- 
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/1595789

Title:
  "$cfg->urlsecret = null;" doesn't work during installation

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  According to config-defaults.php, if you set $CFG->urlsecret to null,
  you should be able to access the installer and upgrader without
  needing to add a urlsecret param to your URL. This is a useful feature
  for development environments.

  However, it currently doesn't work on the latest HEAD in master.

  To replicate:

  1. Add "$cfg->urlsecret = null;" to your config.php file
  2. Try to do a new install of Mahara through the web browser

  Expected result: Installation runs through
  Actual result: You get this message:

  Mahara: Invalid Parameter
  A required parameter is missing or malformed

  The 'urlsecret' parameter contains invalid characters

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


References