Admin - login problem

Admin - login problem

Euclydes Santos -
Колькасьць адказаў: 2

One second (or third?) problem:

When I try to login as an administrator sitting right at the server (no proxy, firewall or whatever) I´m sent back to the initial page (no login is performed).  Nevertheless, this can be overcome in two ways:

1.  I repeat the login attempts untill the allowed number is exceeded.  I then get an error msg and, when clicking "continue", a regular login as administrator is obtained.

2.  After the first frustrated login attempt I change the language...when the new page is called I then find myself logged.

Any hint?

Hope you understood (sorry for the english).

Euclydes

Сярэдняе рэйтынгаў: -
У адказ на Euclydes Santos

Re: Admin - login problem

Przemyslaw Stencel -
I think the problem could be that you are using a different url to access the page than the one which is set in the config file. This is the setting in the config file:
$CFG->wwwroot   = "http://example.com/moodle";

If you access the page using http://www.example.com/moodle instead of http://example.com/moodle your login status will not be visible (although, technically, you are logged in)
У адказ на Przemyslaw Stencel

Re: Admin - login problem

Euclydes Santos -

It seems the problem had really something to to with $CFG->wwwroot .  What I did was to add a slash (/) after the URL, so that it now read $CFG->wwwroot = ´http://www.octopus.furg.br:8080/ead/´  Although a bit strange, it now works.  Thanks for the hint.

Euclydes