The Wakaba and Kareha support thread (1000)

1 Name: !WAHa.06x36 : 2006-03-09 11:41 ID:l2svyCMe [Del]

This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create any more new threads for issues like that, post them in here instead.

2 Name: Anonymous : 2006-03-09 14:20 ID:LEzfwSW+ [Del]

Ok, so please tell me how I can go about firstly: Setting up ImageMagik, and secondly: When I reply to one of my threads when It moves to a new page the permissions on that page change so I cant write to it. Does this mean that whenever a new page is created when the max amount of threads for a page has been reached I have to manually change the permissions?

3 Name: !WAHa.06x36 : 2006-03-09 15:06 ID:Heaven [Del]

For your first question, that's not really on-topic here. Go to http://imagemagick.org/ and read their documentation.

For the second, I still don't understand what you're saying. What do you mean by "I can't write to it"?

4 Name: Anonymous : 2006-03-09 15:58 ID:LEzfwSW+ [Del]

I mean that when you post at my Imageboard and your thread gets moved onto a new page like 1.html the permissions for 1.html are set up so all users cant write to that file. This happens everytime a new page is created by the user after the max amount of posts has been reached for that page. Does this mean that whenever a new page like this is created I have to be there to set the right permissions?

5 Name: !WAHa.06x36 : 2006-03-09 16:45 ID:Heaven [Del]

I think you're confusing users on the board and users on the web server. If the script is making files it can't write to later on, the web server is definitely messed up.

6 Name: Anonymous : 2006-03-09 18:53 ID:LEzfwSW+ [Del]

Argh and is there anyway to rectify this?

7 Name: Anonymous : 2006-03-09 22:46 ID:Heaven [Del]

>>6 talk to the server admins, get them to relax and release the permissions for script-created files.

8 Name: Anonymous : 2006-03-10 12:29 ID:vWU9mPye [Del]

I contacted my hosts support people and they just told me to try a search engine and that they cant possibly fix stuff like that. I think they tried to blame the script, argh stupid! So without the help of those guys its not possible? Goddamn godaddy.

9 Name: Anonymous : 2006-03-11 08:20 ID:vWU9mPye [Del]

So Ive been messing about with it and I found that, just after a new thread is created you can reply to it no problem, but then after awhile when you reply it says error writing to res/199342234.html at wakautils.pl, I know this is just telling me my permissions arent set up right but in the time period that you CAN reply to this thread the permissions are exactly the same as when you cant. This is very confusing.

10 Name: dmpk2k!hinhT6kz2E : 2006-03-11 22:25 ID:Heaven [Del]

> the permissions are exactly the same as when you cant

What about the owner?

11 Name: Anonymous : 2006-03-12 05:13 ID:vWU9mPye [Del]

The permissions are 644 when a new html is ctreated by the script, the owner can read and write to the file but not execute and all others can just read, the thing that gets me is why you can write to it just after a new thread is made but cant later on.

12 Name: !WAHa.06x36 : 2006-03-12 08:08 ID:Heaven [Del]

The question was, who is the owner, before and after?

13 Name: Anonymous : 2006-03-13 11:24 ID:mnyX0+t+ [Del]

Like its the owner of the hosting I guess, which would be me I guess. I can write to the files but other people cant.

14 Name: !WAHa.06x36 : 2006-03-13 14:45 ID:Heaven [Del]

"I guess" is no help. You'll need to get an actual list of the files and the specific names of their owners.

15 Name: Anonymous : 2006-03-16 13:13 ID:jz8cApt0 [Del]

Ive been running 2channel like BBS for couple of month and found out the spammer (robot) do not submit messages in case of the word "http://" is banned.

Is there any way Kareha can control forbidden word?

or at least, kareha do not make auto link in a message?

16 Name: !WAHa.06x36 : 2006-03-16 16:51 ID:Heaven [Del]

Anything you put in spam.txt will be forbidden. So you can put http:// in there if you want to go so far as to forbid links entirely. I find that adding <a href=" and <a href=' helps a lot if you're dealing with bots that are dumb enough to try and use HTML everywhere.

Disabling auto-linking can't be done from the configuration, you have to edit the code to remove it.

17 Name: Anonymous : 2006-03-16 17:18 ID:IILaGznb [Del]

Although this might seem like a stupid question to ask, I keep getting this error.

Software error:
Malformed multipart POST

This keeps showing up when any comment on the wakaba board is submitted WITH a picture. Could it be permissions or possibly something else?

18 Name: !WAHa.06x36 : 2006-03-16 17:38 ID:Heaven [Del]

First guess: Mis-configured Apache. How, exactly, you'd mis-configure Apache to give that kind of error is beyond me, though.

19 Name: Spazmic (moved from other thread) : 2006-03-17 08:47 ID:VqDGzUzh [Del]

I try to post a reply on a Wakaba board and I get:

Method Not Allowed
The requested method POST is not allowed for the URL /f/wakaba.pl.

WTF?

20 Name: !WAHa.06x36 : 2006-03-17 08:48 ID:VqDGzUzh [Del]

Most likely Apache is set up to forbid POST requests. The only fix is to ask your admin to remove that limitation. If they don't, Wakaba won't work.

21 Name: 15 : 2006-03-20 07:43 ID:jz8cApt0 [Del]

>>16 thanks that will help a lot. made a nessesary amendment.

One another question about management.

Is there any function Kareha keep IP address in each replyied message ?

As I need to kick out screwed people in the thread, i am hoping that I can find the function but I could not find it.

Please advise

22 Name: !WAHa.06x36 : 2006-03-20 10:53 ID:Heaven [Del]

The IPs are stored encrypted in log.txt. admin.pl can show IPs, but isn't actually set up to do it by default. To make it do that, edit admin.pl and change <var $masked_ip> to <var $ip>. I'll try to make that part a bit simpler in a future version.

23 Name: Anonymous : 2006-03-20 16:45 ID:fFWWWlB1 [Del]

Is there a way to disable tripcodes?

24 Name: Anonymous : 2006-03-20 17:28 ID:AtYwszbG [Del]

I can't find any license information in Wakaba. Can I use parts of the code in a GPL project?

25 Name: >>24 : 2006-03-20 17:29 ID:AtYwszbG [Del]

s/Wakaba/Kareha

26 Name: Anonymous : 2006-03-20 18:27 ID:Heaven [Del]

>>24 Public Domain.

27 Name: !WAHa.06x36 : 2006-03-20 20:42 ID:VqDGzUzh [Del]

>>23

No way to do it in the configuration, but there's a single function in wakautils.pl that does all the tripcode processing. Changing it to nothing but a return ""; statement should do the trick.

>>24

>>26 is right, it's Public Domain. Knock yourself out.

28 Name: 15 : 2006-03-21 08:54 ID:jz8cApt0 [Del]

Thanks that worked!

If I would like to have textra area for stable size what should I do?

Does it disturb the program to change following part

<td><textarea name="comment" cols="64" rows="5" onfocus="size_field('<var $formid>',15)" onblur="size_field('<var $formid>',5)"></textarea></td>

to

<td><textarea name="comment" cols="64" rows="5"></textarea></td> ?

29 Name: Anonymous : 2006-03-21 15:10 ID:Heaven [Del]

>>28
That should be fine. I can't think of any reason it wouldn't work.

30 Name: !WAHa.06x36 : 2006-03-21 18:22 ID:Heaven [Del]

>>28

Yes, that should work fine.

31 Post deleted by moderator.

32 Name: 15 : 2006-03-25 08:46 ID:jz8cApt0 [Del]

Thanks for many kind advise.

Well, it's about manage problem but someone knows how to change
moderators name colour in BBS ?

I've changed config.cgi

use constant CAPPED_TRIPS => ('!hogehoge'=>'<font color=#FF0000>★webmaster</font>');

but after I made a change, it turned out rest of all messages
changed to red color which I did not meant to.

All I need to change is webmaster and moderators name color as to
show users know I am the real manageing person.

If someone knows how to modifiy the program please advise.
Thank you so much.

33 Name: !WAHa.06x36 : 2006-03-25 09:46 ID:VqDGzUzh [Del]

>>32

That looks about right, as long as the '!hogehoge' is replaced with the actual output from the trip (like '!WAHa.06x36' for me). I'd put quote marks around the color argument to be valid XML, though: <font color="#FF0000">. Otherwise I can't think of why it wouldn't work, unless you forgot </font> or something...

34 Name: Anonymous (moved from other thread) : 2006-03-25 13:12 ID:VqDGzUzh [Del]

On my FreeBSD box, regular tripcodes (#) don't work, but secure tripcodes (##) always stay the same. What the heck is up with that? If I have to install perl libraries, that would be fine with me.

35 Name: !WAHa.06x36 : 2006-03-25 13:12 ID:VqDGzUzh [Del]

Oh, right, I've heard of that... Some of the BSDs use a more secure algorithm for crypt() by default, meaning they won't produce the expected output. There is some flag somewhere that will turn this off, but don't ask me what it is. Try Googling for problems with crypt() under FreeBSD.

36 Name: 15 : 2006-03-25 21:26 ID:jz8cApt0 [Del]

>>33 it was simple mistake. quote marks worked ! Thank you : )

37 Name: 15 : 2006-03-26 10:11 ID:jz8cApt0 [Del]

I see text laying on top of of the background on IE with 2-channel design.

Is there any way I can fix this problem?
Firefox looks better but still the page is slightly crooked to the right.

38 Name: !WAHa.06x36 : 2006-03-26 10:50 ID:VqDGzUzh [Del]

>>37

Can you post a screenshot?

39 Name: 15 : 2006-03-26 11:00 ID:jz8cApt0 [Del]

It's really strange but sometimes happen and sometime doesn't

Screenshot as follows

http://www.no1game.net/images/bbs.gif

Thank you

40 Name: 15 : 2006-03-26 11:17 ID:jz8cApt0 [Del]

Ive found

1) access http://www.no1game.net and then Click the BBS URL
it get screwed. However it get fixed after reloading the page.

2) but if I access directly to http://www.no1game.net/bbs/
the page looks fine.

41 Name: !WAHa.06x36 : 2006-03-26 11:54 ID:VqDGzUzh [Del]

Hmm, that is very weird. It seems a lot like it's a bug in IE... I've never seen it before, but I don't use IE either.

Also, if you find any errors in the Japanese strings I used, tell me about them, and I'll put in fixed versions.

42 Name: anon!21anon4H3U : 2006-03-26 16:59 ID:Heaven [Del]

It works fine in my IE, though...

43 Name: 15 : 2006-03-26 22:07 ID:Heaven [Del]

>>38-42 Thanks for taking a look at my problem.
yes, I bet it's depend on each person's enviroment but
majority of Japanese people uses IE5-6.0...
Sometimes it's ok but sometime doesnt't its really strange.
So I need to take a look at it little more closely.

By the way, if you have plan to update the script
it would be nice to put function that refuse posting from certain IP address control and delete function using the check box form.
It would greatly decrease management time for website.

Anyway thanks mate!

44 Name: !WAHa.06x36 : 2006-03-27 07:09 ID:l2svyCMe [Del]

>>43

If you can figure out what causes it, I'll try to include a fix. Right now I can't test it, though, since I use a Mac and can't run IE.

There is a script for deleting posts and such. Copy admin.pl out of the extras/ directory. If your webhost uses Apache as a server, you can ban people by hand by adding lines like Deny from 123.123.123.123 to a .htaccess file. I might add some code to do that automatically from inside the script in the next version.

45 Name: Anonymous : 2006-03-27 17:36 ID:heNCjMFK [Del]

>>35
There isn't a way to make the bsd trips the same as other unix trips, because bsd uses MD5 for their crypt and *nix uses DES. If you change it, your user's passwords will then be DES'd and not MD5'd.

46 Name: Anonymous : 2006-03-27 18:37 ID:wD3z/7Gh [Del]

>>45
crypt_default in auth.conf sets the default for crypt().
passwd_format in login.conf sets what is used for user's passwords.

47 Name: Anonymous : 2006-03-27 22:31 ID:heNCjMFK [Del]

>>46

my bad, I guess searching google and the handbook failed-x me XD

48 Name: netcrusher88!.cCWomImlw : 2006-03-31 02:05 ID:6iuXT+1Y [Del]

in wakaba 3.0.4, i don't see any css, any ideas?

49 Name: Anonymous : 2006-03-31 03:15 ID:Heaven [Del]

>>48 link to the board; and did you copy over all the files, including the folder called "css"?

50 Name: !WAHa.06x36 : 2006-03-31 11:39 ID:Heaven [Del]

>>48

Did you run wakaba.pl from the command line at any point? Or did you move it without rebuilding caches? In either case, you need to manually go to http://.../wakaba.pl?task=admin and rebuild caches.

51 Name: netcrusher88!.cCWomImlw : 2006-03-31 11:59 ID:ZO406UmY [Del]

>>49
>>50
http://kompak.mine.nu/wakaba
WARNING NSFW

Yeah, it's set up right, i copied everything over and made sure it's all 755, and have tried rebuilding caches several times.

52 Name: Anonymous : 2006-03-31 12:15 ID:z00puBoN [Del]

Just a big FYI for everyone in this thread:

I was having some 500 Internal Server Error issues, and I was sure everything was right. However, in apache.conf I had to change cgi-handler to cgi-script in the <Directory > config for that particular directory. This is on Apache 2.0.55, and probably just some change in config-file syntax. If you're in dire straights, do everything the wiki says, substituting cgi-script for cgi-handler.

Hope that helps someone.

53 Name: !WAHa.06x36 : 2006-03-31 19:27 ID:VqDGzUzh [Del]

>>51

Testing in Firefox, I get the error:

> Error: The stylesheet http://kompak.mine.nu/wakaba/css/gurochan.css was not loaded because its MIME type, "text/plain", is not "text/css".
> Source File: http://kompak.mine.nu/wakaba/
> Line: 0

Apparently it won't load stylesheets with the wrong MIME type in ultra-strict mode. I guess you should either add that MIME type, or turn off the XHTML stuff (in both config.pl and .htaccess).

54 Name: netcrusher88!.cCWomImlw : 2006-04-01 01:58 ID:6iuXT+1Y [Del]

>>53

Okay, I'll configure a new mime type when I get around to it then, thanks.

55 Name: ffffffff : 2006-04-01 14:49 ID:j2XvNimk [Del]

Well, it doesn't seem to want to let me into my own management panel, even though I type the exact password from config.pl

It gives me Error: Management password incorrect.

56 Name: netcrusher88!.cCWomImlw : 2006-04-03 20:04 ID:NEGfVxqE [Del]

How can wakaba be configured to run a flash upload board ala 4chan /f/?

57 Name: Anonymous : 2006-04-04 00:14 ID:Heaven [Del]

>>56 Learn perl.

58 Name: !WAHa.06x36 : 2006-04-04 07:14 ID:l2svyCMe [Del]

Usually people just enable the SWF filetype and leave it at that.

59 Name: Zarxrax : 2006-04-06 20:04 ID:6fgF7SGa [Del]

I am trying to set up Kareha and I want to have multiple boards. Am I supposed to just duplicate the kareha directory for each board I want, or is there a more logical way of doing it?

60 Name: !WAHa.06x36 : 2006-04-06 20:05 ID:Heaven [Del]

Pretty much. If you want to be fancy, you symlink most of the files except config.pl and anything else you've edited, to make updating easier.

61 Name: Anonymous : 2006-04-07 03:15 ID:Heaven [Del]

hmm, might be a css arror...

firefox 1.5, karaha; permasaged threads's [del] butons are apprearing too far to the right, off the gray part of the thread.

62 Name: 15 : 2006-04-08 12:41 ID:Heaven [Del]

Ive been using kareha 3.0.9 about a month and found some problem.
As it seems some people do not reload the page after posting a message, they tend to post duplicate messages again.

If we can force them to wait few minutes to post another message
I think it would be okay.

Does anyone knows how to cope with this ?

This thread has been closed. You cannot post in this thread any longer.