Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Derle on January 07, 2009, 08:42:01 AM
-
I have been pulling my hair for 3 days trying to get a working login to a moodle install.
Moodle 1.9
Installed into /opt/moodle using yum on SME 7.4
The site works perfectly and I have been adding all sorts of lessons.
I tried to access the site from outside the LAN and instead of the front page of the site I get a user name/password challenge. When I supply the correct info the challenge boxes empty and the note indicates an incorrect login. It is reading the config file as it tells me that I am trying to access the "education site" as entered into the config.
I have tried opening up the database to global according to instructions on this site. I have checked and rechecked the configuration but I am really lost. As i said earlier the site seems to work flawlessly until I try to access it from outside of the LAN.
Any suggestions as to where I should go looking??
Thanks,
Earl.
-
Can you please post the output of:
db configuration show moodle
-
moodle=service
DbName=moodle
DbPassword=710168247650475
DbUser=moodle
Name=Online Learning
PublicAccess=global
cron=enabled
status=enabled
-
That's the correct setting, so it's possible that something is going wrong with the package.
Can you please file a report on the bug tracker (http://bugs.contribs.org/) and post the bug number here as a reference?
Thanks :)
-
OOPS! :oops: I must shamefacedly admit to creating the problem on install. I used a custom database instead of the default one. This included the use of an existing database user and password. On closer inspection I noted that moodle had set up it's default database but that it contained no tables. I copied the tables over to the default database and reset the paths to the default settings and everything works.
Odd how the setup worked locally with the oddball settings but would fail when queried from the outside. Anyways - :grin: all is good here. Excellent piece of software!
Thanks for the help.
-
Earl,
Coincidentally I was about to do the same thing as you did, upgrading the old version to 1.9.
Besides the problem related, did you have any other issues?
Thanks,