TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 647
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 327
  • Total: 327

Download manager - can't upload due to size of file...

Started by DreamSinger, February 05, 2007, 12:01:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DreamSinger

I tried a number of times, read the other threads on download manager, went to my server, changed the php.ini file to upload up to 10 MB a file. Bluehost copied the php.ini file to all my subdirectories, and I doubled checked the tp_download folder and made sure the permissions were set to 777, and I have the accepted type of file in tp set to mp3.

I still get this message after just a short while of attempting to upload an mp3 file that's a little over 5 MB.

QuoteThe 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.

I don't understand why it wouldn't work, as presumably, my server should now allow files up to 10 MB.

Do I need to ftp or is there still a way I can use this manager through tp? And if I have to ftp, does it go directly into the tp_download folder, and do I go to upload tab in download manager, and create a page for it without uploading anything, but make a link in the description box?

I have smf 1.1.1 and tp 9.7, using azure theme, www.keepingthedream.net

Thanks!

Demian,
  ~DreamSinger






rebelrose

How about test access to your forum so we might see the problem first hand?

IchBin

You didn't say whether you changed the upload limit inside the TP download manager? Also, in a lot instances the php upload limit can't be set with a users php.ini file. It actually has to be set in the master file for PHP. Your host should know this, but I've seen instances where they didn't know.

DreamSinger

Quote from: IchBinâ„¢ on February 05, 2007, 04:23:23 AM
You didn't say whether you changed the upload limit inside the TP download manager? Also, in a lot instances the php upload limit can't be set with a users php.ini file. It actually has to be set in the master file for PHP. Your host should know this, but I've seen instances where they didn't know.

I did change the maximum upload limit in the settings of the tp download manager. Is there another place for me to do this? It was set to 7 MB, so I just now set it to 10000000 kb and it still gave me the exact same message a little over a minute. 

Where would the master file for php be? I have three domains on my host. The main account or the main url is relationalaggression.net. It's the main public_html folder. The other domains have their separate folders within that folder. It was in that public_html folder where the change was made, and then they utilized a script they placed in the same directory to copy the php.ini file to every folder in that account. So the php file was changed in my other domains as well.

I also just went to the ftp folder in download manager admin and saw that the php.ini file is there available to be assigned. I don't remember seeing that before. But that php.ini is in the tp_download folder on my server. Does that mean if I ftp a song file to that folder I'll be able to assign it to a category? Will I be able to write a description for it?

I'd be glad to let in test access...how would I do that? What would you need?

Thanks for your help!

G6Cad

I had about the same issues before, but Thurnok and philH came to the fact that the time taken for the file to process from start to end during the tranfer also had to be changed, not just the size of the file.
So ask them to change the process time in the server settings aswell, i cant remember what the process name were, but perhaps your host or some one else in here know that it was called.

bloc

Was about to say the same thing. Time-out value for a script needs to be expanded from 30 secs for it to work.

GravuTrad

It's like for database. No more 2Mo files...(after it need more than 30 seconds and script is stopped in php if it takes more than 30s, like said bloc...)

DreamSinger

Woo Hoo!!!

I got it to work!

Actually, what had happened is that while looking for the part in the php.ini file to extend the time out, I noticed that there are two, not one, but two places to change the maximum upload. Bluehost had changed it only in one place. So I changed it in the other, as well, ran the php copy script, and it works! I didn't change anything else, so I'll just leave it at that for now.

Thanks so much for your help.

Now, I'll have to play around with the download manager some more to get it to show up in the forum and front page, but I have to hurry off to work for now.

Again, thanks.  :)

samo_zin123

#8
plz help  i changed the php.ini

look

Quote
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 8M



========================================


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 150     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 10M      ; Maximum amount of memory a script may consume (8MB)


i changed the upload sitting og the download manager too


and i dont understand what second palce hes talking about


Quotetwo places to change the maximum upload. Bluehost had changed it only in one place

and whats ment by
Quoteran the php copy script


Bloodlvst

Could offer some more specfic info. What part is failing for you / how big is the file you're attempting to upload?

samo_zin123

 it gives me the same error


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.

i was trying upload afile =350 kb

Bloodlvst

Quote
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 8M



========================================


;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 150     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 10M      ; Maximum amount of memory a script may consume (8MB)



Try increasing the following values to something bigger. If you're underneath the download limit as it appears in your php.ini file, then somewhere down the line the script is taking too long to execute. Very likely if you're on shared hosting.

Quotemax_execution_time = 150     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 10M      ; Maximum amount of memory a script may consume (8MB)

samo_zin123

the hosting space iam on is too big  there many sites  on the same www  directory

i changed the php.ini  then i took acopy from that php.ini and put it
in
public_html/mysite dir/php.ini
and the problem still exist

Bloodlvst

The number of sites you're hosting isn't a huge problem if they're not all running scripts. The php.ini only needs to be in your root folder, having duplicates lying around doesn't do anything.

Normally this is something you need to have done through your host.

This website is proudly hosted on Crocweb Cloud Website Hosting.