upgrade not working 1.8 to 1.9.6+

upgrade not working 1.8 to 1.9.6+

by Leo Dil -
Number of replies: 3
Hallo All,

Here I am again. I haven't slept for a few days now. The problem is that I have a Moodle site 1.8 and the upgrading to 1.9.6+ is not working great.

I get the following errors:

(see attachment)

Here is what I did:

I'm using this script for the first problem

[code]

<?php
require_once('config.php');
require_once($CFG->dirroot . '/question/type/multianswer/db/upgrade.php');

require_login();
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));

print_header();

$db->debug = true;
question_multianswer_fix_subquestion_parents_and_categories();

print_footer('empty');
?>

[/code]

I don't know what to do with the second problem??

I've used this script for the third problem:

[code]
DELETE FROM mdl_question_categories
WHERE
 NOT EXISTS (SELECT * FROM mdl_question q WHERE q.category = mdl_question_categories.id)
AND NOT EXISTS (SELECT * FROM mdl_context con WHERE contextid = con.id)
[/code]

nothing is working and I don't know what to do????

Need help anything would be helpful

Thanks

Leon
Attachment error.JPG
Average of ratings: -
In reply to Leo Dil

Re: upgrade not working 1.8 to 1.9.6+

by Leo Dil -
Should I upgrade to other versions of Moodle first of is het possible to upgrade from 1.8 to 1.96+

Is this Moodle 1.8.10+ version that could be used?
Are all the bugs in this list resolved in this version

Anyone!!!!!!!1
In reply to Leo Dil

Re: upgrade not working 1.8 to 1.9.6+

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Based on what you shared with me via email I would recommend getting the Moodle 1.8.10+ download and install that. There will be another upgrade shortly focusing on some security issues for 1.8.11 which I would recommend once that is made available. Then we can look and see what happened with some of your questions and try to get those issues resolved so that you have a smooth upgrade to latest version of Moodle 1.9. Hopefully knowing that you will have some community support will help you to rest a bit. Peace - Anthony
In reply to Leo Dil

Re: upgrade not working 1.8 to 1.9.6+

by Pierre Pichet -
What is the size of your question bank ( number of multianswer questions will help) to evaluate the amount of work implied?

Pierre