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

Ri: Re: Ri: Re: Ri: Re: Backup and restore all courses and categories at once

$
0
0
by ale casa.  

I think i found the problem

I went in dev mode, using the stacktrace i found that the exception is thrown at line 67 of /lib/filestorage/file_system.php  

The exception is thrown after this condition if (readfile_allow_large($path, $file->get_filesize()) === false)
i decided to print on screen $path and get_$file->filesize() to see if evrything was ok 
this is the outcome:
path:  .../moodledata/filedir/06/8b/068b9f13f3817ccb6181034af49c46b4e796998a
file name: index.html
file size: 14686

The path does not exists on my filesystem... wich is strange because i get t
If i understand it well, moodle saves the path somewere inside the DB and saves a file, which is a reference to the scorm, inside the filesystem under one of these directories. Then it uses the path to find the file to open the SCORM

Is it possible that either the moodle update or the scorm plugin update modified the reference on the DB ?


Viewing all articles
Browse latest Browse all 6815

Trending Articles



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