I have a big (around 800K) .csv file to import.
The new import tool, when I try to import the file, exits with an error stating that I'm exceeding filesize limit of 100K.
My php.ini file has a filesize limit of 1024M
Where can I modify that limit? I am unable to locate it.
I will be most grateful if anyone can hep me.
Dario Delpiano
New import tool filesize limit
Re: New import tool filesize limit
Hi Dario,
Sorry if you've already been down this path.
I found in admin\pageUploadCSV.php a call in upload() to getUploadedFile, passing the value PHP_INT_MAX. Do you know what PHP_INT_MAX is set to on your system? To experiment, you could hardcode some other values in that getUploadedFile call, or go directly to admin\incFunctions.php and tweak getUploadedFile() where it checks $MaxSize.
Good luck.
~Paul
Sorry if you've already been down this path.
I found in admin\pageUploadCSV.php a call in upload() to getUploadedFile, passing the value PHP_INT_MAX. Do you know what PHP_INT_MAX is set to on your system? To experiment, you could hardcode some other values in that getUploadedFile call, or go directly to admin\incFunctions.php and tweak getUploadedFile() where it checks $MaxSize.
Good luck.
~Paul
Re: New import tool filesize limit
Thank you for your quick answer. I will check and let you know.
Bye
Dario Delpiano
Bye
Dario Delpiano
Re: New import tool filesize limit
I've checked: PHP_INT_MAX is hardware dependent. See here: https://www.php.net/manual/en/reserved.constants.php
And I've not been able to reproduce the problem when running my application in a (more performing) VM.
So I fear that's time for an hardware upgrade!
Thank you, anyway, for your support.
Dario Delpiano
And I've not been able to reproduce the problem when running my application in a (more performing) VM.
So I fear that's time for an hardware upgrade!
Thank you, anyway, for your support.
Dario Delpiano