Results 1 to 3 of 3

Thread: Uploading file problems

  1. #1
    ashley is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    14

    Unhappy Uploading file problems

    I have been trying to import some data into SugarCRM but everytime I try to upload anything I get this error message:

    File was not uploaded successfully. It may be that the 'upload_max_filesize' setting in your php.ini file is set to a small number

    I have verified that the upload_max_filesize is set to 20M, which the file I am uploading is about 1 KB. I have verified that file uploading is turned on, post_max_size is 20M, memory_limit is 64M, max_input_time is 120, and max_execution_time is 160.

    All files are writable by the apache user. Any ideas what is wrong? Thanks!

    ~Ashley

  2. #2
    superprg is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    10

    Default Re: Uploading file problems

    Can you post the phpinfo here?
    Also, is this with just sugarCRM or you are not able to peform any uploads at all on this server?

  3. #3
    ashley is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    14

    Default Re: Uploading file problems

    Thank for getting back to me! Here is the PHP Core section of the phpinfo(), I can post more is needed. I do not know if this is a server wide problem because SugarCRM is the only program that runs on the server.

    Configure Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-zlib-dir=/usr/lib' '--enable-mbstring'
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /opt/php.ini
    PHP API 20020918
    PHP Extension 20020429
    Zend Extension 20050606
    Debug Build no
    Zend Memory Manager enabled
    Thread Safety disabled
    Registered PHP Streams php, http, ftp, compress.zlib


    PHP Core

    Directive Local Value Master Value
    allow_call_time_pass_reference Off Off
    allow_url_fopen On On
    always_populate_raw_post_data Off Off
    arg_separator.input & &
    arg_separator.output & &
    asp_tags Off Off
    auto_append_file /no value/ /no value/
    auto_prepend_file /no value/ /no value/
    browscap /no value/ /no value/
    default_charset /no value/ /no value/
    default_mimetype text/html text/html
    define_syslog_variables Off Off
    disable_classes /no value/ /no value/
    disable_functions /no value/ /no value/
    display_errors Off Off
    display_startup_errors Off Off
    doc_root /no value/ /no value/
    docref_ext /no value/ /no value/
    docref_root /no value/ /no value/
    enable_dl On On
    error_append_string /no value/ /no value/
    error_log /no value/ /no value/
    error_prepend_string /no value/ /no value/
    error_reporting 2047 2047
    expose_php On On
    extension_dir ./ ./
    file_uploads On On
    gpc_order GPC GPC
    highlight.bg #FFFFFF #FFFFFF
    highlight.comment #FF8000 #FF8000
    highlight.default #0000BB #0000BB
    highlight.html #000000 #000000
    highlight.keyword #007700 #007700
    highlight.string #DD0000 #DD0000
    html_errors On On
    ignore_repeated_errors Off Off
    ignore_repeated_source Off Off
    ignore_user_abort Off Off
    implicit_flush Off Off
    include_path .:/usr/local/lib/php .:/usr/local/lib/php
    log_errors On On
    log_errors_max_len 1024 1024
    magic_quotes_gpc Off Off
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off
    max_execution_time 30 30
    max_input_time 60 60
    open_basedir /no value/ /no value/
    output_buffering 4096 4096
    output_handler /no value/ /no value/
    post_max_size 8M 8M
    precision 14 14
    register_argc_argv Off Off
    register_globals Off Off
    report_memleaks On On
    safe_mode Off Off
    safe_mode_exec_dir /no value/ /no value/
    safe_mode_gid Off Off
    safe_mode_include_dir /no value/ /no value/
    sendmail_from /no value/ /no value/
    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
    serialize_precision 100 100
    short_open_tag On On
    SMTP localhost localhost
    smtp_port 25 25
    sql.safe_mode Off Off
    track_errors Off Off
    unserialize_callback_func /no value/ /no value/
    upload_max_filesize 2M 2M
    upload_tmp_dir /no value/ /no value/
    user_dir /no value/ /no value/
    variables_order GPCS GPCS
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off
    y2k_compliance On On

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2006-04-18, 02:47 PM
  2. Replies: 3
    Last Post: 2006-02-17, 05:12 PM
  3. Replies: 3
    Last Post: 2005-09-28, 03:54 PM
  4. File Uploading Problems
    By Derek in forum Help
    Replies: 1
    Last Post: 2005-09-13, 08:19 AM
  5. PATCH: HTML Emails and Templates
    By funkypenguin in forum Downloads
    Replies: 2
    Last Post: 2005-05-31, 10:14 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
  •