coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: DijitalLee on September 23, 2003, 05:07:17 AM

Title: Coppermine Images not showing up
Post by: DijitalLee on September 23, 2003, 05:07:17 AM
Our Coppermine gallery images are not showing up anymore.  Over the weekend, Apache was updated and PHP was recompiled.  All the settings look the same, so I don't know what's wrong.

Please help!!

Take a look:  http://www.houstonraveshots.com/index.php

Our PHP variables can be found here:  http://www.nlservices.com/_rvphpinfo.php
Title: Coppermine Images not showing up
Post by: Tarique Sani on September 23, 2003, 05:44:16 AM
The IMG src for your image should be something like this

http://www.houstonraveshots.com/pics/2000/funtasticvoyage/Image010.jpg

It is not
Title: Coppermine Images not showing up
Post by: Joachim Müller on September 23, 2003, 08:59:03 AM
seems like you're using DJAxions "watermark hack", so the images will be created on the fly by whatever image library you use - but according to your phpinfo you seem to have neither gd nor image magick support, that's why.
To bring your website up again asap, disable the watermark hack (temporarily), so the pics aren't created on the fly, but shown as their supposed to. Next step: recomplie PHP once more - this time with gd support :wink: ! (an easier way: don't compile for yourself, but get a package). Are you going to invent the wheel?

GauGau
Title: Coppermine Images not showing up
Post by: DijitalLee on September 23, 2003, 07:50:37 PM
It's been so long since I installed the watermark hack, I don't remember how it was done.  Anyone have an idea of how to revert back to the original setup?
Title: Coppermine Images not showing up
Post by: xarumanx on September 23, 2003, 08:24:02 PM
Look at this thread (http://forum.coppermine-gallery.net/index.php?topic=24) and undo the changing bit in the functions.inc.php
This should revert the imagedisplaying to the original way. then you can safely delete the logo.php and logo.png files.
Title: Coppermine Images not showing up
Post by: DijitalLee on September 24, 2003, 06:10:49 AM
Thanks, that worked.  

So, you all say that ImageMagick needs to be reinstalled?
Title: Coppermine Images not showing up
Post by: moorey on September 24, 2003, 07:50:21 AM
The watermark hack only works on GD, not ImageMagick.  If you want to use the watermark, you'd need to recompile PHP with GD support.

Remember if you plan to do that, opt for GD2.. anything lower you wont get great quality.
Title: Coppermine Images not showing up
Post by: DefenceTalk.com on September 24, 2003, 02:51:54 PM
Quote from: "moorey"The watermark hack only works on GD, not ImageMagick.  If you want to use the watermark, you'd need to recompile PHP with GD support.

Remember if you plan to do that, opt for GD2.. anything lower you wont get great quality.

If that is the case, why didn't it work on our website (http://www.defencetalk.com/pictures)? I did exactly like it was directed but all i had was red x instead of a picture even thought GD support is enabled on both server and the gallery.

I would really appreciate if you can help me out with this watermark thing. Thanks.
Title: Coppermine Images not showing up
Post by: moorey on September 25, 2003, 04:09:44 AM
Quote from: "DefenceTalk.com"If that is the case, why didn't it work on our website (http://www.defencetalk.com/pictures)? I did exactly like it was directed but all i had was red x instead of a picture even thought GD support is enabled on both server and the gallery.

If you could turn debug mode on while the hack is in place and show us the output + phpinfo().  My guess is that you've probably missed out a step or two.  I followed DJAxion's instruction from the last forum and it worked well.
Title: The code is redundant
Post by: jovigirl on October 13, 2003, 01:34:24 AM
I have the same prob
Trying to fix it now
THe path to the images is redundant with the hack

modules/coppermine/albums/modules/coppermine/albums/Hat1/normal_image072.jpg
Title: Coppermine Images not showing up
Post by: jovigirl on October 13, 2003, 01:44:40 AM
Parse error: parse error in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 807

Notice: Use of undefined constant LOC - assumed 'LOC' in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 344

Notice: unserialize(): Error at offset 0 of 2 bytes in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 344

Fatal error: Call to undefined function: get_pic_url() in /usr/home/myvamp/public_html/members/modules/coppermine/displayimage.php on line 143
Title: Coppermine Images not showing up
Post by: moorey on October 13, 2003, 05:47:13 AM
Quote from: "jovigirl"Parse error: parse error in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 807

Notice: Use of undefined constant LOC - assumed 'LOC' in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 344

Notice: unserialize(): Error at offset 0 of 2 bytes in /usr/home/myvamp/public_html/members/modules/coppermine/include/functions.inc.php on line 344

Fatal error: Call to undefined function: get_pic_url() in /usr/home/myvamp/public_html/members/modules/coppermine/displayimage.php on line 143

Definitely over-edited the functions.inc.php file - just get the original back in and start all over again.