Announcement

#1 2016-10-17 01:25:10

mcgeepj2
Member
2016-01-25
37

File Uploader MAX File Size Resriction

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

 

#2 2016-10-17 12:33:52

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

Hello
this is a server side restriction; check on the web and your hosting FAQ, or contact them


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2016-10-17 13:51:41

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

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

 

#4 2016-10-17 14:05:58

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

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)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2016-10-17 14:34:38

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

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

 

#6 2016-10-17 14:38:11

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

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

 

#7 2016-10-17 14:38:23

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

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)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2016-10-17 14:58:23

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

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

 

#9 2016-10-17 15:00:40

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

Ho!
what are the special characters concerned? i will try too


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#10 2016-10-17 15:03:24

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

SPACES and DASHES only
ugh

Offline

 

#11 2016-10-17 15:06:18

mcgeepj2
Member
2016-01-25
37

Re: File Uploader MAX File Size Resriction

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

 

#12 2016-10-17 18:03:58

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#13 2016-10-18 17:14:35

flop25
Piwigo Team
2006-07-06
7036

Re: File Uploader MAX File Size Resriction

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact