After upgrafe 3.7.3 (from 3.7.1) You don't have permission to access this resource.

After upgrafe 3.7.3 (from 3.7.1) You don't have permission to access this resource.

by Pasi Hakkarainen -
Number of replies: 3

Hi!

I have Moodle installation at service provider hosting service. There is zoner installator which is taking care Moodle installation. It upgrade Moodle from working 3.7.1 to 3.7.3 and now I get this error (at topic). Is there any idea which can cause this and how to fix it?

Average of ratings: -
In reply to Pasi Hakkarainen

Vs: After upgrafe 3.7.3 (from 3.7.1) You don't have permission to access this resource.

by Pasi Hakkarainen -
Plz help... I tried to restore 3.7.1 backup but did not helped... I think this is just a some config problem...
In reply to Pasi Hakkarainen

Vs: After upgrafe 3.7.3 (from 3.7.1) You don't have permission to access this resource.

by Pasi Hakkarainen -
config.php is looking like:
<?php // Moodle configuration file

unset($CFG);
global $CFG;
$CFG = new stdClass();

$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'lentopallo_mo2';
$CFG->dbuser = 'lentopallo_mo2';
$CFG->dbpass = 'xxxxxxxxxxxxxxxxxx';
$CFG->prefix = 'mo_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbport' => 3306,
'dbsocket' => '0',
'dbcollation' => 'utf8_unicode_ci',
);

$CFG->wwwroot = 'xxxxxxxxxxxxxx/edu';
$CFG->dataroot = '/home/xxxxxxxxxxxxxxxx/public_html/edu/.htedesjg7wpr1x.data/';
$CFG->admin = 'admin';

$CFG->directorypermissions = 0777;

require_once(__DIR__ . '/lib/setup.php');

// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!
In reply to Pasi Hakkarainen

Re: After upgrafe 3.7.3 (from 3.7.1) You don't have permission to access this resource.

by Ken Task -
Picture of Particularly helpful Moodlers

Since ...

"There is zoner installator which is taking care Moodle installation. It upgrade Moodle from working 3.7.1 to 3.7.3 and now I get this error (at topic). Is there any idea which can cause this and how to fix it?"

Shouldn't your first contact for assistance go to your provider?

If you did, mind passing along ... here in public view .. what their response was.

Am assuming you pay for support where you host.  No one here in Moodle Community gets paid for providing free suggestions .. which may or may not work with where you host.   Only someone who happens to host where you host and has used providers scripts could possibly have an answer.

The official Moodle docs:

https://docs.moodle.org/37/en/Upgrading


SoS, Ken