I give up. I've done everything I could think of and looked everywhere I could think of.
I have no idea what I did to my gallery. And to be honest, to the best of my memory, this just happened all on its own. I haven't touched the gallery until I discovered the error.
When I click on any thumb, which strangely appears perfectly and has all the proper comments and ratings, I get
"Photo not found in the database!"
Like I said, the thumbs work fine, but when you click to see the actual image after the thumbnail view, I get the PHOTO NOT FOUND IN THE DATABASE! statement printed in the box where the the images and all the other photopost links and stuff should be displaying.
Any clue as to what happened and how I can fix it. I'm all out of ideas.
Here's an example of a page:
http://www.mortystwistedworld.com/ga...php?photo=1345