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: intermediate page shows default thumbnail, not the uploaded image  (Read 3887 times)

0 Members and 1 Guest are viewing this topic.

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity

Hi Friends,
While investigating another problem, Niecher noticed that there are a couple of images in my gallery where the intermediate page does not show the image that was uploaded.  Instead, it shows the default b&w thumbnail (which to me looks like a shiny pipe standing on end).  Here:

http://inkscapecommunity.com/ic_gallery/displayimage.php?album=14&pid=25#top_display_media
and
http://inkscapecommunity.com/ic_gallery/displayimage.php?album=14&pid=28#top_display_media

The uploaded image does show on thumbnails.  And if you click on the shiny pipe thumbnail, it does display the correct uploaded image.

My 1st instinct is to ask the member to delete and re-upload.  But of course I would defer you you guys, if you know a better solution (or even what's causing this).

_____________________

Also, this next part, Niecher discovered that this URL:  http://inkscapecommunity.com/ic_gallery/albums/userpics/10009/ gives a server error.

At first, I thought it might be related to this problem, since user 10009 is the same user who uploaded the files that aren't showing above.  But if I replace the user number on the end of the url, all of them give the server error.  So maybe it's not related to this after all.

The problem for me on this issue, is that I haven't figured out how to browse to that URL from the gallery.  So I don't know what Niecher was doing when he found that.  I'm wondering if those URLs aren't actually webpages?  Using that path indicated by the URL, I can find all the user albums in the server.  And the images show up just fine.

But since I don't know how to get to that URL from the gallery, I'm not sure if that URL is actually supposed to be a webpage.  And also, since it's a server error, I've read over and over in the manual that you guys can't help with server issues.

So my only question on this part -- Is http://inkscapecommunity.com/ic_gallery/albums/userpics/10009/ supposed to be a webpage that can be seen by browsing through the gallery?

If so, how to get to it?  And then I can go to my webhost and sort it out.  If it's not supposed to be a webpage in the first place, then it's not really a problem.

Thanks for your help  :)
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #1 on: October 08, 2013, 03:34:51 am »

Auugghh, no edits.

FYI, guests can't open full size images, in case you wanted to test.  But I've checked, and they do open properly.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #2 on: October 08, 2013, 03:43:41 am »

No doubt you have a problem on your server. Perhaps this causes problems with full-size and the cylinder (thumb_nopic). Read my last post please.

I suggest you write a support ticket on your webhost.

Regards.
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #3 on: October 08, 2013, 03:57:30 am »

Ok, I read your other post.  But I don't understand how you got to that URL from inside the gallery.  I can't tell my host "somebody told me something" if I haven't seen it myself.  And even though I have pasted that url into my browser and seen it, it's not likely that any of my members will use that URL, unless they can browse to it using gallery controls.

This is the first time I've been an admin/webmaster, so there is a lot I still have to learn.  But it seems to me like not all folders on the server are webpages.

Why would only 2 images be affected, if this is a problem on the server?
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #4 on: October 08, 2013, 04:11:23 am »

Miss or Mrs. brynn

You comment on the ticket support:

When I access to my domain url:  http://inkscapecommunity.com/ic_gallery/albums/userpics/10009/
should appear a blank page, however, I get a 500 Error. Why?

They will know to fix it.

Regards.
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #5 on: October 08, 2013, 04:24:34 am »

Thank you, Niecher.  I truly appreciate your help.  There is just so much I don't understand.

Quote
When I access to my domain url:  http://inkscapecommunity.com/ic_gallery/albums/userpics/10009/
should appear a blank page, however, I get a 500 Error. Why?

Are you saying that instead of the server error message, the page is supposed to be blank?

I will try reporting it.  But I'm quite hesitant, when I know so little about it.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #7 on: October 08, 2013, 05:57:29 am »

I'll let you know when I get a reply.

thanks again   :)
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #8 on: October 08, 2013, 06:59:56 am »

Hello brynn,

Not only the folders in the gallery show 500 error, also your forum folders. For example:
http://forum.inkscapecommunity.com/avatars/
http://forum.inkscapecommunity.com/Smileys/
Both are protected folders, as in the gallery.

Phill shows a phrase, in the forum, it says:
"It is a mistake to think you can solve any major problems just with potatoes"

and I agree with the phrase.

Regards.
« Last Edit: October 08, 2013, 07:10:38 am by Niecher »
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #9 on: October 08, 2013, 08:18:13 am »

Well, if so many areas share the same issue, I might suspect there's some reason for it.  Of course I know little to nothing about how to run a server.  But I also wonder, if all the smileys and all the avatars and all the images in the gallery (except for those 2) are visible and fully functional in the operation of the website, why it matters if a folder shows a 500 error or is a blank page.  Especially if it's not a webpage at all.

But as I've said, I sent the message, and I'll let you know when I get an answer (it's the middle of the night here, so it will be at least several hours).

Personally, I have no potatoes.  And I can't speak for the host who manages the server.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #10 on: October 08, 2013, 08:31:47 am »

An error of this kind can affect in many ways. Perhaps the errors come from there or not. I can not ensure that it is so, but the errors are not good.

I hope everything is fixed soon and all your gallery works perfectly.

That phrase I liked, because there is always a reason, big or small, for things happen.

Regards.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #11 on: October 08, 2013, 09:20:55 am »

The solution for this issue is probably easier, though I agree there's something wrong with your server setup.

The reason why you get the default thumbnail may be the following: you changed one of the following settings in the Coppermine config after you uploaded the images you currently have trouble with:

That's just an assumption, as the thumbnail and full-sized picture exist, but the intermediate-sized picture doesn't exist:

Please run the admin tools and re-create at least the intermediate-sized picture. I assume everything works as expected when done.
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #12 on: October 08, 2013, 10:10:17 am »

Oh yes, I did reset the max width/height for intermediate pics.  Somehow it had been changed from where I had originally set it, so I just put it back to what I had set the first time.  I don't remember exactly the timing in relation to when that member uploaded the images, but that's probably what happened.

When you say "re-create" the images, I guess you mean Admin Tools > Update thumbs and/or resized photos?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #13 on: October 08, 2013, 10:13:29 am »

Yes.
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #14 on: October 09, 2013, 06:33:47 pm »

Ok, everything is resolved!

Since it was just those 2 images that were affected by me changing the intermediate size, I've asked the member to delete, and re-upload.  I don't think he's received my PM yet, but I expect within a week, the images will be re-uploaded.

As for the server error messages, my host support says that

    inkscapecommunity.com/ic_gallery/albums/userpics/1000x
    forum.inkscapecommunity.com/Smileys/
    forum.inkscapecommunity.com/avatars/

are not legitimate URLs.  And that's exactly what I was thinking, when I said that no one can actually browse to those locations, usng the gallery interface.  They aren't even webpages.  If anyone wants to explain what function the blank page has, and why that's preferrable to the server error page, I certainly am happy to learn as much as I can about it.  Although, I did get the impression from the manual, that you all don't provide support for server issues.

So anyway, thank you very much   :)

And especially thanks to Niecher, who has spent so much time helping me with my gallery!  Hopefully I'm good to go now.

All best   ;D
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #15 on: October 09, 2013, 06:48:41 pm »

Yes, a way to protect the directories is to show a 500 Error.

The important thing is that you feel happy and enjoy an excellent forum and gallery.

Regards.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #16 on: October 10, 2013, 09:08:44 am »

I wonder why you ask for support and then don't follow our advices. It's described in the docs and also next to the config setting that you need to run the admin tools if you change some config values (e.g. the settings for the intermediate-sized picture). Instead you now asked your user to fix the issue for you.


my host support says that

    inkscapecommunity.com/ic_gallery/albums/userpics/1000x
    forum.inkscapecommunity.com/Smileys/
    forum.inkscapecommunity.com/avatars/

are not legitimate URLs.
What a nonsense. There's obviously something wrong on your server, or at least its behavior is inconsistent, as it returns an "Internal Server Error" (500) for some directories, but not for all. Example:


I did get the impression from the manual, that you all don't provide support for server issues.
Because such server issues are beyond our scope. We already try to help as much as we can, but mostly we have to direct you to your hosting provider.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #17 on: October 10, 2013, 10:33:41 am »

Hello brynn,

You decided to delete the files, which at first glance, seemed to have errors and showing a cylinder (thumb_nopic).

http://inkscapecommunity.com/ic_gallery/displayimage.php?pid=28
http://inkscapecommunity.com/ic_gallery/displayimage.php?pid=25

I suggest using the following plugin (File Replacer for cpg1.5.x) to replace by yourself so any file and perform maintenance on your gallery.

To do this, make sure the source file exists in the appropriate path from your FTP client, download the file to your PC, make sure it is not corrupt in any image editor. Then, upload it to the gallery and so you do not need to depend on them.

Regards.
« Last Edit: October 10, 2013, 02:56:52 pm by Niecher »
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #18 on: October 10, 2013, 03:10:52 pm »

Hello brynn,

I hope you understand my English, I know it's not good at all. My intention is to help.

Not sure what will happen first, if I'll learn to write in Php language or English language with perfectly.  ;D

Regards.
Logged

brynn

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Female
  • Posts: 198
    • Inkscape Commmunity
Re: intermediate page shows default thumbnail, not the uploaded image
« Reply #19 on: October 10, 2013, 09:06:11 pm »

I apologize Andre.  I did not intend to be rude or disrespectful.  I am still learning about all these things.  I found the Admin Tools, and I found how to use the "Update thumbs and/or resize photos" feature.  Once I understood as much as I could, it seemed to me like this was going to perform that action on all the images in that album.  Since it was only 2 images that were affected, and since this member is a good friend, it seemed to me simpler to ask him to delete them and re-upload them, rather than perform the "update" on all the images in the album.

So in the end, I have learned from your advice, and made use of your considerable skills and experience, that you kindly shared in this topic.  Using what I have learned from you, I was able to make a decision about what to do.  Just because I didn't choose your method should not be seen as a snub.  Now I know what to do if I inadvertently change one of those settings in the future (when no doubt, there will be many more than just 2 images affected).  I thank you for your support  :)

I don't know what to say (or do) about your well-intentioned comments about my server configuration.  I fully realized they are based on knowledge and experience that is far more advanced than mine.  If I understood why it matters that there is a server error on folders (dirs) which are not webpages at all; and why they are supposed to show blank pages instead; I would be in a better position to discuss it with my webhost.  I hope you understand that I can't keep telling them -- "somebody said this is wrong" without being able to discuss with them why it's wrong.  I mean, for example, if I posted a message in this forum, that said, "somebody told me something is wrong with the way the galley is coded - I want you to fix it"; you would probably reply with some not-so-nice comments, right?

As I said before, if you were willing to explain it to me, or perhaps refer me to articles, or something like that, I am just SO happy to learn as much as I can about it.  But without some knowledge or understanding about server config and server management, I really have to trust that my host knows what they're doing.  (And again, I do understand that you don't provide server support.)

Niecher, actually I didn't delete the files.  Since that member is a good friend, I asked him to re-upload them.  I'm a bit puzzled why he deleted, but hasn't re-uploaded yet.  Perhaps he was on his phone, or didn't have the flash drive with him, or otherwise couldn't access the images at the time when he received my PM.  I'm sure he will upload them as soon as he can.  No worries about that.

However, I appreciate your instructions for me to replace them myself.  I can see where that plug-in would be very useful -- especially for a newbie like me!!

I think we have communicated very effectively, Niecher.  I have understood your messages, and know that you want to be helpful.  And I very much appreciate your efforts and the time you've devoted to help me with my gallery!  Thank you very much!

All best   :)
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 19 queries.