Smart Image Processor PHP 2 Support Product Page
 This topic is locked 
                Solved 
 Error renaming uploaded file[SOLVED]
 Reported  10 Feb 2011  20:06:00 
  1 
     has   this problem  
  10 Feb 2011  20:06:00 Ramon Sunyer posted: 
 Hello,I just update the extensions (Smart Image Processor PHP 2 and Pure PHP Upload) and when I upload an image I get this error message "Please Upload the latest version of incPUAddOn.php"
I have checked the file and says it is version 1.0.8.
My code is:
<?php
$ara2= date('U');
// Rename Uploaded Files Addon 1.0.8
if (isset($_GET['GP_upload'])) {
$ruf = new renameUploadedFiles($ppu);
$ruf->renameMask = "$ara2.##ext##";
$ruf->checkVersion("1.0.8"
 ;
;$ruf->doRename();
}
?>
Thanks
Replies
 Replied 15 Feb 2011  12:19:25 
   15 Feb 2011  12:19:25 Miroslav Zografski replied: 
  Hello Ramon, 
Open the file incPUAddOn.php and change line 11 to :
Regards,
 
  Open the file incPUAddOn.php and change line 11 to :
var $version = "108";
Regards,
 Replied 23 Mar 2011  00:50:43 
   23 Mar 2011  00:50:43 Ramon Sunyer replied: 
  hello Zografski,
var $version = "108";
but this error continue
  var $version = "108";
but this error continue
 Replied 20 Jun 2011  13:19:30 
   20 Jun 2011  13:19:30 Ramon Sunyer replied: 
  hello,
the error is on the line 164: var $version = "107";
i'm changed this and it's ok
  the error is on the line 164: var $version = "107";
i'm changed this and it's ok
