News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Coppermine Images not showing up

Started by DijitalLee, September 23, 2003, 05:07:17 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

DijitalLee

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

Tarique Sani

SANIsoft PHP applications for E Biz

Joachim Müller

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

DijitalLee

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?

xarumanx

Look at this thread 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.

<?php echo signature(); ?>
?>


DijitalLee

Thanks, that worked.  

So, you all say that ImageMagick needs to be reinstalled?

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.

DefenceTalk.com

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? 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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

moorey

Quote from: "DefenceTalk.com"If that is the case, why didn't it work on our website? 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.

jovigirl

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

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

moorey

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.