Forumlar / Cotonti / Support / Can no longer upload files in PFS since 0.9.11?

foxhound
#1 2012-08-26 14:22

I have a weird issue since I updated my (wip) new skin to 0.9.11.
I am not able to upload any file to my PFS and I have no idea why not. I checked every setting I could, I checked permissions and what not. I reinstalled 0.9.11, I binned my DB and started all over again but nothing works, no uploads for me anymore.

The error I get with any file I try (large, small, different extensions, zipped or not) is this:

    ccgm_pnc_screenshot_2_4.bmp : The upload failed, this file is too big or the extension is not allowed?
    ccgm_pnc_screenshot_2_4.jpg : The upload failed, this file is too big or the extension is not allowed?
    ccgm_pnc_screenshot_2_4.png : The upload failed, this file is too big or the extension is not allowed?
    ccgm_pnc_screenshot_2_4.zip : The upload failed, this file is too big or the extension is not allowed?

Here are some screens of my settings:

pfs_settings_1_4.jpg pfs_settings_2_4.jpg

Anyone has any idea what could cause this? Is there something new in 0.9.11 preventing me to upload any files?

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Kingsley
#2 2012-08-26 16:48

checked if cmod is correct?

GHengeveld
#3 2012-08-26 17:02
Check the user group settings for maximum file size and total allowed file space. Since 9.11 the max file size and total space is determined differently.
foxhound
#4 2012-08-26 22:38
#35211 Kingsley:

checked if cmod is correct?

 

Yep, checked that.

#35212 GHengeveld:
Check the user group settings for maximum file size and total allowed file space. Since 9.11 the max file size and total space is determined differently.

 

I can not believe I did not check that. Cause I set all those values before already I never figured it was reset with the 0.9.11 update.
Yes, I had to re-set the values for both max file size as well as total file size for PFS per user.
Waisted hours on this trying to solve it........I feel a bit stupid now :)

Thanks for the help, I appreciate it. But maybe you might want to think about wether you wish to list such changes in the release notes? Even now that I know of the change I cant find it in the list of changes, or maybe I am just blind.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
GHengeveld
#5 2012-08-27 08:59

It should not have been reset by the upgrade. There has not been a change in the database structure regarding the pfs limits. The only thing that has changed is the way limits are calculated:

  • max file size = highest value of all usergroups the user belongs to (e.g. 1mb for members + 2mb for moderators = 2mb max)
  • total file space = sum of filespace limits of all usergroups the user belongs to (e.g. 1mb for members + 5mb for moderators = 6mb total)

Previously, these limits were determined by the user's maingroup, not subgroups. With the new calculation, subgroups are also included in the calculation.

Eugene
#6 2012-08-27 10:18
#35218 foxhound:
But maybe you might want to think about wether you wish to list such changes in the release notes? Even now that I know of the change I cant find it in the list of changes, or maybe I am just blind.

Just adding to previous. Several versions before 0 (zero) values for max.file size and PFS limit - where meaning "no limits", but now that means ZERO. )))

(btw, I would like to have some real value for administrators by default - what do you think? )

GHengeveld
#7 2012-08-27 16:16

That would be difficult to implement, because you would not have a way to actually set it to zero, except leaving the field blank. Also, it's not very intuitive to use 0 for 'unlimited'. Setting it to -1 for unlimited or introducing an 'unlimited' checkbox would be better. The usability of this configuration needs some improvement, because entering a value in bytes or kilobytes isn't very intuitive either. Perhaps a dropdown with some basic options plus options for 'unlimited' and 'custom' would be a solution.

foxhound
#8 2012-08-28 19:39
#35219 GHengeveld:

It should not have been reset by the upgrade. There has not been a change in the database structure regarding the pfs limits. The only thing that has changed is the way limits are calculated:

  • max file size = highest value of all usergroups the user belongs to (e.g. 1mb for members + 2mb for moderators = 2mb max)
  • total file space = sum of filespace limits of all usergroups the user belongs to (e.g. 1mb for members + 5mb for moderators = 6mb total)

Previously, these limits were determined by the user's maingroup, not subgroups. With the new calculation, subgroups are also included in the calculation.

Thanks for the additional info. I do not know why my values were reset than, thats a bit weird. But anyway, its fixed and thats what count the most.
I am only starting with Sienna lately for real working on this new skin so maybe the issue was entirly on my side, we will never know smiley
I like Sienna a lot but I also need to find the way again after using Seditio/Cotonti - Genoa for so many years.
 

And, regarding the other suggestion,yes a drop down of some sort with those options could be nice.

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Kingsley
#9 2012-08-29 01:24

Uhm, correct me when I'm wrong, but wasn't the idea to give the complete pfs an overhaul?

 

Not that I do not like the suggestions, but I say it more to prevent you guys from doing stuff that maybe will be addressed futher down the road... :)