1
pinchecl
max upload size
  • 2013/3/22 19:10

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


I have wfdownloads 3.2.1 installed on xoops 2.5.5.
My php ini gives the following values:
maxupload size and max post size both 30m.
However, in wfdownloads I do see max upload size=20m and max post size =8m. Is there something I have to do to change that as well? In the preferences I have also set it to 30m.
Could that limit be the cause of not being able to upload files bigger then 8m?

2
pinchecl
Re: max upload size
  • 2013/3/23 6:21

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


I just checked with debug. There is one error: Notice: Undefined variable: title in file /modules/wfdownloads/submit.php line 583

3
pinchecl
Re: max upload size
  • 2013/3/23 10:36

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


I have tested with tdmdownloads and the same problem exists: I can not upload over 8mb. Does anyone have a clue/can help me?

4
Mamba
Re: max upload size
  • 2013/3/23 10:41

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


What kind of host do you have? Is it Linux?

I suspect that it could be related to the host, but I'll be testing locally here to make sure that this is not related to the module itself.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
pinchecl
Re: max upload size
  • 2013/3/23 11:53

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


Yes Mamba, it is a linux host. I reckon it is not the module as both wfdownloads and tdmdownloads have the problem, although I can't tell if tdmdownloads also reports the max uploadsize and maxpost size different from the php.ini

6
Mamba
Re: max upload size
  • 2013/3/23 13:48

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


You'll need to change both values in your php.ini to whatever value you need. So for 50MB files it would be:

upload_max_filesize = 50M
post_max_size = 50M
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
pinchecl
Re: max upload size
  • 2013/3/23 13:50

  • pinchecl

  • Friend of XOOPS

  • Posts: 193

  • Since: 2005/4/22


In php.ini both are set to 30Mb. xoops system info also shows that. It's wfdownloads that reports differently. If you like/want/will I can give you access to my backend
Quote:

Mamba wrote:
You'll need to change both values in your php.ini to whatever value you need. So for 50MB files it would be:

upload_max_filesize = 50M
post_max_size = 50M

8
Mamba
Re: max upload size
  • 2013/3/23 14:06

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Sure, send me PM and I'll check it out...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
kakos
Re: max upload size
  • 2013/3/23 14:12

  • kakos

  • Friend of XOOPS

  • Posts: 77

  • Since: 2002/6/6 2


Usually the post_max_size is larger than upload_max_filesize. The values ​​that I've set to php.ini for 32mb uploads are

Quote:
upload_max_filesize = 32M
post_max_size = 64M


After all remember to restart the apache ...

10
Mamba
Re: max upload size
  • 2013/3/23 14:20

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
After all remember to restart the apache ...

Yes, I forgot to mention that!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

161 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits