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: Html Upload question  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

omerbennun

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Html Upload question
« on: September 27, 2007, 10:15:50 am »

Hey all,

I've installed coppermine photo gallery a week ago, and I really liked it.

I have only 1 problem with it...

I've read the manual thoroughly,and simply couldn't find the answer...

I want my users to be able to upload more than 10 files via http each time.

Is that possible? Maybe someone here knows what file I need to edit for me to set it to more? (I want about 40-50)

Thanks in advance  ;D

//Omer//
Logged

omerbennun

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Html Upload question
« Reply #1 on: September 27, 2007, 10:20:18 am »

P.s. I've seen the post which says that it isn't good at handling large numbers of files, but I want to give it a shot anyways...

Thanks...
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Html Upload question
« Reply #2 on: September 27, 2007, 10:32:23 am »

Use the Search option, it is there for a reason.

But if you open groupmgr.php .. go to line 202
Code: [Select]
for ($i = 0; $i <= 10; $i++) {
Change the 10 to 40 and you will have 40 boxes. It is not recommended to do this because it puts a big load on your server.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Html Upload question
« Reply #3 on: September 27, 2007, 03:03:00 pm »

As Hein suggested: this is not recommended at all. Don't complain if things later turn out not to work as expected.

BTW: it's "HTTP upload" instead of "HTML upload". HTML is a language construct. HTTP is a protocol. All www pages are being composed using HTML, so it's not a good criteria. The issue lies in the HTTP upload, which is influenced by many, many factors (client OS, browser, connection speed and type, server OS, server setup, number of files, filesize, dimensions of files - to only name a few).
The maximum number of simultaneous HTTP uploads has deliberately been set to "10" by the coppermine developers when we designed the upload script, simply because it's what I'd consider an absolute upper limit. Although it's comparatively easy to increase the number of files, it's absolutely not a good idea at all to do so. Instead of increasing this number to an insane level, why don't you review the alternative upload methods for end users (XP_Publisher, Koppermine, JUpload etc.) instead.

You (as admin) should use FTP-upload plus batch-add anyway.

Joachim
Logged

omerbennun

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Html Upload question
« Reply #4 on: September 27, 2007, 11:16:04 pm »

I realize that it's HTTP, it was a silly mistake...

as for the serverload-it won't be a problem simply because the filesize limit is 150Kb...

Thank you both for your answers!

BTW...
can you maybe give me any links which explain the other upload methods you mentioned?

Thanks!
Omer
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Html Upload question
« Reply #5 on: September 28, 2007, 06:14:02 am »

as for the serverload-it won't be a problem simply because the filesize limit is 150Kb...
That is nonsense - the filesize limit is only being taken into account if all those files have successfully been uploaded. If this fails, the user will not be told what went wrong. Believe me, I know what I'm talking about.

can you maybe give me any links which explain the other upload methods you mentioned?
Searching the board would have helpded - that's what I had to do as well to post the following links. In the future, don't be lazy. I'm not here to do your homework.

XP-Publisher: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#xp
JUpload: http://forum.coppermine-gallery.net/index.php?topic=43432.0
Koppermine: http://forum.coppermine-gallery.net/index.php?topic=29497.0
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 16 queries.