Face - to -face module hangs up

Face - to -face module hangs up

by Iyappan Krishnaswamy -
Number of replies: 6
I have downloaded the facetoface module 1.2.0 for moodle version 0.9 and its great.
I am able to create a new session and it is displaying in the front end but the problem is when ever a student is trying to book a session
it hangs up and apache is needed to be restarted.
The session is added successfully to the facetoface_submissions.
There is no log error in the apache server and also in the php log file.

Thanks for your help.

Iyappan

Average of ratings: -
In reply to Iyappan Krishnaswamy

Re: Face - to -face module hangs up

by François Marier -
That's a strange problem, I haven't seen that before.

Can you attach a screen shot of the last page you can see before Apache hangs and needs to be restarted?

It would also be helpful if you could post the last couple of lines from the Apache error log and the Apache access log.

Francois
In reply to François Marier

Re: Face - to -face module hangs up

by Iyappan Krishnaswamy -
Thanks for the immediate reply.

I had attached two screenshots where the user can signup and in the first screen when I click on sign-up the session is created and also in the second screen shot when I try to push the user from potential users to existing users the session is created and finally the apache has to restarted.

The final error in the log file of apache is:
[Tue Apr 29 10:36:43 2008] [error] [client 192.168.1.51] PHP Notice: Undefined variable: userid in /var/www/moodle/rainmaker/mod/facetoface/editattendees.html on line 4, referer: http://192.168.1.51:9000/rainmaker/mod/facetoface/attendees.php?s=1
[Tue Apr 29 10:36:43 2008] [error] [client 192.168.1.51] PHP Notice: Undefined variable: courseid in /var/www/moodle/rainmaker/mod/facetoface/editattendees.html on line 5, referer: http://192.168.1.51:9000/rainmaker/mod/facetoface/attendees.php?s=1
[Tue Apr 29 10:36:43 2008] [error] [client 192.168.1.51] PHP Notice: Undefined variable: contextid in /var/www/moodle/rainmaker/mod/facetoface/editattendees.html on line 7, referer: http://192.168.1.51:9000/rainmaker/mod/facetoface/attendees.php?s=1
[Tue Apr 29 10:36:43 2008] [error] [client 192.168.1.51] PHP Notice: Undefined variable: roleid in /var/www/moodle/rainmaker/mod/facetoface/editattendees.html on line 8, referer: http://192.168.1.51:9000/rainmaker/mod/facetoface/attendees.php?s=1

I had shown all the errors in php.ini file and also in moodle's config.php file.

I assume that the error may be while sending the email. Is there any option not to send the email when signing up with the face-to-face session. Thanks again for your reply.


Iyappan




In reply to Iyappan Krishnaswamy

Re: Face - to -face module hangs up

by François Marier -
There is currently no option for preventing the Face-to-face module from sending emails, but you can turn it off in the code by doing this:

1- open mod/factoface/lib.php at around line 1164 in function "facetoface_send_confirmation_notice"

2- insert "return true;" as the first line of the function (before "global $CFG")

This should prevent these emails from being sent and let the Face-to-face module think that the email was successfully sent.

Francois
In reply to François Marier

Re: Face - to -face module hangs up

by Iyappan Krishnaswamy -
Thank you very much for your prompt reply. It works great now without hanging and it says that email is sent.
I need other help from you. I am trying to embeed the face to face module with the quiz module.
If the student clicks on quiz module then it should show the available sessions for that quiz instead of displaying the questions.

Since I am urging up with the delivery time I need help to complete these task.
Urgent help in this regard will be highly appreciable.

In reply to Iyappan Krishnaswamy

Re: Face - to -face module hangs up

by François Marier -
This page might give you some ideas about which parts of the code could be useful for doing your quiz-facetoface integration:

http://docs.moodle.org/en/Integrating_Face-to-face_sessions_on_the_course_page

Francois
In reply to François Marier

Re: Face - to -face module hangs up

by Ben Ticehurst -

I wanted to use the Face to Face module for booking parent teacher interviews, but not send an email to them, as we do npot have their email address in the system.

i modified the code, with hel,p to the lib.php file and now works with out sending an email and displaying an error message. the file is attached. to cahnge the message after the time is booked you can edit the lang  file.