sagetim Posted June 17, 2008 Share Posted June 17, 2008 I am a teacher using moodle and while making modifications to my moodle code and I get the following error: Parse error: syntax error, unexpected $end in /localhost/lib/questionlib.php on line 2178 It is the last line of the code. I am trying to add my modifications to the latest version of moodle but it is not playing well with others. If you can read the mods for me and let me know what I am missing my students and I will be thankful. I have attached the questionlib.php file. My modifications all start with //CBM and end with //........... [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/110571-new-to-php-code-need-and-extra-pair-of-eyes/ Share on other sites More sharing options...
conker87 Posted June 17, 2008 Share Posted June 17, 2008 That generally means you've missed a curly bracket somewhere. Link to comment https://forums.phpfreaks.com/topic/110571-new-to-php-code-need-and-extra-pair-of-eyes/#findComment-567242 Share on other sites More sharing options...
DyslexicDog Posted June 17, 2008 Share Posted June 17, 2008 function question_process_responses is missing a curly.... Link to comment https://forums.phpfreaks.com/topic/110571-new-to-php-code-need-and-extra-pair-of-eyes/#findComment-567402 Share on other sites More sharing options...
sagetim Posted June 19, 2008 Author Share Posted June 19, 2008 Problem solved. Thank you! Link to comment https://forums.phpfreaks.com/topic/110571-new-to-php-code-need-and-extra-pair-of-eyes/#findComment-568779 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.