Dear Lorenzo,
Temporary directory setting:
1. Open cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php
Search the following function in this file:
function _InternalGetFile($guid,$checkValidated)
{
$dir = $this->InternalGetTempDirectory();
//***************************************//
$dir="/home/wwwbeau/public_html/ce6.7/eric1"; //add this line, please change this path to actual one
//***************************************//
$arr=PhpUploader_GetFiles(__FILE__,__LINE__,"$dir/*." . $guid . ".*");
if($arr==null||count($arr)==0)
return null;
if( $checkValidated && substr(PhpUploader_GetBaseName($arr[0]),0,10)!="persisted.")
throw(new Exception("This file can not be validated!"));
$mvcfile=new PhpUploadFile();
$mvcfile->FileGuid=$guid;
$mvcfile->FilePath=str_replace("
\\","/",$arr[0]);
$mvcfile->FileSize=filesize($arr[0]);
$mvcfile->FileName=substr(PhpUploader_GetBaseName($arr[0]),47,-5);//also remove suffix ".resx"
return $mvcfile;
}
add the following line to this function:
$dir="/home/wwwbeau/public_html/ce6.7/eric1"; //add this line, please change this path to actual one
2. Open file “\cuteeditor_files\Dialogs\upload.php”, locate the following line:
<?php
$uploader=new PhpUploader();
$uploader->Name="UploadControl";
$uploader->MultipleFilesUpload=true;
$uploader->LicenseUrl="upload.php?loadlic=1";
if($Filter)
$uploader->AllowedFileExtensions=str_replace(".","",$Filter);
if($C_MaxSize)
$uploader->MaxSizeKB=$C_MaxSize;
//***************************************//
$uploader->TempDirectory="/home/wwwbeau/public_html/ce6.7/eric1";
//***************************************//
$uploader->Render();
?>
//add the following code to this function, please update path to your actual one
$uploader->TempDirectory="/home/wwwbeau/public_html/ce6.7/eric1";
After set the temporary directory, if your issue is still existing, please send cuteeditor for php access url and ftp access to
[email protected], I will check this issue for you.
Thank you for your business