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
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.
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.
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.
Check GD support with phpinfo() . . .
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. (????)
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.
Thank you for all the quick feedback anyway!