The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde move_uploaded_file error

Discussion in 'General Discussion' started by sneader, Aug 11, 2008.

  1. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    A customer is getting the following error, apparently when trying to make a file attachment to an e-mail via Horde Webmail:

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
    move '/tmp/phpKIfPle' to '/var/cpanel/horde/tmp/impattSVxS2W' in
    /usr/local/cpanel/base/horde/imp/lib/Compose.php on line 493

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to
    move '/tmp/phpke02t5' to '/var/cpanel/horde/tmp/impattpNc51S' in
    /usr/local/cpanel/base/horde/imp/lib/Compose.php on line 493

    Any ideas on where to start looking?

    - Scott
     
  2. onaweb

    onaweb Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
  3. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Take a look at /usr/local/cpanel/3rdparty/etc/horde/php.ini -- look for this:

    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;
    file_uploads = On ; Whether to allow HTTP file up$
    ;upload_tmp_dir = ; temporary directory for HTTP uploaded$
    upload_max_filesize = 50M ; Maximum allowed size for uploaded$


    Is it possible the errors are coming from people that try to attach files larger than 50M?

    - Scott
     
  4. onaweb

    onaweb Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    The uploads is on.

    the attachments are not very large (1-2 MB)
     
  5. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Just judging from the error message, I have been unable to determine the cause of the issue. If you could please open a ticket in our support system, I would be more than happy to investigate this issue for you. Please open the ticket with ATTN: Matt in the topic.
     
Loading...

Share This Page