I have previously installed Zenphoto but realized that when I uploaded the installation the first time, the .htaccess file didnt get uploaded because it was invisible (im on a mac) and so I didnt have it selected when I dragged the files into my localhost. Anyway, I wanted cruft-free links and found out I needed that file so I redownloaded zenphoto, found the file and uploaded it. It broke my phpinfo.php file and nothing else past the front page loads. I rename the file and everything is ok again. I removed the config file and reloaded to try to trigger the setup.php to rewrite it and fix whatever is going on, but even the setup.php is not working. Everything just tells me "No input file specified."
How do I get the .htaccess file working, how do I get my config file recreated, and how do I get my cruft-free URLs?
EDIT: I just renamed the .htaccess file and went to setup, it laoded so I reinput my database info and saved. I then put the .htaccess file back and went back to setup.php and it gave me "No input file specified." again. Anyone know what is going on here?
Comments
You have to enter your db data to the config file manually. Setup will only adjust your htaccess file.
EDIT: Just for verification that it was the installation process and not something I did, I just uploaded the whole folder to another directory. The setup.php file was redirected to from the folder, but gave me the error "No input file specified."
How do I install mod_rewrite? I still want pretty URLs.
see here: www.ronquillostudios.com/bazil The album "bazil" is rewritten, but here:
www.ronquillostudios.com/zp-core/admin.php
www.ronquillostudios.com/zp-core/setup.php
www.ronquillostudios.com/phpinfo.php
All are broken. If I comment out the line I mentioned, the rewrite breaks, but the links above work again.
I checked your domain on netcraft and it appears your site is hosted by Dreamhost. I'm having the same problem you describe with one of my Dreamhost domains (as detailed here: http://www.zenphoto.org/support/topic.php?id=3478 )
There is an issue with zenphoto & htaccess & mod_rewrite on some Dreamhost domains. After days of trying I was unable to get cruft free url's working but am hopeful there is a fix. Until then I've disabled them so that things simply work without 404's or "No input file specified" errors.
Just wanted to confirm that I'm in the same boat and will stay tuned for a breakthrough.