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

Restore course using moosh Failed

$
0
0
by fran pais.  

Hi
I'm trying to restore a course in my backup site using Moosh 1.10. The backup file is from my moodle site and it was created using moosh too. The moodle version is the same.
When i try to restore, I'm getting the following error. I use the mbz file to restore it using de Moodle web interface and it runs perfectly, the problem is only when i try to restory it using moosh
Thanks!


Error code: dmlwriteexception*
line 489 of /li!!! ErroINSERT INTO mdl_question (parent,name,questiontext,questiontextformat,generalfeedback,generalfeedbackformat,defaultmark,penalty,qtype,length,stamp,version,hidden,timecreated,timemodified,createdby,modifiedby,idnumber,category) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
[array (
  0 => '0',
  1 => '1',
  2 => '<p>En la planta el fitocromo se encuentra en forma de...</p>
<p>In the plant phytochrome is a...</p>',
  3 => '1',
  4 => '',
  5 => '1',
  6 => '1.0000000',
  7 => 0.3333333,
  8 => 'multichoice',
  9 => '1',
  10 => 'moodle+180111100336+P9vONM',
  11 => 'moodle+200108175631+uSEm4u',
  12 => '0',
  13 => '1515665016',
  14 => '1578506190',
  15 => '5',
  16 => '5',
  17 => NULL,
  18 => 6,
)]r writing to database !!!
!! Column count doesn't match value count at row 1

(...)

Potential coding error - existing temptables found when disposing database. Must be dropped!





Viewing all articles
Browse latest Browse all 6815

Trending Articles



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