Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: User2 on February 04, 2023, 03:19:33 AM

Title: False message that the allowed number of attachments has been exceeded.
Post by: User2 on February 04, 2023, 03:19:33 AM
Hello. Now on my forum during the creation of the message, in the "Attachments" section there is a text: You have reached the maximum number of attachments allowed per post.
At the same time, I did not attach a single attachment at all.
At the same time, I can attach an attachment.
Title: Re: False message that the allowed number of attachments has been exceeded.
Post by: Aleksi "Lex" Kilpinen on February 04, 2023, 03:21:00 AM
Go check your attachment settings, and set up limits. See if that changes then?
If you already have all limits properly configured, I wonder if 0 limit causes this.
Title: Re: False message that the allowed number of attachments has been exceeded.
Post by: User2 on February 04, 2023, 03:29:51 AM
Admin - Forum - Attachments and Avatars - Attachment Settings
in the paragraph: Max number of attachments per post, I put 0, but the signature remains: You have reached the maximum number of attachments allowed per post.
Title: Re: False message that the allowed number of attachments has been exceeded.
Post by: Aleksi "Lex" Kilpinen on February 04, 2023, 03:38:24 AM
Confirmed, setting 0 for no file limits causes erroneous message about reached limits.

#7682 (https://github.com/SimpleMachines/SMF2.1/issues/7682)