Current location: Hot Scripts Forums » Other Discussions » Web Servers » Apache only loads images partly


Apache only loads images partly

Reply
  #11 (permalink)  
Old 04-11-07, 11:38 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,551
Thanks: 2
Thanked 16 Times in 15 Posts
The 2.0 version i read that this came up on was 2.0.54, but i know that's not the latest 2.0 release. I'm just wondering if this bug wandered into 2.2 as well.

let me know if you find anything.
__________________
Yep, it's a signature...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #12 (permalink)  
Old 04-11-07, 12:47 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
I have Apache/2.2.4(win32) & PHP/5.2.1.
I used the default setting when installing.
I do a lot of programming and I have never run across the problem you are having.
Are you sure there isn't something you are doing in your code that is causing this problem?
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #13 (permalink)  
Old 04-21-07, 04:40 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Well my settings are pretty default too. I did change some small things in the httpd.conf to get stuff like php working. But nothing special I can think of.

I also have a portable web server on one of my USB sticks. At the time it didn't work on my local webserver, the same problem occured on the portable web server. But when when it suddenly started working again on the local webserver, it also started working on my portable webserver. The portable webserver I used is called USB Webserver 6 which has the same versions of apache and php as my local server. The USB version is preconfigured, so there isn't much I changed there. So I doubt that it has something to do with the configuration.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #14 (permalink)  
Old 04-25-07, 09:37 PM
JanDW JanDW is offline
Newbie Coder
 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Same problem...

Hi, I'm not intending on hijacking your thread, but i think/hope this info might be useful for this thread. I am experiencing the same problem, also apache 2.2 on XP.
It doesn't do it cut off every JPG file though, it still displays some correctly.
If i open the jpg via file:// in firefox , there is never a problem.

The same issue occurs with a PNG file; it loads perfectly well using file://
but it either doesn't display at all or it displays it partly and the other part consists of colour noise. When i right click it and select 'view image' i get:

The image http://localhost:8080/images/sphingidae.png cannot be displayed, because it contains errors.

Is this similar to what you're experiencing too?

Last edited by JanDW; 04-25-07 at 10:06 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #15 (permalink)  
Old 04-26-07, 05:02 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Well, it does look very similar to my problem, except for some small differences. For example, in my case, I don't get any color noise. You'll just see a part of the image, and there rest is cut off, displaying a gray or white area (depending on which browser you are using). Here's a screenshot. Also in my case, I don't get any error messages, it just displays the images partly.

And don't worry, you're not hijacking my thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #16 (permalink)  
Old 04-26-07, 10:23 AM
Kouji San's Avatar
Kouji San Kouji San is offline
New Member
 
Join Date: Apr 2007
Location: the Netherlands, Hoogezand
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I have the exact same problem on my local server running windows2000, apache 2.0.59 and PHP5 and just wanted to add more information.

I have noted that it only occurs with images above ~150KB. As it seems that my comic pages below this filesize are displayed correctly. Because I use Flash (25KB-35KB .swf files) for my comic it is not that big of a problem, however if someone does not have flash installed or has javascript disabled, the image is displayed. Displayed incomplete, so it will drive away people without the necessary plugins.

I am using progressive jpg and the ones above 150KB only load about 75-80%. All my images work when accessing trough local network, and when trying other webhosts. They only fail when accessing directly trough the web on the apache server, loaded into the page or via http://localhost (on the server)

Further testing:
It seems not only images have problems. When a file in general is larger then 150KB the downloader (either default or manager) shows it as 100% downloaded. If you then try to open the file it is corrupted. The filesize of the downloaded file is the same as the one on the server, yet the file is not downloaded 100% (corrupted). It stops I'm guessing, at 150KB, yet shows you the filesize as 100%.

I have also read the thread for Tiger and macOS (click, external link) and the need to recompile apache to patch this issue on that config. I haven't encountered the solution for a server running on windows yet. And then I found this thread which is the exact description of my problem

So, I'd guess it is a server config problem or bug (on macOs/Tiger is seems it's a known issue).

[edit]
Also --> HI!
__________________
Existence Unknown

Last edited by Kouji San; 04-26-07 at 10:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #17 (permalink)  
Old 04-26-07, 11:38 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
For me it only happened with image files. I was able to upload mp3 files of over 3 MB successfully at the time it happened. But for me it was also images of over ~150KB that wouldn't load completely. Loading smaller images was no problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #18 (permalink)  
Old 04-28-07, 01:22 AM
JanDW JanDW is offline
Newbie Coder
 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I was wondering: I also have apache installed two times (i don't mean virtual hosts).
And I believe Mortal_Takeda as well... What about you, Kouji San? I don't really see how this would be a problem, but still...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #19 (permalink)  
Old 04-28-07, 03:58 PM
Kouji San's Avatar
Kouji San Kouji San is offline
New Member
 
Join Date: Apr 2007
Location: the Netherlands, Hoogezand
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Nope I have a single installation of Apache. Also I'm going to try and see if someone over at the NS-forums knows something about this issue.
__________________
Existence Unknown
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #20 (permalink)  
Old 04-29-07, 12:59 PM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by JanDW View Post
I was wondering: I also have apache installed two times (i don't mean virtual hosts).
And I believe Mortal_Takeda as well... What about you, Kouji San? I don't really see how this would be a problem, but still...
I have a single installation of apache. The other installation of apache I was talking about was a portable version, which means you don't have to install it. You just copy it to any usb-stick and run it from there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotate Images OnLoad kgcr@juno.com JavaScript 5 04-11-09 05:48 AM
Apache/PHP not displaying images mdhall PHP 4 01-28-06 02:01 PM
Royalty free cartoon images: Please reply mcrob The Lounge 2 10-04-05 10:40 AM
How to connect JSP Tomcat to apache or IIS ardie_b Everything Java 1 03-09-05 07:45 PM
List images and zip before download jaimexyz Script Requests 0 09-01-03 04:01 PM


All times are GMT -5. The time now is 09:20 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.