TinyPortal

Development => Support => Older SMF versions => Topic started by: examino on May 24, 2006, 09:18:46 AM

Title: Upload/Download problems in TP
Post by: examino on May 24, 2006, 09:18:46 AM
Hi there, i hope you can helo me again with something. IAlthough I've set maximum upload limit 50000kb, i still can't upload a file greater than 9000kb (9mb). Plus, when i download SOME of the videos (mpeg extension manually added) available on my website using Tp modules, they are corrupted. They run for only 2 or 4 secs and then stop.

Do you have any idea what is this about and how may i fix it?
Title: Re: Upload/Download problems in TP
Post by: G6Cad on May 24, 2006, 10:09:28 AM
Check the permissions for the folder you have the files in "tp-downloads"
If you have the right permission to the folder, and the files in it, you have to go in to your database and change the value there (maby even your host have to do it, cant remember what i have read about it in some post here)

Do a search and you will have some threads that cover the most of this matter
Title: Re: Upload/Download problems in TP
Post by: examino on May 24, 2006, 12:02:39 PM
CHMod is 777 for TP_downloads. That's fine. Still, problem remains. What should I do exaclty?
Title: Re: Upload/Download problems in TP
Post by: IchBin on May 24, 2006, 03:31:17 PM
What is your server's php set at for maximum upload? Ask your host if you don't know. As for the corrupted file, I am unsure.
Title: Re: Upload/Download problems in TP
Post by: agridoc on June 20, 2006, 06:16:13 AM
examino, this is definetely a host related error.

Each server has a PHP upload limit, they start from 2Mb and go up to 10Mb by default, as far as I know. In many hosts this can be overrided by modifying php.ini, if allowed.

As far as download is concerned check first if by FTP if the upload is really complete. If yes, then again is a host issue. Ask for more memory and timeout. I had a problem with a "hole" in the past between 2 and 4mb, finally solved by the host with an upgrade they did.

However, I finally took the decision and followed Jay Bachatero's wise advise and changed host  :laugh:

If problems persist, the latter could be the only solution, however, it is not an easy decision.
Title: Re: Upload/Download problems in TP
Post by: anunlike on June 20, 2006, 06:34:01 AM
I had a similar problem and I got my host to increase, IIRC, "max_execution_time" to "90", which helped. I can't remember if anything else was changed or not, he might have also increased "max_input_time" to "120".

What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)