Errors after Upgrading to 2.1

Errors after Upgrading to 2.1

by Mason McElroy -
Number of replies: 8

I am reciving the following errors after upgrading from 1.9 to 2.0 and then 2.1.

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 16 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 19 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 23 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 24 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 25 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 26 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 6004 of /lib/adminlib.php: call to admin_get_root()
  • line 38 of /admin/settings.php: call to admin_write_settings()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 16 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 19 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 23 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 24 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 25 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()

parent does not exist!

  • line 884 of /lib/adminlib.php: call to debugging()
  • line 26 of /admin/settings/misc.php: call to admin_category->add()
  • line 5903 of /lib/adminlib.php: call to require()
  • line 52 of /admin/settings.php: call to admin_get_root()
I am unable to import Quiz questions.
We are running Hotpot version 2010080323  
That seemed to be the only issue I could find out about online.  
Any help would be apprecieated.  
Thanks
Average of ratings: -
In reply to Mason McElroy

Re: Errors after Upgrading to 2.1

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

What is the url of the page where you saw the messages?

What were you trying to do when you saw the messages?

In reply to Gordon Bateson

Re: Errors after Upgrading to 2.1

by Mason McElroy -

I get those errors on the front page.  The only "service" that seems to be not working is that I cannot import questions into a question bank. 

I was able to import a course, but not the questions.

When I click on the import under course managment it just goes to a blank page and never loads.

Thanks

In reply to Gordon Bateson

Re: Errors after Upgrading to 2.1

by Mason McElroy -

The URL that it pulls up when the page fails to load is 

/question/import.php?courseid=123 

It doesn't give an error, it just goes to a blank page.

The course id is different depending on which course you are in, but the format of the URL is the same.  

Thanks

In reply to Mason McElroy

Re: Errors after Upgrading to 2.1

by Mason McElroy -

After doing a little more digging it appears that all the errors seem to be related to the misc.php file.

It is giving errors for all the lines that referance $ADMIN

I am guessing that this object is missing?  Does anyone have any ideas.

Here is the content of the misc.php file

 

<?php // $Id: misc.php,v 1.14.2.3 2007/12/25 10:03:17 skodak Exp $

// * Miscellaneous settings

if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page

    // Experimental settings page
    $temp = new admin_settingpage('experimental', get_string('experimental', 'admin'));
    $temp->add(new admin_setting_configcheckbox('enableglobalsearch', get_string('enableglobalsearch', 'admin'), get_string('configenableglobalsearch', 'admin'), 0));
    $temp->add(new admin_setting_configcheckbox('smartpix', get_string('smartpix', 'admin'), get_string('configsmartpix', 'admin'), 0));
    $item = new admin_setting_configcheckbox('enablehtmlpurifier', get_string('enablehtmlpurifier', 'admin'), get_string('configenablehtmlpurifier', 'admin'), 0);
    $item->set_updatedcallback('reset_text_filters_cache');
    $temp->add($item);
    $temp->add(new admin_setting_configcheckbox('enablegroupings', get_string('enablegroupings', 'admin'), get_string('configenablegroupings', 'admin'), 0));

    $ADMIN->add('misc', $temp);

    // XMLDB editor
    $ADMIN->add('misc', new admin_externalpage('xmldbeditor', get_string('xmldbeditor'), "$CFG->wwwroot/$CFG->admin/xmldb/"));

    // hidden scripts linked from elsewhere
    $ADMIN->add('misc', new admin_externalpage('oacleanup', 'Online Assignment Cleanup', $CFG->wwwroot.'/'.$CFG->admin.'/oacleanup.php', 'moodle/site:config', true));
    $ADMIN->add('misc', new admin_externalpage('upgradeforumread', 'Upgrade forum', $CFG->wwwroot.'/'.$CFG->admin.'/upgradeforumread.php', 'moodle/site:config', true));
    $ADMIN->add('misc', new admin_externalpage('upgradelogs', 'Upgrade logs', $CFG->wwwroot.'/'.$CFG->admin.'/upgradelogs.php', 'moodle/site:config', true));
    $ADMIN->add('misc', new admin_externalpage('multilangupgrade', get_string('multilangupgrade', 'admin'), $CFG->wwwroot.'/'.$CFG->admin.'/multilangupgrade.php', 'moodle/site:config', !empty($CFG->filter_multilang_converted)));

} // end of speedup

?>

In reply to Mason McElroy

Re: Errors after Upgrading to 2.1

by Mason McElroy -

Bump

Does anyone have any suggestions?  Even where I should look next would be helpful.

Thanks

In reply to Mason McElroy

Re: Errors after Upgrading to 2.1

by Shaun Daubney -

I'm having the same issues if anyone can help.

In reply to Shaun Daubney

Re: Errors after Upgrading to 2.1

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Shaun,

What have you upgraded from and and which version (build) of Moodle are you using now?

Also are you getting the same errors as in this original discussion? If so what were you trying to do which triggered this Error.

HTH

Mary