[Phpmyadmin-devel] Inline JPEG transformation fails
marc at infomarc.info
Sat Jun 30 21:28:30 CEST 2012
Le 2012-06-30 09:34, Chanaka Dharmarathna a écrit :
> 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
> Hi Alex,
> Now that problem is okay.
> The fix has merged recently.
> Regards !
which PHP version are you using?
More information about the Developers