ZenphotoCMS Forum
Test installation on Windows, error after login - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Test installation on Windows, error after login (/thread-164.html)



Test installation on Windows, error after login - oneafrikan - 2005-12-07

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




Test installation on Windows, error after login - Luckyspin - 2005-12-08

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




Test installation on Windows, error after login - oneafrikan - 2005-12-12

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?




Test installation on Windows, error after login - Luckyspin - 2005-12-13

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




Test installation on Windows, error after login - pilotchip - 2005-12-14

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




Test installation on Windows, error after login - oneafrikan - 2005-12-14

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?
;-)




Test installation on Windows, error after login - pilotchip - 2005-12-14

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




Test installation on Windows, error after login - oneafrikan - 2005-12-16

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