Re: FLM error while uploading file

  •  02-01-2012, 7:59 AM

    Re: FLM error while uploading file

    Hi tetnet,
     
    I think your site has not the write/read permission of the default temp folder of php.
     
    Please change the php temp folder permission and ensure that your site and write/read of it.
     
    Also, you can try the way below
     
    1. Open "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php",
    2. Search function "InternalGetTempDirectory" and add temporary directory setting here:
            function InternalGetTempDirectory()
         {
          $dir=$this->TempDirectory;
          
          $dir="d:/temp1/temp1";//please change it to your actual temporary directory
           
          if($dir==null)
           $dir=PhpUploader_GetSystemTempFolder();
          $dir=str_replace("\\","/",$dir);
          if(substr($dir,strlen($dir)-1,1)=="/")
          {
           $dir=substr($dir,0,strlen($dir)-1);
          }
          return $dir;
         }
     
    3. If the way above does not fix the problem, then please change the default php temp folder permission.
     
    Regards,
     
    Ken 
View Complete Thread