Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME 7.x Contribs
Topic:
Moodle will not allow login from the internet
« previous
next »
+
Print
Pages: [
1
]
Go Down
Moodle will not allow login from the internet
5 Replies
909 Views
Derle
8
+0/-0
Moodle will not allow login from the internet
«
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.
Logged
David Harper
653
+0/-0
Watch this space
Re: Moodle will not allow login from the internet
«
Reply #1 on:
January 07, 2009, 08:43:59 AM »
Can you please post the output of:
Code:
[Select]
db configuration show moodle
Logged
Derle
8
+0/-0
Re: Moodle will not allow login from the internet
«
Reply #2 on:
January 07, 2009, 09:11:31 AM »
moodle=service
DbName=moodle
DbPassword=710168247650475
DbUser=moodle
Name=Online Learning
PublicAccess=global
cron=enabled
status=enabled
Logged
David Harper
653
+0/-0
Watch this space
Re: Moodle will not allow login from the internet
«
Reply #3 on:
January 07, 2009, 11:25:51 AM »
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
and post the bug number here as a reference?
Thanks
Logged
Derle
8
+0/-0
Re: Moodle will not allow login from the internet
«
Reply #4 on:
January 20, 2009, 06:06:22 AM »
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 -
all is good here. Excellent piece of software!
Thanks for the help.
Logged
Franco
1,171
+0/-0
Re: Moodle will not allow login from the internet
«
Reply #5 on:
January 20, 2009, 12:59:59 PM »
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,
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME 7.x Contribs
Topic:
Moodle will not allow login from the internet