Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

FLM error while uploading file

Last post 03-12-2012, 8:05 AM by Kenneth. 7 replies.
Sort Posts: Previous Next
  •  01-27-2012, 9:06 AM 72846

    FLM error while uploading file

    Hi
    I have cute editor running in two separate domains. Recently, I realised that one domain when trying to upload an image file, it gives an FLM error while the other domain works fine.
    I have tried using different browsers but it is still the same, one works and the other does not. They are both in the same web server. The cute editor copied into the server are exactly the same too.
    What causes an FLM error ?
    Hope someone can give some light to this problem.
     
    Thanks.
     
    Terence
  •  01-30-2012, 6:58 AM 72869 in reply to 72846

    Re: FLM error while uploading file

    Hi tetnet,
     
    Please change the upload type to IFrame, then it will shows you the actual error message.
     
    1.  Open file "\cuteeditor_files\Dialogs\upload.php"
     
    2. Find section below 
     
    $uploader=new PhpUploader();
     
    3. Change it to
     
    $uploader=new PhpUploader();
    $uploader->UploadType="IFrame";
     
    Regards,
     
    Ken 
     
  •  02-01-2012, 5:49 AM 72892 in reply to 72869

    Re: FLM error while uploading file

    Here's the message in the error window:
      
  •  02-01-2012, 7:59 AM 72895 in reply to 72892

    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 
  •  03-02-2012, 12:58 PM 73292 in reply to 72895

    Re: FLM error while uploading file

    Hi Ken
     
    I've contacted the hosting provider and they have created a local php.ini file for me. I tried changing some configuration thru the php.ini file but I still get an error trying to upload files. Please have a look at a chart I have created comparing a domain that works (left) and the problematic one on the right.
     
    I believe it is something to do with the TEMP or PERMISSIONS. I hope you are able to guide me on what to do next.
     
    perhaps you can guide me on what should be configured locally in order for cutesoft editor to work perfectly.
     
    Hope to hear from you soon.
     
    Thanks and regards
     
    Terence
  •  03-05-2012, 3:15 AM 73339 in reply to 73292

    Re: FLM error while uploading file

    Hi tetnet,
     
    Please check the upload_tmp_dir  setting of your php.ini. Ensure that your site has the write/read permission of this folder.
     
    Also, you can set it to a folder which under the root of your site. 
     
    Regards,
     
    Ken 
  •  03-11-2012, 1:40 PM 73399 in reply to 73339

    Re: FLM error while uploading file

    Ken
     
    I have already got the webhosting provider involved, they have checked & tested and they are not able to resolve the problem. They have already done whatevery necessary settings and yet we still cannot upload. The same error occurs.
    I have even tried using different domains in the same server, same error occured. I also tried using another server and the same problem occurs.
     
    I like to give you access to the hosting and hence you can test and experiment and hopefully you can find the problem. Pls provide me an email address that I can send to.
     
    I have a few projects using CuteEditor and it seems like all of them gives problem when trying to upload a file. I hope to hear from you very soon.
     
    Thank you.
     
    Regards
     
    Terence Tay
     
     
  •  03-12-2012, 8:05 AM 73404 in reply to 73399

    Re: FLM error while uploading file

    Kenneth@CuteSoft.net
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.