1) momotaroGroup: Members Posts: 26Joined: 15 May 2006Location: TokyoIP: 218.219.--.--
Posted:
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) momotaroGroup: Guests IP: 218.219.--.--
Posted:
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) momotaroGroup: Guests IP: 218.219.--.--
Posted:
Wrong CHMOD value. So far so good! Cheers, Angus
4) momotaroGroup: Members Posts: 26Joined: 15 May 2006Location: TokyoIP: 61.114.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 125.236.--.--
Posted:
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) momotaroGroup: Members Posts: 26Joined: 15 May 2006Location: TokyoIP: 61.114.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 125.236.--.--
Posted:
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) momotaroGroup: Members Posts: 26Joined: 15 May 2006Location: TokyoIP: 61.114.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 202.137.--.--
Posted:
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) momotaroGroup: Members Posts: 26Joined: 15 May 2006Location: TokyoIP: 61.125.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 125.238.--.--
Posted:
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.