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: Showthumb.php.png In Search New Panel  (Read 7010 times)

0 Members and 1 Guest are viewing this topic.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Showthumb.php.png In Search New Panel
« on: March 26, 2019, 08:50:33 am »

I am using the latest stable version of 1.6.05 and my gallery is here http://tamara-braun.com/gallery

As I posted in another thread, I recently moved this gallery and all was okay with a few minor glitches, however, I have the showthumb.php.png image in my search new panel instead of the thumbnail of the image. How can I revert back to the thumbnail?

Included screenshot.

Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #1 on: March 26, 2019, 02:28:54 pm »

Check that permissions are correct for the October, November and December article directories.
Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #2 on: March 26, 2019, 07:45:23 pm »

Ron:

They're set to 755.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #3 on: March 26, 2019, 08:53:38 pm »

Your uploads directory is browsable. There must be some issue with the OCTOBER, NOVEMBER and DECEMBER directories because, if there are files in them, they cannot be seen.

http://tamara-braun.com/gallery/albums/uploads/articles/Tamara%202011/
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4687
    • Windsurf.me
Re: Showthumb.php.png In Search New Panel
« Reply #4 on: March 26, 2019, 10:32:54 pm »

Also check ownership of the directories in question. It can get a little messed up in the move.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #5 on: March 27, 2019, 02:58:00 am »

Phill:

Sorry for my late reply. Had a ton of stuff to do today.

Explain how to take ownership?
Logged
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #6 on: March 27, 2019, 07:51:02 am »

Your uploads directory is browsable. There must be some issue with the OCTOBER, NOVEMBER and DECEMBER directories because, if there are files in them, they cannot be seen.

http://tamara-braun.com/gallery/albums/uploads/articles/Tamara%202011/

Ron:

Is that normal the directories should be browsable?
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #7 on: March 27, 2019, 02:02:45 pm »

Is that normal the directories should be browsable?

It's neither normal nor abnormal ... it just depends on how the server is configured. If you want to prevent it, there are 2 methods you can use.

If your server is an Apache (type) server and allows .htaccess files, you can put this line in an .htaccess file in your uploads folder:
Code: [Select]
Options -Indexes
Or you can place a small file named index.html in EVERY directory that you don't want to be browsed. The file should contain:
Code: [Select]
<!DOCTYPE html><title></title>Do NOT place one of these files in a directory that already has a file named index.xxx.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4687
    • Windsurf.me
Re: Showthumb.php.png In Search New Panel
« Reply #8 on: March 27, 2019, 03:37:29 pm »

Phill:

Sorry for my late reply. Had a ton of stuff to do today.

Explain how to take ownership?


That depends on how your host sets things up.

Here is a useful guide on ownership - https://www.computerhope.com/unix/uchown.htm

When you move host using the method you have some files may have group and user permissions that the new host hasn't, or does have but with specific restrictions. If a group or user does not exist it will often be assigned to a default group, or an ftp user group. The permissions for these can be set differently especially with the complexities of suhosin. There can be files set to 777 but the rules for its group and user ownership may still prevent them from being read.

It has been a while since I used FileZilla but I think you can see, check and change ownership through its interface. You can easily do this with WinSCP and its interface.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #9 on: March 28, 2019, 01:31:39 am »


That depends on how your host sets things up.

Here is a useful guide on ownership - https://www.computerhope.com/unix/uchown.htm

When you move host using the method you have some files may have group and user permissions that the new host hasn't, or does have but with specific restrictions. If a group or user does not exist it will often be assigned to a default group, or an ftp user group. The permissions for these can be set differently especially with the complexities of suhosin. There can be files set to 777 but the rules for its group and user ownership may still prevent them from being read.

It has been a while since I used FileZilla but I think you can see, check and change ownership through its interface. You can easily do this with WinSCP and its interface.

Ron:

The .htaccess file worked. When I click on the link that was posted to my gallery's uploads files, it goes to an error page on my main site. So problem solved.
Logged
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #10 on: March 28, 2019, 01:33:01 am »


That depends on how your host sets things up.

Here is a useful guide on ownership - https://www.computerhope.com/unix/uchown.htm

When you move host using the method you have some files may have group and user permissions that the new host hasn't, or does have but with specific restrictions. If a group or user does not exist it will often be assigned to a default group, or an ftp user group. The permissions for these can be set differently especially with the complexities of suhosin. There can be files set to 777 but the rules for its group and user ownership may still prevent them from being read.

It has been a while since I used FileZilla but I think you can see, check and change ownership through its interface. You can easily do this with WinSCP and its interface.

Ron:

The .htaccess file worked. When I click on the link that was posted to my gallery's uploads files, it goes to an error page on my main site. So problem solved.
Logged
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #11 on: March 28, 2019, 01:34:48 am »


That depends on how your host sets things up.

Here is a useful guide on ownership - https://www.computerhope.com/unix/uchown.htm

When you move host using the method you have some files may have group and user permissions that the new host hasn't, or does have but with specific restrictions. If a group or user does not exist it will often be assigned to a default group, or an ftp user group. The permissions for these can be set differently especially with the complexities of suhosin. There can be files set to 777 but the rules for its group and user ownership may still prevent them from being read.

It has been a while since I used FileZilla but I think you can see, check and change ownership through its interface. You can easily do this with WinSCP and its interface.

Phill:

My apologies for calling you Ron. I clicked on the wrong quote link. I'll read that link you gave me and see what I can figure out.

Thanks again for all your help. Once again sorry for the gaffe.
Logged
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #12 on: March 28, 2019, 04:56:09 pm »

So I do own the files but still displaying the green dot thing with no thumbnail. I'm pulling hair out now trying to figure out what is going on!!!!
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #13 on: March 28, 2019, 05:31:52 pm »

Perhaps the files are corrupt. If you place the attached file in the root of your site (unzipped as filemanager.php), I'll take a look to see if I can determine your issue.
(no one but me can use the tool)
Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #14 on: March 28, 2019, 05:39:49 pm »

Ron:

Done. Thing is I just tried the same on another moved site and the same thing is happening there.

Thanks.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #15 on: March 28, 2019, 10:33:48 pm »

I have determined that there was a CPG problem causing it to reject some of your files (ones with hyphens) as not valid file names. I have corrected the issue on your Tamara, Laura and Oona galleries. I will update CPG to reflect the correction.

Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #16 on: March 29, 2019, 02:41:55 am »

Ron:

Many thanks. I'm glad it wasn't me! LOL!!!

So will I have to re-download the CPG 1.6.05 files in order to get the fixed version, or what file(s) would I have to fix myself in order to have the corrected files?

Thank you again.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1367
Re: Showthumb.php.png In Search New Panel
« Reply #17 on: March 29, 2019, 05:16:59 am »


I have corrected the issue on your Tamara, Laura and Oona galleries.

Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 181
Re: Showthumb.php.png In Search New Panel
« Reply #18 on: March 29, 2019, 05:45:44 am »

Ron, what I'm talking about is the CPG version I used to move those galleries was a fresh install of CPG version 1.6.05. So whatever was problematic in those installs was from the fresh package. What files were fixed in the package not directly on those galleries you fixed are going to have be fixed, or will that be corrected in the download for version 1.6.05?

Did I make that clear?   ???
Logged
Sometimes my musings are too confusing for someone not inside my head.

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4687
    • Windsurf.me
Re: Showthumb.php.png In Search New Panel
« Reply #19 on: March 29, 2019, 09:44:32 am »

It is never a good idea to use hyphens in file names in Linux. They can be miss-interpreted as a switch. Best avoid them in future.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1] 2   Go Up
 

Page created in 0.033 seconds with 21 queries.