Moodle

Cannot restore backup - problems with forum - Undefined index: POSTS

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Backup
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

Following errors restoring course in the latest 1.9 branch.

( ! ) Notice: Undefined index: POSTS in /var/www/moodle/learntest/mod/forum/restorelib.php on line 452
Call Stack

  1. Time Memory Function Location
    1 0.0013 101324 {main}( ) ../restore.php:0
    2 0.4780 18466456 include_once( '/var/www/moodle/learntest/backup/restore_execute.html' ) ../restore.php:168
    3 0.4791 18466516 restore_execute( ) ../restore_execute.html:47
    4 18.0909 23461140 restore_create_modules( ) ../restorelib.php:7938
    5 21.0582 23492020 forum_restore_mods( ) ../restorelib.php:3967
    6 21.5969 24030784 forum_discussions_restore_mods( ) ../restorelib.php:116
    7 22.1412 24036400 forum_posts_restore_mods( ) ../restorelib.php:327

multiple instances of above and then...

Could not restore modules!

and then

An error has occurred and the restore could not be completed!

I have a file that exhibits this. It's too big to post here, but I can make it available on demand.

Activity

Hide
gabylan added a comment -

A bakcup with the same restore problem

Show
gabylan added a comment - A bakcup with the same restore problem
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Dates

  • Created:
    Updated:
    Resolved: