Greets...
Symtoms:
Not really sure why but suddenly me and a co-admin were getting errors while submitting downloads with larger file sizes using the "Submit" functionality (via /submit.php?stype=d ) and also in the administration.
The /submit.php?stype=d method often generated an blank page with the text :
Quote
Prevented an unwanted file upload attempt - 3!
The method via administration says everything is ok, yet do not list the submitted download. It is not in the downloads list, nor in the submitted files list. File size is set to allow 100MB. We also checked with the WebHost if they could see anything related in their logs and settings, but nothing there.
Actions:
So I went ahead and did two tings... first I upgraded from 9.03 (?) to 9.10.10. Then I noticed you implemented another upgrade functionality, kudos on that, 9.10.11 done... I also disabled the MIME check - see more below..
Then the Administration upload started working again but after several tests the /submit.php?stype=d is still not working correctly, seems it won't take uploads larger than about 70MB, I tested a 73MB and it did not upload despite a "Thank you for submitting your download".
It does not show up under Admin / Content / Downloads / Submissions. Limit was still set to 100MB. Please fix.
Also when you upload a file that is bordering the set limit in administration, you need to remember how the filesystem reports file sizes here, if you have a limit set at 100MB and have a file in Windows that is 96MB, the real size on the filesystem could still be slightly larger.
What's annoying here is that PHP-Fusion does not tell you the file is too large. What it does is it logs you out. After the upload is not done the page refreshes and you are out of the logged on session and you don't even see the login dialogue until you refresh the index page.
(MIME check wrecks havoc on downloads upload and ruined many of my tests. Those who were ok without MIME check, was not with MIME check - I leave it OFF - also crashes your session back to index if the upload fails).