Just installed zenphoto. I'm on an IIS server (I think)--its windows. In order to get the setup.php to work, I had to set mod_rewrite to false and uncomment the path lines:
define('WEBPATH', '/Images');
define('SERVERPATH', 'www.desilva.info/Images');
Zenphoto is installed in /Images.
Setup then ran, it connected to the database, and with a hack (explained below), I uploaded a jpg to a gallery. Viewing the gallery works fine, navigation from the main page to album to photo all works.
But, I keep having login issues.
On my server, there is a subfolder on my hosting account called info, which is where http://www.desilva.info takes you. /Images, where zenphoto is installed, is actually under /info--/info/Images. So http://www.desilva.info/Images/index.php is the URL for the gallery. The way the server seems to work, you can also get there with http://www.desilva.info/desilvainfo/info/Images/index.php--the hosting account name followed by the /info directory. Interestingly, if you go to http://www.desilva.info/Images/index.php, and click on the album (Memorial Bridge), it takes you to http://www.desilva.info/desilvainfo/info/Images/index.php?album=memorialbridge. Somewhere zP is adding in the "/desilvainfo/info." This doesn't seem consistent with having defined SERVERPATH to 'www.desilva.info/Images'
Anyway, for whatever reason, the public interface seems to work. The problem is with administration. I can go to the admin page, but if I add an image, it takes me to the login page--www.desilva.info/desilvainfo/info/Images/zen/admin.php. I then get trapped there in a login loop.
However, if I shorten the URL to http://www.desilva.info/Images/zen/admin.php, I continue on and it seems to perform whatever function it was trying to do.
Any ideas for having to hack /desilvainfo/info out of the URL in the browser everytime I want to edit/upload anything?