Re: tmp_name is not exists C:\WINDOWS\Temp\php...

  •  01-30-2012, 6:56 AM

    Re: tmp_name is not exists C:\WINDOWS\Temp\php...

    Hi CrazyK,
     
    Please remove the code what you set for the  TempDirectory and follow the steps below to set it again.
     
    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;
         }
     
     
    If the method above does not solved the problem, then please check the permission of folder "C:\WINDOWS\Temp\", ensure that your site has write/read permission of it.
     
    Regards,
     
    Ken 
View Complete Thread