[Phpmyadmin-devel] Inline JPEG transformation fails
pe.chanaka.ck at gmail.com
Sat Jun 30 15:34:55 CEST 2012
On Sat, Jun 30, 2012 at 4:08 PM, Alex Marin <alex.ukf at gmail.com> wrote:
> On Sat, Jun 30, 2012 at 9:50 AM, Chanaka Dharmarathna <
> pe.chanaka.ck at gmail.com> wrote:
>> Hi Alex,
>> > mimetype = Image_JPEG
>>> > transformation = Image_JPEG_Inline.class.php
>> I have set the mime type and browser transformation in above format in
>> order to display images.
>> Images are shown without an issue.
> That's good, because it's not working for me with PHP 5.4.4.
> But I'm getting following warning with the mime types Image_JPEG and
>> Warning in ./libraries/DisplayResults.class.php#4582
>> strpos() expects parameter 1 to be string, object given
> I don't get that warning, but it is indeed a problem. I fixed it here .
> Please tell me if you get some other warning, because I don't know
> why I can't see it. And also, when do you get this (f.e. when browsing
> a table with the Image_JPEG transformation)?
> Instead, I get some other warning: in ./libraries/common.inc.php#275
> date_default_timezone_get(): It is not safe to rely on the system's
> timezone settings. [..]
> Should I do any other configuration in addition to reset the mime types
>> and browser transformations as Marc mentioned ?
> The thing is that the old transformations (image_jpeg__inline.inc.php)
> are not compatible yet with the new transformations plugins. So no
> configuration is needed, I will first have to make this backwards
>  https://github.com/phpmyadmin/phpmyadmin/pull/76/files
Now that problem is okay.
The fix has merged recently.
Bsc.Computer Engineering Undergraduate
Faculty of Engineering
University of Peradeniya
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers