← Back to team overview

mahara-contributors team mailing list archive

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

 

Performed the following steps for testing:

Pre requisite: $cfg->urlsecret = null;

1. Create Mahara dbase from command line 
2. From Mahara link, click on install 

Expected result: "The 'urlsecret' parameter contains invalid characters"
message displayed

3. Pull the patch (status 16.04_STABLE)
4. Refresh the Mahara link>click on Mahara
5. Click on install 
6. Install is succesful

-- 
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:
  In Progress
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