Forums

Download Monitor plugin - MAX_FILE_SIZE issue (5 posts)

  1. mediter
    Member
    Posted 4 years ago #

    I tried to upload a pdf, which is only 1.9mb in size, using Download Monitor plugin, then I got the following message "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form."

    Then I found out that as stated just below the choose file button, "Max. filesize = 1048576 bytes." , which translates to about 1 mb . However, when I tried to search the plugin files for this file size limit, it is nowhere to be found.

    So, I am, hereby, asking for your help or at least point me to the right direction.

    Your stopping by is appreciated ! Thank you very much for stopping by !

  2. Lester Chan
    Member
    Posted 4 years ago #

    the max file size maybe determine from your php settings also

  3. lap dog shuffle
    Member
    Posted 4 years ago #

    Yep, MAX_FILE_SIZE is determined in php.ini (the php settings file on your server) and is set to 2mb as standard. Some hosts allow you to edit your own php.ini (ie. mediatemple) others have control panel settings to change certain parameters, sometimes using .htacess to switch off php safe mode can help too...

    Contact your host...

  4. Mike
    Member
    Posted 4 years ago #

    "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form."

    If you are getting that then look for the line (in latest version) that says:

    $max_upload_size = 10485760; //10mb

    (note this has been increased to 10 in latest version)

    However, after doing this you may get a message saying that the file is too big for the SERVER, in which case you will need to modify php.ini as stated above.

  5. mediter
    Member
    Posted 4 years ago #

    Thanks for all your help !

Topic Closed

This topic has been closed to new replies.

About this Topic