Images were fine, now all Red X Images were fine, now all Red X
 

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]

Main Menu

Images were fine, now all Red X

Started by mgraf, February 07, 2004, 12:37:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mgraf

I am hoping someone can help me with this since my site is now essentially down.

I have had my coppermine gallery up and running for a few months now.   No problems whatsoever.   Today I visited it and discovered all images now appear as the dreaded RED X.

The only thing I have changed with my site is in my administration Cpanel - setting my default catchall email address to 'blackhole' so that unrouted emails coming to my domain are not routed to my primary email, but discarded.  I did this because of many emails coming in that contained the 'MyDoom' attachment (which was never opened) that were to my domain, but an invalid email ID.

That's it.   I have never used .htaccess files, which I read in other threads may cause problems.  I am really puzzled here.  My folder permissions were double checked and are at 777.

Here is my gallery link:  

http://www.grafphoto.com/gallery/index.php

I ran the debug mode and it gave me these errors, which are puzzling me because everything was working fine a few days ago.   I have never run debug before, so I don't know if these errors are new or have been there all along.

Notice: Undefined variable: tabs in /home/grafphot/public_html/gallery/themes/igames/theme.php on line 1280

and

Notice: Undefined index: aid in /home/grafphot/public_html/gallery/include/functions.inc.php on line 1003

I also noted this error in my site error log: (referring to my watermarking logo)

Fri Feb  6 16:43:54 2004] [error] PHP Fatal error:  Call to undefined function:  imagecreatefromjpeg() in /home/grafphot/public_html/gallery/logo.php on line 7
Any help would be great!  Thanks!

Mark

Casper

Hi,

have you tried resetting your email address, to see if this was the problem.

The pics are still there, and ok.  I was able to see them by typing in the absolute url.

I noticed that you are putting your pics in folders inside the 'userpics' folder.  This is a no-no, and also may be part of the problem.  You should have created the folders within the 'albums' folder.  This may not have had an effect before, but may now.

When did you put the watermarking hack in?  Try removing it.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

hyperion

Fri Feb 6 16:43:54 2004] [error] PHP Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/grafphot/public_html/gallery/logo.php on line 7

This would suggest you have lost GD support.  As the watermark hack is an on the fly system, this would prevent anyone form seeing watermarked images.  Indeed, you would get a red x. Try to determine what happened to GD.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

mgraf

Quote from: "casper"Hi,

have you tried resetting your email address, to see if this was the problem.
When did you put the watermarking hack in?  Try removing it.

Yes, I did try setting the email back to the way it was, no impact.

I have had the watermarking hack in for months, has been working OK.

hyperion

Check GD support with phpinfo() . . .
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

mgraf

Ok, this is wierd.  This is the response I got from my webhost:

Recently we upgraded php to version 4.3.4 so the build has changed. GD was included however.

What usually happens when software like this is updated is there are deprecated functions being used in the software that are not going to work with newer versions of PHP. Unfortunately we can't downgrade or I would if I knew it would fix the problem.

But now - checking back with my site, it seems to be working again.   (????)

hyperion

Most likely they forgot to activate GD in PHP's configuration.  You reminded him, and he turned it on.  

However, server administrators have sensitive egos, so there was never a problem on his end.  :wink:

Be sure to use GD2 in the CPG config now that they have upgraded.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

mgraf

Thank you for all the quick feedback anyway!