Results 1 to 5 of 5

Thread: Upload Timeouts & upload_max_filesize

  1. #1
    User0815 is offline Member
    Join Date
    Jun 2008
    Posts
    5

    Default Upload Timeouts & upload_max_filesize

    Hello Commi,

    I am encountering the following problem:

    When I upload a file larger then my "upload_max_filesize" I run into a timeout. What I would expect is a message that says something like:" Your file is too big to upload". AND: The Sugar instance is then not accessible for a very long time and when I call any site I receive an 500.

    Beside that error I would like to set to the upload_max_filesize to a larger value. Sadly my hoster does not allow changes in the php.ini. So I thought I might workaround via the .htaccess file and set the following paramters (found them via search in this board):

    Code:
    File: / httpdocs / sugardemo / .htaccess
    [... Some Sugar Parameters ...]
    # END SUGARCRM RESTRICTIONS
    php_value post_max_size 10485760
    php_value max_upload_size 10485760
    php_value file_uploads On
    php_value upload_max_filesize 10485760
    php_value memory_limit 10485760
    Now, when I call phpinfo it still returns the value from the php.ini. How do I get Sugar to take these values and not those from the .ini file?

    Any help appreciated.

    Cheers,
    User0815
    Last edited by User0815; 2008-06-17 at 07:43 PM.

  2. #2
    User0815 is offline Member
    Join Date
    Jun 2008
    Posts
    5

    Default Re: Upload Timeouts & upload_max_filesize

    Sorry, totally forgot to post details:

    SugarCE-Full-5.0.0e, Just installed
    MySQL Database
    Plesk Container
    Linux

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Upload Timeouts & upload_max_filesize

    Hi,

    I am not a Linux specialist but afaik there is no guarantee that all of your .htaccess settings will be accepted by your hosting company. It's a matter of how they set up their system. A call to their helpdesk will clarify things pretty quickly (or so I hope..).

    Sugar will take whatever is presented to it. And that's the same what you see when calling phpinfo().

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  4. #4
    User0815 is offline Member
    Join Date
    Jun 2008
    Posts
    5

    Default Re: Upload Timeouts & upload_max_filesize

    Hi Rob!

    Yeah it seems like that they forbid to override php values.

    Still the problem with that strange timeout when upping big documents. Why does Sugar does not abort the upload and gives me an Info about it. This REALLY sucks.

  5. #5
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Upload Timeouts & upload_max_filesize

    It does. Definitely.

    On the other hand - this seems to be a protocol issue because phpmyadmin does the same. If I don't know why I f... it up I can't tell you - even if I want to.

    Go for a VPS - I am pretty happy with Slicehost despite their latency times to Europe.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upload image XML error
    By Breier in forum Help
    Replies: 0
    Last Post: 2007-11-07, 01:14 PM
  2. Upload - no upload, no error
    By appdev in forum Help
    Replies: 2
    Last Post: 2007-09-05, 04:53 AM
  3. HTTPS upload fails
    By d_a_n in forum Help
    Replies: 1
    Last Post: 2005-11-01, 09:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •