← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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

** Affects: mahara
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.04
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.10
     Importance: Medium
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Also affects: mahara/16.04
   Importance: Undecided
       Status: New

** Also affects: mahara/16.10
   Importance: Undecided
       Status: New

** Changed in: mahara/16.04
    Milestone: None => 16.04.2

** Changed in: mahara/16.10
    Milestone: None => 16.10.0

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

** Changed in: mahara/16.10
       Status: New => In Progress

** Changed in: mahara/16.04
   Importance: Undecided => Medium

** Changed in: mahara/16.10
   Importance: Undecided => Medium

** Changed in: mahara/16.04
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/16.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Summary changed:

- "$cfg->urlsecret = null;" no longer works
+ "$cfg->urlsecret = null;" doesn't work during installation

-- 
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:
  In Progress
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

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


Follow ups