Hi,
I hoping someone can help me. I've followed all the setup instructions and changed the config.php and .htaccess files. When I go to the setup.php and put in my login, I get a 404 error.
My setup.php is like this:
http://www.mydomain.com/photos/zen/setup.php
When I click the login button it tries to call up this page:
http://www.mydomain.com/cgi-sysyem/zen/setup.php
I can't work out why it's doing this, anyone got any ideas?
thanks in advance
Hami
I was having this exact same "cgi-system" issue... (I'm on Dreamhost)
In .htaccess I set:
RewriteBase /home/username/photos.pengins.net
My ZenPhoto install is actually in photos.pengins.net/zen and I had to leave off both the /zen and the trailing slash.
In my Dreamhost control panel, I set the subdomain that I was running Zen on to run as PHP5.
Once I did that, I went to setup.php and happily saw:
database connected
We’re all set to create the database tables: zen_photos_albums, zen_photos_images, and zen_photos_comments.
Go!
Then after I got it all installed, I had to change in .htaccess to:
RewriteBase /zen
Can't tell you why it worked, but it did for me.
I changed the settings on the domain to run PHP5, and logged in and I got a different 404 error, as it tried to go here:
http://www.mydomain.com/photos/zen/zen/setup.php
instead of:
http://www.mydomain.com/photos/zen/setup.php
I revisited the correct setup domain and I got the 'We're all set to create the database...' message and clicked GO!
It then gave a choice of visting the gallery (which worked fine) and administrative settings which I got a 404 error again.
I then change the .htacess as tsservo suggested to:
RewriteBase /photos
instead of the absolute path (which I had it set to in during the setup).
It now seems to be fine, I'll no put some photos up and see if there are any other problems.
A couple of comments for trisweb:
When you have no photos or albums you get a missing image icon when you view it in Safari.
The logout doesn't seem to work in Safari, but is fine in Firefox. In Safari it takes you to the gallery, but when you revisit the admin page it automatically logs you in. Could it be a cookie or cache issue? Can you add a check box to log, for remembering the login?
One last point, the admin page says the version is 0.8, but I downloaded 0.9 - is this a know problem?
thanks again
Hami
I'm on dreamhost too. Got the database to connect but when i'm presented with the admin login page and login it says
"The requested URL /cgi-system/zen/setup.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
I've treid a variety of .htaccess changes to the absolute path (i've installed zen in homepage.com/photos and have tried /zen, /photos/zen, and some others) but none seem to change zen's desire to go to the/cgi-system folder. I've changed that hosted domain to PHP5, but nothing has changed. Any suggestions on the .htaccess settings?
thanks
Can someone please explain the correct settings for RewriteBase??? No matter what I set it to I get 404's on selecting an album to view.
It should just be the path from your base url - like:
If your URL is: [b]http://[i][/i]www.domain.com/stuff/photos[/b]
Your RewriteBase would be: [b]/stuff/photos[/b]
Ok, doesn't work. Try AGAIN!
This is awful.
The URL I have all my stuff under is http://mymachine/zenphoto
So, I changed the RewriteBase to /zenphoto
Still no luck whatsoever. As soon as I select an album I get the 404 not found. I can navigate to admin.php by putting in http://mymachine/zenphoto/zen/admin.php, but as soon as I try to change something, it attempts to redirect using the rewrite base again and I get another 404 not found.
My album is named 'test'. When I click on it, I get this 404 error: "The requested URL /zenphoto/test/ was not found on this server."
Remeber, the "absolute path" is the whole path for the file on the server, not relative to the website.
http://www.site.com/zen/index.html would be:
/home/username/public_html/zenphoto/zen
I am on DreamHost and am having the same 'cgi' problem. I have set up a separate database for my gallery from my WordPress install, but don't want a subdomain. How can I follow tsservo's instructions (ie changing subdomain to PHP5) if I am on the same domain? Will it hurt my WordPress install if I change anyway? Is it worth waiting for version 1 and full WordPress integration?
Im having the same problems as the people above, and no matter what I try, I just cant fix it; please help!
Im using Dreamhost (who I thought were great until this afternoon). I installed it, and it connects to the db, but when I log in (correctly) it tries to go to domain/cgi-system/zen/setup.php, which doesnt exist!
I've tried for the last ~3 hours, and its driving me nuts! And although I'm bad at following instructions, I followed these to the T!
Please help me to get this working, I can do wonders with CSS/javascript and would be willing to share my work! Thanks
I've been having difficulty install ZenPhoto as well. My host is Godaddy. Has anyone successfully installed it?
I reach up to this level:
zenphoto setup
Creating tables...
Done!
You can now View your gallery, or administrate.
Upon clicking on "administrate", it takes me to a black page that reads "No input file specified."
Any ideas?
I missed it the first time around, it was buried between all the other posts, but tsservos solution worked for me:
http://www.zenphoto.org/support/topic.php?id=69#post-273
Strange solution, I wonder how he figured it out to begin with.