A support forum for Question Writer quiz software.

No responses sent to email

Hello
I have followed your instructions in the collator5 help file to the letter but I am still having difficulty receiving any results.
From the error log file:
[09-Jan-2018 00:54:32 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function eregi() in /home/englwd/public_html/collator/include/functions.inc.php:62
Stack trace:
#0 /home/englwd/public_html/collator/qwhtml5.php(109): isValidEmail('')
#1 {main}
thrown in /home/englwd/public_html/collator/include/functions.inc.php on line 62

Any help would be greatly appreciated!
Thank you in advance
N Williams

teacher
January 9, 2018 05:52AM


Hallo

I have asked our technical support team if they can advise you.

In the meantime can you send a copy of your .qwz file to me at support@questionwriter.com and I will take a look and see if there is anything in the quiz that might be causing problems.


Hazel Skeet
January 9, 2018 07:37AM


Hi Teacher,

It looks like the server is not getting the e-mail address from the quiz. The e-mail is sent through the URL string, so I'd guess you have slightly malformed URL for the quiz server entered in the properties of the quiz.

Alexander McCabe
January 9, 2018 09:09AM


Hello
We've checked the URL in the quiz properties and there doesn't seem to be a problem. I am still not getting any results to the server. If I can't get it to work I can't recommend it to the head of department!

Has anyone else had the same issue?


teacher
January 12, 2018 12:04PM


Hi Teacher,

Can you check with your host what version of PHP they are running. If it is version 7 or above, the Collator software may not be compatible with it yet.

Alexander McCabe
January 12, 2018 06:09PM


Hello Alexander
Thanks for replying. Yes php version is 7. Which is the best version f version to use with the collator software ?

Teacher
January 12, 2018 11:55PM


Changed php to 5.2 - still no luck. Maybe there are other php options / extensions which need to be set?
Is collator the only software available to use?

teacher
January 13, 2018 06:07AM


We also provide Question Writer Tracker online interface - it's an easy to use option for users not familiar with setting up their own results server.

I can help you continue to troubleshoot. Are you getting any different error messages in your log? Presume you are using Question Writer HTML5 and not QW4.

Alexander McCabe
January 13, 2018 04:30PM


Hello Alexander
Thanks for your continued help and support - much appreciated!
The latest error log is
[09-Jan-2018 00:54:32 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function eregi() in /home/englwd/public_html/collator/include/functions.inc.php:62
Stack trace:
#0 /home/englwd/public_html/collator/qwhtml5.php(109): isValidEmail('')
#1 {main}
thrown in /home/englwd/public_html/collator/include/functions.inc.php on line 62

Yes, I'm using QW HTML5
I can send a copy of the currrent php options / extensions to your email if that will help?

teacher
January 14, 2018 12:24AM


Also, I haven't set up an XML document. How do I do this?
Perhaps this would be an easier way to receive results?

Here are the settings in the codedpreferences.inc.php

function getEmailFromUserID($userid,$dbhost,$dbusername,$dbuserpass,$db_name){
return true;
}

function storeResultsInDatabase($emailID,$dbhost,$dbusername,$dbuserpass,$db_name){
return false;
}//End Function

function sendResultsByEmail($emailID,$dbhost,$dbusername,$dbuserpass,$db_name){
return true;
}//End Function

function logXML(){
return true;

teacher
January 14, 2018 12:34AM


Sorry Alexander
I sent the wrong error log: here are the latest records. Please ignore the previous one!

[14-Jan-2018 01:08:22] No XML Document
[14-Jan-2018 01:09:44] 0
[14-Jan-2018 01:09:55] 0
[14-Jan-2018 01:10:24] 0

It seems that there are no errors now but still no results are being sent.

teacher
January 14, 2018 05:17AM


Ok, the settings in the php might not be correct -

[github.com]

I think you probably need -

function getEmailFromUserID($userid,$dbhost,$dbusername,$dbuserpass,$db_name){
return false;
}
function storeResultsInDatabase($emailID,$dbhost,$dbusername,$dbuserpass,$db_name){
return false;
}//End Function
function sendResultsByEmail($emailID,$dbhost,$dbusername,$dbuserpass,$db_name){
return true;
}//End Function
function logXML(){
return false;
}

Alexander McCabe
January 14, 2018 06:18AM


Hello Alexander
With the php settings above I get this error:
[14-Jan-2018 19:18:58] Error - unable to send email
[14-Jan-2018 19:19:58] Error - unable to send email
[14-Jan-2018 19:20:08] Error - unable to send email

teacher
January 14, 2018 11:23PM


Okay, I think now would be a good time to ask your hosting company if there is any reason the server can't send email.

Alexander McCabe
January 15, 2018 04:44AM


Hello again
I really appreciate your time and patience.
The response from the hosting company:
"Apparently, your website is using third-party email account with Phpmail() function, unfortunately it is not allowed to do this on Shared servers".

Is there a workaround for this?

teacher
January 15, 2018 09:44AM


Maybe ask if it can be used with a different e-mail account, or switch to a different host.

Alexander McCabe
January 15, 2018 03:33PM




Your Name:  (Required - Can be a nickname)
Your Email:  (Optional - Won't appear online)
Subject: (Required)
Anti-Spam: Complete this phrase.
"One small step for man; one giant leap for

"