Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine Images not showing up  (Read 11375 times)

0 Members and 1 Guest are viewing this topic.

DijitalLee

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.houstonraveshots.com
Coppermine Images not showing up
« 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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Coppermine Images not showing up
« Reply #1 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
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Coppermine Images not showing up
« Reply #2 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
Logged

DijitalLee

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.houstonraveshots.com
Coppermine Images not showing up
« Reply #3 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?
Logged

xarumanx

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
    • http://gallery.webtips.at
Coppermine Images not showing up
« Reply #4 on: September 23, 2003, 08:24:02 pm »

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.
Logged

<?php echo signature(); ?>

DijitalLee

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.houstonraveshots.com
Coppermine Images not showing up
« Reply #5 on: September 24, 2003, 06:10:49 am »

Thanks, that worked.  

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

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Coppermine Images not showing up
« Reply #6 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.
Logged

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Coppermine Images not showing up
« Reply #7 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? 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.
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Coppermine Images not showing up
« Reply #8 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? 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.
Logged

jovigirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
The code is redundant
« Reply #9 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
Logged

jovigirl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Coppermine Images not showing up
« Reply #10 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
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Coppermine Images not showing up
« Reply #11 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 14 queries.