Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 24th February 2010, 02:27
drosatos drosatos is offline
Member
 
Join Date: Oct 2008
Posts: 6
Default Upload Failed No NFO!!! HELP!!
Upload Failed No NFO!How i can fix it,what change in php?
Reply With Quote
  #2  
Old 24th February 2010, 13:59
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
In upload.php find the old line :

Code:
tr("NFO file", "<input type=file name=nfo size=81><br>(<b>Required.</b> Can only be viewed by power users.)\n", 1);
replace it with :

Code:
tr("NFO file", "<input type=file name=nfo size=81><br>(<b>optional.</b> Can only be viewed by power users)\n", 1);
In takeupload.php comment the lines out , so should look like this :

Code:
$nfofile = $_FILES['nfo'];
//if ($nfofile['name'] == '')
  /*bark("No NFO!");*/

//if ($nfofile['size'] == 0)
 /* bark("0-byte NFO");*/

if ($nfofile['size'] > 65535)
  bark("NFO is too big! Max 65,535 bytes.");

$nfofilename = $nfofile['tmp_name'];

//if (@!is_uploaded_file($nfofilename))
 // bark("NFO upload failed");
Reply With Quote
The Following User Says Thank You to Phogo For This Useful Post:
Daz (28th February 2010)
Reply

Tags
failed , nfo , upload

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload failed: eek ajax Community Cafe 2 21st June 2010 13:44
upload failed usbiz TBDev 11 21st June 2010 11:57
FTS sysadmin login failed after install bRum Free Torrent Source 0 23rd April 2009 16:08
signup failed borked error NatashaRhea Torrent Strike 2 13th August 2008 19:09



All times are GMT +2. The time now is 23:31. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.