- Create Account

Installation

Forums > Forum Help > Installation
Author
Message

1) momotaro Group: Members
Posts: 26 Joined: 15 May 2006 Location: Tokyo IP: 218.219.--.--
Angus.

The installation guide presumes some knowledge on the subject...I have none.
I tried to follow the guide and all I can do is see files inside the folder.
http://petbank.org/forum/

Are you enable to enlighten me a little as to my mistake?

Cheers


2) momotaro Group: Guests
IP: 218.219.--.--
Sorry, I realize it should be mysite/cgi-bin/forum.pl which is a 404 error so I'll try to figure out what the cause is !

3) momotaro Group: Guests
IP: 218.219.--.--
Wrong CHMOD value.
So far so good!
Cheers,
Angus

4) momotaro Group: Members
Posts: 26 Joined: 15 May 2006 Location: Tokyo IP: 61.114.--.--


Edit: CHMOD the forum.pl file to 755 too! This year is kicking off well!

Angus.
After  a month at this I still can't get my head around this!
May I ask for your help? I always get internal server errors.

The CHMOD value for forumdata read and write should be what value..755?
No other file needs changed?
I know my server path usr/bin/perl I've got this part right.
and my forum.pl file is in cgi-bin

I want to put my "forumdata" file in {mysite/_private/forumdata}
but  I am unfamiliar with the .pl file and I don't know where to edit
to achieve correct path to script.

# I've put in some handy auto-detection here: $cgi_path points to the current folder
# in which the forum script is running, so you can use that to set relative URLs,
# for examples "$cgipath/../../private" if you want.

my $cgi_path  = $1 if (($ENV{'SCRIPT_FILENAME'}||$0) =~ m/^(.*)(\\|\/)(.+?)$/);

$forum_prefs{'base_dir'} = "$cgi_path/forumdata";

# Alternatively,  if that fails, you can specify it manually like so:
#$forum_prefs{'base_dir'} = "/var/blah/webstuff/forumdata";

Can you help me join the dots?

Thanks

5) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 125.236.--.--
Yes. Do the "alternative manual setting" and set that to your mysite/private/whatever folder. You can set it from the root of your webserver, which will probably be something like '/home/username/mysite/_private/forumdata' or similar, or as a relative path like '../../../_private/forumdata/'.

Good  luck - Angus.

6) momotaro Group: Members
Posts: 26 Joined: 15 May 2006 Location: Tokyo IP: 61.114.--.--
Thanks Angus.
It is working fine in default install and now I am translating the template.pl into Japanese. The browser text is garbled on account of the CHARSET .
Does the the .pl file need to be a specific language? I saved it in Notepad as UTF-8!

7) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 125.236.--.--
UTF-8 should be good if your editor supports it. Just make sure you set that in the <meta> tag in the template too.

- Angus.

8) momotaro Group: Members
Posts: 26 Joined: 15 May 2006 Location: Tokyo IP: 61.114.--.--
When Admin can't remember the password is there a back door!
I might have the answer myself. Delete "User"folder and register again.

9) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Yeah, that's the backdoor. You could probably retrieve the password hash from the user file and use a password cracker but it's just as easy to sign up again.

- Angus.

10) momotaro Group: Members
Posts: 26 Joined: 15 May 2006 Location: Tokyo IP: 61.125.--.--
Angus.
I have this up an running in Japanese 99% problem free.
The last hurdle is post settings. I can't see how to assign Member status.
Creating an account at my forum still leaves that person a Guest when they login and post.

What I'm missing I can't see!

11) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 125.238.--.--
Huh, odd. I'm not sure why that would happen, make sure you haven't edited the permissions array in the script perhaps? If you're an admin you can go to user info pages and see/change account groups too, so check that out.

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.