Member
Member
oneafrikan   2005-12-07, 16:16
#1

Hey all

I'm trying to install Zenphoto on a dev WAMP setup, and this is what is happening:

I go to:
http://localhost/zenphoto-0.9-beta/zen/setup.php

fill in the login details, then I get redirected to:
http://localhost/php/zen/setup.php

Which of course doesn't exist...

This what the .htaccess file looks like:

!!! Change this to the absolute path !!!


RewriteBase /zp


RewriteBase /zenphoto-0.9-beta

Should I hard code the SERVERPATH and WEBPATH constants in the config file?

Has anyone else had this problem at all?

Any help woudl be awesome ;-)

Thanks
gareth

Member
Member
Luckyspin   2005-12-08, 02:28
#2

This sounds like your .htaccess access file is not working. Are you sure you have mod_rewrite enabled in your httpd.conf?

Member
Member
oneafrikan   2005-12-12, 14:11
#3

I do, yeah. Works on ther virtual servers I have installed on the same machine...

I thought it might be something to do with the way php works on Windows?

Is there any way I can test if the .htaccess file is working the way it should?

Member
Member
Luckyspin   2005-12-13, 23:44
#4

You could try hard coding those variables. See this thread for details how:

http://www.zenphoto.org/support/topic.php?id=159

You could also try writing a catch all rule in your .htaccess file to prove that all hits to that site go to a dummy page (that you also write).

Member
Member
pilotchip   2005-12-14, 00:02
#5

I have noticed a repetition of this event.

I also figured this out...when installing a new zen photo gallery and you are presented with the login screen, log in. it will bring you to a 404 or error page that doesn't exist.

hit BACK on your browser or go back to your /zendirectory/zen/setup.php

and hit refresh, magically it will kick in. try that

jason - let me know

Member
Member
oneafrikan   2005-12-14, 00:32
#6

Thanks Jason - unfortunately not! ;-)
Does the same thing as before:

Logging in sends me to:
http://localhost/php/zen/setup.php

If I refresh, nothing happens...

Any more ideas?
;-)

Member
Member
pilotchip   2005-12-14, 00:36
#7

actually i did have that happen. it was like it was stupid.

try this. change your .htaccess to the zen directory INSIDE your zen root. for ex. /zen beta 9.0 whatever/zen

try the login trick then refresh and then try changing the root back to just /beta 9.0 whatever/

i had to play with that cause i had the same thing. it worked in the end. idk. just an idea.

jay

Member
Member
oneafrikan   2005-12-16, 19:22
#8

Guys

Hardcoding the variables as in (http://www.zenphoto.org/support/topic.php?id=159) worked first time, so check that out...

Except that now the paths to the images are incorrect (it's not including the "albums" directory in the img tag) and the images are not displaying on the pages....

Any ideas now?

Thanks in advance ;-)
gareth

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.