General help

Email based Self-enrollment issues

 
 
Picture of Joshua Nelson
Email based Self-enrollment issues
 

Moodle 2.3.2+ (Build: 20121018)

Hi guys,

Had moodle running seamlessly for about 12 months now through VMware virtualization. I've just done a full migration of this machine to HyperV on Server 2012, and have started having an issue with email based self enrollment.

When the user fills out the form and hits submit, the browser just appears to 'refresh' the page, leaving the form filled in but displaying no error. I have tried numerous times with no success - The accounts just aren't being created.

I have turned on debugging mode with all errors displayed, but cannot see anything that is of any help.

 

Any assistance in resolving this ASAP would be greatly appreciated - I have many students waiting to get access ^^

 
Average of ratings: -
Picture of Ken Task
Re: Email based Self-enrollment issues
Group Particularly helpful Moodlers

Well, you've told us about the virtualization and version of Moodle, but what is the guest OS on the new HyperV?  ApacheMySQL?  PHP version?

Regardless of the guest OS, have you looked at apache error_logs?  Sometimes they can provide clues.

'spirit of sharing'.

 
Average of ratings: -
Picture of Joshua Nelson
Re: Email based Self-enrollment issues
 

Thank you for your reply,

The guest OS is Server 2008 R2.
PHP Version is 5.3.5
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4
mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $

I will look into the apache logs for anything sus

 
Average of ratings: -
Picture of Joshua Nelson
Re: Email based Self-enrollment issues
 

As a follow-up, I've just gone through the error logs - Looks like a LOT of scripts cannot be found. I did a search for "signup.php" and found the following;

lms/server/moodle/signup.php' not found or unable to stat

s/server/moodle/login/signup.phpindex.php' not found or unable to stat, referer: http://ccc-lms.com.au/login/signup.phpindex.php

script 'D:/lms/server/moodle/signup.php' not found or unable to stat

 

These look like things might not have migrated properly during the changeover from VMware to HyperV. My thoughts would be to upgrade moodle, which should replace the missing files/scripts.

Any advice ? smile

 

 
Average of ratings: -
Picture of Ken Task
Re: Email based Self-enrollment issues
Group Particularly helpful Moodlers

Well, highest version in that series is now 2.3.4 so if upgrading on the move one might have to contend with virtual + upgrade issues (not that I know of any).  In affect, the problems might be compounded.

Anyway to get moodle folder OFF the old virtual?  Did you ever do a site backup that included moodle code and archive it to other location?
If either, think I'd try that first. Moving what you've got and getting it working first before upgrading might be best … others, however, might differ.  Of course, if no backup, then ...

'spirit of sharing', Ken

 
Average of ratings: -
Picture of Joshua Nelson
Re: Email based Self-enrollment issues
 

Of course I have backups smile
I'll give this a shot and get back to you, thanks

 
Average of ratings: -
Picture of Joshua Nelson
Re: Email based Self-enrollment issues
 

Just fired up the old VMware moodle, and email-based self registration worked fine. So I copied the files for moodle onto the new HyperV server as suggested, with no success.

Any other ideas? Got about 40-50 students who need to enrol at the start of next week and I don't wanna do it manually ^^

 
Average of ratings: -
Picture of Ken Task
Re: Email based Self-enrollment issues
Group Particularly helpful Moodlers

Hmmm ... so what are the new (if any) errors in apache logs?

Are there any other errors reported when in debugging?

Does the DB user have access rights to create temporary tables?  Did you re-check permissions/ownership on all files/folders in the new virt environment.

To get students in right now, one might try bulk upload.

http://docs.moodle.org/23/en/Upload_users

However, would warn that one might find other issues lurking. sad

'spirit of sharing', Ken

 
Average of ratings: -