Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

August 14, 2020, 12:10:57 AM

Login with username, password and session length
  • Total Members: 3788
  • Latest: shadav
  • Total Posts: 190595
  • Total Topics: 20865
  • Online Today: 57
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 58
Total: 59

Author Topic: Upload Files Error  (Read 11204 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Upload Files Error
« on: May 16, 2006, 10:51:38 AM »
I have already tried the fixes found in the forums, but none seem to resolve the issue.  Here are the details:

Windows 2003 Server
IIS 6.0
PHP 4.4.2
MySQL 4.1.18
SMF 1.1RC2 (with patches)
MOD:  TP 0.8.6
MOD:  itemstats (a mod to display World of Warcraft Item Links)
THEME:  Helios 1.1 RC2
THEME:  WoW 1.1 RC2
THEME:  Oxygen 1.1 RC2

I host my own server, so I have full access and permissions to every aspect of the system.

I am trying to host a few files using the TP download manager, but every time I try and upload a file (doesn't matter the size) I get the following error message:

The upload was not able to complete.This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.

I also see the following error:
8: Undefined variable: item
File: D:\WEB\<xxxxxx>\Themes\default\languages\Stats.english.php (eval?)
Line: 317

I have confirmed that the PHP.ini contains:
file_uploads = on
upload_tmp_dir = "d:\uploadtemp\"
upload_max_filesize = 50G<---   changed to:  upload_max_filesize = 50000M
**note:  I have tried without the trailing "\" in the path too.

I have confirmed that the Download Manager settings "max upload size" is set to:

I have a category created called "TEST" (the only category) and it has no files associate with it.

I have created a test.zip file that is small (about 10 bytes) and am trying to upload it using the built in uploader when I get the errors.

I have confirmed that the PHP upload directory has full read/write permissions for the guest account used by IIS, as does the SMF and TP structures (this includes the tp-download folder).

I'm at a loss as to what is wrong.   

In a last-ditch effort not to have to ask for help, I replaced all the source files including the TPdlmanager.php

So, any SMF and TP gurus that can point me in a new direction?  Please?

Thank you for your time!

« Last Edit: May 16, 2006, 11:39:16 AM by daemonist »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Upload Files Error
« Reply #1 on: May 16, 2006, 10:55:06 AM »
Are you sure that settings should be like that? 50G  shouldent it be set in MB ? like 500000mb

upload_max_filesize = 50G


  • Guest
Re: Upload Files Error
« Reply #2 on: May 16, 2006, 10:58:37 AM »
Are you sure that settings should be like that? 50G  shouldent it be set in MB ? like 500000mb

I tried that too :)   But in my research to find out how to fix this, I saw that you can use K for KB, M for MB, and G for GB as shorthand notation...   The file originally had a 2M, and I first tried 50M and then 50G. 


PHP support document on shorthand is found HERE

EDIT:  ACK!  In re-reading the faq (above) I see that the "G" is only available in PHP 5.1.0, but that still doesn't explain why the 10 byte file failed with a 2M or 50M....   


  • Guest
Re: Upload Files Error
« Reply #3 on: May 16, 2006, 11:00:34 AM »
Good idea .. I add this  ;)
Just make many mods on dlmanager ..


Offline Ray

  • Sr. Member
  • ****
  • Posts: 446
Re: Upload Files Error
« Reply #4 on: May 16, 2006, 02:03:13 PM »
I use

Windows 2003 Server
IIS 6.0
PHP 5.1.2
MySQL 5.0.3
SMF 1.1RC2 (with patches)
and it works OK - And it looks like you have it set up right. Might try php 5.1.2 and see if it works for you. On really large files I still will get the same error as you are getting but the normal files 200mg or so it works OK

Offline Ray

  • Sr. Member
  • ****
  • Posts: 446
Re: Upload Files Error
« Reply #5 on: May 17, 2006, 03:17:59 PM »
I just tried a 700mg file - It uploaded and the IE went to a blank screen - had to restart IE then looked for it in the download section in TP and it did not show it their. Went to the tp-downloads folder and the file was their. It is not writhing the info to tp for some reason. I been hoping this would be fixed by now but it is not. Still can use the upload a small file called the same name as the large file. After upload the small file into TP then can copy the large file over it and then it will work.


  • Guest
Re: Upload Files Error
« Reply #6 on: May 19, 2006, 03:03:27 PM »
Well, figured I'd post an update here...

One application needs PHP 4, so I'm unable to upgrade to PHP 5.   I suppose that I'm just not going to be using the upload/download manager at this time, which is a real shame (it would certainly be very useful).   

I'm suprised that so many other people are able to use the download manager with the same setup as I have...  Not sure how they do it, as I've tried everything I can think of...

Thank you for all your suggestions, but I'm placing this issue on the back burner for now.