You do not have access to this functionality. Please provide the value for "urlsecret" from your config.php file as part of the URL.

Bug #1560317 reported by Son Nguyen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen

Bug Description

Version: master (16.04)

I got this message when install a fresh mahara via web browser.

This is caused by the patch https://reviews.mahara.org/#/c/4742/

Tags: regression
Son Nguyen (ngson2000)
Changed in mahara:
milestone: none → 16.04.0
description: updated
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6225

Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6225
Committed: https://git.mahara.org/mahara/mahara/commit/98bf9cf5d56737be840a34b332e7b46b03cb57e1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 98bf9cf5d56737be840a34b332e7b46b03cb57e1
Author: Son Nguyen <email address hidden>
Date: Tue Mar 22 17:21:31 2016 +1300

Bug 1560317. Add urlsecret into the installation form.

behatnotneeded

Change-Id: I9c0c82dd9c788bcab1ec1efb6cd1a2cba688e887

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Paul (kubzdyl) wrote :

I'm stuck with exactly the same problem, when trying to upgrade from 15.10.2 to 16.04.1. Mahara don't allows me to log in using an admin account and to start the upgrade process. I'm getting only this information:

You do not have access to this functionality. Please provide the value for "urlsecret" from your config.php file as part of the URL

I appreciate for any suggestion.

With best regards
Paul

Revision history for this message
Emilie Lenel (emilie-lenel-g) wrote :

Hi, same issue
Today, i tried to upgrade to 16.04.1, i get the same error
"You do not have access to this functionality. Please provide the value for "urlsecret" from your config.php file as part of the URL. "
I can't find any urlsecret from my config.php
Thanks for your support
Emilie

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Emilie and Paul,

Please see http://manual.mahara.org/en/16.04/administration/config_php.html#new-in-mahara-16-04-urlsecret-run-the-cron-or-upgrade-only-when-you-are-authorised

or the config-defaults.php page in /lib for more information.

You will need to provide this value in your config.php file and add it to the end of your upgrade URL when you are asked for it.

On a testing site you could disable this functionality and say

$cfg->urlsecret = null;

but we would not recommend that for a production site. That's why we implemented this safeguard. ;-) It's to prevent unauthorized people from running the cron or an upgrade.

Cheers
Kristina

Revision history for this message
Emilie Lenel (emilie-lenel-g) wrote :

Hi Kristina
Thanks a lot, our mahara is now upgraded to 16.04.1 :-)

Revision history for this message
Aaron Wells (u-aaronw) wrote :

I filed bug 1595793 to improve documentation of the urlsecret feature.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.