Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6588

Re: Can't restore courses - Moodle 2.7.2+

$
0
0
by Ken Task.  

I might be wrong (not a programmer) but inspecting the file reported in the error
and the line number, in a freshly acquired moodle27 via git,

That line includes something that appears to be commented out!!!????

if ($stage < $currentstage && $currentstage < restore_ui::STAGE_COMPLETE) {
      //$item['link'] = new moodle_url($PAGE->url, array('restore'=>$this->get_restoreid(), 'stage'=>$st$
}

What's enclosed between ( and ) appears to be commented out - the // in front of that line.

Wonder what would happen if those comments are removed in that file?

'spirit of thinkering', Ken


Viewing all articles
Browse latest Browse all 6588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>