coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: coolhead on June 27, 2004, 04:00:17 PM

Title: Exceded FileSize
Post by: coolhead 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.
Title: Re: Exceded FileSize
Post by: omniscientdeveloper 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
Title: Re: Exceded FileSize
Post by: coolhead 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
Title: Re: Exceded FileSize
Post by: ronny 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 (http://www.vwteam.com/gfx/coppermine.JPG)


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

Thank you.



Title: Re: Exceded FileSize
Post by: coolhead 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
Title: Re: Exceded FileSize
Post by: ronny 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?
Title: Re: Exceded FileSize
Post by: Joachim Müller 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
Title: Re: Exceded FileSize
Post by: ronny on July 09, 2004, 04:10:34 PM
here is the screenshot (http://www.top100paradise.de/images/ablage/groups.jpg)

[attachment deleted by admin]
Title: Re: Exceded FileSize
Post by: Joachim Müller 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
Title: Re: Exceded FileSize
Post by: Casper 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.
Title: Re: Exceded FileSize
Post by: Tarique Sani 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
Title: Re: Exceded FileSize
Post by: ronny 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.  ;)
Title: Re: Exceded FileSize
Post by: Casper 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;
QuoteCVS 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
Title: Re: Exceded FileSize
Post by: taz 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?
Title: Re: Exceded FileSize
Post by: ronny on July 14, 2004, 10:35:20 AM
That is the problem what i mean.  :\'(
Title: Re: Exceded FileSize
Post by: taz on July 15, 2004, 07:13:31 PM
is there any fix for this?
Title: Re: Exceded FileSize
Post by: Casper on July 15, 2004, 07:41:26 PM
Please confirm this issue still exists after upgrading to 1.3.1.
Title: Re: Exceded FileSize
Post by: ronny 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.
Title: Re: Exceded FileSize
Post by: Casper 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.
Title: Re: Exceded FileSize
Post by: taz on July 15, 2004, 08:28:10 PM
Quote from: Casper 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.

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

Title: Re: Exceded FileSize
Post by: Casper on July 16, 2004, 12:10:26 AM
No, I mean upload ALL files from the 1.3.1 download.  Many have changed.
Title: Re: Exceded FileSize
Post by: Joachim Müller on July 16, 2004, 08:05:22 AM
Casper wants you to download a new coppermine version that has been released yesterday and replace all files on your server with the new version. Then run update.php in your browser, try again and report if this fixes things for you.
You can download cpg1.3.1 by clicking on this link: http://prdownloads.sourceforge.net/coppermine/cpg1.3.1.zip?download

GauGau
Title: Re: Exceded FileSize
Post by: taz on July 16, 2004, 03:27:51 PM
i have upgraded to 1.31 .... the same problem still exists ... I can still upload beyond my limit

test it out for yourself?
try upload beyond your limit in public albums?
Title: Re: Exceded FileSize
Post by: coolhead on July 16, 2004, 03:50:27 PM
Hi all, in my coppermine 1.3.0 work fine. I config all user to one group only and this work fine for me.

When i have one user in more than 1 group, for example

Group                                  Size Permited
Registers                                 500 kb
Vip Users                                1000 kb

and the user "coolhead", for example is in both groups, but the principal group is "Register", he can upload more than this limit.
I supuose, this user has 500kb + 1000kb = 1500kb upload limit.

Try this pls, for me work.

(Sorry, my english is not good. If you need a Dictionary of Desencryption, send me a email  :-[)

Thanks Bruno
Title: Re: Exceded FileSize
Post by: taz on July 16, 2004, 04:04:29 PM
Quote from: coolhead on July 16, 2004, 03:50:27 PM
Hi all, in my coppermine 1.3.0 work fine. I config all user to one group only and this work fine for me.

When i have one user in more than 1 group, for example

Group                                  Size Permited
Registers                                 500 kb
Vip Users                                1000 kb

and the user "coolhead", for example is in both groups, but the principal group is "Register", he can upload more than this limit.
I supuose, this user has 500kb + 1000kb = 1500kb upload limit.

Try this pls, for me work.

(Sorry, my english is not good. If you need a Dictionary of Desencryption, send me a email  :-[)

Thanks Bruno

My user is only in ONE group ... the Registered group ...
so, I believe this is not the root cause
Title: Re: Exceded FileSize
Post by: Joachim Müller on July 16, 2004, 06:30:53 PM
I remember there has been a bug in previous versions where uploads to public galleries haven't been taken into account for the quota, but I thought this bug was fixed long time ago. I'm not sure why this happens to you, especially since others are unable to replicate.

GauGau
Title: Re: Exceded FileSize
Post by: coolhead on July 16, 2004, 07:40:21 PM
I upload files here : upload.php & picmgmt.inc.php

try me files, then post here if this files solve the problem.

Thanks Bruno
Title: Re: Exceded FileSize
Post by: taz on July 16, 2004, 07:58:01 PM
Quote from: GauGau on July 16, 2004, 06:30:53 PM
I remember there has been a bug in previous versions where uploads to public galleries haven't been taken into account for the quota, but I thought this bug was fixed long time ago. I'm not sure why this happens to you, especially since others are unable to replicate.

GauGau

if you scroll up the thread, Ronny has the same problem too
Title: Re: Exceded FileSize
Post by: pierre07 on February 09, 2005, 08:25:40 AM
And so have I...
Hello
Has this problem been solved since July ?

Quotas still don't work with 1.3.2
Thanks for your help.

Pierre

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg217.exs.cx%2Fimg217%2F2905%2Fgroups7ey.jpg&hash=a406e46d23e2c8ea07b969a6f2f75051fef763a4)

"Invites" = Visitors = no UL
"ASC" is the team = no limit

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg217.exs.cx%2Fimg217%2F8845%2Fusers1ih.jpg&hash=b677fff788a2a552317f48ee29fb235f4d424eb3)

The quota was the default one = 1024k
I just increased it to 1536k -> no change, every member can UL the amount he wants to.

???


Title: Re: Exceded FileSize
Post by: Joachim Müller on February 11, 2005, 04:19:46 PM
post a link to your site.

Joachim
Title: Re: Exceded FileSize
Post by: pierre07 on February 11, 2005, 06:49:57 PM
Hello,

Here is the address of the gallery:
http://pierre07d.free.fr/ASC/galerieASC/

Do you need an account as a member?

Thanks
Pierre
Title: Re: Exceded FileSize
Post by: Joachim Müller on February 12, 2005, 12:24:13 PM
Quote from: pierre07 on February 11, 2005, 06:49:57 PM
Do you need an account as a member?
Yes, please post one. Also, please upload at least one of the standard themes coppermine comes with so we can test wether this is related to your custom theme.

Joachim
Title: Re: Exceded FileSize
Post by: pierre07 on February 12, 2005, 02:30:50 PM
Hello,

A new account is enabled on http://pierre07d.free.fr/ASC/galerieASC/ :
Name: GauGau
Password: joachim  (no caps)

The language is set to english and the theme is a standard one until your next post.

Thanks
Pierre

Title: Re: Exceded FileSize
Post by: Joachim Müller on February 14, 2005, 08:17:27 AM
no need to set the language to english, I can manually switch to english as long as the english language file exists your server by adding ?lang=english to the url (like this http://pierre07d.free.fr/ASC/galerieASC/?lang=english). The same thing applies to the theme. It's safe to set your config back to french and your custom theme, as long as you leave the additional theme files on your server as well, like this http://pierre07d.free.fr/ASC/galerieASC/?lang=english&theme=water_drop
Uploading worked as expected, not sure what the problem is. As you require admin approval I can't tell you more...

Joachim
Title: Re: Exceded FileSize
Post by: pierre07 on February 14, 2005, 01:22:40 PM
Hello,

Thanks for your help.
Please try again, uploading 3 or 4 bigger pics and you'll see you can easily go beyond your quota of disk space that's set to 1536kb right now.
Uploading works as expected, even better than expected since the limit of disk space per member is of no use (on some galleries).
I can validate your ULs or disable admin approval.

Hope to see you again. Thx.
Pierre


Title: Re: Exceded FileSize
Post by: Joachim Müller on February 14, 2005, 06:19:17 PM
Not sure what to recommend. Please make sure you have the most recent files (use the version check tool versioncheck.php to verify).

Joachim
Title: Re: Exceded FileSize
Post by: pierre07 on February 14, 2005, 11:12:36 PM
Hello,

Thanks for the big pics! Your quota was 1536kb and you sent up 3172kb (without any alert, I suppose).
It's really a strange behavior.
versioncheck told me that I have the most recent files, except install.php that was deleted, versioncheck itself 1.1/1.4 and french language 1.10/1.13
If you have any idea to try even if you're not sure please don't hesitate.

Thank you,
Pierre
Title: Re: Exceded FileSize
Post by: Joachim Müller on February 15, 2005, 06:13:16 AM
although the versioncheck.php might say that your files are pretty up to date, there are newer files in the stable branch of the cvs (http://sourceforge.net/cvs/?group_id=89658). There have been various smaller fixes after the release of cpg1.3.2, and I'm not sure if this will fix things for you, but I suggest you get a cvs tool like tortoise (http://www.tortoisecvs.org/) and do an anonymous checkout of the stable branch of the cvs and replace all files on your server with the most recent ones from the cvs. Then run update.php once and check if the problem persists.

Joachim
Title: Re: Exceded FileSize
Post by: pierre07 on February 18, 2005, 10:50:32 PM
Hello,

I'm going to check the stable branch of cvs and replace files if necessary. Sorry I can't use tortoise for I'm a Mac user.

Thanks for your help,
Pierre