Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Cannot upload large files...  (Read 3193 times)

0 Members and 1 Guest are viewing this topic.

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
[Solved]: Cannot upload large files...
« on: July 23, 2004, 04:35:46 am »

Hi,

I'm wondering if I am seeing this error message when I try to use the Upload file feature as an admin user in CPG 1.3.1.

I can FTP large files just fine, but today I wanted to try it using the Upload File feature but keep getting the 0 files uploaded error.

Which directive in the php.ini file does CPG use:

post_max_size           =       55M             ; Maximum size of POST data that PHP will accept.

OR

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads    = On                            ; Whether to allow HTTP file uploads
;upload_tmp_dir =                       ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 2M                    ; Maximum allowed size for uploaded files

Whould the latter be why I can't upload larger files?

Thanks! (BTW, i'm on a shared server, so it's not like I can just change those parameters and see if that's it... :P )
« Last Edit: July 23, 2004, 06:54:24 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload large files...
« Reply #1 on: July 23, 2004, 10:19:40 am »

all directives apply, so whatever is the smallest one will by your limit. In  your case, it's probably upload_max_filesize = 2M. Please read the sticky threads (the ones with a pin icon next to it) on this sub-board. Just upload files in a web-safe size (resize the on your client first) and you should be safe. The filesize you can upload with ftp is irrelevant, as ftp is something else than php. With ftp, there's only one limit: the total webspace you have left.

GauGau
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Re: Cannot upload large files...
« Reply #2 on: July 23, 2004, 06:11:41 pm »

Thanks for your reply... I'll begin resizing the ones that are too large :)  Also trying to work with my hosting company to change it to something like 3MB :)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.