![]() |
[split] CI3.1.0 image library broken - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: [split] CI3.1.0 image library broken (/showthread.php?tid=66599) |
[split] CI3.1.0 image library broken - spjonez - 11-04-2016 The image library has been broken when using Imagemagik since version 3.1.0. I've reported this twice now. https://github.com/bcit-ci/CodeIgniter/issues/4902 RE: CodeIgniter 3.1.2 released - John_Betong - 11-06-2016 (11-04-2016, 07:26 AM)spjonez Wrote: The image library has been broken when using Imagemagik since version 3.1.0. I've reported this twice now. I managed to fix the Image_lib.php by adding a space: CodeIgniter-3.1.2/system/libraries/Image_lib.php // about line 888 PHP Code: # John_Betong ADDED LEADING SPACE - 2016-11-05 Edit: Problem was no space after the image dimensions: Quote:/* # ORIGINAL HAS MISSING LEADING SPACE RE: CodeIgniter 3.1.2 released - spjonez - 11-07-2016 (11-06-2016, 11:14 PM)John_Betong Wrote:(11-04-2016, 07:26 AM)spjonez Wrote: The image library has been broken when using Imagemagik since version 3.1.0. I've reported this twice now. Yes I know I included the proper fix in both of the GitHub issues I opened. Thanks for posting it here in case others run into it and don't check the repo. RE: CodeIgniter 3.1.2 released - andoyoandoyo - 11-08-2016 (11-07-2016, 06:15 AM)spjonez Wrote:(11-06-2016, 11:14 PM)John_Betong Wrote:(11-04-2016, 07:26 AM)spjonez Wrote: The image library has been broken when using Imagemagik since version 3.1.0. I've reported this twice now. I tried this method but doesn't work for me. Finnaly I switched back to CI 3.1.0. Sad RE: CodeIgniter 3.1.2 released - bfedderm - 11-09-2016 (11-08-2016, 11:19 PM)andoyoandoyo Wrote:(11-07-2016, 06:15 AM)spjonez Wrote:(11-06-2016, 11:14 PM)John_Betong Wrote:(11-04-2016, 07:26 AM)spjonez Wrote: The image library has been broken when using Imagemagik since version 3.1.0. I've reported this twice now. I ran into a similar issue. See my notes. The issue related to something I didn't have initiated within my PHP install. In CI 3.1.1, they removed a contingency check: if (function_exists('finfo_file')) { }. Removing that caused my upload functionality to bomb out, due to not having php_fileinfo initiated in my install. Once I initiated that, and restarted the web services, things worked fine. |