Re: no upload possible

  •  08-04-2010, 1:23 PM

    Re: no upload possible

    Please follow steps:
     
    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.   Test it again.
     
    Keep us known.
     
    Regards,
    Eric
View Complete Thread