2015-02-01 14:57:47
An issue inserting multichoice questions into the question bank
Operating system ATutor is installed on - Linux
ATutor version - 2.2
Patch #s applied - none
ATutor theme name - Atutor Classic
PHP version - 5.3
MySQL version - 5.5
Webserver & version - Apache latest
Copies of error messages -
Changes to default settings - none
Web browser being used - Firefox 36
Hi Greg
I have a weird problem thats related to creating questions in the question bank.
Remember I couldnt see more than three questions. Well I manually edited the database using phpMyadmin and successfully created the next question. Then I could see four questions. ATutor then let me create more questions so long as they were type 2 true/false, but as soon as I tried to create a multiple choice it would give me an error saying it could not access the database. So I created the multichoice questions using phpMyadmin and then tried to modify the questions in ATutor. It does this with no problem so obviously it can access the database to update just not insert and only for multiple choice questions.
I did notice that when I use phpMyadmin to insert a record into the test_questions table it creates two rows with the second one marked to ignore.
I dont know if this is to assist in record creation in phpMyAdmin.
Also the table is set to dynamic not fixed.
So have you had any experiences like this as some advice would be appreciated.
Best Regards
Jim Barnes