Author Topic: Partial download of picture  (Read 6539 times)

0 Members and 1 Guest are viewing this topic.

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Partial download of picture
« on: March 18, 2006, 09:51:18 AM »
Hello,

Visitors downloaded some pictures who were not complete.
I tested it and had the same problem.
Only upper part of the picture was downloaded.
Not all pictures are like that , but somethimes it happens.
( see 2 pics in attachment )
I use 1.7.

Anyone has an idea how his happens ?
Thx

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Partial download of picture
« Reply #1 on: March 18, 2006, 02:29:54 PM »
looks like server crashes?
did you check the error logs?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: Partial download of picture
« Reply #2 on: March 18, 2006, 08:08:12 PM »
maybe it's the same problem,
when users tring to download big mp3 files?

how big are the images? (filesize)

If it's that problem you can use the search to find the thread that handles the problem with the mp3 problem.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Partial download of picture
« Reply #3 on: March 18, 2006, 09:21:26 PM »
files are between 100 and 300 kb.

i'll search in error logs

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Partial download of picture
« Reply #4 on: March 19, 2006, 08:36:35 AM »
I checked the apache error_log and the /var/messages log but couldn't find anything that could lead to a problem.
Also, checked the uptime and load of the server:
21:52:30 up 16 days, 8:27, 1 user, load average: 0.77, 0.54, 0.48

So this looks fine.

Yesterday i downloaded 6 pictures at once with the album ( in zip )
2 pictures were ok, 4 were corrumpted.


 :?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Partial download of picture
« Reply #5 on: March 19, 2006, 10:20:41 AM »
So, are you saying only specific pictures get corrupted or its random?
Where can I see it?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Partial download of picture
« Reply #6 on: March 19, 2006, 12:23:03 PM »
it seems to be random

The 2 pictures above come from http://www.schoolplaten.com/kleurplaten-kleurplaat-afbeeldingen-axenroos-193.htm
"pauw" and "schildpad"

I've put the zipfile with corrumpted files i downloaded ( from lightbox ) yesterday here :
http://www.schoolplaten.com/temp/1142666592.zip
-> Check "tricolor3" in it.


another thing is that pages don't seem to load somethimes .... I have to wait and wait, and somethimes i get the message "can't find server". If i hit reload during or after the waiting, everything works fine again. Maybe this has to do something with it ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Partial download of picture
« Reply #7 on: March 19, 2006, 09:24:24 PM »
It seems to be the problem in your download.php
whatever modifications you did that send Accept-Ranges and Content-Range headers (I belive its the mod that allow resume downloads), does not work properly, in the tests I've made, the received image was 1 byte too short.
So, the sollution - use fresh download.php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Partial download of picture
« Reply #8 on: March 19, 2006, 09:33:01 PM »
ok, that makes sense, i installed the "resume download mod" a week ago.

Thx a lot