Hi all
I only found zenPhoto today, and installed it. That seemed to go alright. I had to do the few changes necessary. I found I had to manually create a database in mySQL for it, but no big problems there.
My problem comes mainly now. I've uploaded some photos, and after figuring out how to turn on the GD plugin, it started working! Now, I've deleted those photos, and am trying to delete the albums, but I'm getting an error that the directory is not empty!
Also, when I try to view the photos using the album, it doesn't work. I'm working just using Apache, mySQL and PHP on my localhost, and so the photos are contained in localhost/zenPhoto/albums/album_name, however it tries to navigate to localhost/zenPhoto/album_name. Where do I go to fix this one??? And how do I make it so that the deleting of albums works. I'm just creating this page, and some not-so-tech-savvy people will be using it to display photos to the world.
Man, I am tired of explaining this so much...
The URL in the address bar DOES NOT correspond to the directories except for their names. /zenphoto/album_name is the CORRECT URL, which is then translated by mod_rewrite into /zenphoto/index.php?album=album_name. SO - no problem there.
The problem is probably, then, that you don't have Apache's mod_rewrite module enabled. Judging from the fact that GD was not enabled either, that is very likely. You can turn off mod_rewrite in zenphoto's zp-config.php to get it to work.
The deletion problem is probably due to files other than image files in the album directory. Are you sure they're empty? Where are you seeing the error message?
Please provide us with a URL. We can help you much better that way.
I can't post a URL because It's not online yet. I looked through Apache's setup and turned on the mod_rewrite by taking away the ";" from the beginning of the line.
Since looking through your code I've figured out that yes, the URL does not match the directory structure, just like you said.
I figured out the problem with deleting the directories. Since I'm running apache on windows on the machine i'm developing on, and i stupidly looked at the directories, windows added the Thumbs.db file. I deleted the directories, the entries from the database using phpMyAdmin, and it's fixed now.
So I now have one album, with three images in it. When I click the album's thumbnail, I get a 404 File Not Found.
ZP_Config:
`
`
Am I missing something??
Okay, I read through the forums a bit more and found someone else who had a similar problem to me. It was a problem with overriding the directory, similar to that of "Long time user, first time mod_rewrite attempt". Thanks for your help trisweb, and thanks for making such awesome gallery software!