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] 2   Go Down

Author Topic: Exceded FileSize  (Read 12791 times)

0 Members and 1 Guest are viewing this topic.

coolhead

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • ClicFoto.com.ar
Exceded FileSize
« on: June 27, 2004, 04:00:17 pm »

The CPG 1.3 don't control the limit of the filesize. I upload one file (using multiple uploads "5 boxes") and this execed the limit of filesize in CPG.

here is the example (i copy & paste from my web) : 5187/5120 KB

Don't say me the msg of exceded limit.



Thanks Bruno.
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Exceded FileSize
« Reply #1 on: June 27, 2004, 06:54:45 pm »

I don't quite understand you, but maybe this is the cause:

http://forum.coppermine-gallery.net/index.php?topic=5843.0



-omni
Logged

coolhead

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • ClicFoto.com.ar
Re: Exceded FileSize
« Reply #2 on: June 27, 2004, 09:20:25 pm »

No, sorry. My english is not good. I try again to explain the problem.

When a user is uploading a file or photo, and he exceded the max allowed, for example : Groups Members has 5000 kb on disk for his albums. They can upload picture, and it isn't important the limit.
The program "upload.php" don't control the limit of the files uploaded from users.

Thanks Bruno
Logged

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #3 on: July 05, 2004, 10:07:57 pm »

I have the same problem.  :\'(

My Coppermine looks so: (Admin)


Benutzername  Gruppe          Registriert am     Operationen             Bilder       Speicherplatzverbrauch / Quota
einser-gti         Inaktiv           05.Juli 2004        bearbeiten löschen   0             0 kB 200 kB
Shrek              Registered     03.Juli 2004        bearbeiten löschen   0             0 kB 200 kB
hoeness          Registered      01.Juli 2004       bearbeiten löschen    3            248 kB 200 kB  
admin             Administrators 30.Mai 2004       bearbeiten löschen     0            0 kB 10240 kB


and here is the problem

--->screenshot


Please help us. When a user can upload 50 pics my host crashes.

Thank you.



Logged

coolhead

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • ClicFoto.com.ar
Re: Exceded FileSize
« Reply #4 on: July 06, 2004, 02:24:09 am »

The problem is when you configure a user in 2 or more groups and the groups has diferent cuotas.

Thanks Bruno
Logged

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #5 on: July 09, 2004, 02:42:40 am »

No, sorry. I have tried this, but this is not the problem.  :\'(

Please help. Has no coppermise user this problem?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Exceded FileSize
« Reply #6 on: July 09, 2004, 06:22:24 am »

please post a screenshot of your groups settings as well (you can attach the screenshot to your post, using the "additional options" at the bottom left of the "compose message" screen).

GauGau
Logged

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #7 on: July 09, 2004, 04:10:34 pm »

here is the screenshot

[attachment deleted by admin]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Exceded FileSize
« Reply #8 on: July 09, 2004, 10:52:39 pm »

I must admit I have no clue what happens there. Maybe some other dev could look into this? Sorry...

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Exceded FileSize
« Reply #9 on: July 10, 2004, 06:58:24 pm »

I have done several tests on this, and am unable to replicate this, except by changing the quota after upload was done.  The upload file has changed since the 1.3.0 was bundled.  Have you got the latest copy from the stable branch of the cvs.

If not, try that and see if it still happens.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Exceded FileSize
« Reply #10 on: July 10, 2004, 07:33:48 pm »

Hmmm... this could be the side effect of reversing of bit maths that we did when large quota settings were breaking the install....
Willl have to test
Logged
SANIsoft PHP applications for E Biz

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #11 on: July 10, 2004, 10:58:57 pm »

Thank you. I have the latest version of coppermine.

Have no user of coppermine the same problem?

When the limit for a user is 200kb, why he can upload 300kb?  ???

Thank you for your help.  ;)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Exceded FileSize
« Reply #12 on: July 11, 2004, 01:56:05 pm »

What version of upload.php do you have?
Look near the top of the file. The latest is;
Quote
CVS version: $Id: upload.php,v 1.6 2004/07/09 06:57:35 gaugau Exp $

If yours is different, get the latest from the cvs stable branch, and see if that fixes it.
http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/upload.php
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

taz

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Exceded FileSize
« Reply #13 on: July 14, 2004, 08:35:17 am »

I have obtained the updated upload.php file and tested it as a new user on my gallery.

it looks like the quota limit does NOT work if the files are uploaded in the public albums. Seems like the quota only apllies to the users' own created album.

Can someone confirm this?
Logged

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #14 on: July 14, 2004, 10:35:20 am »

That is the problem what i mean.  :\'(
Logged

taz

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Exceded FileSize
« Reply #15 on: July 15, 2004, 07:13:31 pm »

is there any fix for this?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Exceded FileSize
« Reply #16 on: July 15, 2004, 07:41:26 pm »

Please confirm this issue still exists after upgrading to 1.3.1.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ronny

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Posts: 49
Re: Exceded FileSize
« Reply #17 on: July 15, 2004, 08:11:51 pm »

I don´t know what you mean.  ???

I am from Germany and my English is not good. Sorry.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Exceded FileSize
« Reply #18 on: July 15, 2004, 08:18:44 pm »

Hi Ronny,

we issued an updated version today, 1.3.1, which fixes all known bugs in 1.3.0.

Please download it, replace all your files, and then run update.php.

Then test to see if your users can still upload more than the quota.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

taz

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Exceded FileSize
« Reply #19 on: July 15, 2004, 08:28:10 pm »

Hi Ronny,

we issued an updated version today, 1.3.1, which fixes all known bugs in 1.3.0.

Please download it, replace all your files, and then run update.php.

Then test to see if your users can still upload more than the quota.

do you mean upload.php Revision 1.6 ??
I have already upgraded my upload file to 1.6 but it still does not work

seems like the limit only applies for personal album

Logged
Pages: [1] 2   Go Up
 

Page created in 0.025 seconds with 15 queries.