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: Pictures Won't Display  (Read 4608 times)

0 Members and 1 Guest are viewing this topic.

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« on: January 12, 2004, 05:08:00 am »

I installed thi sprogram on my server (hosted server actually) and everything is working, with the exception of being able to view the pictures. All pictures/thumbnails just have little red X and a link to the the target photo's URL.

Anyh suggestions? Seems like I might just be missing something simple.

Thanks
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Pictures Won't Display
« Reply #1 on: January 12, 2004, 06:22:29 am »

Please read the documentation on how to CHMOD your files.  Also check for any old .htaccess files that could be causing this problem.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Pictures Won't Display
« Reply #2 on: January 12, 2004, 10:33:01 am »

might as well be an image library issue: do you have GD or ImageMagick? You need at least one of them (see minimum requirements), and the one you have must be configured properly in coppermine config.

GauGau
Logged

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #3 on: January 13, 2004, 07:16:28 am »

CHMOD is correct, and I have a current version of GD. No htaccess file is coming into play either.

Any other ideas...this has got me stumped.

Thanks.
Logged

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #4 on: January 13, 2004, 07:41:42 am »

None of the gifs for the rating buttons or anything else are showing up either. Let me know if you have any suggestions.

Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Pictures Won't Display
« Reply #5 on: January 13, 2004, 08:28:39 am »

how 'bout posting a link to your site for a start, so we can take a look?

GauGau
Logged

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #6 on: January 13, 2004, 05:18:11 pm »

I'm setting up the gallery for a friend of mine to share pics with her family.

I own the domain 321google.com, and set up a sub directory for her called

http://www.charity.321google.com.

I set the subdomain up in the htaccess file.

Could the problem have to do with this being a subdomain?

I'm relatively new to PHP, so I appreciate all the help in this forum.

Thank you.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Pictures Won't Display
« Reply #7 on: January 13, 2004, 06:26:31 pm »

Okay, I tried to link directly to one of the photos, and I was given a forbidden error (unless you have redirected 404s to your forbidden page).  This would indicate a permissions problem.

CHMOD all directories in /albums again to their appropriate settings.  You might also show the governing .htaccess file for the install here, as the problem may reside there.

I am inclined to think the problem is with the .htaccess file; CPG usually doesn't allow the upload process to finish when the permissions are incorrect.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #8 on: January 13, 2004, 06:39:14 pm »

Here's the htaccess file that I used for the sub domain:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} charity.321google.com
RewriteCond %{REQUEST_URI} !charity/
RewriteRule ^(.*)$ charity/$1 [L]

Thanks again for the help.

Jeremy
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Pictures Won't Display
« Reply #9 on: January 13, 2004, 07:05:15 pm »

Nothing really jumps out, so I would try a few things.

First, try adding the NE flag to the conditions in the .htaccess:

[L, NE]
 
Then go the the config panel and remove the slash at the end of the e-card path.  This is from memory, so if you can't find it try searching the board for the double slash in front of displayimage problem. (This isn't causing this problem, but it will cause a 404 later on.)

Finally, playing with your URL shows the permissions problem begins with the /albums directory, so CHMOD it to 777 and try again (I think 755 is the normal setting).
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #10 on: January 13, 2004, 09:34:48 pm »

First, try adding the NE flag to the conditions in the .htaccess:

[L, NE]


I haven't done a whole with htaccess files. Would you mind posting an example of how my htaccess file would look with the [L,NE] flag added. I'm not exactly sure where to put it.

Thanks again.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Pictures Won't Display
« Reply #11 on: January 14, 2004, 04:24:39 am »

Like so:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} charity.321google.com
RewriteCond %{REQUEST_URI} !charity/
RewriteRule ^(.*)$ charity/$1 [L, NE]


For more information on mod_rewrite (a wonderful Apache module you should know by heart  :wink: )

http://httpd.apache.org/docs/mod/mod_rewrite.html

The addition of the no escaping tag probably won't make a difference, but it is worth a try.


Did you CHMOD /albums and /albums/userpics to 777 yet? (Be sure to give the IUSR permissions, etc. if you are on Windows.)

Finally, you might consider putting a test install of CPG directly on your domain to see if you get the same behavior problems.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

jeremy@jeremy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Pictures Won't Display
« Reply #12 on: January 14, 2004, 06:44:20 am »

Thanks for the help. Looks like this is working. Thanks again.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 14 queries.