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

Recent

Welcome to TinyPortal. Please login or sign up.

September 18, 2024, 06:55:56 AM

Login with username, password and session length
Members
  • Total Members: 3,905
  • Latest: acciply
Stats
  • Total Posts: 195,368
  • Total Topics: 21,241
  • Online today: 54
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 37
  • Total: 37

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.

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.