Hello, I am using the latest Chronoforms for Joomla 1.5.26. I have set the maximum upload for 2 files in my form to 15MB like this
filnavn1:mp3|m4a|aac{15000-1},filnavn2:mp3|m4a|aac{15000-1}
If I submit the form with 2 small files i.ex. 3MB and 2MB it works fine. If I have 2 files of 4MB I submit the form and after a while it shows only a blank page. And the form is not submitted.
What I have done:
- enabled PHP errors on the page. This does not give me any PHP errors
- checked with FireBug. This does not give me any javascript errors
One thing is I now have 2 Chronoforms in my Components menu. Could this be an issue?
Where do I start to troubleshoot this issue?
Hi asle,
This is ChronoForms v3.2?
What is the max-file_size setting in your php.ini file? You can check it in the Site admin Info tab.
Bob
Hi, in my php.ini file I have this:
upload_max_filesize 96M
I don't see a max-file_size setting in php.ini. I am on a shared host so I have only looked at a "phpinfo();" page.
In my Joomla admin in the Site->System->Media Settings I have
Maximum Size (in bytes): 10000000
Hi asle,
That's OK (I was typing from memory and got it wrong).
I'd expect you to see an error with Error Reporting enabled, that bit is odd.
Is anything visible in the server logs?
I'm not sure why you have two ChronoForms in the menu but I don't think it will be related to the upload problem.
Bob
Hi asle,
Have you tried asking your web host to see if they can explain the error?
Bob
Well, they tell me about the same as you. Look for errors in the logfile and I can't find any. But the logical answer would be that you are not allowed to submit such big files? Submitting a smaller file (4MB) works fine while from 5MB and up it crashes. But the white page doesn't give me much information. Simply nothing. I wonder if it would help to uninstall and reinstall Chronoforms? How do I do that without losing my forms?
Hi asle,
You can re-install ChronoForms - back up the forms first and the database tables if you have any data saved. BUT I don't think that will make any difference.
It still sounds to me most like a server/PHP limit. I wonder if there isn't another upload_max_filesize setting (or something similar) that is limiting the size.
Bob
Thanks. I know this is frustrating to not get any error logging. Could this be an issue with max execution time? I have this in php.ini. Seems it could time out then if the files are too big?:
max_execution_time 50
max_file_uploads 20
upload_max_filesize 96M
file_uploads On
The reason I asked about reinstalling was because I now have 2 chronoforms in my menu, obiviously an old one (contains my forms) and a newer one with no forms(can see by the looks!). I am not able to use the wizard on the old chronoforms but can edit the forms. On the new one I can use the wizard. Strange but maybe not related to this upload problem. Sorry.
~asle
Hi asle,
I guess it should be max_execution_time but I'd expect you to see a 'timed out' error message in that case. Unless the connection is very slow it shouldn't time out on the size files you are testing.
I'm afraid that I'm baffled here at the moment :-(
Bob
After they changed the timeout value I am able to upload 2 files of 4.5mb. If I upload one file of i.ex. 5 MB I get the white page. I will let you know if I solve it. Thanks very much anyway for your effort!