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
The IMG src for your image should be something like this
http://www.houstonraveshots.com/pics/2000/funtasticvoyage/Image010.jpg
It is not
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
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?
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.
Thanks, that worked.
So, you all say that ImageMagick needs to be reinstalled?
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.
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.
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.
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
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
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.