Pages (2): 1 2   
Member
Member
Hami   02-10-2005, 14:00
#1

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

Developer
Developer
trisweb   02-10-2005, 18:19
#2

Probably need to update the path in the .htaccess file, sorry that's not documented better.

Member
Member
tsservo   02-10-2005, 18:51
#3

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.

Member
Member
Hami   03-10-2005, 01:12
#4

tsservo & trisweb,

thanks for the response, I'm on dreamhost too so I think I must have the same problem as tsservo.

I'll make those changes and see if that fixes things.

thanks

Hami

Developer
Developer
trisweb   03-10-2005, 08:23
#5

I think there's a problem with resolving those paths on dreamhost in 0.9. I'll see if I can fix it in a minor release soon if that doesn't work for you.

Member
Member
Hami   03-10-2005, 10:03
#6

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

Member
Member
sahadeva   03-10-2005, 16:40
#7

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

Member
Member
sahadeva   03-10-2005, 18:01
#8

cancel that last post. just took a while to get eveythink in sink. Sweet.

Member
Member
stealthboy   03-10-2005, 19:07
#9

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.

Developer
Developer
trisweb   03-10-2005, 19:11
#10

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]

Member
Member
stealthboy   03-10-2005, 19:27
#11

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."

Junior Member
Junior Member
ryanknapper   03-10-2005, 20:24
#12

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

Developer
Developer
trisweb   04-10-2005, 04:04
#13

Consider the possibility that you don't have mod_rewrite available on your server, and turn it off in the config file. No pretty urls, but it might work...

Member
Member
bcarver   05-10-2005, 21:28
#14

May I also suggest you make sure you have AllowOverride All set in your apache conf file for the directory in question.

I had symptomps similar to what you report until I changed this parameter (which makes .htaccess take effect).

Junior Member
Junior Member
stevhill   08-10-2005, 20:42
#15

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?

Member
Member
bs84   22-10-2005, 17:06
#16

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

Junior Member
Junior Member
jorgeq   22-10-2005, 20:55
#17

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?

Member
Member
RogerUsh   23-10-2005, 15:51
#18

I'm having the same problem when I run setup.php for version 0.9:

The requested URL /cgi-system/zen/setup.php was not found on this server.

I tried switching the mod_rewrite off in the config file but it didn't affect anything.

I am also using Dreamhost.

Member
Member
bs84   23-10-2005, 17:46
#19

please, help us..

Member
Member
RogerUsh   24-10-2005, 06:30
#20

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.