Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Cannot upload large files via http  (Read 4415 times)

0 Members and 1 Guest are viewing this topic.

netforce

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Cannot upload large files via http
« on: June 19, 2009, 04:07:50 pm »

Hi Guys,

My gallery worked fine before. I was able to upload flv files no problem. Now I get the error Script called without the required parameter (s) I went through the support docs and did the settings as specified. I also upgraded my gallery to the latest version. I setup an user account test/test Gallery is at http://woojinjung.com/gallery

Any help would be great.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload large files via http
« Reply #1 on: June 19, 2009, 05:23:00 pm »

Uploads work as expected - see http://woojinjung.com/gallery/displayimage.php?pos=-1000
There's a limit for your webserver concerning the file size and dimensions of the file that you can upload. Without details on the file your uploaded that failed we can't tell more.
Logged

netforce

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Cannot upload large files via http
« Reply #2 on: June 19, 2009, 07:59:50 pm »

Yes images work but I stated it was a flv file which is a movie file and it is 15MB in size.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload large files via http
« Reply #3 on: June 19, 2009, 08:11:47 pm »

Now that's not very amazing: you will run into time-outs (both server-sided as well as client-sided) for such large files - you simply can't upload such files using http. Use FTP-uploads plus batch-add for videos and other files that are that big in terms of file-size. There's nothing to circumvent the timeouts when using http uploads. The script simply can not tell you what actually went wrong (because it ran into the timeout), so you get the error message you initially reported, which is a result of the form field being empty if you time-out (so coppermine is behaving as expected). There's no way to determine the difference between an empty field and "emptiness because of time-out".
Logged

netforce

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Cannot upload large files via http
« Reply #4 on: June 19, 2009, 08:14:03 pm »

I uploaded through FTP before even larger ones about 35MB so why can't I do that now?
Logged

netforce

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Cannot upload large files via http
« Reply #5 on: June 19, 2009, 08:15:10 pm »

I mean I've uploaded them through http before and had no problems... larger ones that were like 35 MB. So why can't I keep doing that?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot upload large files via http
« Reply #6 on: June 19, 2009, 08:23:30 pm »

Well, I have no idea - something might have changed on the end of your webhost - they may have reduced the period a PHP script is allowed to run. Why you run into time-outs can have several reasons, both server-sided (webserver setup-related, not coppermine related) as well as client-sided (your connection speed differing for upstreams, your browser getting updated etc.). None of those factors is being controlled by Coppermine, and there are a lot of factors that interact. This being said: we can hardly help you with that. You (as coppermine admin) are suppossed to FTP upload plus batch-add anyway. Be glad that things used to work in the past for such huge files (it's an exception that you have been able to upload such large files). Now it's time to look into FTP uploading: it's faster and easier if you ask me. It's the prefered upload method for the admin. Leave http uploads to "regular, non-admin users" if you allow others to upload in the first place. I can't think of anything else to recommend.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.