-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I tried to make a package with qti samples from https://www.imsglobal.org/question/index.html but when i imported as qti question i had this error.
500 Internal Server Error - ContextErrorException
Stack Trace
in vendor/ujm/exo-bundle/UJM/ExoBundle/Services/classes/QTI/qtiImport.php at line 211 -
$extension = pathinfo($fileName, PATHINFO_EXTENSION);
$hashName = $this->container->get('claroline.utilities.misc')->generateGuid() . '.' . $extension;
$mimeType = $ob->getAttribute('type');
$size = filesize($tmpFile);
$targetFilePath = $filesDirectory . DIRECTORY_SEPARATOR . $hashName;
copy($tmpFile, $targetFilePath);
$file = new File();
my /web folder is 777, i've joined the file :
Metadata
Metadata
Assignees
Labels
No labels