Community Forums

Development Forum

kiipim


You must be signed-in to post.

AuthorSubject
 
Page: 1
kipim

Avatar for kipim
edit_question_multi.php
Subject: kiipimQuote this post in your reply
If you are asking for help, provide lots of detail so problems can be reproduced.

Things to describe:
Operating system ATutor is installed on - Linux 3.0.0-12-server
ATutor version - 2.2
ATutor theme name - default
PHP version - 5.3.6
MySQL version - 5.1.61
Webserver & version - Apache
Changes to default settings -
Web browser being used - FF,Opera,Chrome

Change error this file - edit_question_multi. Not correct save changes. Patched next:
$_POST['answer']['0'],
$_POST['answer']['1'],
$_POST['answer']['2'],
$_POST['answer']['3'],
$_POST['answer']['4'],
$_POST['answer']['5'],
$_POST['answer']['6'],
$_POST['answer']['7'],
$_POST['answer']['8'],
$_POST['answer']['9'],
to
$answers[0],
$answers[1],
$answers[2],
$answers[3],
$answers[4],
$answers[5],
$answers[6],
$answers[7],
$answers[8],
$answers[9],

And problem with the class testQuestions.class.php method display - not correct display the contents of more than 1 account. In the demo well, in working system - error. What could be the reason? smile
Posted: 2015-01-13 05:21:46
greg

Avatar for greg
Subject: Re: kiipimQuote this post in your reply
Unable to reproduce this issue.
Posted: 2015-01-13 09:09:11
kipim

Avatar for kipim
Subject: Re: kiipimQuote this post in your reply
I found !!!
Error in testQuestions.class.php line 511
$row['question'] = format_content($row['question'], 1, '');

Commenting line solved the problem. Perhaps because of the version of PHP, refine. Thank you.
Posted: 2015-01-23 11:42:09
 
Page: 1

You must be signed-in to post.

Related Articles