1
ssenne1
wf-downloads: Users can't upload
  • 2005/1/27 21:36

  • ssenne1

  • Just popping in

  • Posts: 5

  • Since: 2005/1/25


I installed wf-downlaods version 2.05a, enabled User Uploads, and left
Upload Size (KB) at 200000

I attempted to upload a file that is 4186256 bytes through both the user interface and the admin interface.
Both dispaly this Message:
[QUOTE]
The file you are trying to upload is too big. Error: 1
[/QUOTE]

Note: the file is an exe, which was originally disallowed, so I allowed it and I get the same error either way.

I turned on php debug, bu nothing shows up at the bottom of the page. (That is where it usually shows up right?)
If there is any further information I can give that may be useful, just say so.

2
Rhomal
Re: wf-downloads: Users can't upload
  • 2005/1/27 21:59

  • Rhomal

  • Quite a regular

  • Posts: 274

  • Since: 2004/10/5


You need to set max file size in php.ini as well.

3
m0nty
Re: wf-downloads: Users can
  • 2005/1/27 22:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


goto admin and click on the wfdownloads module so it's admin page comes up

look in this box: near centre of screen

Server Status
Information taken from PHP ini File:
GD Library Support: Enabled (Thumbs Nails Available)
GD Library Version: bundled (2.0.28 compatible)


Safe Mode Status: OFF
Register Globals: OFF
Server Uploads Status: ON
Max Upload Size Permitted: 64M <<<<< what does this say
Max Post Size Permitted: 64M

check max upload size permitted and see what that says.. as that is the max size of any file u can submit by http.. and there's nothin you can do about that unless u have access to php.ini or you contact your host..

4
ssenne1
Re: wf-downloads: Users can
  • 2005/1/28 5:05

  • ssenne1

  • Just popping in

  • Posts: 5

  • Since: 2005/1/25


from the Main Index of WF-downloads:
# GD Library Support: Enabled (Thumbs Nails Available)
# GD Library Version: bundled (2.0.28 compatible)

# Safe Mode Status: OFF
# Register Globals: OFF
# Server Uploads Status: ON
# Max Upload Size Permitted: 2M
# Max Post Size Permitted: 8M

Ah-hah!

from php.ini:
upload_max_filesize = 2M
post_max_size = 8M

I adjusted both values, and now everything seems to be working fine. Thanks Guys!

Is there anything I should know about making either one of these to big, like running out of memory or something?

5
m0nty
Re: wf-downloads: Users can
  • 2005/1/28 5:21

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


post max size oughta really be abt 16m minimum.. max upload depends really on what u want people to upload.. a few 100mb files will soon fill ur server space..

memory_limit = 64M ; Maximum amount of memory a script may consume (8MB) in php.ini needs to ideally be set as high as pos.. but definitely higher than max post size..

safe mode oughta be turned on aswell if ur using it as a production/online server.. if u only use it as a development/test server then its ok to turn it off..

best to keep register globals off tho..

6
octopus2903
Re: wf-downloads: Users can
  • 2007/7/25 21:38

  • octopus2903

  • Just popping in

  • Posts: 5

  • Since: 2007/1/3 1


Hello,

I changed all three php.ini files in my xampp:
memory_limit = 128M
post_max_size = 100M
upload_max_filesize = 100M

But my wfdownloads-modul give me the following server status:

WF-Downloads Meta Version: 3.2.002
Information taken from PHP ini File:
GD Library Support: Enabled (Thumbs Nails Available)
GD Library Version: bundled (2.0.28 compatible)

Safe Mode Status: OFF
Register Globals: OFF
Server Uploads Status: ON
Max Upload Size Permitted: 16M
Max Post Size Permitted: 16M

What is the mistake I did? Where have I to change anathing else?

Thanks and greets
Octopus

7
octopus2903
Re: wf-downloads: Users can
  • 2007/7/25 22:01

  • octopus2903

  • Just popping in

  • Posts: 5

  • Since: 2007/1/3 1


Problem solved:

I restarted my Apache Server - now it is working!

Login

Who's Online

325 user(s) are online (260 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

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

Latest GitHub Commits