TinyPortal

Development => Resources => Modules => Topic started by: vlakx on April 03, 2007, 06:47:47 PM

Title: Download module - 26 bytes problem :(
Post by: vlakx on April 03, 2007, 06:47:47 PM
Hi all;
i have problem with download module.
files uploaded before 28 march can be downloaded correctly. Files uploaded after this date cant be downloaded. all have size 26 bytes an they are corupted.
when i upload file all is ok. I check it via FTP download via ftp and all is ok, but trough dl manager on my TP all looks like 26 bytes and files are of cource corrupted.

files uploaded befere 28 march can be downloaded ok.

Where is the problem please ?

Case vith date is onlu for imagination.

sory for may poor english :-\
Title: Re: Download module - 26 bytes problem :(
Post by: IchBin on April 03, 2007, 08:26:53 PM
Do you have the proper permissions set on the downloads folder? Did your host change any thing on the server?
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 04, 2007, 06:12:56 AM
i dont know where is the problem :(

permissions on DL DIR are 755
i dont change anything on server :(

files uploaded via ftp and manualy assigned in the TP works but files uploaded trough TP cant be downloaded, but size of file uploaded trough tp is ok when i check it via ftp and download it via ftp all is ok.

i have no idea :(
Title: Re: Download module - 26 bytes problem :(
Post by: Shadow on April 04, 2007, 06:40:59 AM
Check your file's size on TP download setting in TP to make sure you have the correct file size you wanted on the download setting.
Title: Re: Download module - 26 bytes problem :(
Post by: IchBin on April 04, 2007, 02:33:06 PM
Try change the download folder to 777 instead.
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 04, 2007, 04:51:42 PM
file size limit is ok - 50 MB
files are doc, pdf - extension allowed

i trying chmod ing DL folder before i post here
777 of course too but not helps

i try change themes too with no result
:(
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 04, 2007, 05:00:01 PM
when i try download "corrupted" file trough TP it show me something like this

im trying download index.php ????

here is the download:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.vlakx.com%2Fscreeeen1.JPG&hash=3112ba3a8f8b782addaba682f1514deb01da1f09)

dialog after click

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.vlakx.com%2Fscreeeen2.JPG&hash=1817aa75f23665c19f16125d9bac51011cc9bc02)

filetypes are doc and pdf etc less 2 MB
Title: Re: Download module - 26 bytes problem :(
Post by: Shadow on April 04, 2007, 10:42:11 PM
the index.php is a file you can edit all that.

Put the filesize in format in KB not MB and see if that would work for you. 
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 09, 2007, 07:32:55 AM
doesnt work for me
size of index is 16 bites....
i have no idea.
Title: Re: Download module - 26 bytes problem :(
Post by: IchBin on April 09, 2007, 03:33:15 PM
Quote from: IchBinâ„¢ on April 03, 2007, 08:26:53 PMDid your host change any thing on the server?
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 09, 2007, 03:37:23 PM
i dont change nothing ...
its a big mystery  :'(  :2funny:
Title: Re: Download module - 26 bytes problem :(
Post by: Shadow on April 09, 2007, 08:15:51 PM
Quote from: IchBinâ„¢ on April 09, 2007, 03:33:15 PM
Quote from: IchBinâ„¢ on April 03, 2007, 08:26:53 PMDid your host change any thing on the server?

check with your host in case he did change something on your server
Title: Re: Download module - 26 bytes problem :(
Post by: IchBin on April 09, 2007, 08:29:57 PM
Quote from: vlakx on April 09, 2007, 03:37:23 PM
i dont change nothing ...
its a big mystery  :'(  :2funny:
If you're host changed their php/apache configuration you may have a problem because of them. I'm not asking if you changed anything.
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 09, 2007, 08:35:43 PM
nothing changed ...
server where is TP located is my friends server and he did not change anything .
I have shell access to a server and root passwd of course too
nothing was changed
It was 1st what i do ... ask about myu hosting
permissions are ok
system is ok
i have no idea ...
i can try backup TP database an make clean install and try it on clean TP and SMF files

Title: Re: Download module - 26 bytes problem :(
Post by: IchBin on April 09, 2007, 08:46:57 PM
Setup a test install in another folder and see if you get the same problem with the downloads. I don't think you need to touch your live site.
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 09, 2007, 08:54:09 PM
of course i will test it on another DIR not on my "working" site
but thanx for ur  hint ;)
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 13, 2007, 05:43:29 AM
after reinstall with new uploads all workz ok
old files have same problem :)

its partially ok and solve my problem
i must only reupload 20 files :)
Title: Re: Download module - 26 bytes problem :(
Post by: Shadow on April 13, 2007, 06:08:12 AM
Sounds like some of the file's isn't any good. 

Im glad you solved your problem :)
Title: Re: Download module - 26 bytes problem :(
Post by: vlakx on April 13, 2007, 03:13:15 PM
thx all for supp me :)