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] 2   Go Down

Author Topic: some thumbnails aren't showing after update  (Read 12060 times)

0 Members and 1 Guest are viewing this topic.

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
some thumbnails aren't showing after update
« on: March 09, 2008, 09:51:08 pm »

Hello,
I've upgraded Coppermine version from cpg1.3 to cpg1.4. Everything looked fine, but when I had uploaded some new images through "batch add process", thumbnails didn't show. I got the same result when I used "http upload".
I've checked several times CHMOD settings on the /albums, /albums/userpics, and /albums/edit directories, there are all on 777.
I had switched "Default mode for files" in "Files and thumbnails advanced settings" to 0666, and reloaded images through both "batch add process" and "http upload", but got the same result for each method.

But those thumbnails of images that I've uploaded in cpg1.3's version work fine.

Link: http://www.vladimirantonov.ru/adz14/portfolio/thumbnails.php?album=18

Thank you in advance.




Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #1 on: March 10, 2008, 07:44:12 am »

Do exactly as sugested in the docs, sections "upload troubleshooting" and "asking for support on upload issues".
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #2 on: March 10, 2008, 10:09:19 am »

I did and didn't get any error messages,

url: http://www.vladimirantonov.ru/adz14/portfolio/index.php
user: test
password: 123
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #3 on: March 10, 2008, 03:04:12 pm »

Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #4 on: March 10, 2008, 03:23:54 pm »

Yes, the big images are fine, but I've been taking about thumbnails, they are not showing and yours too.
http://www.vladimirantonov.ru/adz14/portfolio/index.php?cat=1
i don't understand why
?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #5 on: March 10, 2008, 03:26:32 pm »

Improper hotlink protection. If you try to open one of the thumbnails in your browser (e.g. http://www.vladimirantonov.ru/adz14/portfolio/albums/userpics/thumb_Beispiel.jpg), this is what you'll get:
Quote
Forbidden
You don't have permission to access /adz14/portfolio/albums/userpics/thumb_Beispiel.jpg on this server.

Apache/1.3.33 Server at www.vladimirantonov.ru Port 80
Remove your improper hotlink protection (usually set up by .htaccess means). If you can't figure out on your own, ask your webhost for support - show them my reply here - they should know what to look for.

Joachim
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #6 on: March 10, 2008, 06:49:55 pm »

I’ve created .htaccess file in the /albums, containing this code

Code: [Select]
RewriteEngine off

<FilesMatch .jpg>
Order Deny,Allow
Allow From All
</FilesMatch>

which will counter-act the global .htaccess file.
But the problem still exists.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #7 on: March 11, 2008, 03:02:11 pm »

Also, it doesn't make sense for me - hotlink protection (which is turned on, as you said) sets up in .htaccess file, which influences on all other files on the webhost, why the old thumbnails are still available through direct link?

e.g. http://www.vladimirantonov.ru/adz14/portfolio/albums/userpics/thumb_bugatti22.jpg
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #8 on: March 12, 2008, 06:50:14 am »

A properly implemented hotlink protection won't harm. An improper one will cause what you're experiencing.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #9 on: March 12, 2008, 08:11:21 am »

I didn't do any hotlink protection at all, I just used cpg1.3 version and everything was fine, after upgrading Coppermine gallery to cpg1.4 that problem suddenly appeared.
I didn't do any manipulations on the .htaccess file (before that error), I just used default webhost settings (except CHMOD).

What should I do to make properly implemented hotlink protection, or to turn it off or what??
I just want your gallery, that suits me quite well, to work fine!
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #10 on: March 14, 2008, 06:36:36 am »

does anybody here can help me
??
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #11 on: March 14, 2008, 07:32:56 am »

We can't help you with your hotlink protection. Ask your webhost for support.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #12 on: March 14, 2008, 03:35:48 pm »

I've asked my webhost, and they told me that scripts give wrong permissions to those files, that's why the files cannot be seen through direct link.
By default, files must inherit permissions and owner of the folder in which they have created, they said,
those files had been given wrong permissions and owner (I couldn't change the CHMOD for them, by the way)

By hand they had changed permissions for those files and then thumbnails began working properly.
Ask script's developers for support, they said.

They said nothing about hotlink protection also.
Logged

Nibbler

  • Guest
Re: some thumbnails aren't showing after update
« Reply #13 on: March 14, 2008, 03:39:26 pm »

Make sure the 'default mode for files' setting in config is correct.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #14 on: March 14, 2008, 03:55:24 pm »

Default mode for directories - 0755
Default mode for files - 0664

i've tried for files '0660' and got the same result.
Logged

Nibbler

  • Guest
Re: some thumbnails aren't showing after update
« Reply #15 on: March 14, 2008, 04:04:44 pm »

Set it to match the perms on the files that do work.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #16 on: March 14, 2008, 04:10:27 pm »

Уep! That's what I did first of all - '660' for old files (which I've downloaded in cpg1.3x) is working fine, but got the same result.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: some thumbnails aren't showing after update
« Reply #17 on: March 14, 2008, 06:17:41 pm »

That's what I did first of all - '660' for old files
660 would be a very exotic setup, as it would mean that the files are not even readable. I strongly doubt that this is correct.

which I've downloaded in cpg1.3x
Not sure what you refer to, but folder/file permission hasn't changed at all from cpg1.3.x to cpg1.4.x.
Your constant reference to cpg1.3.x is completely invalid. Don't!
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #18 on: March 14, 2008, 07:05:36 pm »

to be honest, I'm not a professional with web administration, I just tell you what I've got.
Have a look, http://www.vladimirantonov.ru/ftp/perms.jpg

That is a thumbnail that works (http://www.vladimirantonov.ru/adz14/portfolio/albums/userpics/thumb_modelphoto.jpg)
and the other three there (with owner - 65534), which don't.

I referred to cpg1.3.x, only because I had used it almost 2 years on the same webhost and even didn't think about perms, and it worked properly.
Logged

antonov

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: some thumbnails aren't showing after update
« Reply #19 on: March 15, 2008, 10:25:41 pm »

Uuufh, I don't understand at all, there is a completely new installed gallery with default configuration, but gives wrong permissions and owner to thumbs that I can't do anything with them
http://www.vladimirantonov.ru/adz14/portfolio/

 ???
Logged
Pages: [1] 2   Go Up
 

Page created in 0.034 seconds with 19 queries.