Check out the LimeSurvey source code on GitHub!

Survey takers get error when attempting to print out answers to their survey

More
5 years 8 months ago #62429 by libman
Hi all,

New user of Lime Survey. Love it.

Once a survey taker does a survey I have set up the option for the surveyor to print their answers. I have set the option "Participants may print answers?" to yes. When the print option is clicked by the survey taker an error is generated in regard to the file printanswers.php. The error error claims their is a problem with the code on line 210. Well, there is no code at line 210. I'm viewing the php code in dreamweaver. Here are the lines of code in that vicinity:

209 print " limit ". $limit."<br />"; //afficher les 50 derniéres réponses par ex. (pas nécessaire)
210
211 print " surveyid ".$surveyid."<br />"; //sid
212
213 print " id ".$id."<br />"; //identifiant de la réponses

Any advice?

Thanks,
Libman

Please Log in to join the conversation.

More
5 years 8 months ago #62436 by Elle01
I am getting this exact same error and I still have yet to find a solution. If someone could look into this it would be appreciated!

Please Log in to join the conversation.

More
5 years 8 months ago #62448 by tpartner
I can't duplicate it with 1.91 on my XAMPP server. What does the error state and what server are you using?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 8 months ago #62451 by libman
I'm running Lime Survey at on the servers at Siteground.com


I've attached a pdf zipped. The pdf contains all the info.

I am not a php programmer so I am a bit perplexed. I need to rerun and see the exact error then I'll pass it on.

Libman

Please Log in to join the conversation.

More
5 years 8 months ago #62456 by c_schmitz
There is nothing attached.
Please open a bug report at bugs.limesurvey.org instead.

Thank you.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
5 years 8 months ago #62457 by libman
Just posted it.

Thanks

Please Log in to join the conversation.

More
5 years 7 months ago #62459 by libman
If you are interested here is the error;

Fatal error. Call to a member function intopdf() on a non-object in home/mathtec7/public_html/mathtechsurveys/printanswers.php on line 210

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form