<div dir="ltr">Hi,<div><br></div><div>Using LORIS v23.0 on RHEL 7, accessing LORIS front end from Chrome. <br><div><br></div><div>I'm currently setting up the LORIS-MRI and imaging modules for LORIS. I am running into an issue with the Imaging Uploader on the front end where it is returning the error message "<font face="monospace">The file TEST111_986793_testing1.zip is not of type .tgz, .tar.gz or .zip.</font>" When checking the error-log from the back end I'm seeing...</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">PHP Warning:  mime_content_type(): Empty filename or path in /<basepath>/modules/imaging_uploader/php/imaging_uploader.class.inc on line 646, referer: http://<site>/imaging_uploader</font></div></blockquote><div><br></div><div>Upon further investigation into imaging_uploader.class.inc, the function isCompressed() is being passed an empty string from isValid(). IsValid is passing it $temp_file, defined in <font face="monospace">$temp_file=$file->fileInfo['tmp_name']</font>, but this is also an empty string. So I'm trying to figure out at what stage 'tmp_name' should be defined for $file->fileInfo but I am struggling to track it down. I checked what was being passed in $file->setHandlerArgs and it contains this:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="monospace">Array</font></div></div><div><div><font face="monospace">(</font></div></div><div><div><font face="monospace">    [IsPhantom] => N</font></div></div><div><div><font face="monospace">    [candID] => 986793</font></div></div><div><div><font face="monospace">    [pSCID] => TEST111</font></div></div><div><div><font face="monospace">    [visitLabel] => testing1</font></div></div><div><div><font face="monospace">    [mriFile] => Array</font></div></div><div><div><font face="monospace">        (</font></div></div><div><div><font face="monospace">            [name] => TEST111_986793_testing1.zip</font></div></div><div><div><font face="monospace">            [type] => </font></div></div><div><div><font face="monospace">            [tmp_name] => </font></div></div><div><div><font face="monospace">            [error] => 7</font></div></div><div><div><font face="monospace">            [size] => 0</font></div></div><div><div><font face="monospace">        )</font></div></div><div><div><font face="monospace">)</font></div></div></blockquote><div><div><font face="monospace"><br></font></div><div>Any suggestions on how to get the uploader working? I have verified that the MRIUploadIncomingPath variable is set appropriately and is an existing, writable directory. I also am able to successfully upload the same zip file from the back end.   </div><div><br></div><div><br></div><div>Thanks, </div><div>Eli</div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:12.8px">Eli Johnson</span><br></div>Developer/Researcher<br>Institute of Child Development<br>University of Minnesota<div><a href="mailto:joh17964@umn.edu" target="_blank">joh17964@umn.edu</a></div></div></div></div></div></div></div></div></div></div></div></div></div>