Member
Member
mickoc   2006-09-09, 14:55
#1

Ok, seem to have a similar problem to a lot of people here, my host (mosso.com) is v. strange about server paths so it may be particular to my host but here goes..

Here are the steps i've taken so far..

  1. Installed the package to mydomain.com/zp/

  2. Setup the db

  3. Edited the config file as below

  4. Went to mydomain.com/zp/setup.php
    and got the dreaded no albums dir cant be found

PS. The package did not include an albums directory am i supposed to create it myself?

Any help greatly appreciated!

Here's my config files:


zp-config.php



.htaccess


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 /zp/

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]

[/list]
[/list]
[/b][/i]

Member
Member
Ilione   2006-09-09, 15:13
#2

Mine had an albums dir... it would be in your zp folder - did you ensure that your ftp software uploaded everything? sometimes mine disconnects and i have to go over again.

Perhaps it's there and you haven't set it writeable (chmod 777) yet? This needs to be done for both the albums and cache folders.

Also regarding your setup url... Don't forget, if your gallery is in zp your setup will be domain-name.com/zp/zen/setup.php

You may not need to use the RewriteBase, I suggest trying to get it working without first.

Hope something there helps

x

Member
Member
Ilione   2006-09-09, 15:19
#3

In fact, have only installed the zen directory into a new one called zp?

You need the whole lot in a dir called zp and zen will be a subfolder :o)

x

Member
Member
mickoc   2006-09-09, 15:37
#4

Ok, i've reinstalled, now have the albums and cache dir chmodded to 777.

When i go to mydomain.com/zp/zen/setup.php
I now just get a login box??

Member
Member
Ilione   2006-09-09, 15:56
#5

have you logged in with the username and password from your config? :o)

Member
Member
Ilione   2006-09-09, 15:58
#6

admin and blastbeat by the looks of things (though you might want to change that now!)

Hope it all works after that :o)

x

Member
Member
mickoc   2006-09-09, 16:02
#7

Sorry me being a dumbass, just copped that i need to enter my username / pwd frm the config file..

Cheers for the help!

Member
Member
Ilione   2006-09-09, 16:09
#8

My pleasure, I suck at the coding stuff but I've installed plenty of times so can always lend a hand on that score hehe :o)

x

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