Greetings,
I am trying to upload PDF files using File Uploader, but it restricts the file size to 65536 Kio. Is there anyway to change or increase that size? I can't even upload a simple file that is 86.kb in size.
Piwigo version: 2.822
Piwigo URL: http://www.f-106deltadart.com/piwigo/
Offline
Hello
this is a server side restriction; check on the web and your hosting FAQ, or contact them
Offline
MY server-side? From the database? I upload large documents all the time into several databases on my server with no problem. It's only when using the File Upload here does the app fail because of a file size limit of only 65536 Kio.
Offline
You are mixing up the things ...
Your server runs Mysql (the databases) and Apache (or Nginx) which runs Php which runs Piwigo. Piwigo does not limit file size but only file type (that's clearly written on the upload page, and you can change that by using the local configuration from LocalFiles Editor; for isntance $conf['upload_form_all_types'] = true;)
For file size (if that's the actual issue) you need to change the php config (the default one or any htaccess file which would have override it)
Offline
Thank you I will look deeper. My servers PHP 'upload_max_filesize' is defaulted to 64M, which I just checked with my test script. So I don't know why files less than 1M are failing.
Offline
Where in piwigo can I find the name of the database it's using? Unfortunately I have several piwigo named DB's from several failed install attempts last year (prior to the successful one) and I never removed them.
Offline
htaccess ?
but does the issue occurs also with pictures? What error is exactly produced?
ps: in local/config/database.inc.php but it's not linked. Piwigo doesn't send the files to the database but to the "hard drive of the server" The fault is somewhere between Apache/Php
Last edited by flop25 (2016-10-17 14:40:55)
Offline
No uploading photos is fine and also videos, no problems.
Son of B I just figured out it's the file names. I just uploaded 2 of the problem ones from before after renaming them to simple names. damn
Copy on the file location thanks.
Last edited by mcgeepj2 (2016-10-17 14:59:24)
Offline
Ho!
what are the special characters concerned? i will try too
Offline
SPACES and DASHES only
ugh
Offline
Maybe it's the length also, not sure. Here is one that did not work before "84 FIS Iced Pitot Tubes on Vertical Fin.pdf" with nothing but spaces. I copied it, renamed to '84FIS.pdf', same file size and no problem.
Offline
if you use the developer console (F12) from your web browser while uploading, you should see something like the screenshot attached here (Firefox+Firebug extension). Then report us any error message
Offline
ps: I answered that yetserday because I tried myself and didn't have any problem
check also the server logs or in potentials error_log files
Offline