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: non photo files messed up  (Read 8630 times)

0 Members and 1 Guest are viewing this topic.

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
non photo files messed up
« on: November 29, 2005, 06:43:43 am »

After doing the upgrade from 1.3.5 to 1.4 I noticed that all files that are either .zip, wmv etc are messed up.

If you look at my site at http://www.egriz.com/GrizPics2/index.php?cat=16 you will see that the picture that is supposed to represent a zip file doesn't show up and it is just a tiny dot.

Any suggestions?
« Last Edit: November 30, 2005, 10:32:58 am by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #1 on: November 29, 2005, 09:40:59 am »

when going to the url you refered to I get a 403 forbidden error. Marking this thread as "invalid"
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: non photo files messed up
« Reply #2 on: November 29, 2005, 09:50:17 am »

I was fixing something at the time you visited.  please try it again!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #3 on: November 29, 2005, 10:03:18 am »

please PM me an admin account
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: non photo files messed up
« Reply #4 on: November 30, 2005, 12:13:09 am »

edited
« Last Edit: November 30, 2005, 07:51:02 am by noworyz »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #5 on: November 30, 2005, 08:38:17 am »

now, this is strange. I used the admin account you sent me to have a look, but I couldn't find anything out-of-the-ordinary. Did you modify any files except the theme? Is it OK to temporarily disable the "Unwanted Meta Albums" plugin just for trouble-shooting purposes?

Joachim
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: non photo files messed up
« Reply #6 on: November 30, 2005, 09:05:02 am »

that is strange.  I am still having the problems!

You can disable the plugin if you need to.  I just installed the plugin today!

The way it was before I updated was that the zip files showed this image (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.egriz.com%2FGrizPics2%2Fimages%2Fzip.jpg&hash=a40d4ba2900838a5d5ac9a2fdf52c24c14bbc18d).  Now it doesn't show anything.  This also happens when I create a new album and havn't uploaded any files into the new album.  It should show ths image (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.egriz.com%2FGrizPics2%2Fimages%2Fnopic.jpg&hash=41b2367363ed403ac34530d177963ba776241a37) but it doesn't.

Thanks for the help!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #7 on: November 30, 2005, 09:13:20 am »

Hm, this is of course not expected behaviour, but I can't see why the <img> tag doesn't get populated at all. It is working on your demo, see http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=15

Did you modify any files except the theme?
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: non photo files messed up
« Reply #8 on: November 30, 2005, 09:28:59 am »

I havn't modified any files except the theme.  I have tried other themes and the same problem occurs.

Is the image folder supposed to be chmodded to a certain number?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #9 on: November 30, 2005, 09:47:01 am »

I havn't modified any files except the theme.  I have tried other themes and the same problem occurs.
OK, maybe some file got corrupted. Could you do a cvs checkout of the stable branch and replace all your files on the server with the files from the checkout? Make a backup first! A tutorial how to check out is available here: http://cpg-contrib.org/index.php?file=minicms/cms&id=21

Is the image folder supposed to be chmodded to a certain number?
No, it just needs r-x permissions, nothing special. http://www.egriz.com/GrizPics2/images/zip.jpg is accessible as far as I can see.
Logged

noworyz

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 76
    • eGriz.com
Re: non photo files messed up
« Reply #10 on: November 30, 2005, 10:30:52 am »

That fixed the problem!  I wonder what was going on?

Thanks a ton for you help!  Hopefully everything is fixed now!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #11 on: November 30, 2005, 10:52:44 am »

That fixed the problem!  I wonder what was going on?
Possible reasons:
  • one of the fixes that went into the cvs has cured your issue
  • one of your files was corrupted in the first place and got overwritten with a good one
Anyway, glad it's fixed. Remember to disable the temporary admin account that you have given me. Marking this thread as "solved".
Logged

fworsley

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: non photo files messed up
« Reply #12 on: December 25, 2005, 09:49:28 pm »

Hi, I am having the same problem. I followed your previous instructions and checked out the latest version from CVS, but it didn't fix the problem. Any more suggestions?
Logged

fworsley

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: non photo files messed up
« Reply #13 on: December 26, 2005, 08:54:41 pm »

Ok, I've figured out the problem. I have my thumbnail prefix set to "TN-" instead of the default "thumb_". Coppermine tries to find the media specific thumbnails using the $CONFIG['thumb_pfx'] variable. However, in the extracted archive the media specific thumbnails are named thumb_avi.jpg etc. So Coppermine can't find them. If I just rename them to TN-avi.jpg etc. then it works fine.

I should mention that my installation was upgraded from Coppermine 1.1 to 1.4 in one go.
Logged

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
Re: non photo files messed up
« Reply #14 on: August 12, 2006, 05:40:42 pm »

I have my thumbnail prefix set to "TN-" instead of the default "thumb_". Coppermine tries to find the media specific thumbnails using the $CONFIG['thumb_pfx'] variable. However, in the extracted archive the media specific thumbnails are named thumb_avi.jpg etc. So Coppermine can't find them.

It seems like this small "bug" is still present in the actual distribution, right?

My configuration has also non-default prefixes for the thumbs, so thumb_nopic.jpg etc. are not shown.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: non photo files messed up
« Reply #15 on: August 13, 2006, 08:44:42 am »

Well, yes - if you consider this a bug, then you are right: you'll have to rename the genreric thumbs accordingly. However, what's the reason for renaming the thumbs_ prefix? Just leave it as-is.
Logged

lamama

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 404
Re: non photo files messed up
« Reply #16 on: August 13, 2006, 09:45:59 pm »

I don't like the "long" prefixes and like to have them all the same length:
tn_ for thumbs
pr_ for preview ("normal")

Quote
if you consider this a bug
not really, but the admin interface gives the impression that they can be changed without problems. It's just a little bit confusing when you stumble upon those missing default-thumbs weeks or months later.  ::)

Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.