Announcement

Collapse
No announcement yet.

Unable to upload more then 1.4mb file.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to upload more then 1.4mb file.

    For a while already, my users have not been able to upload files larger then around 1.4mb. The php setting is for 8mb and the vb setting is 2mb. I have tested uploading using the diagnostics tool and it uploads fine.

    When some one tries to upload larger then 1.4mb, the page just hangs.

  • #2
    In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and change the upload size for both PHP and for MySQL. Note, you'll need to have root access to the server to do this (or have your host do it.) Make thesechanges to php.ini

    upload_max_filesize = xM

    ..and my.cnf (or my.ini for Windows systems)

    set-variable=max_allowed_packet=xM

    Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.

    Note You may also need to increase the max_execution_time and max_input_time variables in php.ini.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      I said my max php upload is 8m. I upload into a dir not a database.

      Comment


      • #4
        Try following the instructions in the last line.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X