upload attachments xenforo 2

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

hello, I have a problem with xenforo 2. I can't upload larger files as an attachment, more precisely I want to upload a .rar archive of 300mb as an attachment but it doesn't allow it to load 100% but nothing happens... if I upload a larger file small works without problems.. what solution can I find? I also changed the space in php.ini, I kept trying but I can't figure it out
if I haven't posted it where it should, please move it
 

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

thanks for reply ,
this is my settings
Maximum attachment file size: 9240576

KB
Provide the maximum attachment file size in kilobytes (KB). Attachments over this size will be rejected. The configuration of this server limits this value to 9,240,576 KB.
 

DarkMaster

Collaborate
Collaborate
Registered
Joined
Feb 14, 2020
Messages
40
Points
28

Reputation:

what size files are you trying to upload
 

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

300 mb ... :(
 
View previous replies…

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

dedicated servers with debian 12 :(
 

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

Attachments

  • image_2024-08-10_102755762.png
    image_2024-08-10_102755762.png
    58.2 KB · Views: 39
View previous replies…

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,162
Points
173

Reputation:

I put it in but it still doesn't work, the file loads 100% but it doesn't save
twekyWhat version xf ? If use xf 2.3 this version not support.
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

If your forums is proxied through cloudflare, then you are not able to upload files larger than 100MB due to free plan.

In my case, I use cloudflare and https://enxf.cc/resources/chunked-uploads-xf2.2467/ has fixed it for me.

brave_v5eKUDOlAA.png


https://community.cloudflare.com/t/uploading-large-files/627287

If that doesn't fix your problem, then it can be always a problem with your hosting provider not letting you upload xx large files due to security reasons, you might reach out to your provider's customer service and ask them if they can take a look at your issue, because this is normally not a problem with XenForo by default (Unless you use a faulty nulled version and something else is broken within your xf copy)
 

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

If your forums is proxied through cloudflare, then you are not able to upload files larger than 100MB due to free plan.

In my case, I use cloudflare and https://enxf.cc/resources/chunked-uploads-xf2.2467/ has fixed it for me.

View attachment 40868

https://community.cloudflare.com/t/uploading-large-files/627287

If that doesn't fix your problem, then it can be always a problem with your hosting provider not letting you upload xx large files due to security reasons, you might reach out to your provider's customer service and ask them if they can take a look at your issue, because this is normally not a problem with XenForo by default (Unless you use a faulty nulled version and something else is broken within your xf copy)
SplichoI use cloudflare, I don't think it has anything to do with the fact that on other video sites I can also upload 1-hour movies without problems, I have a dedicated server, I have full access to it because I keep it at home
 
View previous replies…

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

Well, there's the difference. Cloudflare limits files being uploaded per POST request. If you upload files via FTP, it all works fine.
Since XenForo uploads files via the upload form per POST request, it won't work and gets limited.
Splichoand is there a solution to solve this?
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
805
Points
153

Reputation:

and is there a solution to solve this?
twekyYes, like I said above. Normally, the chunk upload addon should work just fine.
If it still doesn't work, then it might be a problem with your provider or something else.

I am on 2.2.16 XenForo and the addon works just fine. Check out my settings in case you have different ones.

brave_xtyyiBdmFD.png


Note: Make sure the chunk size is not more than 100MB


screencapture-emudevs-gg-admin-php-2024-08-10-20_39_07.jpg
 

ShieldX

Well-known member
Registered
Joined
Mar 27, 2022
Messages
542
Points
53

Reputation:

hello, I have a problem with xenforo 2. I can't upload larger files as an attachment, more precisely I want to upload a .rar archive of 300mb as an attachment but it doesn't allow it to load 100% but nothing happens... if I upload a larger file small works without problems.. what solution can I find? I also changed the space in php.ini, I kept trying but I can't figure it out
if I haven't posted it where it should, please move it
twekyit happend with me also , large files upto 500mb , sometime it just showing 100% and never complete it...i think chucnck addon will fix your issue.
 

tweky

Member
Registered
Joined
Dec 17, 2023
Messages
18
Points
11

Reputation:

it happend with me also , large files upto 500mb , sometime it just showing 100% and never complete it...i think chucnck addon will fix your issue.
ShieldXI installed chunck addon but it still won't let me load ..... sometimes it loads 100% but sometimes it stays at 0% and nothing happens...
 
View previous replies…

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,162
Points
173

Reputation:

I use xenofo nulled and buy a $20 addon, I'm waiting for it to appear on the net :))))) , thanks for all :D:D
thank you for all the help from you, thank you enxf.cc for everything and the users, I'm waiting for that addon to appear on the net and I'll see if the problem is solved
twekyYou :ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
 
Top