How to solve file too large error?

@halilesen · 10 Apr 2024 · 622 views
Post Reply
User avatar
halilesen
#1 ·
Posts: 57
Joined: 24 Mar 2024, 18:09
Full Name: Halil ESEN
Has liked: 12
Been liked: 9
phpbb-error-file-too-large.jpg
phpbb-error-file-too-large.jpg (64.79 KiB) Viewed 622 times

When you try to upload an attachment, i.e. an image or file, to your phpBB forum, you may get an error saying that the file is too large. I will give you the solution to this error here.

First, log in to Administration Control Panel. Go to the "Attachment settings" page from the "Board configuration" menu on the side. You will see Total attachment quota, Maximum file size and Maximum file size messaging options.

phpbb-error-file-too-large-acp.jpg
phpbb-error-file-too-large-acp.jpg (49.3 KiB) Viewed 622 times

Total attachment quota refers to the limit of all files that can be uploaded to your phpBB forum. If you are concerned about the disk space of your host/server or if you are limited, enter a value accordingly in this input. If not, enter 0 and there will be no limit.

Maximum file size option is the one that actually causes us to get the error we mentioned in this topic. Set this to an appropriate MiB value. But this value cannot ignore php settings. For this reason, my recommendation is to set this to 0. Then edit the upload_max_filesize and post_max_size options in PHP Options from cPanel or whatever you are using. This may be healthier. On the other hand, these options may be in a good spot by default, so you may not need to go to cPanel.

In Maximum file size messaging option, if you allow attachments in PMs, you can enter an appropriate value or skip it.

Submit. Try again now and you should not get the error. If you're still getting the error after setting PHP Options, I recommend that you first submit a support ticket to your hosting company.
Post Reply
  • Similar Topics