Hi there,
My board is SMF 1.1.2 TP 0.98 all running well apart from when I go to upload largish files, I habe set file size limit to 90000kb and when uploading a file of around 3mb I get the following.
An Error Has Occurred!
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.
Any ideas
Most likly your server thaat needs to be configurated to accept bigger files, and at the same time change the time limit the file takes to upload, they sort of go hand in hand.
If you do a search for "php.ini" you will find the info you need to know.
Ok did a search for php.ini and only got this post up.....LOL
I have made a few changes in it but still no luck this is what I changed.
What I had
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; 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 = 8M ; Maximum amount of memory a script may consume (8MB)
What I changed it to
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 300 ; 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 = 16M ; Maximum amount of memory a script may consume (8MB)
Also...
What I had
; Maximum size of POST data that PHP will accept.
post_max_size = 2M
What I changed it to
; Maximum size of POST data that PHP will accept.
post_max_size = 20M
Still no luck any further help or direction to look :)
When you seartch you need to do it from the board index, not with in the topic.
Do the search again and this time from the forum index and i can promisse you a lot more hits :D
My apologies that worked much better thanks :)
Your welcome ;)
So gffb did you sort out your problem? and if so would you be so kind as to post here what you did, and what helped you :)
Sorry for that yes I did sort it out the way I solved it was to do the changes to the php.ini file but upload it to the directory that I have smf and TP installed, that way the forum uses that php.ini file not the standard generic one in my root folder.
/Faint... I never thought of that! Thank you!!!
Quote from: gffb on June 02, 2007, 02:37:14 AM
Sorry for that yes I did sort it out the way I solved it was to do the changes to the php.ini file but upload it to the directory that I have smf and TP installed, that way the forum uses that php.ini file not the standard generic one in my root folder.
Yes I should of stated that before, it needs to be placed in the smf/forum folder :( thanks for letting us know :)
As a note, others should also know that not all hosts allow this.