Keywords: GavickPro portfolio “This is somewhat embarrassing, isn’t it?” Administrator logged in logged out cookies
If you are in a hurry, skip down to the paragraph that begins SOLUTION:
I spent hours yesterday reading post after post of people who had spent hours reading post after post around this topic: You have a gallery, looks good, works well, but when you log out of WordPress, or tell your friend to try your gallery, the image doesn’t come up, only “This is somewhat embarrassing, isn’t it?” 404 page, if you use the GavickPro Portfolio theme. In a different theme, the browser-based message said that the page was not navigable, and it might have something to do with cookies.
So I Google around, trying to find the correct combination of keywords. I found A LOT of people asking the question. Here’s what people are responding: You don’t have this configured right, or that configured right. .htaccess is wrong. You have the wrong permalinks You have a couple of lines of PHP that need to be written. But the person who asked the question comes back and says, “Sorry, that didn’t fix it.”
But not most of the time. Most of the time, the question is asked, and then the topic is closed.
In my case, I got the failure condition in two dissimilar photography-centric themes, so it seemed not to be related to the theme. I looked at the various folder permissions on the server and there did not seem to be any issues there. While a lot of people are having the problem, it is clear that not EVERYONE is having the problem, otherwise the product would not offer the capability. So what does that leave?
1) You are not using the product as intended, and/or 2) there is something the matter with the input. Once you convince yourself that you are in fact using the product as intended, that only leaves the input.
I have a big-boy camera and it takes huge (over 5 MB) .jpg files. I was in a hurry to see my new gallery, so I simply uploaded a few pix at my fingertips, and made up a test page. It was at this point that I discovered the error condition.
I knew I would be using smaller files on the website in production, but the idea that my input was bad and the error message was wrong only occurred to me after I had lost all that time Googling (and trying a couple of configuration and php fixes).
SOLUTION: Your photos are too big. The file is there, but the program is coughing on the size of it, and giving you an incorrect diagnosis or error condition. Reduce the size of the photos to, oh, less than 1MB, and enjoy your gallery.
I do not care enought about the innards of WordPress to go fishing for the offending code. It is not at all clear to me how the file can be found and yet given the attribution in code that it doesn’t exist. Maybe a really fast load timer times out.
The whole Search Engine and Help Forum behavior is also a problem, but that’s another post in a different blog.