Forums

PHP

This topic is locked

SIP Error

Posted 16 Dec 2010 13:54:35
1
has voted
16 Dec 2010 13:54:35 stephen park posted:
when using advanced HTML editor I try to upload an image and get the following error

This version of Smart Image Processor requires version 2.1.3 or better of Pure PHP Upload
Please correct and try again

I'm using the lates version of SIP...

how do I fix this permanently?

Replies

Replied 17 Dec 2010 11:04:19
17 Dec 2010 11:04:19 Patrick Woldberg replied:
Do you also have the latest version of Pure PHP Upload (2.1.10) and Smart Image Processor PHP (2.0.7). I know that previous version of Smart Image Processor had a bug with detecting the version of Pure PHP Upload.

Also when you have updated check the files if they are replaced with the updated versions and don't forget to upload them.
Replied 03 Jan 2011 17:42:19
03 Jan 2011 17:42:19 Greta Garberini replied:
It seems that all pages which used Smart Image Processor 1.0.7 are no longer working, once you update pure php upload to its version // Pure PHP Upload 2.1.10.
This is a very strange policy. [?]
Can you clarify what tweaking is needed in order to get this working again?
Replied 04 Jan 2011 10:59:36
04 Jan 2011 10:59:36 Patrick Woldberg replied:
It seems the Smart Image Processor was not updated for this bug because it is discontinued.

To fix it change following on line 38 of incResize.php:
if ($this->upload->version < "2.1.3") {

to:
if (version_compare($this->upload->version, "2.1.3", '<')) {

When you reapply the behavior it will overwrite the file again, to make sure it always copies your new file you have to replace the file in the Dreamweaver user configuration folder, there in
{configuration_folder}/shared/DMXzone/Pure Upload/php
you will find the php.
Replied 07 Jan 2011 01:41:39
07 Jan 2011 01:41:39 cheryl foster replied:
Thanks Patrick Woldberg. I am also facing this problem from the several days but I can't find the solution but you have solved my problem. I think you have a good knowledge of PHP and other stuff. It is very informatics advice by you.
Replied 23 Oct 2012 13:01:04
23 Oct 2012 13:01:04 Paul McGrath replied:
I was getting the same error. It required me to change the incPureUpload.php file on line 11 from

var $version = '2.1.10';
to
var $version = '2.1.3';

Paul

Reply to this topic