I created a new theme in a offline environment (xampp)and everything worked wonders, I then installed zenphoto online and activated my custom theme, all is well, I created loads of galleries and uploaded images, it all works perfectly, except for when I click on the thumbnail of an image in a gallery and then i get the error "Object not found"
I am pretty sure it has to do with a path or something but I have no idea where to change it, or why it worked in xampp and then not online...
The instillation path is:
http://www.ekuja-hunting-namibia.com/zenphoto
I have then got 6 albums with images in each. The path to the albums are:
http://www.ekuja-hunting-namibia.com/zenphoto/2007/
And the failing image path is :
http://www.ekuja-hunting-namibia.com/zenphoto/2007/p1000675.jpg
Feel free to go take a look at it, the site is old and was build years ago, they just asked me to ad a gallery to it.
Well, a a link like http://www.ekuja-hunting-namibia.com/zenphoto/2007/p1000675.jpg cannot work. It is missing the rewrite suffix, normally .php or .html per default. Check the option for that (Options > General).
http://www.ekuja-hunting-namibia.com/zenphoto/index.php?album=2007&image=p1000675.jpg does work so Zenphoto without modrewrite is working correctly.
Excellent we are getting closer. I went into options and checked and mod rewrite was selected.
So I deselected it all and now its working just fine, but with horrible url's.. If I check mod rewrite and put in a mod rewrite suffix (.php) it all still doesn't work..
But as far as I am concerned this is a victory. I will keep the mod rewrite off for now, sure this will hurt my search engine results but at least its functional now.
Try .html instead of .php as many current Apache installs have modsecurity enabled which does not like .php. The suffix can be also something like -view or /view. It is required because otherrwise it is not clear this is an image page and not a direct image call.
Just a note that the rewrite suffix is totally NOT required. In fact it may even be configured to be missing, leaving links like you show.
But of course, if your server is not supporting mod_rewrite or you do not have the correct .htaccess file you cannot use such nice looking urls.
Ok, my fault, I indeed didn't know it can be kept empty. Always used the defaults of .php or .html myself.
I would recommend to use it as you otherwise more or less pretend that hte url is an image while it is a page. Might be that server security triggers on that as well.