Author Topic: Uploaded images are empty  (Read 7426 times)

0 Members and 1 Guest are viewing this topic.

Offline aproxis

  • Pre-Newbie
  • Posts: 5
    • View Profile
Uploaded images are empty
« on: February 09, 2006, 03:39:59 PM »
Can't find an answer on forums here.

Look please - http://www.chsh.ru

Images are uploaded, dimentions and sizes are OK, but images themselve are empty.

Like this: http://www.chsh.ru/details.php?image_id=175

Where's the trouble?

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: Uploaded images are empty
« Reply #1 on: February 10, 2006, 01:44:37 AM »
1) Were these images resized by 4images?
2) How were these images uploaded: through members upload form, ACP (Admin Control Panel) or through FTP?

Somehow I think there is something wrong with your server, because I've tryed download that image (open directly in the browser) several times, and 4 times out of 5 your server returned different size of the image content...

Maybe updating nginx to lattest version (0.3.27) would solve the problem...
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 aproxis

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Uploaded images are empty
« Reply #2 on: February 10, 2006, 11:07:23 AM »
Uploaded thru Control Panel

Thumbnails were genegated via 4images - ImageMagick. The same thing when using GD.

What d'you should I update?

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: Uploaded images are empty
« Reply #3 on: February 10, 2006, 02:58:16 PM »
As I said, this seems to be problem on the server, check error logs.
Check file/folder permissions and try upload same image via FTP. (obviosly work only on the images you have problem with ;))
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 aproxis

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Uploaded images are empty
« Reply #4 on: February 10, 2006, 03:10:31 PM »
folder permissoins are 777

uploaded files - 666

--

error logs are clear

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Uploaded images are empty
« Reply #5 on: February 10, 2006, 04:39:06 PM »
Quote

Uploaded thru Control Panel


Have you, also, considered to try uploading an image within FTP to see if it returns empty ? ;)

Offline aproxis

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Uploaded images are empty
« Reply #6 on: February 10, 2006, 05:22:54 PM »
http://www.chsh.ru/details.php?image_id=170

here's result
uploaded via FTP
but thumbnail wasn't generated

as i understand - thumb is created, when uploading via upload-form in ACP

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Uploaded images are empty
« Reply #7 on: February 10, 2006, 05:29:14 PM »
If you look at this page:

http://www.chsh.ru/categories.php?cat_id=5

You'll notice, half of the time, the thumbnails has been uploaded. If you did entered the thumbnail images for each uploads with your big images and it still shows these results, it is clairly a server related problem. If so, you should contact your web hosting party to clarify this situation.

Offline aproxis

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Uploaded images are empty
« Reply #8 on: February 10, 2006, 05:59:03 PM »
i've already discussed with them about this situation

here' phpinfo - http://www.chsh.ru/test.php
safemode is off.

can you say something about this?

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Uploaded images are empty
« Reply #9 on: February 10, 2006, 07:11:58 PM »
Problem found. You're using PHP v4.4.0 and it would seems there's a related problem with exif_read_data module. PHP manufacturer is now at PHP v4.4.2 officially. You should ask your hoster to upgrade to this version in order to resolve this issue. ;)

Source : http://bugs.php.net/34704

What's odd is that this problem has never been reported before and numerous users did used this version before upgrading "or" perhaps they did experienced this problem but was never reported since they might have upgraded it already.