- Posts: 16
Warning appear login/logout moodle
- Lior
- Topic Author
- Offline
- New Member
-
Less
More
15 years 1 week ago #1
by Lior
Warning appear login/logout moodle was created by Lior
Hi,
I have joomdle installed in my local web.
Versions: moodle 1.9.x, joomla 1.5, joomdle 0.51.
I get the following warnings after log-in into moodle:
Notice: Undefined index: newpassword1 in ...\moodle\auth\joomdle\auth.php line 2580.
Warning: Cannot modify header information - headers already sent by (output started at ...\moodle\lib\moodlelib.php on line 2722
Warning: Cannot modify header information - headers already sent by (output started at ...\moodle\lib\moodlelib.php on line 2723
After log out, I get open ssl warnings related to moodle\mnet\lib.php - I'm not sure it's related to joomdle.
Please advise.
Thanks,
Lior
I have joomdle installed in my local web.
Versions: moodle 1.9.x, joomla 1.5, joomdle 0.51.
I get the following warnings after log-in into moodle:
Notice: Undefined index: newpassword1 in ...\moodle\auth\joomdle\auth.php line 2580.
Warning: Cannot modify header information - headers already sent by (output started at ...\moodle\lib\moodlelib.php on line 2722
Warning: Cannot modify header information - headers already sent by (output started at ...\moodle\lib\moodlelib.php on line 2723
After log out, I get open ssl warnings related to moodle\mnet\lib.php - I'm not sure it's related to joomdle.
Please advise.
Thanks,
Lior
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
15 years 1 week ago #2
by Chris
Replied by Chris on topic Re: Warning appear login/logout moodle
Hi there,
You say when you log into moodle. When you log in with a student, teacher, admin id ?
What happens when you log into Joomla and then pass through to moodle?
What do you get when you visit the moodle notifications page?
Do you have red check marks for all items in the joomdle system health?
c
You say when you log into moodle. When you log in with a student, teacher, admin id ?
What happens when you log into Joomla and then pass through to moodle?
What do you get when you visit the moodle notifications page?
Do you have red check marks for all items in the joomdle system health?
c
Please Log in or Create an account to join the conversation.
- Lior
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
15 years 1 week ago #3
by Lior
Replied by Lior on topic Re: Warning appear login/logout moodle
Hi Chris,
joomdle system health seems ok (no red flags).
I see same messages for user / admin login.
When I log in through joomla, I get more warnings (see attached file).
In the notification page it says:
Your site configuration might not be secure. Please make sure that your dataroot directory (C:\xampplite\htdocs\moodledata) is not directly accessible via web.
Enabling the PHP setting display_errors is not recommended on production sites because some error messages may reveal sensitive information about your server.
The cron.php maintenance script has not been run for at least 24 hours. Help with Installation (new window).
Lior
joomdle system health seems ok (no red flags).
I see same messages for user / admin login.
When I log in through joomla, I get more warnings (see attached file).
In the notification page it says:
Your site configuration might not be secure. Please make sure that your dataroot directory (C:\xampplite\htdocs\moodledata) is not directly accessible via web.
Enabling the PHP setting display_errors is not recommended on production sites because some error messages may reveal sensitive information about your server.
The cron.php maintenance script has not been run for at least 24 hours. Help with Installation (new window).
Lior
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
15 years 1 week ago #4
by Chris
Replied by Chris on topic Re: Warning appear login/logout moodle
I don't think your notifications are going to cause any problems for you as they are just notices. Of course you should look into the security warnings however. The other error messages, in the file, are a little more disturbing. It looks like you have other forms of authentication happening as well such as x509.
To be honest, these errors do not look like they are related to Joomdle, but I rather not just pass the buck across. So the first thing, is to isolate the problem to a specific cbit of code.
- Is this a local test server?
- Are you able to temporarily disable other forms of authentication x509, SSL, to see how Moodle performs?
- What happens if you disable Joomdle authentication? Or Joomdle all together?
To be honest, these errors do not look like they are related to Joomdle, but I rather not just pass the buck across. So the first thing, is to isolate the problem to a specific cbit of code.
Please Log in or Create an account to join the conversation.
- Lior
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
15 years 1 week ago #5
by Lior
Replied by Lior on topic Re: Warning appear login/logout moodle
Hi,
This is a local server.
I had the following forms of authentication:
Manual accounts
No login
Email-based self-registration
Moodle Network authentication
Joomdle
After disabling the "Joomla", The "Notice: Undefined index: newpassword1 in ...\moodle\auth\joomdle\auth.php line 2580." warning disapreared.
After disabling the "Moodle Network authentication", the rest of the warnings are gone.
The ssl warning may be related to the XAMPP server I'm using (I changed it from wamp server due to unsupported php library functions needed for the joomdle.
Lior
This is a local server.
I had the following forms of authentication:
Manual accounts
No login
Email-based self-registration
Moodle Network authentication
Joomdle
After disabling the "Joomla", The "Notice: Undefined index: newpassword1 in ...\moodle\auth\joomdle\auth.php line 2580." warning disapreared.
After disabling the "Moodle Network authentication", the rest of the warnings are gone.
The ssl warning may be related to the XAMPP server I'm using (I changed it from wamp server due to unsupported php library functions needed for the joomdle.
Lior
Please Log in or Create an account to join the conversation.