Member
Member
war59312   2006-08-31, 04:34
#1

Hi,

I am trying to set this mug up via:

http://www.war59312.com/gallery/zen/setup.php

But when I click login it always goes to:

http://www.war59312.com/zen/setup.php

I just uploaded the files to /gallery/ and running the installer.

Why? htaccess has "RewriteBase /gallery" .

Even without the htaccess file it does this so I know its not htaccess fault.

Also tried setting:

define('WEBPATH', '/gallery');

Any ideas?

Thanks,

Will

Member
Member
antoxa   2006-08-31, 13:22
#2

disable mod_rewrite and try to run setup again

Member
Member
war59312   2006-09-04, 00:53
#3

Same!

Member
Member
war59312   2006-09-13, 07:06
#4

Hi,

Any other ideas?

Thanks,

Will

Member
Member
Rygaard   2006-09-13, 14:38
#5

As far as I can see your link gets to the right place - have you tried entering your username and password to continue the setup process?
BTW: If you need to use the WEBPATH you need to supply the full serverpath and not just the the folder.

Member
Member
war59312   2006-09-13, 19:54
#6

Hi,

Rygaard, if you click the login button you will see that it takes you to the wrong url, right password or not. So you get a 404.

Yes I tried setting webpath to full serverpath and still the same result. As if it has no effect.

Thanks again for your help,

Will

Member
Member
Rygaard   2006-09-14, 21:22
#7

Hi Will
Sorry didn't try clicking the button since I obviously hadn't got any login information...
Another idea... Where's your .htaccess file placed? Is it in your root or is it where it's intended in your gallery folder?
Do you have:
`

RewriteEngine On

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase /gallery`
In your htaccess - turning on the Rewrite Engine is a must.

Developer
Developer
trisweb   2006-09-14, 21:56
#8

Note -- it should still work, though there is a bug in the redirect. After logging in, point your browser back to http://www.war59312.com/gallery/zen/setup.php and continue as normal.

Member
Member
muesli   2006-09-15, 16:07
#9

hi, i'm having exactly the same problem. i can setup and login manually adding /photos to the path.

however /photos is missing in all paths, so links don't work, photos and css don't show up, etc.

those links contain the folder "cgi-system" instead of "photos" though.

see yourself here: http://helgeat.dreamhosters.com/photos/

ps. followed all instructions religiously..

Member
Member
muesli   2006-09-15, 16:29
#10

[b]resolved in my case[/b]. hadn't tried uncommenting and manually editing path info. (as this seemed to be ruled out as a solution in this thread.)

Developer
Developer
trisweb   2006-09-15, 20:52
#11

Muesli, probably a different problem. The setup bug is a known problem with the login redirect, yours is a path detection failure, which is easily fixed by manually entering them.

Working on redoing all setup and administration currently.

Member
Member
muesli   2006-09-16, 14:01
#12

sorry for distracting from the original topic!

to avoid my kind of problem i'd suggest to add the following to the config-comments ([b]bold[/b]):

Quote:// Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS [b]like "file not found"-errors[/b].

Developer
Developer
trisweb   2006-09-17, 20:18
#13

Sounds good, it's done.

Member
Member
war59312   2006-09-28, 04:47
#14

Trisweb, if I just revist the setup page it again asks for user name and password.

.htaccess file is in /gallery :

Options -Indexes
DirectoryIndex admin.php

Stop Ass Holes From Reading Private Files - Just In Case


htaccess file for zenphoto


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase /gallery

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]

RewriteRule ^admin/?$ zen/admin.php [R,L]

RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^([^/]+)/?$ index.php?album=$1 [L,QSA]
RewriteRule ^([^/]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^([^/]+)/image/([^/\]+)$ albums/$1/$2 [L]
RewriteRule ^([^/]+)/([^/\]+)$ index.php?album=$1&image=$2 [L,QSA]

Member
Member
war59312   2006-10-09, 20:27
#15

Well I give up on this one.

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