Torrentflux File not uploaded, check file size limit

Please post questions about ReadyNAS add-ons here.

Torrentflux File not uploaded, check file size limit

Postby Marvell » Thu Aug 05, 2010 6:41 pm

Hi all

I'm having problems trying to upload a big torrent file to torrentflux. The message I'm getting is "File not uploaded, check file size limit"

I have change values upload_max_filesize in all php.ini files I found on NAS, but the problem persists.

Any ideas?

Regards
Marvell
ReadyNAS User
 
Posts: 52
Joined: Fri Aug 21, 2009 4:06 pm
Location: Spain
ReadyNAS: Pro

Re: Torrentflux File not uploaded, check file size limit

Postby nka » Sun Jun 10, 2012 8:26 am

Hello,

I know it's an old topic, but since people may come here for the fix, I'll post it.

To fix that, be sure that your php.ini upload is high enought (mostly, you dont need to touch this, I think it's 8MB per default. That would make a very big .torrent).

Then, edit the index.php of torrentflux, at line 32, you'll see
Code: Select all
if($_FILES['upload_file']['size'] <= 1000000 &&
, change it to something like
Code: Select all
if($_FILES['upload_file']['size'] <= 3000000 &&
(or bigger if you have bigger .torrent files.). This will allow .torrent file of about 2.8MB to be uploaded.

:)

Note : This is good for Torrentflux in general, not only ReadyNAS.
█ nka

█ http://forums.quebecit.net - Besoin d'aide en informatique gratuite ?
█ http://www.quebecit.net - Besoin d'hebergerment pour votre site internet ?
nka
ReadyNAS Newbie
 
Posts: 3
Joined: Sat Jul 18, 2009 1:47 pm


Return to General Discussion on ReadyNAS Add-ons



Who is online

Users browsing this forum: Exabot [Bot] and 3 guests