When I try to upload a file I am getting following error in popup “Maximum number of files exceeded”. Total number of files uploaded by me till now is 116.
In ewcfg11.php I found following line define(“EW_MAX_FILE_COUNT”, 0, TRUE); // Max file size
Is it limits the upload count?
Yes, it seems the constant is for limit the maximum number of uploaded files. Zero should mean unlimited. Try to define the largest value.
I modified as, define(“EW_MAX_FILE_COUNT”, 1000, TRUE);
Now no error. Thank you.
Anyway to set this number into project file directly without editing output file after that?
You may simply use Global Code, e.g. (Assume v2023)Config(“MAX_FILE_COUNT”, 1000);
Thank you so much.I already try to put
Config(“MAX_FILE_COUNT”, 1000);
but still get error UploadErrMsgMaxNumberOfFilesDo I need to do something more?
I forgot to tell thatWhat I try to do is in import port not normal uploading file in to table field.
What did you mean by in import port not normal uploading file in to table field.? Can you explain it in more detail? A real example would be better to comprehend your situation.
You may change ew.importUploadOptions.maxNumberOfFiles (default is 10) by JavaScript.