I'm trying to get zenphoto running but I have problems when mod_rewrite is enabled.
If I disable mod_rewrite everything seems to work fine. If I enable mod_rewrite then when I upload a photo the thumbnails and such are not generated (nothing gets put in /cache) and my album displays empty img tags. Similarily, I cannot edit photos or crop thumbnails.
If I upload/edit with mod_rewrite disabled and then re-enable mod_rewrite when I'm done, then everything seems to be alright.
I've checked my RewriteBase rule and it's fine. I've even tried chmod 777 everything in /zenphoto. My host is GoDaddy shared. Nothing shows in the zenphoto logs either.
Comments
In the case where you create the cached images with mod_rewrite off, the images will be stored in the cache folder as "normal" path names. Zenphoto knows the cached image exists and uses this URL to access it. All goes well.
When you have mod_rewrite on and a file not in the cache the URL used will assume that the rewrite rules will break it down into the not-mod_write form. That seems not happening, so the image is not accessed nor placed in the cache folder.
So, I guess the bottom line is that you cannot use mod_rewrite.
Now I'm getting a PHP error where the album thumbnail should be and I have no idea why. This is with the default theme too.
`Fatal error: Call to a member function get() on a non-object in /.../jlee.me/zenphoto/zp-core/template-functions.php on line 1560`
Then we need to know details on what you are doing when you get this error.
The error itself is an indication of some mal-formed action within Zenphoto. Most commonly these kind of errors come from a call on a image function outside of the scope where the calls are valid.