TinyPortal

Development => Support => Topic started by: samson on October 05, 2006, 03:26:16 PM

Title: Downloads problem
Post by: samson on October 05, 2006, 03:26:16 PM
Not sure if this is a bug Im guessing user error

Whenever I download from my site and try to open the zipped file with the windows zip program I get this error

The Compressed (zipped) Folder is invalid or corrupted

The zip file works before I upload it and it works if I directly download it with winscp from my tp-downloads folder.But if I try to download it from my site it is corrupted.

any ideas?
Title: Re: Downloads problem
Post by: G6Cad on October 05, 2006, 03:31:39 PM
Check the permissions on your tp-download directory, it must have atleast 755 or 777
Title: Re: Downloads problem
Post by: samson on October 05, 2006, 03:32:27 PM
777
Title: Re: Downloads problem
Post by: G6Cad on October 05, 2006, 03:33:19 PM
And the files in it ?
Title: Re: Downloads problem
Post by: samson on October 05, 2006, 03:44:12 PM
I changed all permissions to 777 still no love

Title: Re: Downloads problem
Post by: IchBin on October 05, 2006, 07:36:53 PM
Sounds like a server or browser issue to me. I've never had such a problem. Does any corruption happen with any other types of files?
Title: Re: Downloads problem
Post by: samson on October 05, 2006, 10:19:58 PM
Its weird an after some more checking I can open the zips and they are fine with winrar but not the windows zip program and they are definetly zip files. I will try to upload some different file types and try
Title: Re: Downloads problem
Post by: samson on October 06, 2006, 01:26:40 AM
This is killing me

Whatever type of file I download threw tpdownload gets corrupted
I tried a gif a rar and a zip But if I download them directly from the tpdownload folder they work fine. So im at a loss . What could it be any idea where to start?
Title: Re: Downloads problem
Post by: samson on October 17, 2006, 06:48:09 PM
Any suggestions  :'(
Title: Re: Downloads problem
Post by: G6Cad on October 17, 2006, 07:15:36 PM
Yes, contact your host and ask them to look in to the problems on your space.

Or cross your fingers and try to upload them manually through FTP and replace the uploaded corrupted files and see if it works
Title: Re: Downloads problem
Post by: samson on October 17, 2006, 07:31:19 PM
1. what would corrut a file from my host when downloadin threw tp?
2. if i download the file from my host with ftp no threw tp the file is fine

if  i put a file in my root and link to it the file works fine
it only happens if i use tp download section will my host help with this? im pulling my hair out
Title: Re: Downloads problem
Post by: G6Cad on October 17, 2006, 07:54:41 PM
And you are sure you have the permission set to 777 on all the files in the tp-downloads folder ?
Title: Re: Downloads problem
Post by: samson on October 17, 2006, 08:54:27 PM
yes all files are 777 folder and files

http://www.ligs.us/smf3/index.php?action=tpmod;dl=cat53

here is an example of the file
Title: Re: Downloads problem
Post by: samson on October 24, 2006, 04:47:27 AM
Anybody willing to give me a hand with this problem for some $ I would hate to have to go back to nuke or mk portal but I need a download section?? :'( :-\
Title: Re: Downloads problem
Post by: akulion on October 24, 2006, 04:39:10 PM
I'll refer this problem to the team in general - hold on for a solution :up:
Title: Re: Downloads problem
Post by: samson on October 24, 2006, 05:00:19 PM
Thank you very much  ;D
Title: Re: Downloads problem
Post by: Thurnok on October 24, 2006, 09:31:03 PM
Which version of TP do you have?

Can you PM me with information for a test account I can use to log in that has access to upload/download - and the URL to your site?
Title: Re: Downloads problem
Post by: bloc on October 25, 2006, 02:57:46 PM
It might be the mix of php and server version doing this. If you can obtain that, it might shed some light on it.

Ftp is another protocol than http, so comparing the two won't matter much..rather, does uploading attachments in the forum display the same errors/problems? The code in there and in TP are similar.
Title: Re: Downloads problem
Post by: samson on October 25, 2006, 03:29:36 PM
Thanks for your reply Thurnok was able to help me out I seem to have had an problem with my installation. Its all fixed now thanks. ;D
Title: Re: Downloads problem
Post by: akulion on October 25, 2006, 04:08:01 PM
wow quick resolve :D great job Thurnok :D
Title: Re: Downloads problem
Post by: Thurnok on October 26, 2006, 01:22:38 AM
I'm just trying to keep up with you Aku.. hehe
Title: Re: Downloads problem
Post by: akulion on October 26, 2006, 10:06:28 AM
aaww ur so nice to say such a thing :D Thank you :D

But we all know the truth! Ur the BOMB!