|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
File dimension: wrong size but only for a user
Hi all. I have a problem with a D6 site.
I have an user that can upload image via cck filefield image item. And it works. Now I have "activated" the upload module to permit the upload of "attached file". But the same user can not upload nothing with this error: The selected file 1211449416.png could not be uploaded. The file is 84.63 KB which would exceed your disk quota of 1 MB. Ehh ???? 84.63KB is bigger than 1MB ??? I have no quota on my server. And the administrator haven't this problem. Where is the error ? Tnx. M. -- Michel 'ZioBudda' Morelli michel@... Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@... JABBER: michel@... -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a user (SOLVED)
Hi, I have solved this problem: I have increased the max upload file
size for the user.
But why 84.63kb is bigger than 1MB ? M. Michel Morelli ha scritto: Hi all. I have a problem with a D6 site. -- Michel 'ZioBudda' Morelli michel@... Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@... JABBER: michel@... -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a user (SOLVED)On Tue, Oct 13, 2009 at 10:23 AM, Michel Morelli <michel@...> wrote:
> Hi, I have solved this problem: I have increased the max upload file size > for the user. > But why 84.63kb is bigger than 1MB ? Where do you change the max upload size?? -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a user (SOLVED)If you are using the core upload module you have both a max upload
size and a disk quota, configured on the site config -> file upload page and set by default, I think, to 1MB each. So it is not that 84KB > 1MB, but 84KB + size of all other files uploaded by that user > 1 MB. 2009/10/13 Martin Hooper <martin.hooper@...>: > On Tue, Oct 13, 2009 at 10:23 AM, Michel Morelli <michel@...> wrote: >> Hi, I have solved this problem: I have increased the max upload file size >> for the user. >> But why 84.63kb is bigger than 1MB ? > > Where do you change the max upload size?? > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Don Gourley, IT Manager & Acting Director Digital Humanities Observatory ~a project of the Royal Irish Academy~ +353 1 234 2446 -- d.gourley@... -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
How to set column size of flexible panel ?Hi,
I use panel module and select its flexible. I find that the column size can only be set by mouse. It is difficult to set a special width. I want to set a special percentage for the column by keyboard. How can i do this? Thanks Wang yi 861062139280 wangyi1997@... 2009-10-13 在 2009-10-13二的 11:00 +0100,Don Gourley写道: > If you are using the core upload module you have both a max upload > size and a disk quota, configured on the site config -> file upload > page and set by default, I think, to 1MB each. So it is not that 84KB > > 1MB, but 84KB + size of all other files uploaded by that user > 1 > MB. > > 2009/10/13 Martin Hooper <martin.hooper@...>: > > On Tue, Oct 13, 2009 at 10:23 AM, Michel Morelli <michel@...> wrote: > >> Hi, I have solved this problem: I have increased the max upload file size > >> for the user. > >> But why 84.63kb is bigger than 1MB ? > > > > Where do you change the max upload size?? > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > Don Gourley, IT Manager & Acting Director > Digital Humanities Observatory > ~a project of the Royal Irish Academy~ > +353 1 234 2446 -- d.gourley@... -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a user (SOLVED)If you are using the core upload module you have both a max upload size and a disk quota, configured on the site config -> file upload page and set by default, I think, to 1MB each. So it is not that 84KB, but 84KB + size of all other files uploaded by that user > 1MB. Ahhhhhhhhh Correct. M. -- Michel 'ZioBudda' Morelli michel@... Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@... JABBER: michel@... -- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a userIt's possible your disk quota is a cumulative one, and then, yes, 84k could exceed it.
Brian
On Tue, Oct 13, 2009 at 2:35 AM, Michel Morelli <michel@...> wrote:
-- [ Drupal support list | http://lists.drupal.org/ ] |
|
|
Re: File dimension: wrong size but only for a userHere is what seems to be the case on my server...
The file, includes/file.inc has a function file_space_used(), that calculates the user disk space used by doing a SELECT SUM(filesize) FROM {files} WHERE uid = %d' however, here the db actually has records for all the files user has ever uploaded in the past, including the ones that he has deleted now., and no more on disk. The result is: even though my user has only 2 files on disk (20MB each), the database tells, it has used up 499MB out of maximum 500 MB alotted to it. so even trying to upload a 2 MB file throws up the error: "The file is 2MB which would exceed your disk quota of 500 MB" - Jitender Pal Singh
|
| Free embeddable forum powered by Nabble | Forum Help |