Smart Image Processor PHP 2 Support Product Page


SIPPHP 2, version 2.0.9 problem

Reported 07 Mar 2012 17:13:22
has this problem
07 Mar 2012 17:13:22 Michael Stegman posted:
I have a site using SIP 2 (php version 2.0.8) that works like a charm. I updated to version 2.0.9, wrote almost identical code and that version fails. I then substituted the 2.0.8 files (cGraphicMediator.php, and those in the resources and lib folders) and all went well except that the resizeEx param was not supported. I changed it to resize and all was well.

Is there something buggy about the supporting files for 2.0.9?


Replied 12 Mar 2012 07:18:46
12 Mar 2012 07:18:46 Teodor Kuduschiev replied:
Hi Michael,

Can you please explain what you mean by:

Quotell went well except that the resizeEx param was not supported.

Is there any error message?
Replied 14 Mar 2012 14:08:02
14 Mar 2012 14:08:02 Michael Stegman replied:
Sorry for the delay in answering. Here's the error message when using the cGraphicMediator.php file which is identified as being version 2.0.8:

Fatal error: Call to undefined method cGraphicMediator::resizeEx() in D:\.....etc

Here's the line of code that causes the error:

$sipp2->resizeEx(300, 300, true, true);

This line works:

$sipp2->resize(300, 300, true);
Replied 20 Mar 2012 00:21:05
20 Mar 2012 00:21:05 Michael Stegman replied:
I reinstalled everything and started over from scratch. That seems to have solved the problems and I'm now using SIP2 (v. 2.0.9). Sorry for the bother.

Reply to this topic