• Hello everybody,
    I’m trying to use the “file” field for uploading excel files, everything works fine if the files are under 2MB, I tried to increase the maximum upload size allowed using “limit”.

    I use the file field in this way:
    [file new-file filetypes: pdf | txt | xls | xlsx limit: 5242880]

    But even in this way it gives the same problem:
    [file new-file filetypes: pdf | txt | xls | xlsx limit: 5mb]

    I also tried to modify some parameters in the function.php file, adding this code:

    @ini_set (‘upload_max_size’, ’64M’);
    @ini_set (‘post_max_size’, ’64M’);
    @ini_set (‘max_execution_time’, ‘300’);

    I think it is a server-related problem, since in another environment I have no problems.

    How do I get a more specific error code than this:
    “There was an error uploading the file.” ?

    Thanks for the support you will want to give me

    • This topic was modified 2 years, 8 months ago by webatlas.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘file size upload issue’ is closed to new replies.