Forums

File Upload has stopped working since Joomla 3.6.2 update

MainsailSoftware 06 Aug, 2016
I have a form that contains the ability to upload files. It has been working just fine for over a year. Now I am not sure exactly when it stopped working, but after updating to Joomla 3.6.0 about a month ago, and then to 3.6.1 and then to 3.6.2 a few days ago a user tried yesterday to upload a file and it did not successfully upload. There was no error encountered, but the file was not present in the folder (default chronoforms upload form folder). The file that failed was 3.7mb. The upload action is configured with a max size limit value of 10000 (10mb as I understand it). If I test with a file of size 22kb, it works, but uploads of larger files (I have not experimented enough to figure out the size failure boundary) in the same size range as 3.7mb fail, If I pr($form->files) I see the smaller file, but the $form->files variable is empty when trying to upload the larger file.

Really not sure exactly is going on here. I have code in the On Fail section of the Upload Action that never executes, so it is not detecting the failure. Debug also shows nothing.

We also upgraded PHP version from 5.4 to 5.5.33 about a week ago.

Just wondering if his has happened to anyone else and if this is a bug (feature?) of the current CF version?
GreyHead 06 Aug, 2016
Hi MainsailSoftware,

I just checked and basic file upload seems to be working OK in Joomla! 3.6.2

What is the max_file_size setting in the site PHP configuration? You'll find it on the Site Information > PHP Info page

Bob
MainsailSoftware 07 Aug, 2016
Thanks Bob...

I had a look at phpinfo() and yep, it is set to 2M and explains the 3.7M failure and the 22kb success... I think changing it in php.ini will solve the problem...
This topic is locked and no more replies can be posted.