WeBid Bug Tracking - WeBid
View Issue Details
0000583WeBid[All Projects] Generalpublic2016-07-13 20:272017-07-21 10:49
bigalgeorge 
renlok 
normalmajoralways
resolvedfixed 
LinuxDebian
1.2.0 
1.2.1 
0000583: PluploadHandler.php issues
Some PHP does not instance fileinfo mime. //To overcome this picture upload failure Ive done this shonky change:
 line 135 on.//
                // check mime type
                $finfo = finfo_open(FILEINFO_MIME_TYPE);
                        if (is_object($finfo))
                        {
                        $mime_type = finfo_file($finfo, $file_path_info['dirname'] . '/' .$file_path_info['basename']);
                        if (!in_array($mime_type, $allowed_mime_types))
                        {throw new Exception('', PLUPLOAD_TYPE_ERR);}
                        }
                        finfo_close($finfo);// also on line 81 it seems DIRECTORY is superflous as its appended to ini call:// // 'tmp_dir' => ini_get("upload_tmp_dir") . DIRECTORY_SEPARATOR . "plupload",
            'tmp_dir' => ini_get("upload_tmp_dir") . "plupload",
            
Standard use
Sorry, I hate this bugs report system you cant format your input it seems!!
No tags attached.
Issue History
2016-07-13 20:27bigalgeorgeNew Issue
2016-07-18 19:56timw255Note Added: 0001441
2016-07-19 07:58renlokStatusnew => resolved
2016-07-19 07:58renlokFixed in Version => 1.2.1
2016-07-19 07:58renlokResolutionopen => fixed
2016-07-19 07:58renlokAssigned To => renlok

Notes
(0001441)
timw255   
2016-07-18 19:56   
This is addressed in 1.2.1