bitstream Posted June 29, 2010 Share Posted June 29, 2010 I ran into that problem on both 1.2.5 and 1.3.1.1Here is the small fix I did and solved my problem:open images.inc.phpfind this arround line 72 if (function_exists('finfo_open')) { $const = defined('FILEINFO_MIME_TYPE') ? FILEINFO_MIME_TYPE : FILEINFO_MIME; $finfo = finfo_open($const); $mime_type = finfo_file($finfo, $file['tmp_name']); finfo_close($finfo); } elseif (function_exists('mime_content_type')) $mime_type = mime_content_type($file['tmp_name']); and replace with this: if (function_exists('mime_content_type')) $mime_type = mime_content_type($file['tmp_name']); elseif (function_exists('finfo_open')) { $const = defined('FILEINFO_MIME_TYPE') ? FILEINFO_MIME_TYPE : FILEINFO_MIME; $finfo = finfo_open($const); $mime_type = finfo_file($finfo, $file['tmp_name']); finfo_close($finfo); } Hope it helps somebody. Link to comment Share on other sites More sharing options...
PrestaNoob Posted July 2, 2010 Share Posted July 2, 2010 helloi`ve do this code changing. but i still got the error. if theres something i miss? Link to comment Share on other sites More sharing options...
Rockstar2 Posted July 5, 2010 Share Posted July 5, 2010 I put them each in .zip folders and problem was solved. Link to comment Share on other sites More sharing options...
Elvisea Posted July 18, 2010 Share Posted July 18, 2010 I have the same error Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now