LOCKED OUT

LOCKED OUT

by Nithyasatya Ananda -
Number of replies: 2

I got locked out of moodle as I enabled https while configuring authorise.net.

Can someone tell me a workaround.

Average of ratings: -
In reply to Nithyasatya Ananda

Re: LOCKED OUT

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
If you can access you database via your hosting control panel, or a tool such as phpMyAdmin, then you can disable https by locating the "loginhttps" record in the "config" table, and then setting the value to "0".

Assuming that your table prefix is "mdl_", then the following SQL will reset this setting:
UPDATE mdl_config SET value='0' WHERE name='loginhttps';

hope that helps
Gordon

Average of ratings: Useful (4)
In reply to Gordon Bateson

Re: LOCKED OUT

by toby saunders -

worth noting that you need to clear caches after changing this setting - can be done on the command line using:

su apache -s /bin/bash
/usr/bin/php ./admin/cli/purge_caches.php

(instructions for linux from public_html directory)

Average of ratings: Useful (2)