TinyPortal

Development => Support => Topic started by: Sacrifist on December 20, 2006, 09:12:12 PM

Title: Uploading through the DL Manager
Post by: Sacrifist on December 20, 2006, 09:12:12 PM
I know this has been brought up since Ive searched through all the topics but Ive ran out of ideas. I have permissions set correctly and the dl manager uploads image files fine. The problem is when I try to upload a zip, rar, or mp3 file it doesnt take the upload. The browser shows it uploading but the upload doesnt appear in the dl manager or does it appear in the site download folder. I wouldnt think it to be my webhost because these extensions are uploadable through the forum as attachments so Im curious if there is something im missing. I have my limit set to 15000kb so that shouldnt be a problem either.
Title: Re: Uploading through the DL Manager
Post by: G6Cad on December 20, 2006, 09:15:04 PM
What permissions have you set your tp-downloads folder to ?
Title: Re: Uploading through the DL Manager
Post by: Sacrifist on December 20, 2006, 09:48:10 PM
777
Title: Re: Uploading through the DL Manager
Post by: Thurnok on December 20, 2006, 10:03:04 PM
It is probably timing out if they are semi-large files.  PHP processes have a specific timeout set in the php.ini file.  If you can change that on your own, set it to something like 60, 90, or 120 seconds.

max_execution_time = x seconds
Title: Re: Uploading through the DL Manager
Post by: Balrost on December 21, 2006, 01:45:02 AM
I am having the same problem. I am not a great coder so a little help for a noob please.  Are there any special tags I need to add to this code and do I put it in the tp_downloads folder or in the home folder.
Title: Re: Uploading through the DL Manager
Post by: Sacrifist on December 21, 2006, 04:44:24 AM
Quote from: Thurnok on December 20, 2006, 10:03:04 PM
It is probably timing out if they are semi-large files.  PHP processes have a specific timeout set in the php.ini file.  If you can change that on your own, set it to something like 60, 90, or 120 seconds.

max_execution_time = x seconds
I would believe that to be true but it happens no matter what the size of the file and I can upload image files and doc files just fine. Plus these files Im having trouble with are being uploaded fine going through attachments in the forum
Title: Re: Uploading through the DL Manager
Post by: nukebiz on December 21, 2006, 07:44:10 AM
Does your attachments folder also have permissions 777?

In my hosted situation, I must have 755, not 777.
Title: Re: Uploading through the DL Manager
Post by: Sacrifist on December 21, 2006, 12:06:55 PM
ive tried both 755 and 777, still doesnt work right
Title: Re: Uploading through the DL Manager
Post by: Sacrifist on December 21, 2006, 12:42:58 PM
and if i try a real small mp3 file I get this error.
Currently you can only upload one of the following file formats:
zip, rar, doc, jpg, gif, png, mp3, bz2, wav

Your file was: sacsversion.mpO

the funny thing is that if I allow mpO extensions it lets me upload it
Title: Re: Uploading through the DL Manager
Post by: G6Cad on December 21, 2006, 02:16:29 PM
Then my guess is that you found out the error by your self ;)
Title: Re: Uploading through the DL Manager
Post by: Sacrifist on December 21, 2006, 03:57:31 PM
Not sure what you mean. Why would the dl manager recognize a mp3 file as a mpO file? And I havent solved anything, Im still clueless why its not allowing files bigger then 400kbs. And even files smaller then that its saying the extension is mpO instead of mp3
Title: Re: Uploading through the DL Manager
Post by: Thurnok on December 22, 2006, 06:35:36 AM
I would suggest copying the raw TP files back up to your server.  You obviously have a corrupt file somewhere, since the DL manager does indeed work on other sites.