Member
Member
hp   2008-07-24, 06:17
#1

Hello,

After upgrading from 1.1.6 to 1.1.7, some images do not display: half of the album covers do not display, and then random images inside the albums do not display.

Any idea how to fix this?

Many thanks.

Member
Member
sbillard   2008-07-24, 16:25
#2

Have you reviewed the troubleshooting guide? http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/

Member
Member
hp   2008-07-24, 17:13
#3

Honestly I didn't, but I did already check everything. For example, I already recursively set permissions to 777. Even though I shouldn't really have to because it's running phpsuexec.

The problem still persists. Any idea why upgrading caused this problem?

Thank you!

Member
Member
sbillard   2008-07-24, 18:02
#4

Common problems with images not displaying:

  1. Image too big to be processed with the server memory availabl.
  2. Mod_rewrite problems

You should check your error logs. Since some images are working #1 is the most likely problem.

Member
Member
hp   2008-07-24, 18:12
#5

Thanks.

But the images were originally displayed before the upgrade. And now they won't display? It's the same server and same server settings. Does that make sense?

Member
Member
hp   2008-07-24, 21:08
#6

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/percep/public_html/gallery/zp-core/functions-image.php on line 61

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/percep/public_html/gallery/albums/still-life/IMG_1790.JPG' is not a valid JPEG file in /home/percep/public_html/gallery/zp-core/functions-image.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /home/percep/public_html/gallery/zp-core/functions-image.php:61) in /home/percep/public_html/gallery/zp-core/i.php on line 134

Member
Member
hp   2008-07-25, 04:31
#7

Any idea what those errors are related to?

Member
Member
krainbolt   2008-07-25, 05:37
#8

What is your PHP memory limit set to? Try increasing it and see if it makes a difference.

Member
Member
hp   2008-07-25, 06:01
#9

I just set it to: memory_limit = 64M;

Member
Member
krainbolt   2008-07-25, 06:13
#10

Make sure you restart apache (are you using apache?) after modifying your php.ini file. Are you still getting the same errors?

Member
Member
hp   2008-07-25, 06:43
#11

it's on a shared hosting server so I can't restart apache

Member
Member
sbillard   2008-07-25, 22:10
#12

The first error is the only one of consequence. The second is a direct result of the error message display from the first error.

The error says that the GD handling routines did not like the the JPEG image that was passed to the function. In this case, the image is the one that is being processed for caching after resizing.

As to what the routines did not like, there is no information. But this might indicate a corrupted image.

Member
Member
hp   2008-08-10, 17:11
#13

I just reuploaded the image files but they are still not displaying. Do you have any other ideas? This problem started after I updated from 1.1.6 to 1.1.7.

Help is appreciated.

Administrator
Administrator
acrylian   2008-08-10, 17:18
#14

Did you check if they are published/visible?

Member
Member
hp   2008-08-10, 17:21
#15

They are.

What happens is that the alt text (which appears to be the file name) is displayed instead of the thumbnail.

Member
Member
hp   2008-08-10, 19:30
#16

I SOLVED IT. (After hours of testing)

I shrunk all my images to 80% and now they work. Anyone care to explain why?

Administrator
Administrator
acrylian   2008-08-10, 20:05
#17

Yes, please see here: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#11

Member
Member
romelow   2008-08-11, 11:19
#18

I shrunk my images as well and it works perfectly and very quick. Thanks acrylian for the support.

Unregistered
Unregistered
Guest   2008-08-12, 15:03
#19
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.