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 ?

63 Post deleted by user.

64 Name: Anonymous : 2006-04-08 17:27 ID:57euJIIF [Del]

How do I ban people in Kareha exactly?

65 Name: !WAHa.06x36 : 2006-04-08 18:22 ID:Heaven [Del]

>>64

You don't. You can, however, ban them with Apache by adding lines of the format Deny from xx.xx.xx.xx to your .htaccess file. Or you can try applying the changes listed in http://wakaba.c3.cx/sup/kareha.pl/1124340406/ to add banning functionality. I'll probably try to roll some of that into the next version, whenever I get some spare time to work on it.

66 Name: Anonymous : 2006-04-09 02:29 ID:Heaven [Del]

Can you ban them from posting but still let them browse the board?

67 Name: de : 2006-04-10 14:58 ID:r2vG0Kfi [Del]

I'm getting this.

This board has not been configured yet.
Things you need to do to get the board running:

  • Choose what kind of board this should be, and copy the files out of the corresponding mode_* directory into the board directory.
  • Edit config.pl to suit your needs - remember to uncomment the lines you change.
  • Access kareha.pl again (or just reload this page).

Can I've done the first. Can someone please tell me exactly what I change on config.pl and what do I change it to?

68 Name: !WAHa.06x36 : 2006-04-10 18:19 ID:Heaven [Del]

If you're getting that, you haven't done the first. Otherwise, you'd be getting a different error.

69 Name: de : 2006-04-10 18:26 ID:ZsuJRbsK (Image: 394x302 png, 6 kb) [Del]

src/1144715175688.png: 394x302, 6 kb

But I did do the first. Unless I did it incorrectly. The folder looks like this now.

70 Name: rayofash : 2006-04-10 18:40 ID:hwlymqML [Del]

The threads show up on the main page, but not the actual post itself. Whats going on?

http://sysops.gotdns.com:8181/dis/

71 Name: !WAHa.06x36 : 2006-04-10 19:36 ID:Heaven [Del]

>>69

There's at least one file that didn't get copied, because that message is displayed by one of the default files that should get overwritten when you copy the new ones in.

>>70

Did you set the number of displayed posts to 0?

72 Post deleted by user.

73 Name: rayofash : 2006-04-10 19:45 ID:hwlymqML [Del]

>>71

If you mean REPLIES_PER_THREAD, no, its at its default of 10.

74 Name: !WAHa.06x36 : 2006-04-10 20:27 ID:Heaven [Del]

>>73

Did you modify the templates at all?

75 Name: rayofash : 2006-04-10 20:27 ID:hwlymqML [Del]

>>74

No.

76 Name: !WAHa.06x36 : 2006-04-10 20:37 ID:Heaven [Del]

The front page is being generated with the correct number of posts, but the posts only consist of a bunch of spaces. What exact changes did you make from the base install?

77 Name: rayofash : 2006-04-10 20:39 ID:hwlymqML [Del]

>>76

I copied the mode_message stuff into the folder and edited the config.pl file.

78 Name: rayofash : 2006-04-10 21:35 ID:hwlymqML [Del]

Its something in the config file, I copied it again and its working.

79 Name: !WAHa.06x36 : 2006-04-10 21:56 ID:Heaven [Del]

Weeeeird. Well, as long as it works...

80 Name: de : 2006-04-11 00:52 ID:r2vG0Kfi [Del]

Software error:

Bareword "SECRET" not allowed while "strict subs" in use at captcha.pl line 115, <FILE> line 4.
BEGIN not safe after errors--compilation aborted at captcha.pl line 148, <FILE> line 4.
Compilation failed in require at kareha.pl line 15, <FILE> line 4.
BEGIN failed--compilation aborted at kareha.pl line 15, <FILE> line 4.

What's this?

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

>>80

Your installation is still broken.

82 Name: Zarxrax : 2006-04-11 18:12 ID:6fgF7SGa [Del]

2 Kareha Questions:

1) Is it possible to remove the Board Look section and just make it use Futaba style?

2) Is there a place I can define what html tags are allowed? It would be cool if I could allow people to post things like google or youtube videos directly on the board.

83 Name: de : 2006-04-12 16:02 ID:ZsuJRbsK [Del]

Your installation is still broken.

Obviously. Any idea how or why, or how to fix it?

84 Name: Anonymous : 2006-04-12 19:45 ID:wD3z/7Gh [Del]

>>82
1) remove this from templates.pl:

<div class="adminbar">
<loop $stylesheets>
[<a href="javascript:set_stylesheet('<var $title>')"><var $title></a>]
</loop>
-

2) set ALLOWED_HTML in config.pl:

use constant ALLOWED_HTML => (
'a'=>{args=>{'href'=>'url'}},
'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
'em'=>{},'strong'=>{},
'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
'p'=>{},'br'=>{empty=>1},'blockquote'=>{},
)

85 Name: Anonymous : 2006-04-12 19:46 ID:wD3z/7Gh [Del]

>>84
oops, i was a little careless with my copypasta... leave the <div class="adminbar"> line in.

86 Name: Zarxrax : 2006-04-12 19:49 ID:6fgF7SGa [Del]

>>84
Thanks alot ^_^

87 Name: !WAHa.06x36 : 2006-04-12 21:05 ID:VqDGzUzh [Del]

>>83

Do it over. You've obviously got files all mixed up.

88 Post deleted by user.

89 Name: Anonymous : 2006-04-13 20:06 ID:oao5tO0F [Del]

Hi, everytime I run wakaba.pl I get Error: Could not write to directory.
I asume it means it cant make wakaba.html can anyone help me fix this?

90 Name: !WAHa.06x36 : 2006-04-13 21:18 ID:Heaven [Del]

>>89

Fix permissions. See the docs at http://wakaba.c3.cx/docs/docs.html for more info.

Short version: set the directory permissions to 777.

91 Name: (._.) : 2006-04-14 13:42 ID:iILtfrow [Del]

I tried kareha message and image mode versions.
I liked message mode better, but:
I would like to have some functionalities of image mode in the message mode board. For example: password for user post deletion.

in the message mode board, all posts have a [del] link, and i guess you can delete your own messages based on a cookie? I prefer the password because of users that connect from different machines...

Also, I can't see any admin link in my site. check it out: http://www.pixelorama.com.ar/messk/ and if I type kareha.pl?task=admin I get a "Script error; no task speficied."

92 Name: !WAHa.06x36 : 2006-04-14 16:26 ID:Heaven [Del]

>>91

For Kareha, the admin script is a separate script that you can copy out of the extras folder. If you want passwords, you can hack them yourself, but I most probably won't do it for the main distro because it's a bit too inelegant. (You basically need to change the password form fields in the template from type="hidden" to type="password".

93 Name: Anonymous : 2006-04-14 17:28 ID:dhUY6KXf [Del]

Software error:
Insecure dependency in `` while running with -T switch at wakautils.pl line 1073.

I am getting this error when attempting to post in my Imageboard

94 Name: !WAHa.06x36 : 2006-04-14 18:16 ID:Heaven [Del]

Uh, you should set up your server to stop running perl with the -T switch.

95 Name: Anonymous : 2006-04-15 17:30 ID:mEAiWkzV [Del]

>>94
How do I do this?

96 Name: !WAHa.06x36 : 2006-04-15 17:51 ID:Heaven [Del]

I have no idea why it'd do that in the first place, so don't ask me.

97 Name: Anonymous : 2006-04-15 19:04 ID:mlZ3xIKc [Del]

>>94

How hard would it be to make Kareha run with Perls taint checks?

98 Name: !WAHa.06x36 : 2006-04-15 19:09 ID:Heaven [Del]

>>97

Dunno, I never actually bothered to learn how to deal with taint checks properly, so I never bothered. I did try to read up on it and it sounded like more annoyance than it was worth, so I never did anything about it.

99 Name: Zarxrax : 2006-04-16 18:11 ID:6fgF7SGa [Del]

I have some kareha boards set up on my site, and there is something about it thats really annoying me, and I'm not sure where the problem lies. I keep seeing old, outdated versions of the board, unless I hit the refresh button in firefox.

For example, I can go and make a post on my board, close firefox, then open it back up and load my board, and i wont see the post I just made unless I refresh. I've never noticed this problem on any other sites or boards.

100 Name: !WAHa.06x36 : 2006-04-16 19:54 ID:Heaven [Del]

>>99

You need to set up Apache to tell browsers not to cache pages. Rename example.htaccess to .htaccess to do this - however, it will only work if mod_headers is loaded on the server.

101 Name: Anonymous : 2006-04-17 09:22 ID:wD3z/7Gh [Del]

>>95
you could try changing the #! line to:

#!/usr/bin/perl -t

and then adding this line after it:

no warnings qw(taint);

102 Name: Anonymous : 2006-04-18 15:08 ID:eY0OvfLj [Del]

lol it works now, the problem was that the -t in the hash bang was a capped T, after I made it lowercase it worked.

103 Name: Anonymous : 2006-04-18 15:11 ID:Heaven [Del]

There is now another problem. The script is not creating the reply pages needed. e.g /res/1.html does not exist.

104 Name: !WAHa.06x36 : 2006-04-18 18:56 ID:VqDGzUzh [Del]

>>103

Try rebuilding caches.

105 Name: Joe (moved from other thread) : 2006-04-19 07:41 ID:l2svyCMe [Del]

I can't get my kareha or wakaba boards to convert images to thumbnail, so I'm currently using stupid_thumbnailing
I have ImageMagick installed and it works fine from cmd.
Any suggestions?

106 Name: !WAHa.06x36 : 2006-04-19 07:42 ID:l2svyCMe [Del]

Yes, post in the right thread.

Apart from that, what OS?

107 Name: Joe : 2006-04-19 21:12 ID:7yiY20Yr (Image: 116x20 png, 0 kb) [Del]

src/1145502762015.png: 116x20, 0 kb

>>106
Sorry :(
Windows server (WAMP5+ActivePerl+ImageMagick)
:-/
btw, "install linux" is not a very good asnwer for me...I've heard it a hundred times already T_T
...I know there is a way to get this to work on windows...I'm just an internet noob I guess :-/
Any healp greatly apprecieted :3

108 Name: !WAHa.06x36 : 2006-04-19 21:20 ID:VqDGzUzh [Del]

Running on Windows seems to lead to random and difficult to track down problems. Good luck with that.

http://wakaba.c3.cx/docs/docs.html#RunningOnWindows has some hints, and maybe there are some others if you dig through the board, but beyond that, I can't really say.

109 Name: Zarxrax : 2006-04-20 19:08 ID:6fgF7SGa [Del]

I would like to place ads on my kareha board. They are text ads and are generated from some javascript code. If I put it in one of the include files though, it doesnt appear on the board. Normal text that I place in there shows, but the text from the javascript doesn't.

110 Name: !WAHa.06x36 : 2006-04-20 20:07 ID:VqDGzUzh [Del]

This is probably because they are google ads, and don't allow stripping out newlines, which the template code does by default. There's an option in config.pl to turn this off, but I forget the name. STRIP_NEWLINES or something.

111 Name: Anonymous : 2006-04-20 23:02 ID:Heaven [Del]

>>110 why is that, anyway?

112 Name: !WAHa.06x36 : 2006-04-21 17:04 ID:VqDGzUzh [Del]

>>111

Why it strips them, or why Google ads won't work? I don't know about the latter, but the former is because Kareha needs posts on a single line, so I designed the template engine to strip them (because I did not exactly feel like writing templates on a single line), and so that behavior carried over into other places where it wasn't strictly necessary, but didn't really hurt either (except for breaking the Google ads).

113 Name: Anonymous (moved from other thread) : 2006-04-21 17:05 ID:VqDGzUzh [Del]

Using debian, I get the following after trying to create a new database using sqlite.

hanzo# ./wakaba.pl
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: admin(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: admin(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: proxy(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: proxy(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: comments(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: comments(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
Status: 303 Go West
Location: wakaba.html
Content-Type: text/html

114 Name: !WAHa.06x36 : 2006-04-21 17:07 ID:VqDGzUzh [Del]

>>113

Do you get that repeatedly, or only the first time? If the latter, that's perfectly normal. If the former, try running the command-line sqlite tool to see what's actually in the database.

PS: This thread exists.

115 Name: Joe, again : 2006-04-23 03:37 ID:7yiY20Yr [Del]

So...is there anyone running on windows that might be able to help me with thumbnailing?
I've tried looking at the problem myself, but to be honest, I don't really know a lot about perl. I can get convert to execute, so ImageMagic isn't the problem. I'm just so confused :-/

Any help at all would be greatly appreciated.
(I read #RunningOnWindows over a few times...it doesn't help me, since perl is in the right dir and imagemagick works.)

116 Name: IntensityBill!FuckDAvne. : 2006-04-28 07:28 ID:+aVh5/yL [Del]

>>115
If you got Q8 like "RunningOnWindows" recommended, try getting Q16. I /think/ that's how mine started working, but to be honest, I have no idea why anything at the beginning of the entire setup process was as difficult as it was or even started working.

117 Name: Anonymous : 2006-04-29 19:36 ID:twHqFJYy [Del]

I have made several other wakaba and kareha boards without any problem on Linux systems. However, I recently moved to a new server that uses Windows Server. I had several issues that I already sorted out (DBI wasn't installed), and now there's only one left. When I try to access the management panel, it hangs for about 2 minutes and then says:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
I don't have administrator access, so I can't easily get more information, but I will try.
Any clues?

118 Name: !WAHa.06x36 : 2006-04-29 20:11 ID:VqDGzUzh [Del]

>>117

Can you post to the board? Sounds a bit like it locks up at some point and then times out, probably when trying to access the database.

119 Name: Anonymous : 2006-04-29 20:27 ID:twHqFJYy [Del]

120 Name: !WAHa.06x36 : 2006-04-29 22:04 ID:VqDGzUzh [Del]

Man, I have no idea what's going on there. I suggest you follow the program flow for the login procedure, and put in die statements along the way to see how far it gets before it locks up.

121 Name: EleoChan!EhVtXXdTd6 : 2006-04-30 05:10 ID:faVELnEZ [Del]

What is it in wakaba's .htaccess that causes this to happen:

http://imgboard.eleochan.org/statistics/

I noticed that when I removed wakaba's .htaccess this didn't occur when static stats pages were generated (with both awstats and webalizer). Since I suck at .htaccess I figured you'd be able to tell me what I can remove/edit without messing everything up.

Wakaba is currently installed to the root folder so it's imgboard.eleochan.org/ so don't really have options as to where to put /statistics instead.

I'm so sleepy.

122 Name: Anonymous : 2006-04-30 05:29 ID:twHqFJYy [Del]

>>120
I did as you suggested, here's the line of code that is causing it:
print "Status: 303 Go West\n";
in wakautils.pl

when I told it to die just before this, it died properly
when I told it to die just after, it gave the original error, but no long pause

123 Name: Anonymous : 2006-04-30 05:51 ID:twHqFJYy [Del]

It's fixed
but I had an odd little problem
I changed ALTERNATE_REDIRECT to 1 in config, but it didn't actually use the alternate redirect
so I changed the code in wakautils.pl to force it to use it, and now it works
Thanks for pointing me in the right direction

124 Name: !WAHa.06x36 : 2006-04-30 07:38 ID:VqDGzUzh [Del]

>>121

.htaccess is set up to send files as application/xml+xhtml when the browser supports it, which causes the browser to parse it much stricter. It looks like you edited the template and broke the <!DOCTYPE statement.

>>123

Oh yeah, I remember now that ALTERNATE_REDIRECT is sometimes needed on Windows machines. But I'm not sure why it won't use it properly. I'll look into it.

125 Name: EleoChan!EhVtXXdTd6 : 2006-04-30 14:38 ID:faVELnEZ [Del]

>>124
Nuh uh, I didn't do anything to the template.

I had to comment out the last block from wakaba's .htaccess

#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>

126 Name: !WAHa.06x36 : 2006-04-30 20:55 ID:VqDGzUzh [Del]

>>125

Oh wait, I misunderstood what was happening. The web statistics tools don't generate valid XHTML, so when Apache tries to send them as application/xhtml+xml, Firefox activates the strict parser and breaks.

I guess the simplest solution is to just comment those lines out like you did.

127 Name: EleoChan!EhVtXXdTd6 : 2006-04-30 22:08 ID:faVELnEZ [Del]

Oh okay I get what's going on.

128 Name: Anonymous : 2006-05-16 22:23 ID:2ia92g5k [Del]

I have two questions. How much does bandwidth does kareha use during peak usage? And also, is there any way for me to change the thread list at the top of each page so that it displays in a table, like on world4ch?

129 Name: Squeeks!OK8FhyWNXk : 2006-05-17 02:12 ID:WeHbwBhO [Del]

>>128
4-ch goes through about 5-15kb/s, that's anywhere from 240MiB to several Gb per day. We average it out to be close to 1GiB a day*.

  • We're running mod_deflate, so those numbers arent entirely acurrate, YMMV.

130 Name: !WAHa.06x36 : 2006-05-17 02:59 ID:VqDGzUzh [Del]

>>128

If you just want a to put each entry on its own line, you can add a display:block to the a elements in the thread list in the CSS files. I forget where exactly... threadbox a { display:block } maybe.

If you want an actual table with with more data, you'll have to edit template.pl to do that.

131 Name: Anonymous : 2006-05-17 16:15 ID:2ia92g5k [Del]

>>129
How many unique users do you have? I'm betting I won't have as many unique users as 4-ch for quite awhile, so the best way I could approximate how much bandwidth my board would use is if I knew the average bandwidth used by each user, or maybe per hit.

>>130
Thanks, now I understand. By the way, congrats on the new version!

Thanks for answering these questions for me!

132 Name: Anonymous : 2006-05-23 20:50 ID:HbwQ9box [Del]

is there a way to make a link to web pages that have some name in front of it like:

<a href="example.com" >example sight</a >

that results in a the text "example sight" to be linked to example.com?

133 Name: !WAHa.06x36 : 2006-05-24 04:31 ID:Heaven [Del]

>>132

Click "More options..." and pick HTML formatting.

134 Name: Anonymous (moved from other thread) : 2006-05-30 03:38 ID:VqDGzUzh [Del]

I've done everything, installing Perl and Apache, fixing the Hashbangs (though I don't get how you're supposed to set permissions to 755, as I can't understand anything on the Kareha Quickstart page). Still, it does not work, nothing does. I've read through the documentation time and time again and I personally don't find it detailed enough; it's confusing and I think I'm placing the wrong files in the wrong directories. I've been at this for a week now, as I'd like to get a Kareha-site up and running for a few mates of mine.

So, is there a more detailed walkthrough on setting up your own Kareha image board? Or am I to keep trying to decipher the documentation? Thanks.

135 Name: !WAHa.06x36 : 2006-05-30 03:44 ID:VqDGzUzh [Del]

First off, use this thread for support requests.

Second, unless you tell us what problems you have, there's not much we can do to help. Setting up Kareha itself is a very simple task, and there's not much need for a walkthrough. The trick part is usually getting CGI scripts working in the first place, if you're installing a server from scratch. Guides for how to do that are available elsewhere on the net. I don't have any good links at hand, though, but Google will help, and maybe somebody else could mention a good guide?

Also read the 500 Internal Server error thread for hints: http://wakaba.c3.cx/sup/kareha.pl/1109033191/ - especially post 4. Try to get the test program working first. Only when that works should you start installing Kareha.

136 Name: silvernode : 2006-06-05 17:40 ID:/iNykqoR [Del]

Ok, I know that to install wakaba i need either a server or a host. Only problem is I have a server and i dont know how to go about installing wakaba. Im new to this and need some help.

137 Name: !WAHa.06x36 : 2006-06-06 04:34 ID:l2svyCMe [Del]

>>136

  1. Create a database for your board.
  2. Upload the files from wakaba.zip.
  3. Edit config.pl (The SQL_ options and ADMIN_PASS at the very least).
  4. Change the permissions on wakaba.pl (and maybe captcha.pl) to 755, and the permissions on the directories to 777.
  5. Go to http://.../wakaba.pl.

138 Post deleted by user.

139 Name: silvernode : 2006-06-06 21:05 ID:7DM7nqHV [Del]

i need an over all better description on how to do this exactly. Very precise cuz i have no idea what im doing but i want this to work its causing me to lose sleep.

140 Name: !WAHa.06x36 : 2006-06-07 04:22 ID:Heaven [Del]

Then I think you'll be better off looking for a general tutorial on how to run CGI scripts. When you've got that down, the rest is easy.

141 Name: Problem-man : 2006-06-08 16:25 ID:NQ4hj531 [Del]

Ok, I'm having a problem in my wakaba. I have uploaded it to my host but whenever I post anything I have to hit F5 to refresh to see my post. I tried uploading and renaming example.htaccess to .htaccess but it still doesnt works, any ideas?

142 Name: Problem-man : 2006-06-08 16:32 ID:NQ4hj531 [Del]

Forgot to say, Im using Firefox

143 Name: Problem-man : 2006-06-08 18:37 ID:NQ4hj531 [Del]

Im sure it has to be something about Firefox keeping info on its cache, because when I delete all the info thats there I see all the messages I posted without problems...

144 Name: dmpk2k!hinhT6kz2E : 2006-06-08 19:07 ID:Heaven [Del]

If your host supports mod_headers, add the following to your .htaccess:

<Files *.html>
Header set Expires "Mon, 26 Jul 1997 05:00:00 GMT"
Header set Pragma "no-cache"
Header set Cache-Control "max-age=0; must-revalidate; no-cache"
Header unset Vary
</Files>

If this causes 500s, then your host doesn't have it installed. If that's the case, hopefully your host will be willing to install mod_headers, otherwise there isn't much you can do.

145 Post deleted by user.

146 Name: Problem-man : 2006-06-08 20:45 ID:NQ4hj531 [Del]

Well, it caused an 500 Internal Server Error... I guess i'll have to change my host or ask them to install that mod...
Anyways, thanks for your help!!

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

>>144 is already in example.htaccess, but wrapped in <IfModule> so it won't 500 when the module isn't installed. And yes, what you need to do is ask the host to enable mod_headers.

148 Name: Anonymous : 2006-06-09 14:32 ID:ysYpxcj9 [Del]

Why can't you just use "Cache-Control: must-revalidate"? The rest are just repetition of that and won't even use If-Modified-Since.

149 Name: Anonymous : 2006-06-09 17:47 ID:Heaven [Del]

likely just backups to make sure it works on all browsers?

150 Name: dmpk2k!hinhT6kz2E : 2006-06-09 19:51 ID:Heaven [Del]

>>149 is close to the truth. It's there to ensure it works on all browsers and all proxies.

RFC2616 is nice, but we're dealing with numerous different products here.

151 Name: silvernode : 2006-06-11 13:47 ID:FPr/yYQV [Del]

any good sources related on learning cgi scripts?

152 Name: Drake!cFQS1XUKBs : 2006-06-11 15:59 ID:GTh4370R [Del]

I'm having an odd problem with Kareha 3.1.0's captcha system: I keep getting the same captcha image repeated, but after the first time, entering it returns "wrong verification code entered". Reloading the image, clearing the browser cache, or disabling caching does not solve this--but deleting the captcha cookie does. Any ideas?

153 Post deleted by user.

154 Name: !WAHa.06x36 : 2006-06-12 05:13 ID:VqDGzUzh [Del]

>>152

That is very strange. I really don't have any idea what's going on. After deleting the cookie, does it work once, or several times?

155 Name: mad93 : 2006-06-12 10:28 ID:qnQU6FgR [Del]

I had wakaba running on one server and worked perfect, but now i'm migrating to another server and when execute the wakaba.pl in the server log I get errors like:

ModPerl::Registry: Bareword "SQL_TABLE" not allowed while "strict subs" in use at

And the output of the code, the page, says that can't connect to the sql database (I'm using sqlite).

Any clues of what can be happening? Thanks.

156 Name: !WAHa.06x36 : 2006-06-12 13:08 ID:VqDGzUzh [Del]

>>155

You're using mod_perl, which isn't supported yet.

157 Name: mad93 : 2006-06-12 14:29 ID:qnQU6FgR [Del]

So what i must use in the server for handle this perl scripts?

I can change the configuration of the server.

158 Name: !WAHa.06x36 : 2006-06-13 05:34 ID:l2svyCMe [Del]

>>157

Just the usual Options +ExecCGI and AddHandler cgi-script pl. Somebody correct me if I misremembered those lines as usual.

159 Name: mad93 : 2006-06-13 15:24 ID:qnQU6FgR [Del]

Thanks :)

Now the board, the execution of wakaba.pl, works fine, but when i try to upload a new picture i get this error :S

Constant subroutine main::S_HOME redefined at /usr/lib/perl5/5.8.3/constant.pm line 108, <FILE> line 5.,

I need to change something more?

160 Name: mad93 : 2006-06-13 15:26 ID:qnQU6FgR [Del]

Sorry for double posting but i can't edit the anterior message, and the end of this types of error also say:

wakaba.pl: CGI.pm: Server closed socket during multipart read (client aborted?)

161 Name: !cFQS1XUKBs : 2006-06-13 16:21 ID:GTh4370R [Del]

>>154
Just once.

I don't get it either. As I understand how the captcha script works, it sounds like the cookie for a new image is being set, but the old image is still being cached and displayed. But that doesn't explain why clearing the cache does nothing, nor why clearing the cookie allows a new image to load.

Maybe my ISP or webhost is doing some sort of stealth caching. I'll look into that.

162 Name: !WAHa.06x36 : 2006-06-13 16:22 ID:Heaven [Del]

You have a wonky Apache setup, it sounds like, but I'm not enough of an Apache hacker to say what's wrong.

163 Name: mad93 : 2006-06-13 17:27 ID:qnQU6FgR [Del]

I've searching and seems to be that the GCI module has a bug since the version 3.15, someone can say me what verion of the module you're using.

The bug report is this http://rt.cpan.org/Public/Bug/Display.html?id=18677

164 Name: Bitinn : 2006-06-13 17:35 ID:zzaGZx8w [Del]

subdomain related problem,
using latest wakaba, the initial setup (after basic config) isn't working for css/javascript.
instead of linking to /css/futaba.css, it is pointing at /sub/css/futaba.css, where sub is my folder for the subdomain under root.

what should I put in .htaccess / config.pl to make this works ?

165 Name: !WAHa.06x36 : 2006-06-14 04:24 ID:Heaven [Del]

>>164

You should rebuild caches.

166 Name: Bitinn : 2006-06-14 09:51 ID:zzaGZx8w [Del]

Thx, now that the configs are all done, I start to translate the strings_en.pl file into chinese.

Translation is fine, took me only 20mins or so, but after setuping the script, encoding goes crazy... well, it is still UTF-8, but characters are all wrong(posts content still display correctly so it shouldn't have anything to do with SQL)... is it because of the encoding I used for strings_sc.pl is wrong ?

What did you do to make strings_jp.pl work perfectly ?? I would like to make a contribution on translation...

(btw, rebuild caches doesn't help now...)

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

>>166

Note the use encoding "shift-jis"; at the top of strings_jp.pl. You should change that to whatever encoding you used for that file, which may be different from what you use on the actual board!

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

Oh, and also note the no encoding; at the end.

169 Name: BitInn : 2006-06-14 14:46 ID:zzaGZx8w [Del]

thx! problem resolved.

Also I guess I have found a bug in the latest wakaba:

after setting encoding to utf-8 for my config.pl, I can't match my admin password anymore ! I type EXACT the same word but it didn't work. turns out it's the encoding being naughty. I shift it down to #Page look(ie. left out #System config) & password get back to normal.

170 Name: BitInn : 2006-06-14 15:24 ID:zzaGZx8w [Del]

in addition,
error message doesn't use script_xx.pl(xx being whatever the translation name), instead they look for script_en.pl & thus only return english error messages even when we include script_xx.pl in wakaba.pl.

I have to manually replace script_en.pl as well in order to show my translation for error messages.

171 Name: !WAHa.06x36 : 2006-06-15 05:01 ID:l2svyCMe [Del]

>>169

Did you remember a no encoding; at the end of your strings file? Or if you are using unicode characters in the password, you should probably add a use encoding statement to config.pl too.

>>170

That really shouldn't be possible. Hmm. I'll have to look into it.

172 Name: BitInn : 2006-06-15 06:09 ID:zzaGZx8w [Del]

I can see my reply 169 could be a bit confusing...

To sum it up:

1. config.pl is encoded in utf-8
2. my trial is to use encoding utf-8 & no encoding for the whole file
3. password doesn't match, which is in pure english letters by the way.
4. then I shift use encoding & no encoding to wrap the #Page look section only, where I used unicode characters.
5. password back on track, and unicode characters still resolved fine.

got no idea why...


One more question, I attempted to create a chinese version of rules.html, but no encoding(utf-8 / GB2312) appear to work properly with wakaba. How did wakaba load header, footer & rules ?

173 Name: Anonymous : 2006-06-15 10:41 ID:c+23VOeB [Del]

Hi, getting a problem with installation; I get a 'forbidden' error, and when checking logs get this:

[Thu Jun 15 18:37:01 2006] [error] [Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] INET.pm: Can't locate IO/Socket/INET.pm in @INC (@INC contains: . /usr/home/builder/pb_work_dir/plesk7.5.4_hotfix4_7.5.4/psa/release/dist/usr/local/psa/apache//site_perl/5.00503/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/psa/apache/ /usr/local/psa/apache/lib/perl) at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: BEGIN failed--compilation aborted at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: BEGIN failed--compilation aborted at templates.pl line 3.\n[Thu Jun 15 18:37:01 2006] kareha.pl: BEGIN failed--compilation aborted at /usr/local/psa/home/vhosts/xxxx.net/httpdocs/kareha/kareha.pl line 14.\n

(host edited out).

I have no access to /kareha/ as it says it's "blocked by rule." unsure as to how to change this :x.

:( ty

174 Name: !WAHa.06x36 : 2006-06-15 15:42 ID:VqDGzUzh [Del]

>>172

That's very strange. I have no idea what would cause that. For rules.html, hmm... That might actually be slightly broken. I'd have to investigate that too. If you have a program to convert a file to use HTML entities instead, that should work, though.

>>173

Your Perl version is ancient. Wakaba used to work on 5.005, but recent developments have apparently broken it (I don't have anywhere to test it on old versions any longer).

Either upgrade your Perl, comment out the function that uses Socket::INET (it's not important), or wait until I fix it. That might take a while, though, as I'm pretty busy with several things.

175 Name: mad93 : 2006-06-17 13:24 ID:qnQU6FgR [Del]

Nobody else have problems with CGI.pm?

176 Name: ryuusei (moved from other thread) : 2006-06-21 06:07 ID:l2svyCMe [Del]

Can't locate Encode/ConfigLocal.pm in @INC (@INC contains: . /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at /usr/local/lib/perl5/5.8.6/mach/Encode.pm line 52.

Please send mail to this site's webmaster for help. Content-Type: application/xhtml+xml; charset=utf-8

Is the error I get whenever I create a new post or a new topic.

Thanks in advance. :)

177 Name: Anonymous (moved from other thread) : 2006-06-21 06:08 ID:Heaven [Del]

looks like your perl installation is broken.

178 Name: !WAHa.06x36 : 2006-06-21 06:08 ID:Heaven [Del]

What >>177 said.

179 Name: Anonymous : 2006-07-03 14:12 ID:8IAnBwQN [Del]

I have a bit of a baffling problem: I've used Wakaba successfully with oekaki, but now I need to move it to a different directory. Upon doing this, I receive "File does not exist" errors in the error log, and the paint applet refuses to load. Is there a path somewhere in the configuration files I'm forgetting to set? Nothing of relevance seems to be in the oekaki config files.

Moving the folder back to where it was fixes the problem. The simplest "move" - renaming the directory and rebuilding caches doesn't work either. Thanks for reading.

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

You probably just need to rebuild caches. The Manage link will point to the wrong place too, so fix it manually.

181 Name: Anonymous : 2006-07-03 18:12 ID:Heaven [Del]

I'm sorry I wasn't clear - rebuilding caches fixes everything but the applet loading. The error log looks for the jar file in the right place, but reports as not being able to find it.

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

Most mysterious. Link?

183 Name: Anonymous : 2006-07-04 04:48 ID:w7xtasGx [Del]

hi, i am running wakaba from the last version under lighttpd 1.4.4 perl 5.8.8.

when i'm trying to post a new thread via the wakaba.html form, it forwards me back to the wakaba.html page, without including the new thread.

tried to delete the wakaba.html to see if the wakaba.pl will create a new one, no success.

thx :]

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

>>183

You need to get lighttpd to tell the browser not to cache the pages. Also, a reload should show the new thread.

185 Name: Anonymous : 2006-07-04 07:39 ID:w7xtasGx [Del]

>>184

ok, i have switched to apache 2.2, and still the post i tried to submit refuses to appear in the wakaba.html page. maybe i should change the wakaba.html permissions to 777 so the webserver could write the new topic into that page?

186 Name: !WAHa.06x36 : 2006-07-04 14:18 ID:Heaven [Del]

>>185

Did you try just reloading the page? If the script can't write to the file, it will complain.

187 Name: Anonymous : 2006-07-04 16:50 ID:w7xtasGx [Del]

i tried, no change. it seems like the HTML page sends the POST details to / (or /wakaba.html) instead of /wakaba.pl.
another thing I've paid attention to (a bug?), is the need to write your admin password in the url bar (the form sends a rhandom password)... not so secure imo :S

you can see the problem at http://69chan.ath.cx ...

thanks again :]

188 Name: !WAHa.06x36 : 2006-07-05 03:17 ID:Heaven [Del]

>>187

The page isn't built right - did you run wakaba.pl from the command line? That will break the page. Also, going to http://69chan.ath.cx/wakaba.pl gets you an SQL connection failure so it wouldn't work anyway. First, fix your SQL settings, then go to http://69chan.ath.cx/wakaba.pl?task=admin and log in and rebuild caches. Also, the admin password is encrypted in the URL bar. This is normal.

189 Name: Anonymous : 2006-07-05 05:55 ID:w7xtasGx [Del]

okay, i changed the permissions so the webserver can create the wakaba.html and i have fixed the sql settings... everything works now, thanks alot! ^_^

190 Name: Anonymous : 2006-07-07 06:38 ID:jz8cApt0 [Del]

I tried to rebuild cash but I got the message like this.
Untile today it did not happen to us.

Out of memory during "large" request for 1052672 bytes, total sbrk() is 28467200 bytes at wakautils.cgi line 973.

I am using kareha 3.1.0 at http://www.no1game.net/bbs/index.html
Is this something to do with setting ?or do I have to try other
method to cope with ?

191 Name: !WAHa.06x36 : 2006-07-07 06:56 ID:l2svyCMe [Del]

Wow, that's a weird error message. The line it occurs on does nothing that I can image would cause that kind of error.

Lacking any other clues, I'm assuming something is very broken on your server.

192 Name: Anonymous : 2006-07-07 07:11 ID:jz8cApt0 [Del]

Thank you very much !WAHa.06x36

well,,, I see file like _Xafeafavae.dat in the same directory of kareha.cgi which I've never seen before....

I bet the html files in res directory is broken but dun know how to tel which is bad res and which is not...

193 Name: Anonymous : 2006-07-07 07:15 ID:jz8cApt0 [Del]

It seems the strange name .dat file comes up when I click the Rebuild cash. sorry multiple reply

194 Name: !WAHa.06x36 : 2006-07-07 09:23 ID:Heaven [Del]

>>193

When Kareha saves files, it writes them to a file with a random name ending in ".dat", and then renames it to the real name, to avoid destroying files if it runs out of space while writing. However, on your system, the rename function crashes with that error. There is nothing in Kareha that could make that happen. It's not your config or the res files. Something much more serious is wrong with the server.

195 Name: Anonymous : 2006-07-07 14:11 ID:jz8cApt0 [Del]

ok thanks for the advise.
So far, I dont have problem beside that and as the server is not my own I guess there is not much I can do for it.

Well I appriciate your kind advise, your adivse released my from mining the res files. (^^;

196 Name: wiiaboo : 2006-07-11 12:03 ID:rP/TLeh1 [Del]

Hello, I seem to be having a problem getting the title image to display on my imageboard, i am pointing to the right file on my server but no title image appears only the actualy title.

197 Name: !WAHa.06x36 : 2006-07-11 12:06 ID:VqDGzUzh [Del]

>>196

Did you set both the title image URL and the title mode? It's been ages since I used that, I can't remember what exactly it should be, but the config.pl comments should say something.

198 Name: Anonymous : 2006-07-12 07:25 ID:Izsn1JKb [Del]

I'm having difficulty running Wakaba, specifically getting wakaba.pl to follow through properly. specific error is:

Invalid [] range "}-\x" before HERE mark in regex m/([\x{100}-\x << HERE {ffff}])/
Compilation failed in require at futaba_style.pl line 3.
BEGIN failed--compilation aborted at futaba_style.pl line 3.
Compilation failed in require at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.
BEGIN failed--compilation aborted at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.

199 Name: !WAHa.06x36 : 2006-07-12 09:47 ID:Heaven [Del]

>>198

Hmm. Your could try copying wakautil.pl from Kareha, and see if that works better.

200 Name: Anonymous : 2006-07-12 10:20 ID:Izsn1JKb [Del]

o shi-
it worked, thx ( ^_^)

201 Name: Anonymous : 2006-07-12 20:22 ID:CkRf0Xt1 [Del]

I changed the text in include/rules.html, but the board still say
"You should probably put some board guidelines in this file - include/rules.html."

What can I do?

202 Name: !WAHa.06x36 : 2006-07-12 21:08 ID:VqDGzUzh [Del]

Did you rebuild caches?

203 Name: Anonymous : 2006-07-12 22:48 ID:CkRf0Xt1 [Del]

>>202
Thanks.

204 Name: Anonymous : 2006-07-14 04:24 ID:FbAWCFrn [Del]

Anyone have any idea why the posts keep dropping off the end of http://www.lurkmore.com/chanchan/misc even though in http://www.lurkmore.com/chanchan/3 with the same config there are 7 pages?

205 Post deleted by user.

206 Name: dmpk2k!hinhT6kz2E : 2006-07-14 17:16 ID:Heaven [Del]

The average thread length is a lot higher on first board. Same number of posts, but fewer threads.

207 Name: Anonymous : 2006-07-15 02:51 ID:FbAWCFrn [Del]

Mhmm.. is there any way to make it never prune a board?

208 Name: Anonymous : 2006-07-15 02:55 ID:FbAWCFrn [Del]

nm, duh to me, max posts was still at 500, sigh.

209 Name: wiiaboo : 2006-07-18 05:44 ID:2baqZDLG [Del]

Hello,
I need to be able to display a picture when someone has been banned from a board, is it possible to redirect the banned person to a new page or just put an image up in the place of the Banned string?

210 Name: !WAHa.06x36 : 2006-07-18 11:08 ID:Heaven [Del]

You should be able to put any HTML you want in the banned string.

211 Name: wiiaboo : 2006-07-18 17:24 ID:2baqZDLG [Del]

I am having problems setting up the oekaki script with wakaba, im not quite sure what you mean by "set the URL settings in oekaki_config.pl" i get a 500 internet server error btw.

212 Name: !WAHa.06x36 : 2006-07-18 19:03 ID:Heaven [Del]

>>211

500 Internal Server errors are never caused by scripts themselves (except for the hashbang on the first line), but by configuration errors. See http://wakaba.c3.cx/sup/kareha.pl/1109033191/.

213 Name: JoeMan : 2006-07-19 17:22 ID:F2npZNac [Del]

So, I've never done anything like this before, but got a Dreamhost account for super-cheap recently, and figured it might be fun to but Wakaba on there. Things seem to be going fine, if somewhat still over my head, but when I tried to load wakaba.pl in my browser I get this software error:

No ADMIN_PASS or NUKE_PASS defined in the configuration at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 120.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.

Any advice?

214 Name: !WAHa.06x36 : 2006-07-19 17:47 ID:Heaven [Del]

You need to edit config.pl to actually configure the script.

215 Name: Paul : 2006-07-20 16:45 ID:a/h+ZTfQ [Del]

I got the same error, and my config file is configured!

216 Name: Anonymous : 2006-07-20 19:05 ID:Heaven [Del]

did you remove the # in front of the changed lines?

217 Name: kj!Xh2fu1dfy6 : 2006-08-01 15:13 ID:TVV6I/4M [Del]

Alright, this is about admin.pl/config.pl and kareha. I don't know exactly how Perl works, or programming in general (last time I programmed was 5 years ago on Pascal) but I was wondering if it's possible to add either; a) multiple lines for admin pass; b) multiple admin passes in the one line that is there; c) something else.

Reason being that I want to add some mods but with different access capabilities. eg: 3 mods and 10 boards, they can all access two of the boards but other than that they all have different specific boards to mod out of the 8 left. I don't want to have to give them 2 or 3 different admin passes but give each mod their own pass and add them all to the config.

Not sure if I got my point through completely as to what I need help with. Anyone know how to do this?

218 Name: !WAHa.06x36 : 2006-08-01 16:39 ID:Heaven [Del]

There is no easy way to do this.

219 Name: Anonymous : 2006-08-01 19:13 ID:YCBaVtIl [Del]

>>218 Besides just being safe and making all boards have different passwords, which is more secure anyway.

220 Name: Anonymous : 2006-08-04 03:45 ID:TVV6I/4M [Del]

Okay thanks, other than that is it possible to get the config to write bans to .htaccess in a dir above to enable all of them to write to one .htaccess.

221 Name: !WAHa.06x36 : 2006-08-04 05:39 ID:Heaven [Del]

>>220

There are a couple of options for the banning that you can edit. Something like ADMIN_BAN_FILE, I forget exactly.

222 Name: Anonymous : 2006-08-04 06:17 ID:TVV6I/4M [Del]

Yeah, but how do i get "use constant ADMIN_BAN_FILE => '.htaccess';" to be /asdf/.htaccess?

223 Name: Anonymous : 2006-08-04 08:02 ID:TVV6I/4M [Del]

nm, figured it out.

224 Name: Anonymous : 2006-08-08 00:59 ID:xHL6uL6t [Del]

I get a 404 Forbidden error when opening wakaba.pl directly

I don't know if i'm supposed to do something like make a html file, or anything. i've already created the mysql databases and set up config.pl

anything i can do?

225 Name: Anonymous : 2006-08-08 07:30 ID:Heaven [Del]

>>224, you mean 403?

Check out your .htaccess to make sure you're not killing referrers, and make sure permissions are correct (775)

226 Post deleted by user.

227 Name: Anonymous : 2006-08-08 12:54 ID:xHL6uL6t [Del]

>>225

Actually, I got everything working somehow. Thank you though :D

228 Name: Anonymous : 2006-08-12 15:14 ID:IccP4FXI [Del]

I'm trying to set up wakaba on a home test server before going live on the web. My problem: When I access wakaba.pl through Firefox, It pops up the download manager asking to save or open it.

Using:
Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_perl/2.0.2 Perl/v5.8.7

I have permissions for .pl files set to 755, along with directories as needed.

I have a simple Hello World in the same dir as wakaba.pl that runs fine from a browser with proper headers and everything.

Suggestions?

229 Name: !WAHa.06x36 : 2006-08-12 15:46 ID:VqDGzUzh [Del]

What's in the Hello World script? Also, what's its name?

230 Name: Anonymous : 2006-08-12 16:20 ID:IccP4FXI [Del]

>>229
My file is hello.pl

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";

231 Name: EleoChan!EhVtXXdTd6 : 2006-08-12 16:28 ID:CNlTK+ld [Del]

I can't get archive mode to work.

My config file says

use constant TRIM_METHOD => 1;
use constant ARCHIVE_MODE => 1;
use constant ARCHIVE_DIR => 'arch/';

But, even though old threads are being cleaned up, there is nothing in my arch/ directory. I double checked permissions and they are 755. What am I doing wrong?

232 Name: Anonymous : 2006-08-12 18:09 ID:IccP4FXI [Del]

>>228
>>230

After I renamed wakaba.pl to wakaba.cgi, it worked fine for me.. so it's an Apache issue somewhere.

233 Name: Anonymous : 2006-08-12 23:24 ID:IccP4FXI [Del]

I can't seem to figure out what the "link" and "parent" fields do. Can anyone tell me?

234 Name: dmpk2k!hinhT6kz2E : 2006-08-13 03:15 ID:Heaven [Del]

>>231
Does you arch dir contain res, src, thumb? Are all of them set 755?

If that is all true, have you tried with mode 775 on arch and all subdirs?

235 Name: !WAHa.06x36 : 2006-08-13 08:53 ID:VqDGzUzh [Del]

>>230

Man, I really have no idea. As >>232 suggests, sometimes Apache might be setup to run .cgi files but not .pl, but if your test file is named .pl, I really have no idea what's going on. What's in the file you end up downloading if you go to wakaba.pl? If it's the Wakaba Perl source, it's an Apache issue...

>>233

Link should be obvious, no? Parent is only for admin posts. You put the number of the first post in a thread there if you want to make an admin reply in a thread.

236 Name: Anonymous : 2006-08-13 09:06 ID:IccP4FXI [Del]

>>235
Those were both me.

1) It is the source, so I'll have to mess with Apache sometime.

2) Yeah, I figured links out shortly after I posted that. Thanks for the explanation of parent though.

237 Name: EleoChan!EhVtXXdTd6 : 2006-08-13 19:16 ID:CNlTK+ld [Del]

>>234
No :( Manually created my arch folder when I decided I wanted to archive. Didn't remember they were in there and didn't think it would be necessary to recreate them. I'll see if it works now.

238 Name: Lusikka : 2006-08-14 07:33 ID:o1zdttVH [Del]

Hey guys.

I'm having difficulties with Wakaba. I had some problems with using the wakaba.pl(because of misconfigured httpd.conf), but it works now. When I access it through a web-browser, it loads a bit and adds stuff to the MySQL database. Then it says:

"Not Found

The requested URL /wakaba/wakaba.html was not found on this server."

Could someone tell me what am I doing wrong, or is it just a bug?

239 Name: !WAHa.06x36 : 2006-08-14 11:06 ID:VqDGzUzh [Del]

>>238

Go to http://.../wakaba.pl?task=admin and rebuild caches.

240 Name: Wiiaboo : 2006-08-15 05:23 ID:RmLx1ES2 [Del]

Hello, just want to know how do i change or remove the style list at the top right of the page. And also how do I stop the "mailto:" email link from appearing after a poster puts an address in the Link field, i just want it to display the link to a webpage. Thanks

241 Name: Anonymous : 2006-08-15 06:49 ID:pmBlnXlu [Del]

So, could someone tell me what is the admin password for that http://.../wakaba.pl?task=admin page? I've tried the password that I wrote to the config.pl, but it didn't work. I've also tried a blank password, and it loaded the page but didn't make any difference to the situation.

Thanks in advance.

242 Name: Anonymous : 2006-08-15 07:00 ID:pmBlnXlu [Del]

Oh, I got the rebuild caches thing working, but it still says the same:

"Not Found

The requested URL /wakaba/wakaba.html was not found on this server."

Management panel works, so the only thing that doesn't work is this. Any ideas how to fix this?

243 Name: !WAHa.06x36 : 2006-08-15 08:17 ID:l2svyCMe [Del]

>>240

To remove the style list, edit the template to take it out. Alternatively, deleting files from css/ will get you a list with just one entry. Also, mailto: is only added if the link field has no other protocol prefix. If you put in a link correctly as "http://...", it will link just fine.

>>242

Can you check if the file really does exist? Also, is there no error when running Rebuild Caches?

244 Name: ian (moved from other thread) : 2006-08-16 03:41 ID:VqDGzUzh [Del]

Alrgiht here's my problem. I followed the documentation of installing and configuring wakaba to the letter, and I'm still having issues.

I'm running Apache+PHP+MySQL through wampserver5 and that's all well and good.
I've installed ActivePerl and ImageMagic Q8 Static.
I've modified my httpd.conf to have
Options +ExecCGI
AddHandler cgi-handler .cgi .pl
for the / directory and restarted Apache.
I've changed the hashbang to #!perl as I'm running windows.
And it seems that when I navigate to http://localhost/wakaba/wakaba.pl it treats it as a text file.

I tried the following instead, for httpd.conf:
Alias /b/ "e:/misc/site/wakaba/"
AddHandler cgi-handler .cgi .pl
<Directory "e:/misc/site/wakaba">

<Files *.pl>

SetHandler cgi-handler

</Files>
Options -Indexes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all

</Directory>
And then navigate to http://localhost/b/wakaba.pl and still it treats it like a text file... Is there anything I'm missing or failing to see here?

245 Name: ian (moved from other thread) : 2006-08-16 03:41 ID:VqDGzUzh [Del]

I just tried modifying the httpd.conf again, this time to
AddHandler cgi-handler .cgi .pl
<Directory "/wakaba">

Options -Indexes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all

</Directory>
and it is still a no go.

I also tried creating an .htaccess with
AddHandler cgi-handler .pl .cgi
Options +ExecCGI
And it is the same result.

246 Name: !WAHa.06x36 : 2006-08-16 07:15 ID:l2svyCMe [Del]

>>245

In order for .htaccess to work, you need "AllowOverride All".

247 Name: ian : 2006-08-16 07:52 ID:ZZU9H1fF [Del]

Well I moved everything to my web hosting, and now it says 500 Internal Error no matter what I do.
I've CHMOD'd wakaba.pl to 755, uploaded in ASCII and my .htaccess now looks like:
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI
DirectoryIndex wakaba.html index.html

248 Name: !WAHa.06x36 : 2006-08-16 10:09 ID:VqDGzUzh [Del]

That should probably be "+ExecCGI", but first of all, look at your error_log to see what it's complaining about.

249 Name: Pluvius : 2006-08-19 03:55 ID:Heaven [Del]

The HTML file was made properly, but I can't save any threads.

250 Name: Anonymous : 2006-08-19 23:08 ID:SxXiIF0P [Del]

Is it possible to pin threads in Kareha? i'm looking around in admin.pl and haven't seen that option.

251 Name: Anonymous : 2006-08-20 07:54 ID:ARbpTjcN [Del]

>>250 no.

252 Name: Olikune : 2006-08-20 17:41 ID:9SwKMbnw [Del]

Is it possible to modify the script so i can post as ##mod???

253 Name: Anonymous : 2006-08-20 17:49 ID:ZZU9H1fF [Del]

>>252
Add a capped_trip

254 Name: ian : 2006-08-20 17:51 ID:ZZU9H1fF [Del]

Alright. So I gave up on Wakaba. I don't know why but it apparently hates me. I got Kareha working, but I am wondering if I can revert it's reply styles to Futaba/Futallaby type, where even when a new thread is made, it will make the RES number as the last post on the board, like 4chan.

ie.
Someone starts >>4
A reply is made, it is >>5
Someone starts another topic, and it will be >>6, not >>1

255 Name: !WAHa.06x36 : 2006-08-20 19:19 ID:VqDGzUzh [Del]

>>254

No, there's no such option. It'd take extra code to implement, and it's really just a cosmetic feature, so I didn't think it was worth bloating the code for. It's very strange that you can get Kareha working and not Wakaba, though, because they are very, very similar, except for the use of a database, which shouldn't affect any of what you do. I can't think of any problems that would affect just one.

Maybe you should try Wakaba again from scratch?

256 Name: Pluvius : 2006-08-20 19:40 ID:Heaven [Del]

>>249
Just making sure nobody forgets my post.

257 Name: Anonymous : 2006-08-20 20:05 ID:ARbpTjcN [Del]

>>256 Check your permissions (775) on folders?

258 Name: Pluvius : 2006-08-20 21:05 ID:Heaven [Del]

Set it to all the ones in the same directory, nothing.

259 Name: Pluvius : 2006-08-20 22:26 ID:SuhuKEa7 [Del]

Eh, whatever. I got Wakaba working fine. How can I make every HTML file generated contain the javascript for my StatCounter?

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

>>259

Use the files in include/, or edit futaba_template.pl.

261 Name: Misuzu : 2006-08-21 12:37 ID:J7lTFBoF [Del]

I have a question but I am afraid it is not completely simple. I apologise if this is the wrong place to ask.
I use Wakaba 3.0.4 and am trying to figure something out.
On my board a user posted an image with no comments but every post after his, all the text of the page, except the comments of each posts is reversed. All the HTML after the image is reversed too when you click view source. If this is hard to understand take a look at the page.
http://www.ko-chan.org/b/1.html Post #2181

262 Name: Olikune : 2006-08-21 16:06 ID:9SwKMbnw [Del]

>>253
What is a capped_trip and how do i use it?

263 Name: !WAHa.06x36 : 2006-08-21 16:08 ID:Heaven [Del]

>>261

It's due to the wonders of Unicode. There is a character that changes the text direction. It's not obvious what to do to prevent people from abusing it.

I recommend just deleting posts that do, for now.

264 Name: Misuzu : 2006-08-21 17:59 ID:J7lTFBoF [Del]

>>263
Thanks, I edited it out of the post in the database.
Not that the post was worth saving, but I wanted to see if it was possible.

265 Name: ian : 2006-08-22 15:06 ID:ZZU9H1fF [Del]

I don't know why my server was freaking out before, but Wakaba is working now. Is there any way rib myself of the image verification to post?

266 Name: Anonymous : 2006-08-22 16:24 ID:ARbpTjcN [Del]

>>265 Sure, there's a line in the config.pl file (actually a whole section) called "CAPTCHA". Just disable it there.

267 Name: Anonymous : 2006-08-27 17:52 ID:M5fDmbFz [Del]

Software error:
Can't locate config.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /home/www/warsworldchan.awardspace.com/wakaba/wakaba.pl line 16.
BEGIN failed--compilation aborted at /home/www/warsworldchan.awardspace.com/wakaba/wakaba.pl line 16.

What does this mean? Thankss

268 Name: !WAHa.06x36 : 2006-08-27 18:10 ID:Heaven [Del]

You didn't upload all the files.

269 Name: QB (moved from other thread) : 2006-08-28 04:20 ID:VqDGzUzh [Del]

Basic problem: When i submit a picture to my wakaba image board i want the site to be redirected to a URL that i specify. And not back to its original URL.

Example, If I have my imagine board on the URL http://somesite.com/bubblegum/wakaba.html and after i click the submit button, i want the picture posted (duh) but i want the site to go to http://somesite.com/home/index.html

Can anyone let me know what files i need to edit to make this so?

270 Name: !WAHa.06x36 : 2006-08-28 04:21 ID:VqDGzUzh [Del]

The forwarding statement is at the end of the post_stuff function in wakaba.pl.

Also, please use http://wakaba.c3.cx/sup/kareha.pl/1141929669/.

271 Name: Anonymous : 2006-08-28 21:15 ID:hDfO5ZGZ [Del]

I don't know how, but it seems like http://shanachan.konosutekinabasho.net/cosplay/res/2267.html#i2746 temporarily broke the cosplay board. All of the html pages that are usually in the folder had 0 file size afterwards.

I took the opportunity to upgrade, but still... I'm curious as to what caused it.

272 Name: SomeWhiteGuy : 2006-08-28 23:44 ID:BKdh63ne [Del]

I have just installed Kareha on my Linux box to /cgi-bin/k/ and have pearl working fine. I set the permissions in ALL my directories to 777 and yet, when I try to run http://127.0.0.1/cgi-bin/k/kareha.pl I get:

Software error:

Couldn't write to file "index.html" at wakautils.pl line 985.

what's the deal?

273 Name: !WAHa.06x36 : 2006-08-29 03:35 ID:VqDGzUzh [Del]

>>271

Sure you didn't just run out of disk space?

>>272

Did you set the permissions of k/ itself to 777?

274 Name: Anonymous : 2006-08-29 06:26 ID:BKdh63ne [Del]

Yeah. I have plenty of disk space. And I set 777 permissions to all folders and files.

275 Name: Anonymous : 2006-08-29 10:51 ID:hDfO5ZGZ [Del]

>>273

>Sure you didn't just run out of disk space?

First thing I considered when I saw it... but it's dreamhost, man. It's near impossible to run out of disk space. (Control panel says 368.684/25120 MB (1.5%) )

276 Name: Anonymous : 2006-08-29 10:54 ID:Heaven [Del]

Though, I suppose it's possible that dreamhost themselves could have ran out of space... but it's odd that none of the other boards on the domain were affected.

277 Name: Anonymous : 2006-08-29 14:08 ID:Y0xAG3tQ [Del]

Are the Wakaba ids global? Is there a quick way to get them to be different for each thread?

278 Name: !WAHa.06x36 : 2006-08-29 15:25 ID:VqDGzUzh [Del]

>>277

You mean, numbering each post in a thread starting from 1? No, but you can run Kareha in mode_image and it'll do that.

279 Name: Anonymous : 2006-08-29 18:21 ID:xaXfS0jL [Del]

>>278

Sorry, what I meant were the user ids, like ID:VqDGzUzh.

280 Name: !WAHa.06x36 : 2006-08-30 04:10 ID:Heaven [Del]

>>279

In Kareha, they can be set to change by thread, but I think I never enabled that feature in Wakaba because it wouldn't work on the first post (because when creating the first post, the script does not yet know what post number it will have).

281 Name: SomeWhiteGuy : 2006-08-31 20:15 ID:BKdh63ne [Del]

zOMG! AAARGGHH!!~

Ok, I just spent allot of time bangging my head against my linux box, and finally found the problem.

I didnt have the src/ res/ and thumb/ directories.

Dosnt Kareha/Wakaba make thoes directories it self? Seems like i could...

PHP anyways can run command lines (through exec() for example), and do chmod command on files.

282 Post deleted by user.

283 Post deleted by user.

284 Name: !WAHa.06x36 : 2006-09-01 07:02 ID:l2svyCMe [Del]

You really need to specify which script you are referring to before that can be answered.

285 Post deleted by user.

286 Name: !WAHa.06x36 : 2006-09-01 07:26 ID:Heaven [Del]

Yours is the only recent one.

287 Post deleted by user.

288 Name: !WAHa.06x36 : 2006-09-01 08:06 ID:Heaven [Del]

You don't need to edit anything in config.pl, just click "More options...". Blinking is done with capped names, and there's no way to do it normally.

289 Post deleted by user.

290 Name: !WAHa.06x36 : 2006-09-01 08:53 ID:VqDGzUzh [Del]

>>289

mode_image doesn't support this stuff, only mode_message.

291 Post deleted by user.

292 Name: QB!!7AynHSkc : 2006-09-01 11:54 ID:LOEXHgrV [Del]

I am running Wakaba 3.0.5 and i want my users to be able to post embeded videos and swf files. Example: a flash video from youtube. Ive heard mention of altering a ALLOW_HTML variable but that variable is no where in the config.pl

I know i can allow for other file types to be uploaded, but were dealing with potentially large files here, there is no need to double host them if they already exist out on the net. I just want my users to be able to copy and paste the embed code from youtube and when they submit the swf shows on the board ready to be played and seen.

293 Name: !WAHa.06x36 : 2006-09-01 12:49 ID:VqDGzUzh [Del]

>>292

There is no option in Wakaba to allow HTML as it is now. If you used Kareha, you could set the markup type to HTML and list embed and the required attributes as allowed (and add a forced attribute to disable the script injection), but Wakaba doesn't support that.

You can try hacking it yourself, but this is not recommended unless you know what you are doing (because you'll probably get XSS vulnerabilities).

294 Name: qb!!7AynHSkc : 2006-09-01 22:20 ID:LOEXHgrV [Del]

Running wakaba 3.0.5, when i go to do a manager post i get a warning.

Line: 142
Char: 62
Error: 'field1' is undefined
Code:0
URL: http://www.somesiteblah.com/blah/wakaba.pl?tast=mpost&admin=b0a9SsASdsa9

then if i continue to try and make a post i get an error within wakaba saying my comment was empty. What has gone wrong?

the error was reported by IE, FireFox didnt give an error but it still said my comment was empty.

295 Name: !WAHa.06x36 : 2006-09-02 10:59 ID:VqDGzUzh [Del]

>>294

A bug, apparently. Will be fixed.

296 Name: Anonymous : 2006-09-03 04:43 ID:VqDGzUzh [Del]

Whenever i'm in ie and do more potions it allways shows "undefined" on the dropdown (even on this board) which causes the preview thing to fuck up when you press Preview post (saying: Abnormal reply.)

Is there any way to fix this?

297 Name: !WAHa.06x36 : 2006-09-03 04:48 ID:VqDGzUzh [Del]

Uh, 3.1.1 should fix the Abnormal reply error, I've just been too lazy to install it here. IE will probanly still say "undefined", but I don't have a machine to bugfix this on, so somebody else will have to figure that out.

298 Name: Anonymous : 2006-09-05 15:04 ID:e0MnAM/O [Del]

Do I need a separate install (config file & mysql database) for each image board?

299 Name: !WAHa.06x36 : 2006-09-05 15:38 ID:VqDGzUzh [Del]

Yes and no. You need a separate install of the files, but you can use the same database if you change the names of the tables in the config file.

300 Name: Anonymous : 2006-09-06 05:05 ID:XJe6MaK1 [Del]

300GET

Okay, short problem. Thumbnails won't show, any ideas?

http://img78.imageshack.us/img78/6343/wakabathumbnailsdy8.png

301 Name: !WAHa.06x36 : 2006-09-06 05:48 ID:Heaven [Del]

http://penischan.110mb.com/wakaba/thumb/ <-- They are being created as 0-byte files. This is wrong.

In other words, I haven't a clue. Something with the thumbnailer is fucked up. A first step to figuring out what's wrong might be to dig into the thumbnailing function in wakautils.pl and putting in die statements to see which thumbnailer it tries to use.

302 Name: Anonymous : 2006-09-06 06:53 ID:XJe6MaK1 [Del]

I see, thanks for your help. It's odd, since I didn't mess with anything except for config.pl.

303 Name: !WAHa.06x36 : 2006-09-06 06:55 ID:Heaven [Del]

I suspect it's a problem with the host, somehow.

304 Name: Anonymous : 2006-09-06 12:38 ID:Heaven [Del]

>>303 It's a free host; I doubt they've got anything installed correctly.

305 Name: Anonymous : 2006-09-08 04:22 ID:stke5B9t [Del]

I'm trying to change the file types that users are allowed to upload. using the latest of wakaba. I was told it was at the bottom of the config and all i see is the icons config. I really just need a example of where its at and how to change it, i was on a olf futaba befor this and this is all new to me.

306 Name: !WAHa.06x36 : 2006-09-08 04:35 ID:Heaven [Del]

>>305

If you add an icon for a filetype, it will be allowed. But earlier you talked about gif, png and jpg, which are always allowed so I don't think you are asking the right question.

307 Name: Anonymous : 2006-09-08 04:45 ID:stke5B9t [Del]

I was using that as a example of what i was looking at. In hope that i could get a general direction of where i'm suppost to be at. The file type i want is already in the list under "other files". I tryed uncommenting them but that didnt work, also tryed adding it to the part i showed a example to earlyer and still didnt work. Yes i tryed rebuilding the cache a couple times to

In laymens "I want to add other files to the list of supported files, but i dont know how to go about that, hence why i asked for a example on how"

308 Name: !WAHa.06x36 : 2006-09-08 05:34 ID:Heaven [Del]

Well, what exactly happens?

You need to uncomment the lines you want, and you also need to uncomment the initial use constant line and the { } block around it.

309 Name: Anonymous : 2006-09-08 06:48 ID:stke5B9t [Del]

Ahh see i didnt even notice that the constant was commented out. Now it works. 2nd question, is there a way to turn off the verification? It gets annoying when the pace of the board gets going. Specialy those long ones

310 Name: Anonymous : 2006-09-08 07:20 ID:Heaven [Del]

>>309

use constant ENABLE_CAPTCHA => 0;

311 Name: Anonymous : 2006-09-08 07:24 ID:stke5B9t [Del]

Ahh okay, thanks.

312 Post deleted by user.

313 Post deleted by moderator.

314 Post deleted by moderator.

315 Name: Anonymous : 2006-09-10 20:35 ID:rEByaGZo [Del]

I need some help my wakaba giving me this error whenever i click Manage.

XML Parsing Error: mismatched tag. Expected: </meta>.
Location: http://www.xxxx.com/imageboards/b/wakaba.pl?task=mpanel&admin=c1L9l/VznFIM
Line Number 1, Column 1427:

And then it points to the "h" in the </head> tag

316 Name: Anonymous : 2006-09-10 20:37 ID:stke5B9t [Del]

I didnt mean to post three times, it said timed out and i just clicked refresh, sorry.

317 Name: !WAHa.06x36 : 2006-09-11 03:13 ID:VqDGzUzh [Del]

>>315

You've added code that is not well-formed XHTML. You need to close all tags, either explictly, or by implicitly by ending them in />.

Also, just click "[Del]" to delete posts.

318 Name: Anonymous : 2006-09-11 07:56 ID:Heaven [Del]

I bet it's either css includes or a favicon.

319 Name: Anonymous : 2006-09-11 10:13 ID:stke5B9t [Del]

Yeah i figured out what i did, it was more of a typo then anything. Thanxs again. Also i tryed deleting them i get wrong pass everytime, not that i remember entering a pass

320 Name: Anonymous : 2006-09-15 12:16 ID:Y0xAG3tQ [Del]

>>280

Can you base it on the timestamp? I forget whether you can access the parent's timestamp easily.

321 Name: !WAHa.06x36 : 2006-09-15 15:26 ID:VqDGzUzh [Del]

>>320

No, you can't, because it's not stored in the database as such. Although, well... Technically the format doesn't really matter so I guess you could use the textual time stamp... Hmm.

322 Name: Anonymous : 2006-09-16 06:50 ID:xkF12baf [Del]

Hello, i continually get an SQL connection error, and all my MySQL settings are set up perfectly in config.pl and server side.

323 Name: !WAHa.06x36 : 2006-09-16 08:34 ID:Heaven [Del]

>>322

I can only guess that they are not, in fact, set up perfectly.

324 Name: Anonymous : 2006-09-16 13:22 ID:2p/o4uN8 [Del]

I used the Futaba style sheet and edited it completley into my own personal style, i just want to konw how do i go about renaming the futaba style sheet link at the top of the page to what i want?

325 Name: !WAHa.06x36 : 2006-09-16 13:26 ID:Heaven [Del]

Just rename the file and rebuild caches. And do your users a favour and copy in the original futaba.css too.

326 Name: doomzmaster : 2006-09-16 17:28 ID:MRXIqei0 [Del]

I keep getting this error:

Can't modify constant item in scalar assignment at config.pl line 14, near "'blahblah';"
BEGIN not safe after errors--compilation aborted at config.pl line 14.
Compilation failed in require at /public_html/wakaba.pl line 16.
BEGIN failed--compilation aborted at /public_html/wakaba.pl line 16.

I have no idea what that means or what to do...help! :(

327 Name: !WAHa.06x36 : 2006-09-16 20:20 ID:Heaven [Del]

>>326

It means you messed up something in the config file.

328 Name: Anonymous : 2006-09-16 20:55 ID:Heaven [Del]

>>326 on line 14, no less.

329 Name: Anonymous : 2006-09-16 21:05 ID:MRXIqei0 [Del]

I have Kareha all set up and working and everything but I have one question. Is there any way to get it to have each new thread/reply get a unique number instead of saying 1 for the first reply and then 2 for the second and so on.

330 Name: Anonymous : 2006-09-16 22:42 ID:Heaven [Del]

>>32

As has been stated at least once already in this thread, Kareha doesn't do this. It's only possible with a database, like what Wakaba uses.

331 Name: Anonymous : 2006-09-17 19:28 ID:xHL6uL6t [Del]

How would I go about making a custom ban page, where it would show your ip and what you were banned for?

This is what i've done so far.

futaba_style.pl

use constant BAN_PAGE => q{

<p>Ban ;_; (insert more text later)</p><br />
The IP you were posting with was: <var $ip><br />
<if $comment>Reason for your ban: <var $comment></if><br />
<if !$comment>Reason for your ban: None</if>

};

wakaba.pl (under sub ban_check($$$$)

make_http_header();
print encode_string(BAN_PAGE);

} else {

make_error(S_BADHOST);

}

Should this work? Is there something I need to change?

332 Name: Anonymous : 2006-09-18 21:25 ID:xHL6uL6t [Del]

>>331

Disregard that, I just realized that ban_check is for when you post, not view.

I'm gonna have to look into this more =/

Any help before I butcher 20+ Wakaba installations is appreciated.
Thanks.

333 Name: dmpk2k!hinhT6kz2E : 2006-09-19 02:19 ID:Heaven [Del]

If you want to prevent banned IPs from viewing the pages, you'll need to resort to .htaccess hackery.

334 Name: Anonymous : 2006-09-21 03:10 ID:h1vLcQQt [Del]

Is it possible to enable my users to be able to use HTML tags in their posts?

335 Name: !WAHa.06x36 : 2006-09-21 05:22 ID:l2svyCMe [Del]

Not easily. You could copy some code from Kareha's format_post() function to Wakaba's, though. It has an automatic HTML sanitizer and filter. I very very strongly recommend using this if you want to hack this, because adding support for HTML safely is very, very hard.

336 Name: Anonymous : 2006-09-21 12:56 ID:W83JfWHA [Del]

>>335
Thanks, tho my motive for this, is to allow my users to embed video into the board from Youtube or dailymotion and such, would you advise against this?

337 Name: Anonymous : 2006-09-21 15:11 ID:uOR2q2EG [Del]

>>336 <embed> is abusable to no end.

Shii killed a board through css and embed, I recall. All you saw when you visited was the waha-supergirl flash.

Anyway, not recommended.

338 Name: Anonymous : 2006-09-21 15:14 ID:uOR2q2EG [Del]

http://4-ch.net/dqn/kareha.pl/1158859990/

Ohshi-! Bees!

I assume this is not supposed to happen?

339 Name: !WAHa.06x36 : 2006-09-21 18:43 ID:Heaven [Del]

<embed> can be used as long as you make sure to force a certain attribute that disable scripting from inside the swf file.

I forget what exactly it is, though. You know you've got it right if you can embed http://wakaba.c3.cx/bee.swf without getting a bee all over your page, though.

Speaking of which, no, >>338 is not supposed to happen. I'll have to fix that at some point.

340 Name: Anonymous : 2006-09-21 18:44 ID:TSJcarVQ [Del]

Dumb question: how many ways are there to display posts via the URL?

The ones I know of are: multiple selections separated by commas, normal and reverse-order ranges (including open ended ranges), last X posts in thread, and X random post selections. Anything else?

And why do some of these methods display the first post at the top even when it's not specified?

341 Name: Anonymous : 2006-09-22 02:02 ID:aR+pM9fu [Del]

I am creating a japanese imageboard for a small commnity i am a part of. everything has translated perfectly except for the rules.html file, and also when i add any japanese characters into the .pl scripts like config.pl they come out as alot of mumbo jumbo.

This is how it appears:

ûmØNïSý€Õ0¡0¤0ë0ÿ Ö0é0¦0¶0k0ˆ0c0f0o0ck8^k0ûmØNg0M0j0D0S0h0L0B0Š0~0Y00
g'Y•b?zÇ0ü0¿0Ï‘o0 KB ~0g0g0Y00sage_jý€ØNM00
;uÏPo0*j Ô0¯0»0ë00&~ Ô0¯0»0ë0’0…H0‹0h0.~\hˆ:yU0Œ0~0Y00

etc. etc., how can i translate this properly, thanks.

On a side note, i have a Japanese friend who is reviewing the translation and will correct any errors if you wold like the corrected japanese?

342 Post deleted by user.

343 Name: !WAHa.06x36 : 2006-09-22 03:26 ID:Heaven [Del]

>>340

That's about it. The first post is displayed for simple ranges, to match the behaviour of 0ch.

>>341

You need to make sure your files use the right encodings. The include files have to use the same encoding you've specified as CHARSET, and any .pl files need to have a "use encoding" statement at the top that specifies what encoding they use.

344 Name: Anonymous : 2006-09-22 22:49 ID:xHL6uL6t [Del]

Hey.

I'm helping the owner of the new not4chan.us try to get the "Original Filenames" feature in wakaba, but so far I've had no luck.

Basically, when a user goes into the reply page, after the (size, resolution) it would display the filename that the image had before wakaba converted it. This is very nice for organizing manga/doujinshi/etc.

Question is, is there any way to do this through Wakaba?

Thanks!

345 Post deleted by user.

346 Name: Anonymous : 2006-09-23 09:50 ID:wD3z/7Gh [Del]

>>344
uncomment the following lines in config.pl:

#use constant FILETYPES => (
# gif => '.',
# jpg => '.',
# png => '.',
#);

347 Name: Anonymous : 2006-09-24 10:18 ID:uOR2q2EG (Image: 720x341 png, 157 kb) [Del]

src/1159118335197.png: 720x341, 157 kb

>>346 Not quite. All that does is not rename the files to unix timestamps. What he's looking for is shown in the picture attached.

348 Post deleted by user.

349 Name: Anonymous : 2006-09-26 17:02 ID:sB0Yb1bx [Del]

Hello all. I'm having problems installing wakaba. On apache, no matter what perl script I run, I get the same damn 403 error. All the files/folder are 755 and my httpd.conf for the directories is:

<Directory />
AddHandler cgi-script .cgi

Options +FollowSymLinks +ExecCGI
AllowOverride All
Order deny,allow
Deny from none

</Directory>

<Directory /wakaba/>
AddHandler cgi-script .cgi

Options +FollowSymLinks +ExecCGI
AllowOverride All
Order deny,allow
Deny from none

</Directory>

Does anyone have any ideas as to what I should do? I'm using SuSE, if that helps.

350 Name: Anonymous : 2006-09-26 21:05 ID:xHL6uL6t [Del]

AddHandler cgi-script .cgi .pl

351 Name: Anonymous (moved from other thread) : 2006-09-28 02:25 ID:VqDGzUzh [Del]

I used to have apache and wakaba created nice little thumbnails but now when i changed to lighttpd it won't create any thumbnails and it just echo out "no thumbnail available".
How do i fix so the thumbnails work in lighttpd?

352 Name: !WAHa.06x36 : 2006-09-28 02:27 ID:VqDGzUzh [Del]

I've never used lighthttpd so I have no idea, really. Is the switch of web server software the ONLY change you made to the system? If so, I guess lighthttpd is failing to run external commands from CGI scripts for some reason.

353 Name: Anonymous : 2006-09-28 03:01 ID:7I6+MAke [Del]

>>352
But doesnt browsers just send the script to the perl folder and let perl do all the stuff? I haven't changed any perl settings though.

354 Name: Anonymous : 2006-09-28 03:29 ID:7I6+MAke [Del]

i meant http servers not browsers

355 Name: !WAHa.06x36 : 2006-09-28 03:54 ID:Heaven [Del]

Yes, but if the web server process doesn't have permissions to run the command, or if the PATH is messed up, it's gonna break.

If the path is messed up, try running which convert in a shell, and then putting the result in CONVERT_COMMAND.

356 Name: Anonymous : 2006-09-28 12:16 ID:xHL6uL6t [Del]

>>347

Doesn't anybody know how to do this? I'm still looking for a response.

Thanks.

357 Name: !WAHa.06x36 : 2006-09-28 13:17 ID:VqDGzUzh [Del]

>>356

You hack the source to add it. There's no support for it, and I won't be adding it anytime soon.

358 Name: Anonymous : 2006-09-28 13:58 ID:xHL6uL6t [Del]

>>357

;_;

Oh well, maybe I'll figure it out on chance.

359 Name: Anonymous : 2006-10-02 07:38 ID:aR+pM9fu [Del]

How do i allow additional file types, thanks.

360 Name: !WAHa.06x36 : 2006-10-02 08:06 ID:Heaven [Del]

>>359

Look at the end of config.pl.

361 Name: Anonymous : 2006-10-04 19:37 ID:va5i8WYy [Del]

Hi I'm having some trouble setting up a Kareha image board

http://img.gig4free.com/kareha.pl

One problem is that one thread will have a url like

http://img.gig4free.com/kareha.pl/1160013863/

and the second will be

http://img.gig4free.com/kareha.pl/1160013863//1160014721/

and the third will be

http://img.gig4free.com/kareha.pl/1160013863//1160014721//1160015427/

etc

Everything appears to work correctly, permissions etc but is this because the subdomain is trying to add banner ads to the page so it concatenates the thread reply numbers?

Any help is appreciated thanks.

362 Name: Anonymous : 2006-10-04 20:23 ID:va5i8WYy [Del]

>>361

On the other hand, I just set a Kareha image board up at

http://img.gig4free.com/zorch

and it works fine. The difference is that I used the mode_message folder and enabled image replies in config.pl

I don't see how using mode_image would be any different though?

363 Name: Anonymous (moved from other thread) : 2006-10-05 07:15 ID:l2svyCMe [Del]

I've installed and edited everything that needs to be edited (the test perl script works) and wakaba should be working, but it isn't. If I try to load wakaba.pl all I get is a blank page. I have no idea what to do now. Halp

364 Name: !WAHa.06x36 : 2006-10-05 07:18 ID:l2svyCMe [Del]

>>361-362

Never seen that before. I'm tempted to blame a messed-up Apache config, since that sounds like a free host and they're pretty unreliable.

>>363

Try going to http://.../wakaba.pl?task=admin and rebuild caches.

365 Post deleted by moderator.

366 Name: Anonymous : 2006-10-05 13:26 ID:EbnFdBgu [Del]

>>364

Tried that and this is what I got:
"Server error!

Error message:
Bareword "SQL_CAPTCHA_TABLE" not allowed while "strict subs" in use at D:/WWW/xampp/perl/site/lib//captcha.pl line 142. ...lots of other errors with similar format... BEGIN failed--compilation aborted at D:/WWW/xampp/htdocs/wakaba/wakaba.pl line 20. ,

;_;

367 Name: Anonymous (moved from other thread) : 2006-10-06 04:28 ID:l2svyCMe [Del]

Hello

what should I do in order to have a vertical menu like in http://4-ch.net ? also do I have to install Kareha for for every category?

thanks

368 Name: !WAHa.06x36 : 2006-10-06 04:29 ID:l2svyCMe [Del]

>>366

Your installation is broken. Start over.

>>367

You write it in HTML, and yes.

369 Name: Kyon : 2006-10-06 09:38 ID:4Nneh+eZ [Del]

Hi,i really need help,my HTML sucks and i dont know how to get Kareha or wakaba working at all....can someone guide me step by step pls,i couldnt find a guide too,thanks a lot.Does it start working once i upload those files i extarcted of the zip file onto a Web host?

370 Name: Anonymous : 2006-10-06 11:53 ID:uOR2q2EG [Del]

>>369

Assuming you have a webhost... (this is for kareha, which I recommend you use)

0) unzip the zip to a folder on your desktop.
1) open up config.pl on your computer using notepad.
2) read the comments and change the things that are required.
3) upload that, and everything else from the zip, to your webspace.
4) in your browser, visit http://.../kareha.pl
5) if that doesn't work, post any errors returned here along with a link to the board.

371 Name: Anonymous : 2006-10-06 12:48 ID:vVnmKGbV [Del]

so is there no way to ban proxies through htaccess or other?

372 Name: !WAHa.06x36 : 2006-10-06 18:43 ID:Heaven [Del]

>>371

Short answer: No.

Long answer: dmpk2k implemented some code in Wakaba to try and detect proxies using external utilities and such, which does get some of them, but might be tricky to get running. However, proxy detection is inherently shaky and unreliable.

373 Name: Anonymous : 2006-10-06 20:18 ID:EbnFdBgu [Del]

>>368
By broken installation, do you mean Wakaba or Apache/MySQL/Perl?

374 Name: !WAHa.06x36 : 2006-10-07 05:08 ID:Heaven [Del]

>>373

Wakaba. All those constants should be defined by config_defaults.pl, and if they are not, something's broken or missing.

375 Name: Anonymous : 2006-10-09 03:46 ID:h1vLcQQt [Del]

>>331

I am also interested in making my own ban page that shows the ip of the poster and displays the comment, but only when they try to post, how would i do that?

Secondly i am wondering is there a way to let my mods edit the rules.html file? thanks

376 Name: Anonymous : 2006-10-09 03:51 ID:Heaven [Del]

>>375
I am refering to wakaba btw

377 Name: !WAHa.06x36 : 2006-10-09 05:14 ID:Heaven [Del]

> Secondly i am wondering is there a way to let my mods edit the rules.html file? thanks

There's no way to do that in Wakaba at the moment (although there is in Kareha), but I guess you could find some other script that lets people edit files.

However: If you don't trust your mods perfectly, you don't want them to be able to edit rules.html directly, because it is run through the templating engine, which can run arbitary Perl code. That means that if you can edit it, you hack it to access anything on the server.

The way to work around this is to make a rules.html file that contains the following:

<var include("include/rules_safe.html")>

And then just let people edit rules_safe.html, which will NOT be parsed by the template engine.

378 Name: Anonymous : 2006-10-09 06:22 ID:aR+pM9fu [Del]

>>377
Ok thanks ill look into that,

any ideas on the custom ban page tho?

379 Name: !WAHa.06x36 : 2006-10-09 06:45 ID:Heaven [Del]

>>378

You'd have to hack it yourself one way or the other... Should be easy if you know a bit of Perl and DBI, otherwise, not so easy.

380 Name: iiw : 2006-10-10 02:39 ID:aR+pM9fu [Del]

Hello, i recently went into Futaba_style.pl to do some html editing for a number of things, everything seemed to be working fine for me after i had finished, but when my mods tried to access the admin panel they were getting an XML parsing error, it was telling me that it was expecting html tags everywhere and particularily it also told me that the constants in the footer were invalid. Tho i managed to fix the problem by removing the constants and by basically doing what it told me to and adding in the tags it was expecting i have had to remove things that i wanted to keep in the first place, have you seen this error before? And when exactly caused it?

381 Name: !WAHa.06x36 : 2006-10-10 02:48 ID:Heaven [Del]

>>380

Wakaba is set up to use XHTML, which means you have to write your code as well-formed XML. You can write any code you want, you just have to write it correctly.

382 Name: Anonymous : 2006-10-10 16:48 ID:NET+ZUYa [Del]

I know you're very busy WAHa, but is there a possibility we may be due for a major new releases of W&K soon?

383 Name: !WAHa.06x36 : 2006-10-10 18:14 ID:Heaven [Del]

No major releases, no. However, there are some bugfixes I really should get out there, but I've been busy with other projects. Hopefully I'll get around to it soon.

384 Name: Anonymous : 2006-10-21 16:56 ID:/35GKsA5 [Del]

can someone please give me a basic step by step way to install wakaba?

385 Name: Anonymous : 2006-10-21 22:24 ID:OD5zG4wN [Del]

Does Wakaba need a different database for each board? All I saw in the config.pl file was that you couldn't was to change the captcha sql table. But when I post on one board it puts that posts on all the other boards as well! I am pretty sure this is an sql thing (though it might not be), how do I go about correcting this and setting sql up properly?

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

>>385

Change the SQL_TABLE option for every board, and possibly also the SQL_ADMIN_TABLE.

387 Post deleted by user.

388 Name: Anonymous : 2006-10-24 18:28 ID:OD5zG4wN [Del]

Is there any way to ADD file types? I see there's a way to ban them in config.pl and then "allow all" but what I want to do here is just add one or two filetypes, like .psd and .tif. Is there any good way to do this? The only thing I've tried is going into wakaba.pl and editing

$filetypes{gif}=$filetypes{jpg}=$filetypes{png}=1;

to

$filetypes{gif}=$filetypes{jpg}=$filetypes{png}=$filetypes{psd}=1;

but all that got me was a 500 error. Any ideas?

389 Name: !WAHa.06x36 : 2006-10-25 03:50 ID:Heaven [Del]

>>388

There is a way to add filetypes at the end of config.pl. However, those types will not get thumbnails, and will not be renamed.

390 Name: Wakaba and Kareha noob : 2006-10-28 13:49 ID:gOevwIZR [Del]

Nice day :)
I just want to ask like someone (anonymous) above ~
Can someone please,please give me a basic step by step way to install Kareha?
I mean, when i downlod it, there are *.pl files but i need index.html ????
Thanx ~

391 Name: Anonymous : 2006-10-28 17:55 ID:uOR2q2EG [Del]

>>390 OK, here's the walkthrough:

1) edit config.pl to your liking
2) upload the entire folder to your webspace
3) navigate your way to kareha.pl on your website through your browser
4 that's it!

392 Post deleted by user.

393 Post deleted by user.

394 Name: Wakaba and Kareha noob : 2006-11-01 02:18 ID:gOevwIZR [Del]

Hi -_-

  • Ok ~ i have edited config.pl
  • uploaded the entire folder to my webspace
  • navigate to kareha.pl and i got:

[Forbidden][You don't have permission to access /~colorfull-wallies/kareha.pl on this server.]

  • i have try this with wakaba too but it dont work for me T_T
  • i have on the same webspace futallaby and it works
  • addres is:

futallaby [http://www.oranet.sk/~colorfull-wallies/imgboard.php]
wakaba [http://www.oranet.sk/~colorfull-wallies/wakaba.pl]
Any ideas ?

396 Name: Wakaba and Kareha noob : 2006-11-01 09:57 ID:gOevwIZR [Del]

ok
I know now - my webspace have no PerlScripts support. T_T
gome ne for troubles with me ~
However since i can not run wakaba and kareha i would like to
make my futallaby work propertly ~
All is fine, it only dont create thumbnails (it only minify
and show original image) - could this be caused with lack of
thumbnailer (i have read in offered link that wakaba and kareha
need this software installed on server to create thumbs)
Is this same with futallaby? , and if yes which one is most
suggested one?
~byg Thanx for help ^_^~

397 Name: LytHka!axcgxeTNsE : 2006-11-02 07:11 ID:BN3jDtUw [Del]

I have a bit of a problem figuring out into what format should I convert strings_en.pl and set the encoding in the config file so that I'd be able to have commands (like the Post button) with properly displayed characters like čšž (the ISO-8859-2 Central European characters).

Any help is greatly appreciated. Thank you.

398 Name: !WAHa.06x36 : 2006-11-02 07:34 ID:l2svyCMe [Del]

>>397

The strings file can have any encoding you want, as long as you use a "use encoding" statement at the top that lists which encoding you are using (see strings_jp.pl for an example of this, it uses Shift_JIS).

The encoding listed in config.pl can then be anything else you want, and Wakaba should convert between the encodings automatically (as long as you have Perl 5.8). Remember to also set the encoding in .htaccess so the static HTML pages are displayed correctly.

399 Name: Anonymous : 2006-11-06 14:44 ID:mGIVmebR [Del]

How much disc storage/transfer storage/bandwich should I have on my web host to put up say.. 5 image boards? I mean, with them completely filled to the 10th page, each one, each thread max posts and whatnot, how much really? Thanls. :3

400 Name: Anonymous : 2006-11-07 18:21 ID:kO2bBBwy [Del]

Is there an easy way to add filename retention (like the way either 4chan or fchan does) to Wakaba?

If so, how?

401 Name: !WAHa.06x36 : 2006-11-07 18:28 ID:Heaven [Del]

If you add gif, jpg and png as filetypes in the FILETYPES list, they will not be renamed.

402 Name: Anonymous : 2006-11-08 08:07 ID:K5Ew5Ofa (Image: 818x292 gif, 4 kb) [Del]

src/1163002044303.gif: 818x292, 4 kb

I got his error, everything in my config is correct but it still don't work.

403 Name: !WAHa.06x36 : 2006-11-08 08:23 ID:Heaven [Del]

>>402

Everything in the config is not correct. Or else the config on the SQL server is not correct. I guess it might also be possible that you have not installed Perl DBD drivers for your database?

Check your error_log to see if it has anything more to say.

404 Name: Anonymous : 2006-11-08 12:42 ID:K5Ew5Ofa [Del]

>>403

Whatever is my host or server OS I need to install DBD? Because I didn't. If yes, it's my problem. I don't know how to install it and where upload it.

Yes, I'm noob.

405 Name: !WAHa.06x36 : 2006-11-08 13:28 ID:Heaven [Del]

>>404

If you are on a shared host, they are most likely installed for you. If it's a server you set up yourself, most likely not.

You usually need DBI and DBD::mysql (Or DBD::SQLite or whatever it's named). If the script works at all, DBI is installed. DBD::mysql might not be. If it's a Unix machine, you can try running "perl -MCPAN -e 'install DBD::mysql'", or figuring out how to do it through whatever package system you use.

406 Name: Anonymous : 2006-11-08 22:23 ID:K5Ew5Ofa [Del]

How to remove the verification code when we post and the
excesses style (or only the link on top of the page) on Wakaba?

407 Name: dmpk2k!hinhT6kz2E : 2006-11-09 00:51 ID:Heaven [Del]

> How to remove the verification code when we post

Change ENABLE_CAPTCHA from 1 to 0 in config.pl

> the excesses style

Delete what you don't want from the css directory.

408 Name: Anonymous : 2006-11-09 18:23 ID:K5Ew5Ofa [Del]

They give me this error wen I try to open wakaba.pl

Can't locate config.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /home/www/"my url"/board_a/wakaba.pl line 16.
BEGIN failed--compilation aborted at /home/www/"my url"/board_a/wakaba.pl line 16.

What's the probleme? Congif.pl is there but he can't see it.

409 Name: !WAHa.06x36 : 2006-11-10 10:01 ID:Heaven [Del]

Maybe you should start by making sure it's spelled right?

410 Name: Anonymous : 2006-11-11 21:33 ID:sm3sOv/i [Del]

Odd error. I've successfully installed Kareha once and am trying to install it several times t make a variety of boards for my site.

He's the weird part: Every time i change the name so the link is "Fan Art" or something like that instead of "Kareha" everything works fine execpt the style sheets no longer work and i'm left with a rather plain looking board.

411 Name: !WAHa.06x36 : 2006-11-12 07:19 ID:VqDGzUzh [Del]

>>410

I am not sure exactly what you are doing, but I am guessing you need to rebuild caches if you change the path to the script.

412 Name: Anonymous : 2006-11-12 09:28 ID:sm3sOv/i [Del]

>>410
I'm making a image board, standard 4chan type set up. This requires several installations of kareha, one or each section. When i change the name of a installation (so that a new one does not overwrite it) or if i install a new one under a changed name the style sheets disappear.

413 Name: !WAHa.06x36 : 2006-11-12 14:41 ID:Heaven [Del]

I still don't know what you mean by "name". Path?

And what happens if you rebuild caches?

414 Name: Anonymous : 2006-11-12 14:56 ID:KBczb+Hk [Del]

I have a site with 3 boards right now, at some point in development, it became the case that any new thread started goes to one specific board, (regardless of what board it was posted to) and replies are simply lost.

415 Name: !WAHa.06x36 : 2006-11-12 14:59 ID:Heaven [Del]

>>414

You've either messed up your SQL settings, or you need to rebuild caches.

416 Name: Anonymous : 2006-11-16 05:00 ID:0zkDR3At (Image: 611x312 jpg, 23 kb) [Del]

src/1163682031193.jpg: 611x312, 23 kb

Is there a way to get rid of this annoying thing that doesn't involve extensive reprogramming of stuff?

417 Name: !WAHa.06x36 : 2006-11-16 05:21 ID:l2svyCMe [Del]

>>416

Well, it involves a little bit of reprogramming. Edit out the HTML code in futaba_style.pl and then find the line that throws the error message in wakaba.pl and remove it or comment it out. To find it, look for the error message in strings_en.pl, then search for the identifier it uses.

I should warn you that it does serve a purpose, though, which is to warn people who accidentially try to reply to the top thread without pressing Reply first. Whether or not removing it will make misdirected replies significantly more common or not hasn't been tested by me personally, though.

418 Name: Anonymous : 2006-11-18 10:18 ID:zCYd/dMn [Del]

I've successfully installed Kareha and it's working fine, except for one little thing.
I am in Seattle, all my users are in Seattle, but my server is in Vermont; so when I post it shows when it was posted in eastern time.
Is there any way to have it show the time of post in pacific time?

419 Name: !WAHa.06x36 : 2006-11-18 10:28 ID:VqDGzUzh [Del]

>>418

No, unless you hack the code to change it (it's pretty easy, just add or subtract the right number of seconds from the time variable in post_stuff())

420 Post deleted by user.

421 Name: Anonymous : 2006-11-18 11:03 ID:zCYd/dMn [Del]

>>419
Umm... how exactly do I do that?

422 Name: Anonymous : 2006-11-18 14:21 ID:HRkGRX+M [Del]

Can it be implemented that every url can only be repeated a certain number of times per post, the number being set in config? (Or is this already possible?)

423 Name: !WAHa.06x36 : 2006-11-18 14:36 ID:Heaven [Del]

>>422

Why?

424 Name: Anonymous : 2006-11-18 19:10 ID:HRkGRX+M [Del]

>>423
Usually when there's a spammer like in http://spi.iichan.net/fb/res/1658.html it repeats urls mutiple times, while normal people would probably only mention a certain url once or twice.

I think it would help reduce the few spammers that do happen to get around the filters already implemented.

425 Name: !WAHa.06x36 : 2006-11-18 20:13 ID:VqDGzUzh [Del]

>>424

Well, the built-in spam filters are much more effective than that. That board is using an old version and is not running the filters.

Also, that post has (as far as Wakaba can see) no repeated links, so it wouldn't be caught by the filter. Matching partial URLs to find repetitions would cut off a lot of legitimate uses, too.

426 Name: Anonymous : 2006-11-18 23:44 ID:HRkGRX+M [Del]

>That board is using an old version and is not running the filters.

Oh okay.

427 Name: Orochi Herman!hN02YkuTxM : 2006-11-20 10:17 ID:ec2/okGS [Del]

Also the spammer/spambot I get on /sak/ seems to know what fields to avoid too.

Went easy on banning the fucker and didn't include filters and the serious guns... yet. That's because I've been busy.

428 Name: pingo : 2006-11-27 11:14 ID:JCRGZwlo [Del]

Hello

I am trying to set up Wakaba and I want to have multiple boards. Am I supposed to just duplicate the wakaba directory for each board like it's done with Kareha? Can I just create a new directory and then symlink everything to the install folder without the config file? would that work for Wakaba?

429 Name: Anonymous : 2006-11-27 14:56 ID:Heaven [Del]

>>428 yes; and yes, that would work too.

430 Name: pingo : 2006-11-27 21:21 ID:JCRGZwlo [Del]

ok, thanks for your reply. but now I have another problem. I made symnlinks to everything except config.pl. I copied the config from the previous install and only modification I made was to rename the admin, proxy, captcha and comments tables. this is what I get after I tried to execute wakaba.pl

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

etc.

This is what I get when I tried to execute it from the command line:

[Tue Nov 28 00:09:08 2006] wakaba.pl: DBD::mysql::st execute failed: Table 'blablachan.adminA' doesn't exist at wakaba.pl line 1794, <FILE> line 3.

[Tue Nov 28 00:09:10 2006] wakaba.pl: DBD::mysql::st execute failed: Table 'blablachan.proxyA' doesn't exist at wakaba.pl line 1794, <FILE> line 3.

etc

now. isn't supposed wakaba.pl to create these tables automaticaly?

thanks.

431 Name: pingo : 2006-11-27 21:49 ID:JCRGZwlo [Del]

sorry for posting it not in the appropriate thread. I fixed it. it was a overly paranoid apache server which refusing to execute scripts from 777 directory.

432 Name: mingo3k : 2006-11-27 21:51 ID:z2Wfr94l [Del]

I seem to have a small problem with my board,

It's installed correctly as far as i can see, it just wont recognise my admin password, i put it in fine, it goes to the management panel, but when i click ANY link i get..

Error: Management password incorrect.

It's quite annoying.. not sure whats wrong :(

433 Name: mingo3k : 2006-11-27 23:09 ID:dM62qWDx [Del]

>>432

Now i cant login at ALL! :( Thats getting really annoying..

434 Name: cyrilic characters : 2006-11-28 03:29 ID:JCRGZwlo [Del]

I can't get wakaba to display cyrilic characters. I changed utf-8 to windows-1251 in the config.pl file and in the .htaccess file. the generated wakaba.html displays the characters in a very odd way :
Àíèìå
when I view the source they get even more odd : #xc0;íè&#"

is there something else to be done which I overlooked?
I also turned on CONVERT_CHARSETS in the config file but it doesn't seem to help.

435 Name: Anonymous : 2006-11-28 08:24 ID:zOjYSbRP [Del]

> I can't get wakaba to display cyrilic characters. I changed utf-8 to windows-1251 in the config.pl file and in the .htaccess file.

What did you do that for? UTF-8 supports everything, even Cyrillic.

436 Name: !WAHa.06x36 : 2006-11-28 09:38 ID:VqDGzUzh [Del]

>>433

Did you overwrite your config.pl with an old one with another password?

>>434

The characters that are displayed wrong, do they come from user posts or from the script itself? Also, as >>435 points out, maybe you'd be better off just using utf-8?

437 Post deleted by moderator.

438 Post deleted by moderator.

439 Name: Anonymous : 2006-11-28 21:35 ID:Heaven [Del]

this isn't a futallaby support board.

440 Name: cc : 2006-11-28 21:40 ID:JCRGZwlo [Del]

I have no problems nor with UTF-8 nor with windows-1251 in the posts. the only problem with the correct display of the cyrilic charactes is in the title that is read from the config.pl (use constant TITLE = )

441 Name: mingo3k : 2006-11-29 06:14 ID:NM5a0pk9 [Del]

>>436
Nope, i've only ever updated with newer config's whilst changing some settings, same password, but sometimes lets me log in, and sometimes not.

When i do log in i cant click any of the links, gives me the same error.

442 Name: !WAHa.06x36 : 2006-11-29 07:30 ID:Heaven [Del]

>>440

You need to set the character set for the Perl file to match whatever charset you are using. Note how strings_jp.pl has a use encoding "Shift_JIS"; at the top. You need to add a similar statement to your config.pl.

443 Name: !WAHa.06x36 : 2006-11-29 07:32 ID:Heaven [Del]

>>441

I really have no idea what's going on there. It really makes very little sense.

444 Name: Anonymous : 2006-11-30 21:07 ID:JCRGZwlo [Del]

After like 16-17 pages wakaba removed some images. how do I remove that limitation?

thanks

445 Name: Anonymous : 2006-12-01 00:08 ID:Heaven [Del]

>>444 in config.pl there are age settings. Crank them up as high as you want for threads that last until the end of time.

446 Name: !WAHa.06x36 : 2006-12-01 05:25 ID:Heaven [Del]

>>444

>>445 almost got it, but basically, check the example config.pl for explanations of the options that determine when threads start getting deleted. Most of them can be set to 0 to disable.

Note that if you let a board grow very big, it will become slow, because it has to keep rebuilding all the page.

447 Name: Anonymous : 2006-12-02 01:41 ID:L87Ph8dT [Del]

is it possible to setup a kareha board using the webspace my ISP gives me?

at like http://members.myISP.com/myusername/kareha

448 Name: !WAHa.06x36 : 2006-12-02 03:45 ID:VqDGzUzh [Del]

>>447

I dunno, does your ISP let you run Perl scripts and have a suitable thumbnailer installed?

449 Name: Anonymous : 2006-12-02 07:48 ID:i7EbT4o2 [Del]

I have run into quite a bit of trouble, when trying to get kareha to support EXIF data 4chan/p/ style. It displays the comment along with the picture and EXIF data fine, but when the picture with EXIF data along with the post is posted as a reply, then it will somewhere eat away the last </DIV> tag, which it doesn't do, when that post is the first post in a thread. Multiple threads also work, but not replies.

Any help or suggestions very much appreciated. :)

450 Name: !WAHa.06x36 : 2006-12-02 10:55 ID:Heaven [Del]

Without knowing what exactly it is you're doing with the EXIF data, it's impossible to say what's going on.

451 Name: Anonymous : 2006-12-02 12:47 ID:KBczb+Hk [Del]

How do I use capped trips? I see

use constant CAPPED_TRIPS => ('!!example1'=>' capcode','!!example2'=>' <em>cap</em>');

And assume that typing name##example1 would result in name!! capcode, but it just treats it like a normal tripcode.

452 Name: !WAHa.06x36 : 2006-12-02 12:53 ID:Heaven [Del]

>>451

"!!example1" is the result of the tripcode, not what is typed in. Note that it says "!" and not "#".

453 Post deleted by user.

454 Name: Anonymous : 2006-12-02 14:11 ID:KBczb+Hk [Del]

I tried

use constant CAPPED_TRIPS => (' code'=>' !!<em>ADMIN ##</em>');

and entering Admin##code or Admin#code returns Admin!!MIVjB2tk and Admin!FKk4keqK9w respectively, when I expect Admin##ADMIN. Sorry if this is obvious, I just started learning perl.

455 Name: !WAHa.06x36 : 2006-12-02 17:39 ID:Heaven [Del]

>>454

Re-read what I said. You're not supposed to put in "code", you're supposed to put in "!!MIVjB2tk".

456 Name: Anonymous : 2006-12-02 18:58 ID:Heaven [Del]

I just realize that what I am entering in config for the input to "use constant CAPPED_TRIPS" is tripcode output itself, not the phrase that generates the tripcode. Gotcha. Thanks.

457 Name: Anonymous : 2006-12-07 04:00 ID:n55e4ca2 [Del]

Hi again.

After translating the whole strings_en.pl to a cyrilic language I get when trying to upload file:

Software error:

Malformed multipart POST

458 Name: !WAHa.06x36 : 2006-12-07 04:54 ID:Heaven [Del]

>>457

That's not an error Wakaba ever generates on its own, so it comes from somewhere else. I've never seen it before so I have no idea what it means. I am guessing it's an Apache or CGI.pm problem. Maybe Google has some clues?

459 Name: Anonymous : 2006-12-09 21:04 ID:hRGhyTLa [Del]

Error message:
Can't locate config.pl in @INC (@INC contains: . C:/Program Files/xampp/perl/site/lib/ C:/Program Files/xampp/perl/lib C:/Program Files/xampp/perl/site/lib C:/Program Files/xampp/apache) at (eval 88) line 14. BEGIN failed--compilation aborted at (eval 88) line 14.

This is what I get when I try to execute kareha.pl. I have no idea why since config.pl DOES exist in the same directory. Forgive me but I know nothing of perl programming (I am savvy with PHP, though). What's wrong?

460 Name: !WAHa.06x36 : 2006-12-10 05:18 ID:VqDGzUzh [Del]

It sounds like whatever is executing the Perl code is not CD'ing to the right directory. cgi-handler should do this, which makes me wonder if something else is trying to run it. Is mod_perl in use or something? Wakaba doesn't really work with mod_perl without tweaking.

So, the solution should be to either configure Apache to use cgi-handler for .pl files, or if that still doesn't work, you can try adding a BEGIN { chdir "path-to-files" } at the top before the other BEGIN statements. But the first is more likely to help.

461 Post deleted by user.

462 Name: Anonymous : 2006-12-10 11:50 ID:hRGhyTLa [Del]

>>460

Yes, I presumed that was the problem. I've been searching for a good 30 minutes for a config file that changes the root directory with no avail. And yes, I do have mod_perl (that has been bundled with xampp). Is there a noob-friendly way of installing cgi-handler? Sorry for my ignorance, it's just that I have never worked with perl before.

Thanks in advance.

463 Name: Anonymous : 2006-12-10 12:53 ID:k3My9ZiX [Del]

Edit config.pl for enabling youtube embed code to be pasted in Formatting:HTML mode

use constant ALLOWED_HTML => (

    'a'=>{args=>{'href'=>'url'},forced=>{'rel'=>'nofollow'}},
'object'=>{forced=>{'width'=>'425','height'=>'350'}},
'param'=>{args=>{'value'=>'url'},forced=>{'name'=>'movie'}},
'embed'=>{args=>{'src'=>'url'},forced=>{'type'=>'application/x-shockwave-flash','wmode'=>'transparent','width'=>'425','height'=>'350'}},
'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
'em'=>{},'strong'=>{},
'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
'p'=>{},'br'=>{empty=>1},'blockquote'=>{},

);

464 Name: Anonymous : 2006-12-10 18:12 ID:Heaven [Del]

>>463
<embed type="application/x-shockwave-flash" src="http://hotaru.thinkindifferent.net/bee.swf"/>

465 Name: Anonymous : 2006-12-11 01:30 ID:WTprPaHw (Image: 943x515 png, 16 kb) [Del]

src/1165829425410.png: 943x515, 16 kb

Left-hand side, see where the border is cut off along the thumbnail? What's up with that?

466 Name: Anonymous : 2006-12-11 02:30 ID:Heaven [Del]

>>464 damn.

467 Name: !WAHa.06x36 : 2006-12-11 04:41 ID:VqDGzUzh [Del]

>>463,464

Try adding allowscriptaccess=>"never" to embed's forced tags. For object, you'd have to add a new param tag for it, which there is no way to do so I suggest disabling that.

>>465

CSS silliness. Not sure how to fix it.

468 Name: !WAHa.06x36 : 2006-12-11 04:42 ID:VqDGzUzh [Del]

>>462

cgi-handler is part of the base Apache. You just need to change the config to use that instead of mod_perl.

469 Name: Anonymous : 2006-12-16 03:39 ID:i7EbT4o2 [Del]

Is there a way to force long one string comments to wrap in wakaba (so that they don't mess up the page design, causing the horizontal scrollbar to appear - damn those malicious people)? I have tried looking at CSS, but that solution seems to work only for IE.

470 Name: !WAHa.06x36 : 2006-12-16 08:17 ID:VqDGzUzh [Del]

No. I find the solution more annoying than the problem (for instance, long links being broken by putting space in them, making cut-and-paste much harder than it should be), so I've never implemented it.

471 Name: Anonymous : 2006-12-29 06:32 ID:wD3z/7Gh [Del]

i'd like to recommend that q be added to the default list of allowed tags in html formatted posts.

472 Name: Anonymous : 2006-12-29 10:33 ID:Heaven [Del]

<q>? What's that do?

474 Name: Anonymous : 2007-01-05 14:49 ID:a6DQ6M5G [Del]

oh, and support for svg images would be nice, too.

475 Name: Anonymous : 2007-01-06 09:52 ID:JiONircB [Del]

Too many arguments for main::clean_string at wakaba.pl line 1324, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1345, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1378, near "1) "
Execution of wakaba.pl aborted due to compilation errors.

help help help

476 Name: !WAHa.06x36 : 2007-01-06 14:17 ID:VqDGzUzh [Del]

>>474

Are there any useful command line tools that can quickly render an SVG file to a thumbnail?

>>475

Did you update a board without updating all the files?

477 Name: Anonymous : 2007-01-06 22:41 ID:Heaven [Del]

>>476
ImageMagick? or is it too slow?

478 Name: Anonymous : 2007-01-11 13:50 ID:JiONircB [Del]

atm when i press del all in the management panel w/wakaba I get the following: Error: Management password incorrect.

I have messed with a lot of the board look, and even a bit of the management panel look, but I am confused as to what would be causing this problem. The del all button seems to be formed correctly still. :(

479 Name: Anonymous : 2007-01-11 13:53 ID:JiONircB [Del]

also, i have replaced the edited management post loop with the original and am still experiencing the problem. i can select individual threads to delete and they go through no problem.

480 Name: Anonymous : 2007-01-11 13:55 ID:JiONircB [Del]

<td><var dec_to_dot($ip)>
[<a href="<var $self>?admin=<var $admin>&amp;task=deleteall&amp;ip=<var $ip>"><const S_MPDELETEALL></a>]
[<a href="<var $self>?admin=<var $admin>&amp;task=addip&amp;type=ipban&amp;ip=<var $ip>" onclick="return do_ban(this)"><const S_MPBAN></a>]
</td>

481 Name: !WAHa.06x36 : 2007-01-11 15:17 ID:VqDGzUzh [Del]

>>478

A known bug, I hope I'll find some time to fix that and a couple of other issues soon. Haven't checked what causes it.

482 Name: Anonymous : 2007-01-11 20:15 ID:Heaven [Del]

>>481
oshi... well until then i hope i don't get spammed to hell.. which has already happened once in the past three days that i've had the board up. is there any other way to remove all IPs from a board other than the management panel?

483 Name: Plethora!2YXk09dARQ : 2007-01-13 02:32 ID:s7fKf6O8 [Del]

>>481
Just weren't enough parameters to delete_stuff as it was called from delete_all. ;)

Since there's no easy way to specify whether to archive the posts that [Del All] will remove, I chose not to archive them.

Line 1479 of wakaba.pl now reads

 delete_stuff('',0,0,$admin,@posts);

484 Name: Anonymous : 2007-01-13 02:37 ID:Heaven [Del]

>>483
dat's my qtpai. <3

485 Name: !WAHa.06x36 : 2007-01-13 04:16 ID:Heaven [Del]

>>483

Ah, I suspected something like that. Thanks!

486 Name: Anonymous : 2007-01-13 13:51 ID:Heaven [Del]

>>485
we are making a lot of changes to wakaba, like i said. are you interested in any of the changes? so far we haven't had any problems whatsoever with any. things we are looking to add are sticky threads (just because... people whine about not having it) and a multi-board management panel.

does anyone know how i could get our collapsible thread option to store a cookie that says whether it was opened or closed and make the thread collapse/stay open to reflect the cookie?

487 Name: !WAHa.06x36 : 2007-01-13 15:28 ID:VqDGzUzh [Del]

>>486

Look at the iichan sidebar.

I've had the collapsible thread idea in the back of my head for a long while (I made a Firefox plugin that did the same for 4chan waaay back in the day), but I never got around to doing anything about it. It's probably a good idea, although there are some problems to take care of, such as: if you use cookies to store the state, you have to make sure you're not making the client send a ton of old useless cookies to the server.

Still not going to add sticky threads, though. They reinforce the idea that a board is run by the moderators and the users are an audience, instead of a board being run by the users with the moderators being there to keep the place clean. That is to say, moderators should never, ever control the content of a board beyond removing abuse.

488 Name: Anonymous : 2007-01-13 15:43 ID:Heaven [Del]

>>487
what about, hypothetically, if you had user voted stickies? ie a thread gets so many votes so it stays at the top for a set amount of time?

in the end someone controls what's happening on the boards, whether it's the admin, the moderators, or the people posting.

489 Name: !WAHa.06x36 : 2007-01-13 15:45 ID:Heaven [Del]

>>488

That's a better idea, I think, but then you have changed the dynamics of the board to something new and different. Whether it would be something good or bad, I can't quite say.

490 Name: Anonymous : 2007-01-13 16:57 ID:Heaven [Del]

>>489
yeah.. i was just tossing that out there. creating stickies is a step closer to having user chosen stickies.

491 Name: Anonymous : 2007-01-13 21:08 ID:i7EbT4o2 [Del]

>>487
Aha! Huge thanks for the clarification of the western imageboard philosophy. :)

492 Name: Anonymous : 2007-01-14 19:19 ID:Heaven [Del]

is there any way to link directly to a post in a thread like in kareha? ie http://clownpenis.fart/wakaba/4323.html/666

493 Name: Anonymous : 2007-01-18 11:44 ID:FFlhcx6s [Del]

http://bad-end.org/stuff/spam.jpg
or http://www.pooshlmer.com/wakaba/res/28275.html if it isn't deleted

It dodged the spam trap on a wakaba 3.0.6 board and also posted an image. Have the spambots been tailored to wakaba?

494 Name: Anonymous : 2007-01-18 12:09 ID:Heaven [Del]

>>493 A sign we're doing something right, that is!

495 Name: !WAHa.06x36 : 2007-01-18 13:07 ID:Heaven [Del]

>>492

#postnumber

>>493

I've seen that in a couple of places, and I really don't know what the deal is with that. It might be human posting, even. If it returns, further investigation will be called for.

496 Name: Anonymous : 2007-01-18 15:57 ID:XWHu02YR [Del]

I'm trying to set up Kareha (check with my host and they are configured for running perl), but after following the quickstart guide, I keep getting an error 500 when I try to access kareha.pl. Is there something I'm missing or still have to do before running the software?

497 Name: !WAHa.06x36 : 2007-01-18 17:25 ID:Heaven [Del]

>>496

See if anything in here helps, first of all: http://wakaba.c3.cx/sup/kareha.pl/1109033191/

498 Name: Anonymous : 2007-01-18 19:33 ID:XWHu02YR [Del]

>>497
Thanks, that took care of it! I just noticed that was linked at the top too, sorry for not seeing it earlier.

499 Name: Anonymous : 2007-01-18 20:27 ID:XWHu02YR [Del]

Is there a way to make certain users' names show up in a different color? For example, I want the name "The admin" to show up in red and the name "Mod" to show up in blue, while other users still continue with the normal colors.

500 Name: Anonymous : 2007-01-19 01:34 ID:l3QTZkjF [Del]

500GET!
the thing to choose the formatting doesn't work in opera mini... the "more options link works, but it doesn't show the dropdown thing to select which formatting mode to use ;;

501 Name: Anonymous : 2007-01-19 01:35 ID:l3QTZkjF [Del]

oh, wait... it shows it here, it just doesn't on 4-ch...

502 Name: !WAHa.06x36 : 2007-01-19 03:34 ID:Heaven [Del]

>>499

Well, set up capcodes for the admin and mod, and set them to output something like <span style="color:red">The admin</span>, then post with just the capcode and no name.

>>501

It may be that 4-ch is one or two versions behind...

503 Name: Anonymous : 2007-01-19 09:44 ID:XWHu02YR [Del]

>>502

This is probably a really silly question, but how do I post with a capcode? When I enter my name in as just that, it posts as some tripcoded(?) version of what I entered as the capcode in config.pl

504 Name: !WAHa.06x36 : 2007-01-19 12:06 ID:Heaven [Del]

>>503

You're supposed to put the tripcoded version in config.pl.

505 Name: Anonymous : 2007-01-19 12:58 ID:Heaven [Del]

>>504
capcodes work in wakaba?

506 Name: !WAHa.06x36 : 2007-01-19 13:06 ID:Heaven [Del]

>>505

I guess I assumed we were talking about Kareha?

507 Name: !WAHa.06x36 : 2007-01-19 13:11 ID:VqDGzUzh [Del]

>>493

Furhter investigation of this mysterious spammer indicates that it is actually a human posting from a regular browser.

Not much to do about that, except to update spam.txt, I added a couple of entries that should give him trouble.

(I was going to post those entries here too but of course I got caught by the spam filter.)

508 Name: Anonymous : 2007-01-19 13:50 ID:Heaven [Del]

>>506
the OP may have been, but I was wondering it it works with wakaba. doesn't seem like it would be hard to implement. or am i just assuming wrongfully?

509 Name: Anonymous : 2007-01-19 14:25 ID:XWHu02YR [Del]

>>504
Thanks, that cleared it up. I had it coded in backwards per se. Oh and I did mean in Kareha, I forgot that this thread is for both Wakaba and Kareha help when I posted that question.

510 Name: Anonymous : 2007-01-20 10:07 ID:Heaven [Del]

i don't think your new spam definitions are stopping the spam... is there anything "special" you need to do in order for the new spam.txt to take effect or is it good to go as soon as you upload it?

511 Post deleted by user.

512 Name: Anonymous : 2007-01-23 18:48 ID:otOlQGcH [Del]

I get a "403 Forbidden" error after installation.
I checked the HashBang and Permissions.

513 Name: !WAHa.06x36 : 2007-01-24 04:24 ID:VqDGzUzh [Del]

>>512

Check your error_log.

>>510

Check the 3.0.0 thread furhter down - turns out, there was a bug that made the spam definitions not work at all! You have to upgrade to fix them.

514 Name: Anonymous : 2007-01-27 01:20 ID:Heaven [Del]

why don't icons work :( they are not working for swf. have not tried others. they are in /icons/ in the same directory as wakaba.pl etc chmod 755 for the dir and the flash.png.

515 Name: Anonymous : 2007-01-27 10:17 ID:FFlhcx6s [Del]

Can kareha ban IP addresses when running under lighttpd, or does it have to be done manually?

516 Name: !WAHa.06x36 : 2007-01-27 13:19 ID:VqDGzUzh [Del]

>>514

I couldn't say without knowing more of what you did and what happens. Did you set them up correctly in config.pl?

>>515

Well, you can configure what kind of format Kareha writes the bans in to some extent. But I know nothing of lighttpd, so you'll have to figure out for yourself what to configure it to.

517 Name: Anonymous : 2007-01-27 15:41 ID:Heaven [Del]

>>515
i had a custom ban system for kareha but i have since lost it... :( sorry

>>516

use constant FILETYPES => (
swf => 'icons/flash.png',
swf => '.',
);

i have tried commenting out the "swf => '.'," but the icons still do not show when someone posts a flash file.

518 Name: !WAHa.06x36 : 2007-01-27 19:39 ID:Heaven [Del]

>>517

Well it's definitely not correct to have both. Drop the '.' one.

519 Name: Anonymous : 2007-01-27 19:54 ID:Heaven [Del]

>>518
icon still isn't showing after commenting out swf => '.', also the swf filenames are still not being renamed when posted. is that normal for filetypes that are not images?

520 Name: !WAHa.06x36 : 2007-01-28 06:30 ID:VqDGzUzh [Del]

>>519

Yes, anything in the FILETYPES list will not be renamed. Make sure the icon files are readable by the webserver process. Making them 644 should be enough.

521 Name: Anonymous : 2007-01-28 14:45 ID:Heaven [Del]

>>520
I had it @ 755 and now it is @ 644. Still not working. example: http://wtfux.org/temp/res/1154.html

to recap:

config.pl @ /temp/ (755)
icon @ /temp/icons/flash.png directory (755) file (644)

use constant FILETYPES => (

swf => 'icons/flash.png',

);

We can post files of type 'swf' and the filenames are not altered when posted. BUT icon 'flash.png' does not show as the thumbnail for the post. It simply says "No Thumbnail."

522 Name: !WAHa.06x36 : 2007-01-28 15:20 ID:Heaven [Del]

>>521

That's also very weird. I just tried doing the exact same thing, and it worked just fine.

Wait, is your /thumb/ directory writable?

523 Name: Anonymous : 2007-01-28 16:40 ID:Heaven [Del]

it is 751 atm i will try 755

524 Name: Anonymous : 2007-01-28 16:48 ID:Heaven [Del]

made no difference, as was expected. see: http://wtfux.org/temp/res/1154.html#1167

also, i have commented out the portion of wakautils.pl that does the spam check as you suggested. i have yet to get the spam error but i hope to find a better solution sometime soon.

i am wondering if it is something strange with the dreamhost account, but this doesn't seem right because i have had wakaba boards on dreamhost in the past with no problem.

our files are edited to add custom features as i've said before, but my friend used our files on his home server and everything ran fine.

525 Name: Anonymous : 2007-01-29 03:09 ID:Heaven [Del]

also, do you or anyone else have any suggestions for getting adbrite ad codes to work with wakaba? adbrite code creates an "xml parsing error: not well formed" when I try to implement it. The arrow in the xml error always points to the second equal sign in the adbrite script URL.

526 Name: Anonymous : 2007-01-29 11:10 ID:FFlhcx6s [Del]

527 Name: !WAHa.06x36 : 2007-01-29 14:36 ID:VqDGzUzh [Del]

>>523

Writable would be 777, probably.

>>525

If it's "<script src=http://whatever>", change it to <script src="http://whatever">. If nothing else works, set USE_XHTML to 0 and remove the lines about xhtml from .htaccess.

528 Name: Anonymous : 2007-01-29 22:47 ID:Heaven [Del]

>>527
777 and still no icon.

I've had UXE_XHTML set to 0 for some time, didn't realize I had to remove something from the htaccess for it to work.

#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>

correct?

ads are working now, but i think it will take 24 hours before adbrite network ads start showing.

I implemented a topbar nav menu on http://wtfux.org/ i believe it will be a good and easy way to provide a cross-browser friendly menu across every board by using one header.html (using either symlinks or changing the location/to/header.html in wakaba.)

just wanted some criticism from the society ;D

p.s. this site was just down or really really bogged down for the past half hour or more.

529 Name: Aiko : 2007-01-31 18:30 ID:ROF64GQl [Del]

Why every time i try, i have this?
I hope anyone can helpme, its a problem with the perl scripts?

No ADMIN_PASS defined in the configuration at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 133.
Compilation failed in require at kareha.pl line 13.
BEGIN failed--compilation aborted at kareha.pl line 13.

For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

Thanks.

530 Name: Anonymous : 2007-01-31 18:44 ID:Heaven [Del]

>>529
did you uncomment and change the ADMIN_PASS line in config.pl? carefully look through config.pl to make sure you have filled in and uncommented the required lines.

hint: read the comments next to the variables

531 Name: Aiko : 2007-01-31 19:10 ID:ROF64GQl [Del]

Thank you very much! I new on this, and i a little emm... dumb jeje, but with your explanation i have my imageboard =3

But i have another question, how i do to have many seccion, you know like 4chan, i mean, how i do to have a frame with the sections. I have to do a directory for every section?

532 Name: Anonymous : 2007-01-31 21:11 ID:Heaven [Del]

>>531
you need to setup a seperate directory for each board you want to run. also you will need one mysql databse per imageboard.

if you want to have a list of the boards on one side and the actual board to the right you need to setup a framed index.html that calls two html files for 2 separate sections.

533 Name: !WAHa.06x36 : 2007-02-01 03:48 ID:VqDGzUzh [Del]

> you will need one mysql databse per imageboard.

Actually, no, you don't. You can do it that way if you want, but you can also change the SQL_TABLE option to use differently-named tables in the same database for each board.

534 Name: Anonymous : 2007-02-01 14:03 ID:Heaven [Del]

>>533
aso aso. any idea on swf icons? it wouldn't be a problem but i want a /random/ board that allows SWF posting as well. if I were to setup a seperate flash board then it would be as simple as coding the icons into futaba_style.pl

535 Name: !WAHa.06x36 : 2007-02-01 18:42 ID:Heaven [Del]

>>534

No, I really have no idea what's going on there. If you have the Perl skills, you can dig into the code and try to find what function call fails or something... Add die statements in strategic locations or some such.

536 Name: Anonymous : 2007-02-01 21:06 ID:Heaven [Del]

>>535
my perl skills are limited. Not a problem, though. I will just have a seperate flash board. ^_^

537 Name: Anonymous : 2007-02-01 23:25 ID:Heaven [Del]

p.s. how hard would it be to make the management panel create multiple pages rather than parse all of the post data to one page? the load time is horrible on boards with many posts.

538 Name: Anonymous : 2007-02-02 07:12 ID:+U916Qy9 [Del]

I've run into a formatting bug that shows up in IE with kareha in messageboard mode where if the thumbnail of an image posted is taller than the post text, the image extends beyond the end of the post body and the style is generally broken. It looks like it's restricted to the Blue Moon theme (which I rather like...) as well as Toothpaste (basically where the post body has a different color background).

I set up an example at http://damagedgoodz.net/boardtmp/

Any suggestions?

539 Name: !WAHa.06x36 : 2007-02-02 07:46 ID:l2svyCMe [Del]

None more useful than "don't use IE" or "figure out how to fix the CSS", because I don't know how.

540 Name: Aiko : 2007-02-04 16:36 ID:Hh8JZvRH [Del]

Hi again!, i have another question.

When i try put the name "Berryz Kobo" i obtain this error

Can't locate object method "Berryz" via package "kobo" (perhaps you forgot to load "kobo"?) at config.pl line 14.
BEGIN failed--compilation aborted at config.pl line 14.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

But if i put just "Berryz" all working :S

i apreciated if anyone can help me. C-ya

541 Name: !WAHa.06x36 : 2007-02-04 20:41 ID:Heaven [Del]

"Try put the name"? You need to explain in a bit more detail what you are doing.

542 Name: Anonymous : 2007-02-05 02:35 ID:laJxzXGw [Del]

If you are trying to set the name of your imageboard to Berryz Kobo then it should look like this:

use constant TITLE => 'Berryz Kobo';	# Name of this image board

543 Name: Anonymous : 2007-02-05 16:52 ID:laJxzXGw [Del]

i've installed proxycheck into /proxycheck/ in a particular wakaba directory and set it to:

use constant PROXY_COMMAND => 'proxycheck/proxycheck -s -d achaea.com:23 -c chat::"Multi-User License: 100-0000-000" -aaaa';	

I enabled proxy check and there is an obvious pause between the time you press submit and when your post actually goes through, but when I post with Tor it does not catch the proxy. Am I doing something wrong?

544 Name: !WAHa.06x36 : 2007-02-05 19:10 ID:Heaven [Del]

I didn't write the proxy check code (dmpk2k did), so I can't tell for sure but Tor is not really any kind of normal proxy, so I'd imagine proxycheck doesn't notice it.

545 Name: Anonymous : 2007-02-05 22:16 ID:FFlhcx6s [Del]

Do you have any leads on the cause of the spam filter blocking image posts? It's getting really annoying.

546 Name: !WAHa.06x36 : 2007-02-06 05:05 ID:Heaven [Del]

No, sorry, it's damn hard to debug when you can't reproduce it. Well, maybe I should try that trick I was thinking of earlier and give it to you to test... I'll try to remember.

547 Name: Anonymous : 2007-02-06 12:57 ID:3obEaqim [Del]

>>545
If you are still experiencing it (as I'm sure my board would be too) you should comment out the block of code that handles the spam stuff. WAHa had me do that until further notice.

open wakautils.pl in your prefered editor and find sub spam_engine. comment out everything from my $spam_checker to spam_screen($query), like this:

sub spam_engine(%)
{

my %args=@_;
my @spam_files=@{$args{spam_files}||[]};
my @trap_fields=@{$args{trap_fields}||[]};
my %excluded_fields=map ($_=>1),@{$args{excluded_fields}||[]};
my $query=$args{query}||new CGI;
my $charset=$args{charset};
for(@trap_fields) { spam_screen($query) if $query->param($_) }
######################COMMENTED OUT TO STOP SPAM ERROR##########################
#my $spam_checker=compile_spam_checker(@spam_files); #
#my @fields=$query->param; #
#@fields=grep !$excluded_fields{$_},@fields if %excluded_fields; #
#my $fulltext=join "\n",map decode_string($query->param($_),$charset),@fields; #
#study $fulltext; #
# #
#spam_screen($query) if $spam_checker->($fulltext); #
################################################################################

}

548 Name: Anonymous : 2007-02-06 22:07 ID:FFlhcx6s [Del]

Also, will Wakaba get fancy DISPLAY_ID support anytime soon (i.e. ability to make IDs not persist between threads, change daily, and such?) At least the board oper I was talking to said that lack of that was his reason for not using it.

549 Name: Anonymous : 2007-02-06 22:12 ID:3obEaqim [Del]

>>548
you can make IDs change by day.

use constant DISPLAY_ID => 'mask,sage'; # How to display user IDs (0 or '': don't display,

											#  'day' and 'board' in any combination: make IDs change for each day or board,
# 'mask': display masked IP address (similar IPs look similar, but are still encrypted)
# 'sage': don't display ID when user sages, 'link': don't display ID when the user fills out the link field,
# 'ip': display user's IP, 'host': display user's host)

The way I have it setup it shows a masked version of the users IP and shows ID:HEAVEN when a user sages.

550 Name: Anonymous : 2007-02-06 23:16 ID:FFlhcx6s [Del]

Hmm. His exact words were "IDs on wakaba are broken in that they persist between threads." Guess he was wrong.

551 Name: Anonymous : 2007-02-07 02:01 ID:3obEaqim [Del]

>>550
Oh does he mean that IDs stay the same thread to thread? that's... i dunno. sounds like a dumb idea imho. what would be the point of having IDs? other than showing if one person was posting multiple times in one thread.

in the end we all want different things. i guess it wouldn't be hard to add it. i'm not the expert, though.

Also, yo WAHa I added the email link protocols to wakaba.pl and it's working as you said it would. thanks. :)

my $protocol_re=qr/(?:http|https|ftp|mailto|nntp|news|ventrilo|aim|irc|steam)/;

552 Name: Anonymous : 2007-02-07 02:30 ID:FFlhcx6s [Del]

>>551
It's because, in an extended discussion, certain people apparently have trouble keeping straight which Anonymous made which posts. I suggested SILLY_ANONYMOUS as an alternative but he thought that was, well, silly.

553 Name: !WAHa.06x36 : 2007-02-07 03:33 ID:VqDGzUzh [Del]

Persistent IDs in Wakaba are sort of impossible to do, as generating the ID requires knowing some fact that will stay constant throughout the thread, and that would most conveniently be the thread number, but the thread number is not known until the post is actually written to the database. So the ID of the first post would be wrong. I guess it could be added, with that caveat, if it's really wanted, though.

554 Name: Anonymous : 2007-02-07 07:00 ID:FFlhcx6s [Del]

>>553
Why not the timestamp of the first post in the thread? Unless that's what the thread number is.

555 Name: !WAHa.06x36 : 2007-02-07 08:06 ID:Heaven [Del]

>>554

That's what Kareha uses, but the timestamp is not actually stored in the Wakaba database, only the textual date string. One could use that instead, but in either case it would require an extra database lookup for every post, and that seems sort of silly.

556 Name: Anonymous : 2007-02-07 13:56 ID:3obEaqim [Del]

I made my wakaba display file sizes in KB rather than Bytes like so:

<var $size/1024> KB

Very easy, obviously. But it displays with lots of trailing decimals. A few wakaba versions ago I remember that I had this working without any decimal places but I don't quite remember how I did this. Is there some easy way to do it?

557 Name: Anonymous : 2007-02-07 14:28 ID:Heaven [Del]

>>556
nevermind, i figured it out. sorry I'm dumb.

<var int($size/1024)> KB

I don't mind that the rounding isn't perfect. 1KB give or take isn't a big deal.

558 Name: !WAHa.06x36 : 2007-02-07 15:28 ID:Heaven [Del]

>>557

You can just add 0.5 to get the common rounding.

559 Name: !WAHa.06x36 : 2007-02-07 17:25 ID:VqDGzUzh [Del]

>>545

If you want, try this and see if it helps:
http://wakaba.c3.cx/stuff/wakatest.zip

560 Name: Anonymous : 2007-02-08 14:52 ID:Heaven [Del]

>>558
add it to 1024? or add it to $size? orrrrrrrr add it to the product?

561 Name: Anonymous : 2007-02-09 05:53 ID:fcfmew2T [Del]

why not do ($size>>9)+1>>1 instead?

562 Name: Anonymous : 2007-02-09 16:07 ID:Heaven [Del]

>>561
Because I have no idea what that does!

563 Name: Anonymous : 2007-02-09 16:20 ID:Heaven [Del]

>>562
shift right 9, add 1, shift right 1...
it's slightly faster than doing int($size/1024+.5) (about .25 seconds of cpu time for 1000000 iterations on my machine), and, at least to me, a more straightforward way to do it...

564 Name: Anonymous : 2007-02-10 21:31 ID:yCQxWdf6 [Del]

>>563

This is Perl. The parsing cost for >> is higher than switching / out for it!

565 Name: Anonymous : 2007-02-10 22:35 ID:Heaven [Del]

>>564
wrong. the parsing cost is the same for both.

566 Name: !WAHa.06x36 : 2007-02-11 09:07 ID:Heaven [Del]

This is a totally pointless discussion, but I'll point out that parsing cost is nearly non-existent, and always O(1), as Perl compiles to bytecode before running anyway.

567 Name: Anonymous : 2007-02-11 13:08 ID:yCQxWdf6 [Del]

>>565

No, see, it's one byte longer.

Anyway this is ridiculous.

568 Name: Anonymous : 2007-02-11 16:09 ID:Heaven [Del]

would it be possible to add some <if $admin></if> statements into the futaba_style.pl $threads loop (and actually work?) I can't figure out what I need to add in wakaba.pl/wakautils.pl for this to work. The idea is to have management buttons in the threads that don't show unless you have the wakaadmin cookies.

569 Name: !WAHa.06x36 : 2007-02-11 17:10 ID:Heaven [Del]

Remember, the threads are static HTML files. You can't affect the contents at any other point than when somebody is posting.

What you could do is always add buttons, and use CSS to hide them and some Javascript to check for cookies and un-hide the buttons as needed.

570 Name: Anonymous : 2007-02-11 20:44 ID:Heaven [Del]

>>569
lol so i should just steal the shit from the iichan sidebar and edit it to my needs then? <3~

571 Name: Anonymous : 2007-02-13 01:58 ID:lRmGVizW [Del]

How do I update the settings of a wakaba board after the board has been created?

for example, if I want to change the max file size, or the title of the board? I know where to change it in the config file, but I dont know how to ask the board to update its settings.

572 Name: !WAHa.06x36 : 2007-02-13 04:26 ID:Heaven [Del]

>>571

If the setting does not affect the look of the board, editing the config is sufficient. If it does, select "rebuild caches" in the admin panel.

573 Name: Anonymous : 2007-02-13 08:23 ID:lRmGVizW [Del]

Thank you

574 Name: Anonymous : 2007-02-14 13:16 ID:Heaven [Del]

I think I found a bug in kareha... When you set the MAX_LINES_SHOWN to 0 (which should stand for 'no limit'), it actually does display nothing. A feature not implemented, perhaps? :)

575 Name: Anonymous : 2007-02-15 14:12 ID:nOog+VD8 [Del]

I hope this is a "simple question." (sorry if it's not)
Well, my host doesn't allow running cgi out of cgi-bin, so I installed kareha there. Once I did that, it seemed I still had a problem. All the links formed as something along the lines of:

/cgi-bin/MYSITE/kareha.pl

What I eventually did to "fix" it is replace SCRIPT_NAME with SCRIPT_URL throughout the pl files.
Now everything seems to be working, except for in the full thread view: http://rabi.memebot.com/cgi-bin/a/kareha.pl/1171530470/l50
the "return" link is like this:

~/kareha.pl/1171530470/index.html

and the other links (entire thread, last 50 posts) add on after the thread number as well.

576 Name: Anonymous : 2007-02-15 15:38 ID:Heaven [Del]

>>574 No, that's a feature! :) Just set it to something absurdly high.

I can actually see "0" being a useful setting for that, in some instances.

577 Name: !WAHa.06x36 : 2007-02-15 15:55 ID:Heaven [Del]

>>575

You probably need to edit the expand_filename() function to do something smarter.

578 Name: Anonymous : 2007-02-15 17:55 ID:29Q3PkRe [Del]

>>577
ah, that sounds like it's over my head ATM, :x and I think I'll just try what >96 suggested in the 500 error thread

thanks

579 Post deleted by moderator.

580 Name: Anonymous : 2007-02-20 10:19 ID:wCtrA1HM [Del]

When I go to wakaba.pl, it redirects me to wakaba.html but does not create the file, so I get a filenotfound error. How do I fix this?

581 Name: !WAHa.06x36 : 2007-02-20 11:17 ID:Heaven [Del]

>>580

Go to wakaba.pl?task=admin and rebuild caches.

582 Name: Anonymous : 2007-02-20 11:33 ID:wCtrA1HM [Del]

When I go to the admin panel and click "rebuild caches", it does something and then redirects me to wakaba.html again, which still isn't there.

583 Name: !WAHa.06x36 : 2007-02-20 12:19 ID:Heaven [Del]

Then something is seriously broken. Are you running on some weird webserver?

584 Name: Anonymous : 2007-02-20 13:05 ID:wCtrA1HM [Del]

Running apache. I redownloaded wakaba and put it in a different directory, and now I'm not getting that particular error, so I probably corrupted some of the files or something.

585 Name: Anonymous : 2007-02-20 13:37 ID:wCtrA1HM [Del]

Nevermind. I got mysql working on the new one and I'm now back to having this same error. This is really annoying.

586 Name: !WAHa.06x36 : 2007-02-20 14:07 ID:Heaven [Del]

Try searching your filesystem to see if it's putting wakaba.html somewhere else.

587 Name: Anonymous : 2007-02-20 14:14 ID:wCtrA1HM [Del]

I tried that and no, it's not anywhere.

588 Name: Anonymous : 2007-02-20 14:16 ID:wCtrA1HM [Del]

lol...I feel stupid. I changed the permissions for all the directories except for the root directory. I just set it to 777 and now it's working fine. Sorry for the trouble.

589 Name: Anonymous : 2007-02-20 16:39 ID:Heaven [Del]

Hello,
I've been looking for a way to have smaller thumbnails in wakaba lately. Is that even possible? I located the lines responsible for the convert in wakautils.pl but I couldn't figure out how to change the width and height. I'm using imagemagick.
It's no big deal anyway, just curious to know whether that is tweakable or not. :)
Love ya WAHa.06x36!

590 Name: Anonymous : 2007-02-20 16:44 ID:Heaven [Del]

>>589
Look in config.pl and find the following two lines:

use constant MAX_W => 285;						# Images exceeding this width will be thumbnailed
use constant MAX_H => 285; # Images exceeding this height will be thumbnailed

Images larger than what you set there will be thumbnailed to the dimensions specified.

591 Name: belair : 2007-02-20 20:56 ID:dZKPcn4c [Del]

howdy... just spent an hour fixing a kareha bug, and figured you folks may like to hear about it.

In the admin console, you may have problems when trying to delete multiple posts from a thread using the check boxes, after clicking into a thread using the title link.

Solution: Line 91 of admin.pl

current version reads: <form action="<const KAREHA_SCRIPT>" method="post">

change it to this: <form action="<var $path><const KAREHA_SCRIPT>" method="post">

592 Name: Anonymous : 2007-02-20 23:47 ID:Heaven [Del]

>>591
lol.. an hour well spent :p

593 Name: Anonymous : 2007-02-20 23:52 ID:Heaven [Del]

when i press preview post on the kareha boards i have setup they just say loading and do nothing else. any idea what the problem could be?

594 Name: !WAHa.06x36 : 2007-02-21 03:55 ID:l2svyCMe [Del]

>>593

Do you have the right version of kareha.js installed?

595 Name: Anonymous : 2007-02-21 12:59 ID:Heaven [Del]

>>594
it was a fresh install of kareha (i think).. lemme check

596 Name: Anonymous : 2007-02-21 14:29 ID:Heaven [Del]

>>594
yes I do.

597 Name: !WAHa.06x36 : 2007-02-21 14:59 ID:Heaven [Del]

>>596

Any messages on the Javascript console?

598 Name: Anonymous : 2007-02-21 15:17 ID:Heaven [Del]

>>597
no, but firebug pops up and shows this..........

NEVERMIND. I just tried to upload a screenshot but I got the anti spam message!

Anti-spam filters triggered.

If you are not a spammer, you are probably accidentially trying to use an URL that is listed in the spam file. Try editing your post to remove it. Sorry for any inconvenience.

Uh ohhhhhhhhhhhhh, looks like you've got something to work out maybe?

Anywy, here is the screenshot: http://wtfux.org/misc/what.JPG

599 Name: Jeremy : 2007-02-23 02:10 ID:K7xLRFD2 [Del]

Found a problem close to mine (http://wakaba.c3.cx/sup/kareha.pl/1120353264/l50), but thought I would ask before I dismiss it as fixed. My host will not install mod_header, want me to pay extra, blah blah. Do I lose any functionality not fixed by adding <meta http-equiv="Pragma" content="no-cache" /> to the futaba_style.pl script?

My symptom before I added this line was that I would post a thread, and then attempt to reply to the thread and it would hang on waiting for host and then eventually display a blank page. Reloading showed no post, but then adding this line fixed it all.

IE is no concern of mine, but does this line fix all functionality lost by not having mod_header?

600 Name: !WAHa.06x36 : 2007-02-23 07:29 ID:l2svyCMe [Del]

>>598

That certainly sounds like a browser bug, or unintended behaviour. You should really not be getting an error inside a try statement, as that is used to allow and catch errors in code! Is anyone else having the same problem?

Also, I tried putting out a fix for the spam bug for people to test, but nobody ever reported back whether it worked or not, so I still have no idea if that did anything.

>>599

It should be approximately the same, although I am sure there are cases where it does something different (because there always is), but if it looks like it's working, that should be good enough.

601 Name: calvin : 2007-02-23 16:02 ID:FIGVaqvX [Del]

Hello
I understand that the futaba_style.pl script handles the pages when they are refreshed or whatever, but what i dont get is this

i added my code, then i reinstalled the script on the server, and it made no changes, i didnt see the ad anywhere. I just want to know what file and where i place my google ad code, becasue this doesent seem to be working here. again if anyone has done ads with the wakaba script please pass some info over on how to do it, im just not seeing it rite now, thanks!

602 Name: !WAHa.06x36 : 2007-02-23 17:04 ID:Heaven [Del]

>>601

You need to tell the script to actually write a new copy of wakaba.html before you see any changes. Go to the admin panel and pick Rebuild caches.

603 Name: Anonymous : 2007-02-23 23:35 ID:Heaven [Del]

>>601
Do you have xhtml disabled? What sort of ad are you trying to run? Letterboard? Tower? Box? What's the dimensions and where do you want them to go?

You can see the way I have mine setup @ wtfux.org/random/

604 Name: Anonymous : 2007-02-24 00:16 ID:Heaven [Del]

>>600
Could you try and use the preview feature @ wtfux.org/dis/ ?

605 Name: Anonymous : 2007-02-24 01:32 ID:Heaven [Del]

would it be possible to somehow ban the MD5 hash of an image on a wakaba board?

606 Name: !WAHa.06x36 : 2007-02-24 08:02 ID:VqDGzUzh [Del]

>>604

I just did, and it worked fine.

>>605

I considered this, but it's too easy to circumvent, so I dismissed the idea.

607 Name: Anonymous : 2007-02-24 14:56 ID:Heaven [Del]

>>606
alright so it must be my browser.

about the md5 hashes: i'm being sued (have been for a long while) by a particular artist over copyright infringement. all because people posted his works on some of my imageboards. my plan is to take every image of his that i can find, round up the MD5 hashes and only those ones, and ban these from being posted. it's very troublesome to wake up to see that some spammer posted a bunch of his images while all of our mods are away. this almost always leads to more DMCAs. I've had over FORTY in the last two years just from this one artist. You don't want to know the actual total..

Case in point.. it would be really really helpful. I know that people can simply alter the tiniest part of the image to change the MD5, but at least it would stop the people that are too lazy to do that. (most spammers are)

I can understand that this might not be a feature that most people would require. All things aside, I don't know how to do it myself. If you could point me in the right direction I would be most grateful.

608 Name: !WAHa.06x36 : 2007-02-24 15:13 ID:Heaven [Del]

>>607

In that case, dig into wakaba.pl's process_file function, and look for if($md5), where the existing MD5 checks are. If you want a quick hack, add something like this:

my %banned=(
"12345abcd67890..." => 1,
"44332211fedcba..." => 1,
);
if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error("Enough of THAT");
}

609 Post deleted by user.

610 Post deleted by user.

611 Name: Anonymous : 2007-02-25 16:11 ID:Heaven [Del]

>>608
Works well, thanks. Is there any way that I could put the MD5 hashes into a text list and have it read them from there? There are a loooot of them and I don't really want a huge list in wakaba.pl.

612 Name: Anonymous : 2007-02-26 07:28 ID:Ey4M3SmZ [Del]

>>228

I'm having the same problem. Running ubuntu edgy. My perl testfile named test.pl works fine, while i get download dialog if i try to run wakaba.pl.

613 Name: !WAHa.06x36 : 2007-02-26 15:17 ID:VqDGzUzh [Del]

>>611

This may or may not work, I have not tested it:

my %banned=map ($_=>1),read_array("filename");

More elegant would be to implement an SQL query that gets the values from the admin table, but that would take actual work.

614 Name: Anonymous : 2007-02-26 16:31 ID:Heaven [Del]

>>613
Doesn't work for me.

615 Name: !WAHa.06x36 : 2007-02-26 18:07 ID:Heaven [Del]

my %banned=map { ($_,1) } read_array("filename");

Maybe?

616 Name: Anonymous : 2007-02-26 18:44 ID:Heaven [Del]

>>615
works awesomely... :D doesn't even noticeably slow down posting.

617 Name: Anonymous : 2007-02-26 23:26 ID:Heaven [Del]

Quick question: If i wanted to show the users IP address (as a sort of scare tactic) in the error message that shows when they try and post one of the "blacklisted" images, how would I do this?
Right now I have:

in strings_en.pl -

use constant S_MD5BAN => 'You are not allowed to post this here!<br />'.
'Your IP has been logged for legal purposes.<br />'.
'<var dec_to_dot($ip)>';

in wakaba.pl -

	if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error(sprintf(S_MD5BAN));
}

618 Name: !WAHa.06x36 : 2007-02-28 17:35 ID:Heaven [Del]

Change the <var...> to %s and add ,$ENV{REMOTE_ADDR} to the sprintf statement.

619 Name: Anonymous : 2007-02-28 23:15 ID:Heaven [Del]

>>618
thanks a lot.

620 Name: Anonymous : 2007-03-01 20:32 ID:GJRiAN1o [Del]

Is it possible to restore archived threads?

One of my threads was accidentally sent to the archive. Is there a way to get it back?

621 Name: !WAHa.06x36 : 2007-03-02 03:19 ID:Heaven [Del]

>>620

In Wakaba? No, not really. It is theoretically possible if you made a tool to do it, but I haven't made any such tool.

622 Name: Anonymous : 2007-03-03 04:29 ID:Heaven [Del]

2chブラウザで見れる?

623 Name: Anonymous : 2007-03-03 09:33 ID:Heaven [Del]

hmm, has anyone else noticed that "sage" in the email field is turning into "mailto://sage/"?

624 Name: Anonymous : 2007-03-03 09:33 ID:1ZIaMc+F [Del]

bumping because it still sages the thread correctly

625 Name: Anonymous : 2007-03-03 13:34 ID:Heaven [Del]

So, how would I add admin features that work to the normal post interface for a board? I understand that I will have to use javascript to check for the admin cookies, but how do I add a delete button and ban button that passes $admin along without having it show in the html for the board?

626 Name: Anonymous : 2007-03-03 15:34 ID:Heaven [Del]

>>623
no it doesn't. it turns into mailto:sage, which is what it's supposed to do.

627 Name: !WAHa.06x36 : 2007-03-03 17:08 ID:VqDGzUzh [Del]

>>625

For which script? Well, either way, the answer would be that you have to use Javascript to either inject the buttons into the page once it's finished loading, or else put the links into futaba_style.pl, make them style="display:none", and then use javascript to find them, make them visible again, and inject the admin pass into their hrefs.

628 Name: Anonymous : 2007-03-03 17:58 ID:Heaven (Image: 1280x1024 jpg, 107 kb) [Del]

src/1172973503350.jpg: 1280x1024, 107 kb

>>627
Yeah, that makes sense. For wakaba btw. Now I just gotta learn me some more javascript. aka go steal some

fuck.. i had another question to ask and it was really good. i don't remember it. :(

p.s. i got the anti-spam filter error message again. i just renamed the image, let's see if it uploads.

ARGH, got it again.. wtf. k i deleted the 'f' at the beginning of the filename. asdfas.JPG

629 Name: Anonymous : 2007-03-03 18:13 ID:Heaven [Del]

ooh ooh ooh, what about a thread close feature for wakaba? nothing says "shutup, you're dumb" like:

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

630 Name: Anonymous : 2007-03-03 19:48 ID:Heaven [Del]

..why is my oekaki saving images as peoples IP addresses? http://lulz.net/oekaki/wakaba.html You can only create and upload one image, after that it says that a file with that name has already been uploaded.

631 Name: Anonymous : 2007-03-03 21:02 ID:Heaven [Del]

>>630
Insert a new line at line 87 of extras/oekaki/finish.pl and enter

  my $filename = time().sprintf("%03d",int(rand(1000))).'.png';

Then, change line 88 (the call to post_stuff) to read

  post_stuff($parent,$name,$email,$subject,$comment,\*TMPFILE,$filename,$password,
0,$captcha,ADMIN_PASS,0,0,OEKAKI_INFO_TEMPLATE->(decode_srcinfo($srcinfo)));

That way, even if you have images set to keep the poster's filename for them (as per your config.pl), oekaki posts will use a timestamp-style filename.

632 Name: Anonymous : 2007-03-03 21:18 ID:Heaven [Del]

>>631
Thanks a lot :)

633 Name: Anonymous : 2007-03-03 21:23 ID:Heaven [Del]

>>626 Ohh, I bet it's Google toolbar editing the links so that it catches them for gmail when I click on them. Nevermind.

634 Name: Anonymous : 2007-03-03 21:41 ID:Heaven [Del]

Does anyone else get the spam error message when they try and use the manager post feature in wakaba? Maybe it's just something I changed in my script..

635 Name: Anonymous : 2007-03-04 16:47 ID:Heaven [Del]

>>634
Ah, we fixed it. Is everyone else not getting the spam message when they use the manager post? The problem was that the names of the fields hadn't been changed from the older versions and the spam trap fields hadn't been added. Why does the manager post even get put through the spam check anyway?

636 Name: Anonymous : 2007-03-08 17:04 ID:ODpkAiJY [Del]

Hello

I really urgentally need some help here guys. I have a horizontal google ad code i need to put on my site (on the wakaba.html page). But everytime i do it and i post somethign the ad disapears. can someone tell me where to put my google ad code so i can have it either on top of the post form or below it without the ad being removed everytime someone makes a new post? let me know, thanks guys.

(if someone can give me a psecific file and place to add it that would be very sweet).

637 Name: Anonymous : 2007-03-08 17:26 ID:Heaven [Del]

>>636
You want to put it into futaba_style.pl.

Place it between:

<if $postform>
<-------AD GOES HERE------->
<div class="postarea">

This will put the ad right above the post form.

Also, you will need to set USE_XHTML => 0; in config.pl.

If you are using the .htaccess that is provided with wakaba, then you will also need to comment out the following lines as I have:

#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>

Hope that helps. ;)

638 Name: Anonymous : 2007-03-08 18:21 ID:ODpkAiJY [Del]

THANK YOU THANK YOU THANX!!

u guyz r the best!

639 Post deleted by user.

640 Name: Anonymous : 2007-03-08 18:50 ID:NzRUyxOj [Del]

lol actually shits...hmm for some reason its not working :( hmm very weird i tried everything you posted here...is there any way that i could of done something wrong here....hmm

it says the google ad code is js does that change anything....just trying to eliminate all possibilities here.

641 Name: Anonymous : 2007-03-08 18:59 ID:NzRUyxOj [Del]

ok hmm

for some reason (its not the code thats the problem here) its that whenever i reload wakaba.pl it doesent change and for some reason read the new changes i put on the futaba_style.pl file

what cold be wrong here.

642 Name: Anonymous : 2007-03-08 19:02 ID:Heaven [Del]

>>641 Did you rebuild caches?

Also, check the source (of wakaba.html). Is it all on one line? Then you need to turn off that function as well.

643 Name: Anonymous : 2007-03-08 22:13 ID:Heaven [Del]

>>641
go to the management panel: yoursite.com/wakababoard/wakaba.pl?task=admin
and press Rebuild Caches.

Can you provide a URL to your board so I can check your html?

644 Name: Anonymous : 2007-03-08 22:25 ID:Heaven [Del]

Good idea or bad idea: checkbox for returning to the same thread rather than wakaba.html after posting

645 Name: Anonymous : 2007-03-08 23:04 ID:NzRUyxOj [Del]

>>643

www.sporkchan.net

keep me updated thx!!

646 Name: Anonymous : 2007-03-08 23:05 ID:NzRUyxOj [Del]

>>643

also /i im testing it on mainly

647 Name: Anonymous : 2007-03-08 23:15 ID:NzRUyxOj [Del]

maybe this can be the prob...

the google ad code is in green so maybe its commented out for some reason. i have google ads on antoher sit and its not greened out so is that the problem, and how do i fix dat??

648 Name: Anonymous : 2007-03-09 01:01 ID:Heaven [Del]

>>646
>>645

You haven't rebuilt the caches yet. The code isn't in there at all. Did you add it to futaba_style.pl like I suggested?

649 Name: Anonymous : 2007-03-09 01:08 ID:Heaven [Del]

>>645
Btw man.. you might not want to have all that CP on your site. It's definitely not good to tell people to post it.

Calvin August ([email protected])
+1.5133156092
6978 deddy road
cincinnati, OH 45243
US

The FBI will enjoy busting in your door. Just letting you know..

650 Name: Anonymous : 2007-03-09 07:21 ID:ODpkAiJY [Del]

yea im aware of that, thanks.
ive aloready encouraged them not to.

the cp txt board is there b.c poeple like talking about it, thats fine in my mind. you wont find ne cp pics there aloready deleted.

thanks all for your help you guys own!

651 Name: Anonymous : 2007-03-09 08:12 ID:Heaven [Del]

>>650
lol there was plenty of cp, especially on your upload thing.

REPORTED.

oh man this is gonna be fun. talk to you when i wake up.

652 Name: !WAHa.06x36 : 2007-03-09 09:47 ID:Heaven [Del]

>>644

I never liked that idea, because I don't think image boards should just be about endless posting of images by one person. Also, posting scans of whole volumes of stuff is pretty immoral.

653 Name: Anonymous : 2007-03-09 15:10 ID:Heaven [Del]

>>652

>I never liked that idea, because I don't think image boards should just be about endless posting of images by one person.

As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(

No one said anything about posting scans of whole volumes, and not having a checkbox that returns you to the thread isn't going to stop it from happening.

It works for discussion and the posting of images. I see it as a way to simply make things easier for the users. Of course, it's not exactly strenuous to scroll and click back onto a thread after you've posted to it, but you'd be surprised how often a post misses its mark.

A user can always delete their post if they miss a thread, but:
a) a good deal of users don't even know they can do that
b) it adds more bandwidth usage (however small it may be) and
c) the checkbox could circumvent misposting altogether.
That is... if the users understand it better than using the password to delete it!

In the end it's all personal preference.

By the way, we should have our sticky thread feature working by tonight and we will be reworking the moderation panel to look like the normal post interface. That's a whole different discussion though, aye?

654 Name: !WAHa.06x36 : 2007-03-10 04:57 ID:VqDGzUzh [Del]

> As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(

Well, in my mind, that's what design is all about. Figuring out what to add, and what to leave out. The issues at hand here are the additional complexity from adding the control versus the usefulness of it. I kind of think the post form is far too complex already, and if I wasn't trying to be faithful to the original Futaba layout I would cut down on the number of inputs in it even more. I think the usefulness really is limited to mostly cases where you post multiple images to a thread, and although I don't think this should be prevented, I think it should be encouraged either, especially not at the expense of clarity.

655 Name: Anonymous : 2007-03-10 12:44 ID:Heaven [Del]

>>654
I'm interested to know what you would remove from the post form.

656 Name: !WAHa.06x36 : 2007-03-10 13:23 ID:Heaven [Del]

>>655

The subject field is mostly useless. Few people use it, and when it's used it's often annoying. The password field is just confusing and nobody really uses it anyway. In Kareha, it's hidden and auto-generated, but I guess this could be further refined, for instance so that a post with an empty password (in case Javascript is off) can be deleted from the same IP only. I am a bit torn on the "No file" checkbox. On the one hand, it serves a purpose by warning people when they try to reply without pressing Reply, but on the other hand people still manage to do that.

If it wasn't for sage, the link field would also be mostly useless. If I was starting from scratch, replacing it with a checkbox for sage might be a better choice. Not to worry, though, I know lots of people don't like that, and I'm not about to do it.

657 Name: Anonymous : 2007-03-10 16:00 ID:Heaven [Del]

>>656

>The subject field is mostly useless. Few people use it, and when it's used it's often annoying.

True. I was thinking that maybe having a subject field only for the first post in a thread might be better.

>deleted from the same IP

Might cause problems when proxies are used. I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP? I haven't checked out the code.

>I am a bit torn on the "No file" checkbox.

Yeah.. I've never really seen a need for it.

>If I was starting from scratch, replacing it with a checkbox for sage might be a better choice

The sage checkbox is a great idea, and the people that don't like it protest it because it's not traditional. It does, however, make things a lot less confusing.

I believe that if there's enough people that want a feature then it should be added. It can't be that hard to add features that can be enabled/disabled in config.pl to keep everyone happy.

omgg!!1111111 i think all imageboards should be in japanese cause that's how it should be kawaii desu ne nyoro~n etc

658 Name: !WAHa.06x36 : 2007-03-10 19:02 ID:Heaven [Del]

> I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP?

It is generated client-side by Javascript, and saved in a cookie. This means it breaks if somebody disables either Javascript or cookies, which is a bit of a problem.

659 Post deleted by user.

660 Name: Anonymous : 2007-03-10 20:07 ID:Heaven [Del]

>>658
Ah, I see.

661 Name: Anonymous : 2007-03-10 21:05 ID:Heaven [Del]

I'm trying to customize my silly anonymous, and I did the following:

	return cfg_expand("%G% %I%",
G => ["Abdul Shaheed","Abdulwahab","Al-basir","Anayatullah","Arshad","Bakhtiyar","Bashir","Ehteshaam","Fajyaz","Fakhr-al-din","Fareed","Fazil","Habib","Haidar","Hakeem","Hasim","Hayatullah","Jakeem","Jalal","Jannuh","Jawhar","Jibraill","Kaleem","Kamran","Kareem","Katerah","Laeeque","Maaheem","Mahmud","Mahrukh","Muammar","Muhaymin","Mujahiddin","Musad","Nadeem","Nadir","Naveed","Nisar","Nur-al-din","Osman","Qaiser","Rafiq","Rashid","Riyad","Rizwan","Roshan","Saad","Sadiq","Sadaqat","Saeed","Salah-al-din","Salim","Sarmad","Seemaab","Shabbir","Shahmeer","Tayib","Tufail","Usama","Wajahat","Waseem","Xavier","Yahya","Yasin","Yusua","Zaheer","Zaid","Zeeshan","Zuhaib","Zuhra"],
I => ["A'men","Akir","Aarez","Aasir","Aayan","Abdiwahad","Abdullah","Abyan","Akhtar","Akhyar","Aziz","Badi","Bahij","Bahadur","Bakht","Bashar","Didar","Din","Enaan","Fadil","Faizan","Faruk","Fawzi","Gamal","Ghalib","Ghassan","Gulzar","Hadja","Hafiz","Harith","Hatim","Jawwad","Jihad","Kalil","Mahad","Majid","Momin","Mudassar","Murtaza","Naim","Najir","Obaid","Ovais","Owbada","Qaiser","Qasim","Rafat","Raghid","Redouane","Rohail","Sabir","Saeed","Sahul","Salih","Samien","Sayyid","Seki","Shahwaiz","Tawil","Tayib","Thahseen","Thufail","Waleed","Yasir","Zahir","Zaid","Ziyad","Zubair"],
);

But I get a 500 Internal Server Error when I try and run wakaba.pl. :( What did I mess up in there?

662 Name: Anonymous : 2007-03-10 21:17 ID:Heaven [Del]

>>661
anything in your error_log?

663 Name: Anonymous : 2007-03-10 21:35 ID:Heaven [Del]

>>662

[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] failed to open log file
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] fopen: Permission denied
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] Premature end of script headers: wakaba.pl
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] File does not exist: /home/cho0b/wtfux.org/internal_error.html

664 Name: Anonymous : 2007-03-10 21:46 ID:+SElzccx [Del]

Few questions

What is the manager post?
Can you sticky threads in wakaba?
How do you register and use tripcodes?
What about admin/mod shit like shown on 4chan?

665 Name: Anonymous : 2007-03-10 21:54 ID:Heaven [Del]

>>664
Manager post is a way for managers to make posts (go figure.) They allow for html usage in the post.

There is no sticky feature in stock Wakaba. Mine can sticky :D

You cannot register tripcodes. There is no registration on anonymous imageboards. To quote the wakabawiki "Tripcodes are used as a proof of identity, while still remaining anonymous. If you enter your name as Name#tripcode, it will be shown as Name!3GqYIJ3Obs, the idea being that only you know the code word used to generate the tripcode."

What kind of admin/mod shit shown on 4chan? There is only a moderator interface wherein you can delete individual posts/images, delete every post made by a specific user, ban an IP, and some various other things.

666 Name: Anonymous : 2007-03-10 21:57 ID:Heaven [Del]

666GET :)

667 Name: Anonymous : 2007-03-10 22:35 ID:Heaven [Del]

nvm i fixed it.. stupid mistake. (the silly anonymous thing)

668 Name: Anonymous : 2007-03-11 16:22 ID:juRZ/L5f [Del]

How do I disable users from being able to change the board look? Or am I just being a nazi?

669 Post deleted by user.

670 Name: !WAHa.06x36 : 2007-03-11 18:44 ID:Heaven [Del]

>>668

Read earlier posts in the thread.

671 Name: Anonymous : 2007-03-12 22:14 ID:ampmZ3Nk [Del]

>>635
Could you please list for those of us more dense specifically how to fix this?

672 Name: Anonymous : 2007-03-13 17:48 ID:Heaven [Del]

>>671, see >>84

673 Name: Anonymous : 2007-03-13 23:41 ID:RzsqNxfD [Del]

>>672
Deleted admin bar div from futaba_style.pl, added allowed html to config.pl and still get the error. Does it make a difference if I'm using wakaba 3.0.7 (forgot to mention it last post.)

674 Name: Anonymous : 2007-03-14 08:06 ID:Heaven [Del]

>>673
i think >>672 meant to reply to >>668 instead of >>671

675 Name: Anonymous : 2007-03-14 09:52 ID:gwdNO2Yi [Del]

I'm having a weird problem.

Sometimes Wakaba goes into a state where no one can post images - the server just hangs indefinitely if this is tried. However, posting comments is never a problem.

One solution for this bug, when it happens, is to simply overwrite wakaba.pl with a clean copy. Could it be that wakaba.pl is getting corrupted somehow?

676 Name: !WAHa.06x36 : 2007-03-14 10:43 ID:VqDGzUzh [Del]

>>675

That seems unlikely, corruption would be a fairly severe problem and it would most likely cause actual errors. I wonder if you're not running some kind of Apache module that is doing something too clever for its own good, and that resets itself when the timestamp on the script file updates. You could try just touching the file to update the timestamp and see if that also helps.

677 Name: Anonymous : 2007-03-14 10:57 ID:gwdNO2Yi [Del]

>>676

I am running Apache, but haven't installed any weird modules. Could have some pre-installed though. I'll lok into that, and maybe just set up a cron job to touch the file from time to time. Guess it can't hurt. Thanks.

678 Name: Anonymous : 2007-03-14 12:40 ID:RzsqNxfD [Del]

>>674
Glad I ran it on a test board first haha. (Actually doing so didn't change anything anyhow, but whatever lol.)

A secondary question though. Posts often don't show up due to wakaba.html not refreshing. What's the best way to force a refresh?

679 Name: Anonymous : 2007-03-14 12:51 ID:RzsqNxfD [Del]

>>678
Ignore second question, thought I searched the whole thread but didn't.

680 Name: Anonymous : 2007-03-14 15:13 ID:qruhvS2r [Del]

WAHa, would you be interested in possibly retooling the existing Wakaba codebase for an anon-only 2ch variation with tagging, comment ratings, searching, sorting and an original layout?

681 Name: Anonymous : 2007-03-14 15:30 ID:Heaven [Del]

>>680
pfffffffff haahahahaffshgsfgsdgsd

682 Name: Anonymous : 2007-03-14 15:49 ID:Heaven [Del]

>>681
I'm guessing the "tagging" part set off your prehensile anti-Web 2.0 sense, eh?

683 Name: Anonymous : 2007-03-14 16:24 ID:Heaven [Del]

>>682
i was loling at your entire request. unless you plan on offering some sort of payment to Waha then I'd say your request isn't gonna be fulfilled. maybe you should make one yourself?

684 Name: Anonymous : 2007-03-14 17:56 ID:Heaven [Del]

>>683
I'm only proposing it if he has any latent interest in developing such a project in his free time. It's not like I'm storming through the door and demanding that he do it.

685 Name: Anonymous : 2007-03-14 18:22 ID:Heaven [Del]

>>684

▓██████████▓░▒▒▒░░░░░░░░░░░░░▒█
▓██████████▓███████▒▒▒░░░▒▓██▒▓█▒
▒████████████▓▒▒▓████▓░▒███▓▓░▒█▓
▒██████████████▓▒▓███▓░▓██▓▓▓▓▒▓▓
▒█████████████▒░▒████▓░░▓▓░░░▒░▒▓
▒██████████▒░░░░▒▒██▓░░░░░░░░░░▓
▒███████████▓▒░░░▒▓▒▓░░░░░░░░░▒█
▒████████████▓░▒▓██▒▓▓▒░░▒▒░░░░▓
░▓███████████▓░▒███████▓▒▒█▓░░░░░
░▓███████████▒▒█████████████▓░░░▒
░▒███████████▒█████▓▓▒░░▓▓██▒░░░▒
░▒████████████████▒░░░░░░░▓█▒░░▒
░░▒██████████████████████████▒░▓▒
░░░▓████████████▒▒▓█████████▓▓█▒
░░░░░▓████████▒█▒░░▓██▓▒█▓████▒
░░░░░▓████████▓▒██▒░▒▒░█▒▓████
░░░░░▒█████████▓░▒▓▓░░░▒▒▓███▒
░░░░░▒███████████▒░░░░░░▒████▓
░░░░░░▓███████████▓▓▒▒░░▓████▓
░░░░░░▓████████████████▓█████▓

686 Name: !WAHa.06x36 : 2007-03-14 19:29 ID:Heaven [Del]

Well, the idea has run through my head once or twice, but I've dismissed it in the past due to a lack of time for it, and I have even less of that now, so it is not likely.

Also, my inability to figure out a good set of basic mechanics that would not degenerate into groupthink and popularity contests has also prevented me from bothering furhter with the idea. Stuff like "comment ratings" especially are horrible.

The web 2.0 world is already filled with these horrible failures of community building, and I have no wish to add to their numbers.

687 Name: Anonymous : 2007-03-14 20:36 ID:Heaven [Del]

> that would not degenerate into groupthink and popularity contests

but that's what web 2.0 is all about!

688 Name: !WAHa.06x36 : 2007-03-15 04:04 ID:Heaven [Del]

Perhaps I'll wait for the 2.1 update.

689 Name: Anonymous : 2007-03-15 06:20 ID:Heaven [Del]

While I agree that a WEB 2.0 feature rich version of Wakaba would be awesome, I can understand that not enough administrators in the community would appreciate it like the few of us would.

690 Name: EE : 2007-03-15 13:04 ID:m6ML9N0H [Del]

dsadsa dsa

691 Name: Anonymous : 2007-03-15 17:32 ID:cn+nMTZf [Del]

Why the square and two triangles links displays with slightly diffent shape in Firefox? The square particularly is even smaller in size.

Strange that I browsed similar forums and all of them uses the same chars (&#9632, &#9650 and &#9660) and all display ok in any browser.

692 Name: !WAHa.06x36 : 2007-03-15 18:01 ID:VqDGzUzh [Del]

It is a mystery.

693 Name: Anonymous : 2007-03-15 18:35 ID:cn+nMTZf [Del]

Ok I found why. Needs just to set a mona font for these links styles.

694 Name: Anonymous : 2007-03-16 13:42 ID:Heaven [Del]

>>693
Or you could use a font with decent unicode coverage as your default font...
I'd suggest the DejaVu fonts (Sans, Serif, and Mono Sans). They're free and, unlike Mona, actually look pretty nice.

695 Name: Dan : 2007-03-16 18:05 ID:XUKcyrMV [Del]

>>270 where is this exact section of the function? And what would be put in to make it forward to the post?

696 Name: Anonymous : 2007-03-18 04:53 ID:Heaven [Del]

http://lulz.net/furi/wakaba.html

We just started using our new wakaba.pl and futaba.pl files. We now have working sticky threads and a reworked management panel.
The management panel is now paged and made to look more like the actual main board.
There is also a janitor login area. Janitors cannot ban users or make threads sticky/unsticky. They can only delete files/posts.

(8 just braggggggging :X

697 Name: Anonymous : 2007-03-18 05:34 ID:Heaven [Del]

>>696
you know you're making a pretty convincing argument that stickies are a bad thing, right?

698 Name: Anonymous : 2007-03-18 13:23 ID:Heaven [Del]

>>697
1) Please give information as to how I am doing that.
2) Like it matters. No one else thought it was a good idea so we added it ourselves.
3) you know you're making a pretty convincing argument that stickies are a good thing, right?

699 Name: Anonymous : 2007-03-20 06:05 ID:Heaven [Del]

>>698
1) furries.
2) FURRIES.
3) FURRIES.

now go die in a fire kthxbai

700 Name: Anonymous : 2007-03-20 12:11 ID:Heaven [Del]

>>699
lol, the fact that we are testing all the features you hate with a niche that you hate is.. bad?

when we finish bug testing and tweaking our addons i will add them to our main boards/site. lulz.net is both our testing area and our trolling ground. if you do not see the obvious bonuses to controlling a furry community while not being a furry yourself, then you are blinded by your own e-peen.

701 Name: Anonymous : 2007-03-21 12:48 ID:Heaven [Del]

>>696

and how are stickies helping anything in any way?

702 Name: Anonymous : 2007-03-21 13:17 ID:1SH4mL/d [Del]

>>701
It doesn't matter. Your opinion has no reflection on our decisions.

If you would like to read up on the arguments for and against sticky threads, then just screen through some of the threads on this board. You'll find people giving obvious reasons why sticky threads would be helpful and then you'll find other people responding with "That's stupid. You're stupid. Stickies are blasphemy and no one will use them in my presence!"

Oh, and don't forget the ever popular "If you have something so important that every user must see it, then add it to the rules.html (and then reupload the .html file and then rebuild thread caches after waiting a minute for the management panel to load because your board has 20 pages of huge threads.)"

To which someone would reply "But what if I don't want to make my post form look bogged down and retarded? Perhaps there is a lot of information I need to pass on to the users and simply making a thread (that can be collapsed forever if you wish) would be the easiest route."

I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.

703 Name: Anonymous : 2007-03-21 19:02 ID:Heaven [Del]

The disadvantage of this form of forum is that I know more about this than you do, and making that post more than one paragraph is useless information.

It sounds like an opportunity for another field that only shows on front pages. Also, your SQL server is really slow.

704 Name: Anonymous : 2007-03-21 19:39 ID:Heaven [Del]

>>703
I spread it all out real neat like just for you.

I even left cute little "in short" messages like this:

>>I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.

p.s. gj on knowing more than me about anonymous imageboards.. i guess. did you get a PHD on japanese subculture or something?

705 Name: Anonymous : 2007-03-24 12:12 ID:Heaven [Del]

It was awarded by the university of kamiyama mangetu-chan.

706 Name: Anonymous : 2007-03-24 14:12 ID:Heaven [Del]

>>705
go back to china.

707 Name: WanderingOtaku : 2007-03-24 14:20 ID:mrwM6Wqv [Del]

Im installing a wakaba board, and its going just fine. the only problem is the verification code section doesnt go away.
I have set use constant ENABLE_CAPTCHA => 0; but its still there. I deleted my browser cache, still there. any suggestions on how to get rid of the verification section beyond this?

708 Name: Anonymous : 2007-03-24 14:48 ID:Heaven [Del]

>>707
did you rebuild caches after making the change? go into your moderation panel and click the "rebuild cache" link.

709 Name: WanderingOtaku : 2007-03-24 15:07 ID:mrwM6Wqv [Del]

Alright, im a dork, I uploaded the wakaba.pl file again before doing the captcha change and forgot to set its CHMOD to 755.

710 Name: Anonymous : 2007-03-24 16:01 ID:Heaven [Del]

>>709
ah, it happens. don't worry about it.

711 Name: Anonymous : 2007-03-27 20:05 ID:p7QXc+S6 [Del]

this is probably a really, really stupid question, and I'm sorry if it's been asked and answered multiple times, but I'm growing frustrated. I'm using PHPMyAdmin, and I've created the database, and every time I try to upload the config.php file, it says that I'm not using proper syntax, but I've tried editing it every way I know how. Does anyone have an idea as to what's going on?

712 Name: Anonymous : 2007-03-28 06:12 ID:Heaven [Del]

> every time I try to upload the config.php file, it says that I'm not using proper syntax,

what is "it"?

713 Name: !WAHa.06x36 : 2007-03-28 06:45 ID:Heaven [Del]

Also, there is no "config.php" file.

714 Name: Anonymous : 2007-03-28 11:53 ID:Heaven [Del]

is he talking about setting up phpmyadmin? lol

715 Name: Anonymous : 2007-03-28 20:27 ID:ck4bBkv7 [Del]

Hey, I've installed wakaba but I'm having trouble getting it running. It first refused to run at all and output the wakaba.pl file as ascii text. Changing the extension to .cgi fixed that. Now all the pages load, but it seems like it doesn't want to write to the database. It is connecting fine and is able to create new tables as after running it for the first time (through sh, mind you) it created the wakaba_admin, wakaba_comments and wakaba_proxy tables. No posts can be made, however, as no rows are ever inserted into the db. The SQL interface in the management panel can successfully exec commands on the db, however. I'm stumped...

http://www.reknet.ca/img

716 Name: !WAHa.06x36 : 2007-03-29 03:38 ID:Heaven [Del]

>>715

You're not supposed to run it through sh, that creates broken HTML. Manually go to the admin page and rebuild caches.

717 Name: Anonymous : 2007-03-29 13:45 ID:ck4bBkv7 [Del]

>>716
Already done that, several times. It rebuilds fine, but still can never enter new posts into the database.

718 Name: !WAHa.06x36 : 2007-03-29 15:07 ID:Heaven [Del]

>>717

Are you entirely sure you're doing that the right way? Because it's showing every sign of not being done.

Note that on the front page, the "Manage" link goes to "http://www.reknet.ca/img/?task=admin", but if you go to the right location by hand, it is "http://www.reknet.ca/img/wakaba.cgi?task=admin" as it should be. This means that the script couldn't find its SCRIPT_NAME variable when it built the pages, but that it can find it when you access it through the web.

719 Name: Anonymous : 2007-03-29 22:13 ID:LyaBXHcA [Del]

Hi there, i tried to install Wakaba 3.0.7 on FreeBSD with Apache 1.3.x

I don't get an error 500, Perl execute and all but it seems unable to connect to mysql o_O (says fetch error)

If i go with SQLite, then i get a 500 error + this log from apache:

[Fri Mar 30 00:59:00 2007] config.pl: Constant subroutine main::CONVERT_COMMAND redefined at /usr/local/lib/perl5/5.8.8/constant.pm line 103.
/libexec/ld-elf.so.1: /usr/local/lib/libsqlite3.so.8: Undefined symbol "pthread_create"
[Fri Mar 30 00:59:00 2007] [error] [client 192.168.1.90] Premature end of script headers: /home/www/xchan/wakaba.pl

Any ideas?

720 Name: Anonymous : 2007-03-29 23:24 ID:Heaven [Del]

>>719
DO YOU HAVE MYSQL INSTALLED?

721 Name: Anonymous : 2007-03-29 23:37 ID:ck4bBkv7 [Del]

>>718
Thanks, I wiped the caches, tooled the .htaccess (used cgi-script instead of cgi-handler, now .pl works, this on apache 2.0.54) and re-ran through a browser. Works now, thanks.

722 Name: Anonymous : 2007-03-30 00:26 ID:LyaBXHcA [Del]

>>720

Yes. The server is on another (working) internal host.
The client is also installed.

723 Name: Anonymous : 2007-03-30 02:33 ID:ck4bBkv7 [Del]

>>721
me again. it is working, but the file size limit seems to be wrong. It won't allow any file, of any type, that is over 1 mb.

I've tried setting MAX_MEGABYTES as high as 100, but it didn't change anything

724 Name: !WAHa.06x36 : 2007-03-30 04:50 ID:Heaven [Del]

>>719

Your install of sqlite seems to be broken.

>>723

Probably a limitation imposed by the webserver.

725 Name: Anonymous : 2007-03-30 10:16 ID:ck4bBkv7 [Del]

>>724
I'll check, but I'm pretty certain it's not. Especially since the error returned is a wakaba page, not an apache error.

726 Post deleted by user.

727 Name: Anonymous : 2007-03-30 12:15 ID:Heaven [Del]

>>723
MAX_MEGABYTES sets the maximum space that the board will take up in TOTAL space. You want to edit MAX_KB to change the maximum allowed size for files.

728 Name: Anonymous : 2007-03-30 12:33 ID:9ozHT6B/ [Del]

>>724
You are right, dunno why just recompiled without thread support and now works like a charm o_O Still dunno why it won't work with mysql but whatever, as long as posts are working i don't mind.

Thanks!

729 Name: !WAHa.06x36 : 2007-03-30 12:54 ID:Heaven [Del]

>>727

Oh, yes, you are right. I was not paying attention.

730 Name: Anonymous : 2007-03-30 13:18 ID:9ozHT6B/ [Del]

Ok so, (im 728, 719)

SQLite work perfectly. I reinstalled the perl mysql module just to make sure but the same error still trigger:

[Fri Mar 30 16:15:46 2007] wakaba.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at wakaba.pl line 1835, <FILE> line 3.

Wakaba fails to make the tables in the database. The installed mysql client is version 5 connecting to a v4.1 server (and this is working with a php script).

Any idea?

731 Name: Anonymous : 2007-03-30 13:22 ID:9ozHT6B/ [Del]

>>730
Ah im a moron X_X didnt install the right perl module.

sorry to have taken your time.

732 Name: Anonymous : 2007-03-30 23:53 ID:ck4bBkv7 [Del]

>>727
ah, thanks

733 Name: Anonymous : 2007-03-31 12:43 ID:Heaven [Del]

>>732
no problem

734 Name: Anonymous : 2007-04-05 16:33 ID:RgmHQ8d/ [Del]

>>152
Was a solution for this ever found? Because not even deleting the cookie is working for me.

735 Name: !WAHa.06x36 : 2007-04-05 19:41 ID:VqDGzUzh [Del]

>>734

There's really no way to solve an unreproducible problem, so no. For you, though, it sounds like you might be stuck behind a buggy transparent proxy.

736 Name: fulano : 2007-04-06 16:22 ID:uDCueJE/ [Del]

hi, i'm trying install kareha, and i get this error:

[Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] wakautils.pl: Too many arguments for open at wakautils.pl line 500, near "$cachefile) # get modified date and cache contents [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] wakautils.pl: " [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: BEGIN failed--compilation aborted at templates.pl line 3. BEGIN failed--compilation aborted at kareha.cgi line 14.

any idea?

737 Name: nocturnal : 2007-04-07 11:27 ID:4EJSzGb9 [Del]

I'm trying to use FORCED_ANON => 0 on my wakaba but the changes don't seem to go through. Is this setting supposed to remove the name field and set all future posts to Anonymous or not show the name field at all? That is exactly what i want to do but so far it's not working well.

738 Name: nocturnal : 2007-04-07 12:08 ID:4EJSzGb9 [Del]

Nevermind, it works now, i had it on 0 for some reason.

739 Name: !WAHa.06x36 : 2007-04-07 14:22 ID:9eHf3znQ [Del]

>>736

That error seems messed up and unreadable. Also, it's very confusing. Are you using some ancient version of Perl or something? Or did the files get messed up?

740 Name: Anonymous : 2007-04-07 15:44 ID:7z4GmALb [Del]

There's a minor problem with Wakaba's strikeout code in do_spans(). Malicious poster can create constructs like <!--0-<del>->, which may block others from viewing the board.

Patch (probably kinda ugly, but...): http://www.pastebin.cz/show/668

741 Name: nocturnal : 2007-04-08 04:43 ID:4EJSzGb9 [Del]

I've always said there should be a function to rebuild all the html files wakaba has output, the threads. Is that what rebuild cache does? I'm afraid to try it on my live board.

742 Name: nocturnal : 2007-04-08 05:48 ID:4EJSzGb9 [Del]

I'm using kareha now which i find is really nice but i've made some modifications to make it fit into the design of my webpage and pretty much all of this fails because kareha calls kareha.pl directly when showing threads. If it were to just call res/thread-id.shtml as the file is called all would be well for me. How can i make it do this?

743 Name: !WAHa.06x36 : 2007-04-08 06:14 ID:ohLE6v34 [Del]

>>741

Yes.

>>742

Just edit the template to change the links. mode_image does this already, for instance.

744 Name: Anonymous : 2007-04-08 14:25 ID:uDCueJE/ [Del]

>>739

I'm running it on a university server that has silly restrictions that say that the the scripts have to be .cgi, they have to be not writable by anyone by the owner, and cannot set uid or gid.

I had to change kareha.pl to kareha.cgi, and I did change the name in the source files. I tried the same thing again with a fresh install, and I got the same error.
And it's running perl 5.8.7 on linux.

Thanks.

745 Name: Anonymous : 2007-04-09 07:02 ID:Heaven [Del]

I had to change kareha.pl to kareha.cgi, and I did change the name in the source files.
which files? the only one i see 'kareha.pl' in is admin.pl...
if you changed anything anywhere else, that's probably what caused the problem.

746 Name: Anonymous : 2007-04-09 23:45 ID:Tf3m0vtC [Del]

I'm sorry if I didn't lurked enough, though I tried. But I'm almost complete noob and I need some help installing Kareha.

  1. I must extract Kareha archive in every folder that will be on BBS, don't I? (i.e. each folder (/music/, /text/, etc) must have its own set of files including config.pl and others)
  2. What configuration changes I should make to Apache in order to run scripts from those folders not from /cgi/ or /cgi-bin/ folders? Where those changes should be implemented? How do I make Apache to run those scripts? (Perl is installed and working)
  3. How do I disable HTML formatting? Or even set "WakabaMark" only?

747 Name: !WAHa.06x36 : 2007-04-10 04:57 ID:Heaven [Del]

>>746

  1. That is the simplest setup. If you have lots of boards, you can do tricks with softlinks to make it easier to maintain, but that's not necessary. Also, you're probably better off not making a lot of boards anyway. (This is something most people miss.)
  2. http://wakaba.c3.cx/docs/docs.html
  3. There's a list of formatting modes somewhere in the config, I forget where exactly.

748 Name: nocturnal : 2007-04-10 05:05 ID:4EJSzGb9 [Del]

I gave up on trying to make kareha ssi and just run it as is. I've translated the template file to swedish though if anyone cares i have a link to it here.

http://swehack.se/pub/code/template_se.pls

Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.

http://swehack.se/forum/kareha.pl/1176204606/l50

749 Name: Anonymous : 2007-04-10 05:41 ID:Heaven [Del]

> Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.

your kareha.pl is sending utf-8 pages as iso-8859-1 instead of utf-8. setting the encoding to utf-8 causes the page you linked to to display correctly. i'm guessing you changed CHARSET in config.pl to iso-8859-1 instead of utf-8. if you did, all you need to do to fix the problem is just change it back (or just comment out that line, as utf-8 is the default).

750 Name: nocturnal : 2007-04-10 06:10 ID:4EJSzGb9 [Del]

Thank you! That sure helped, i changed the charset because i was afraid swedish characters would not be displayed properly if i had utf-8 but i guess i was wrong.

751 Name: Anonymous : 2007-04-10 19:52 ID:Heaven [Del]

A spam bot was able to create anchor tags linking to the usual random pill sites in a post on one of our boards. How is this possible? It only scares me because if spammers can do it then what's stopping malicious people from.. being malicious?

752 Name: Anonymous : 2007-04-11 02:29 ID:Tf3m0vtC [Del]

>>747
Thank you!

753 Name: Anonymous : 2007-04-11 02:43 ID:Heaven [Del]

>>751
if you select html formatting it only allows certain tags.

754 Name: Anonymous : 2007-04-11 13:03 ID:Heaven [Del]

>>753
for wakaba?

755 Name: Anonymous : 2007-04-11 13:15 ID:Heaven [Del]

also, how do i ban an IP range in wakaba?

756 Name: Anonymous : 2007-04-11 18:38 ID:Heaven [Del]

>>754
i'm pretty sure you can't do html formatting on wakaba boards.

>>755
.htaccess

757 Name: Anonymous : 2007-04-11 22:14 ID:Heaven [Del]

>>756
i said in >>751 that a spam bot was able to create an <a href=""><a> link on the board.

758 Name: !WAHa.06x36 : 2007-04-12 05:01 ID:l2svyCMe [Del]

>>755,756

Or use the mask field when banning on the management panel. You need to understand how netmasks work, though.

>>757

But was it Wakaba or Kareha?

759 Name: Anonymous : 2007-04-12 07:09 ID:Heaven [Del]

>>758 Wakakakakakakaba~

I deleted the post before realizing that perhaps I should check the mysql and see what was in the comment section. I'm at a loss for how they did it.

760 Name: mad93 : 2007-04-13 12:12 ID:qnQU6FgR [Del]

I have installed the new version of wakaba and almost everything is running well, except the wakaba board that uses oekaki, that gives me plenty of errors.

First one is that seems not to recive the comment field, if i only writte the comment field it says that i must writte something...

Another error i get is that if i reply one image inserted with oekaki, of course, as it doesn-t takes the comments i must insert a image, when i use a nickname i get the spam error, if i post it without nickname i post correctly the image.

>>547

I have done this to try to prevent the spam filter, i have also tried to leave spam.txt empty, but without success in any case.

Can you give-me some tips to solve this?

Thanks

761 Name: !WAHa.06x36 : 2007-04-13 13:51 ID:Heaven [Del]

>>760

Maybe oekaki_style.pl is not updated for the spam trap? You could try copying the right names over from futaba_style.pl... It's been a long time since I did anything with oekaki.

762 Post deleted by user.

763 Name: Satan Jr : 2007-04-14 01:47 ID:UutW/2b2 [Del]

Well guys, I'm here to ask a question that quite a few of my friends aretoo timid to ask:

I need a clear rundown with installation. A REAL clear walkthrough. Existing instructions are made by coders for coders, I feel like an Italian kid trying to read Portugeese.

I am not a coder by any stretch of the imagination. I can screw around in HTLM in the most basic fashion. That's about it.
I download the files and I have no idea where to place them. I have this folder full of... stuff. Do I simply upload the folder via FTP and viola, instant wakaba page?

I have a Mac running OSX 10.8 and the '.pl' files do not open in browsers like the instructions say. I can open them in a txt reader and dick with it there.. but then what?.

Oh, I've already been to the Wakaba 'quick start' page.
I get instructions like "Start a database", "install thumbnailer" and "config Wakaba". I click to get details only to be told that 'text does not exist yet'. Not much help at all.

The server side of things is all clear, I know this because a friend of mine is letting me bum space from his domain and he already has a wakaba page... (which he forgot how to install also.)

There are a multitude of others that share my frustration.
This is my plea for getting the secret to getting this thing to work! Help me and I will erect a statue bearing your likeness.

Many Thanks!!!!!!

764 Name: Anonymous : 2007-04-14 02:47 ID:Heaven [Del]

>>763
create a mysql database

upload the files and required directories (/src, /res, /thumb, /css, and /include)

CHMOD 755 wakaba.pl and captcha.pl

edit config.pl to reflect your mysql information and preferred board settings.

goto yoursite.com/wakaba/wakaba.pl and hope you didn't mess anything up

and that's about it.

765 Name: mad93 : 2007-04-14 06:30 ID:qnQU6FgR [Del]

>>761

Thanks for the info ;)

I'm afraid that i don't have the enought time to do this, so i'll disable it, thanks again.

766 Name: Anonymous : 2007-04-18 10:22 ID:zTb+kJw+ [Del]

I'm absolutely confused. I cannot install kareha.

Exactly what do I have to do? It'd be really, really nice if someone were to write a simple, step-by-step guide to installing it for those of us who are terribly confused by all of this.

For one, do you have to download MySQL, because I have MySQL databases provided by my webhost?

I don't understand any of what you all are saying, and I guess I should look into it more, but man...

And this is for kareha, not wakaba.

768 Name: Anonymous : 2007-04-24 07:11 ID:v2etozWu [Del]

I'm having a weird problem with oekaki.. it seem that it save all drawing using the user ip.. so when the user want to draw another pic, it say can't save file because the filename already exist..

Maybe I misconfigured something?

769 Name: Anonymous : 2007-04-24 07:46 ID:v2etozWu [Del]

>>768

nevermind, i found the solution.. let wakaba rename the png file..

770 Name: Mike (moved from other thread) : 2007-05-01 18:47 ID:VqDGzUzh [Del]

How can I add an area in Wakaba which lists thread subjects, like Fchan has? Something similar to what's happening in div id="threadbox" on this board? Thanks in advance

771 Name: !WAHa.06x36 : 2007-05-01 18:47 ID:VqDGzUzh [Del]

You implement it yourself, I guess. There is no such feature in the base version.

772 Name: Mike : 2007-05-02 11:58 ID:u2yUXh0a [Del]

...Yeah, I realize that, but could you give me any guidelines like what files, functions, whatever would I be working with within this script? I don't expect anyone to write out a bunch of code for me, I'm just not familiar with the inner-workings of this script, so I would like to know what I would be focusing on. Thanks.

773 Name: Anonymous : 2007-05-02 13:37 ID:Heaven [Del]

>>772
Don't alter things if you're not able to read the "code." If you do, remember to keep backups of your original file.

I'm not trying to be mean or anything, but maybe you should learn up on some perl and then start tinkering with the imageboard.

If you wanted to add something like you're asking for you would only need to add a section to futaba_style.pl. Basically the thread list on fchan is a stripped down clone of the threads themselves. All you need to do is copy the thread list code and strip out everything except the thread subjects then add it below the post form.

774 Post deleted by moderator.

775 Post deleted by moderator.

776 Post deleted by moderator.

777 Post deleted by moderator.

778 Name: Anonymous : 2007-05-07 01:01 ID:And//cGu [Del]

I have a problem with wakaba and I hope you can help me.

When I make a post I get this:

Method Not Allowed

The requested method POST is not allowed for the URL /wakaba/wakaba.html.

Ok, so I read somewhere that if a web host does not support POST then it is pretty stupid. I looked it up and my web host does support POST. The support forum also told me that you can't send POST-data to an HTML-file.

I really don't get it. Isn't the wakaba.html supposed to redirect me to some data-processing perl-file and then send me back to the html-file?

Anyway, thanks for your help!

779 Name: !WAHa.06x36 : 2007-05-07 04:05 ID:Heaven [Del]

Is the POST content somehow getting redirected to the html file when the script forwards? That's kind of strange.

Does anything get posted? Does setting ALTERNATIVE_REDIRECT to 1 in the config help?

780 Name: noc : 2007-05-07 12:06 ID:4EJSzGb9 [Del]

How can i make wakaba show the original filename in the thread layout?

781 Name: !WAHa.06x36 : 2007-05-07 12:41 ID:Heaven [Del]

You can't, unless you implement that feature yourself.

782 Post deleted by user.

783 Name: noc : 2007-05-09 05:48 ID:4EJSzGb9 [Del]

I see, thanks.

So how can i allow people to upload duplicates of pictures in different threads? I couldn't find it in the config file so maybe that has to be implemented to.

I just mean that when you don't have a fast moving board sometimes someone wants to post the same pic that has already been posted in another thread, he can't. I would like to have that protection for threads only, not whole boards.

784 Name: !WAHa.06x36 : 2007-05-09 08:08 ID:Heaven [Del]

Same deal.

785 Name: Tiran : 2007-05-10 09:31 ID:u0hzNghc [Del]

Whenever I try to post anything from the manager post section, I get this error:

"Anti-spam filters triggered.

If you are not a spammer, you are probably accidentially trying to use an URL that is listed in the spam file. Try editing your post to remove it. Sorry for any inconvenience."

It doesn't happen when posting normaly.

786 Name: Anonymous : 2007-05-10 14:10 ID:znyViU5r [Del]

>>785
search the threads here more, i believe that particular problem relates to the names of the fields for the moderator post panel being out dated.

787 Post deleted by user.

788 Name: Tiran : 2007-05-10 14:33 ID:u0hzNghc [Del]

Perhaps it's just me being clueless, but I can't find any mention of this problem.

789 Name: Anonymous : 2007-05-10 15:06 ID:znyViU5r [Del]

>>788
http://wakaba.c3.cx/sup/kareha.pl/1141929669/634,635

It doesn't explain how to fix the problem in detail but if you know your way around futaba_style.pl it shouldn't be too hard to fix.

790 Name: Tiran : 2007-05-10 18:44 ID:u0hzNghc [Del]

Typical, I spent ages checking every other thread on the board and diddnt look through this one well enough.
I have no idea of my way around there, but I can hack at it for a while and find my way around, at least I know what file now. Thank you. =-)

791 Name: MrAnnonymous!1YteVPLIbo : 2007-05-15 13:23 ID:Be0vbBQt [Del]

Waha, I know you're not so keen on stickies, but over at 420chan our users keep demanding it, I'm not asking you to implement it into wakaba but if you could point me in the right direction of how to implement it myself that would be great. Link is where I can be reached if you have any time you could spare.

Awesome software man, we've been running it for years with no real problems.

792 Name: Anonymous : 2007-05-16 13:20 ID:2ZU2F983 [Del]

>>791
How about he justs posts the info here? All of us keep demanding it on this board, too :D

793 Name: Anonymous : 2007-05-16 14:04 ID:Heaven [Del]

>>791
It's not that hard. Perhaps it's time to get moderators/admin that aren't 15/16 years old.

794 Name: Anonymous : 2007-05-16 21:09 ID:Heaven [Del]

>>791-792
if you want that type of board, why not just use phpbb?

795 Name: Nestor : 2007-05-24 17:26 ID:JaZlvV5R [Del]

I added an oekaki to my board, and it seems to work well, except that the captchas you get after you draw are outdated, you either have to remember the captcha in the post before you enter the applet or open another window with the thread so you get a fresh captcha.

I've removed captchas from the board altogether for the time being but I'd rather keep them if I can fix this glitch. Anyone have similar problems?

796 Name: Nakamura (moved from other thread) : 2007-05-27 15:40 ID:VqDGzUzh [Del]

I'm an administrator of a fairly large new *chan (http://11chan.net/b/) and our /b/ and /i/ boards use Wakaba 3.0.7. We have a lot of bugs regarding admin features, mainly due to the fact that the owner (f0rt) isn't fixing it.

The manager post form is the most important feature for me, yet the most broken. First, the manager post form always triggered the anti-spam filters. I found a thread on here that fixed that and f0rt fixed it for me. I'm able to post with it now. However, there remain two major problems:

  1. The board is forced anonymous, and although there is a Name and Subject field in the Manager Post form, my name/tripcode is displayed as "Anonymous" when I type in Nakamura#[my tripcode]. Am I typing in the name wrong?
  2. Whenever I try to add HTML to the post, it fucks up the board completely, and whoever tries to access /b/ gets a message saying PARSING ERROR and points to a tag saying </blockquote>, which I never even added. Then I have to delete the post for /b/ to work again.

Another major problem is the banning system. Whenever I ban someone, I have no control over how long I want the ban to be, and so whenever I ban someone, their IP is unbanned automatically in three hours because that is, apparently, the default ban length.

How do I fix these three problems? They're very important.

797 Name: Anonymous (moved from other thread) : 2007-05-27 15:42 ID:VqDGzUzh [Del]

>>796
Forced anonymous can be turned on/off via editing the config.pl. If you do not have ftp access to the imageboard directory then you will need to get f0rt to do it.

With regards to the html... I don't really know. What you can do is set:

use constant USE_XHTML => 0;

and to uncomment the following lines in the .htaccess file like so:

#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>

That should get rid of the parsing error because it forces the board to display its contents whether or not it is 100% compliant XML.

By the way, there's no such thing as a fairly large and new *chan. You've got to survive longer than a couple years, fight off constant child pornography floods, deal with endless /b/ trolls, and the occasional legal dispute before you can sit down and tell yourself anyone cares about your dime a dozen imageboard. No offense.. that's just the reality of it. There's new (unneeded) public futaba style imageboards opening every other day.

Sometimes I think our communities would fair better if we worked together.

798 Name: !WAHa.06x36 : 2007-05-27 15:47 ID:VqDGzUzh [Del]

First, please read the big bold text at the top of the board and don't start new threads that I have to clean up. There is a point why there are single threads for these things, which is to make it easier for people to find information, like you already did.

Second, HTML input in the manager for is dumped straight into the page, and by default it is sent as xhtml, meaning it has to be well-formed XML. >>797 tells you how to turn of the usage of XHTML, though, after which you can use good old tag soup.

Also, forced anonymous applies to everyone, even admins.

Finally, there is no automatic timeout for bans. They stay until you remove them. They most definitely do not disappear after three hours, I have no idea why you think they would.

799 Name: Anonymous : 2007-05-27 19:01 ID:Heaven [Del]

why does http://wakaba.c3.cx/antispam/spam.txt have &gt;&gt; in it?

800 Name: Anonymous : 2007-05-27 19:02 ID:Heaven [Del]

>>799
also, i had to use OMG HAX to put &gt;&gt in that post.
also, 800GET~

801 Name: Anonymous : 2007-05-27 19:36 ID:Heaven [Del]

>>800
it's two greater than signs.... zomg hax. perhaps it's used so people can't insert URLs into >> reply links.

802 Name: Anonymous : 2007-05-27 19:47 ID:Heaven [Del]

>>801
how can people insert urls into >> links if that's not in spam.txt?

803 Name: !WAHa.06x36 : 2007-05-28 14:53 ID:Heaven [Del]

It's because there was a horribly, horribly broken spam bot at one point that would post lots of posts with nothing but >> links except it was so broken it posted them as &gt;&gt.

804 Name: Anonymous : 2007-05-29 14:10 ID:+ZkxL/Dw [Del]

I'm getting "Premature end of script headers: wakaba.pl" errors in my error_log and wakaba.pl just displays a blank page. I'm trying to run the latest Wakaba version through CGI, on Apache 2.2. What might be causing this?

806 Name: croc : 2007-06-01 06:53 ID:r0u0KvvW [Del]

I had to put kareha in my /usr/lib/cgi-bin/ directory, and then edited the config file to put the imageboard in /var/www/imgboard which is the webserver root.

the path to the imageboard from the web would be "mydomain.com/imgboard"
but kareha is trying to do "mydomain.com/var/www/imgboard"

any ideas how to fix this?

807 Name: !WAHa.06x36 : 2007-06-01 07:08 ID:Heaven [Del]

There is no real support for having the script and data files in different directories. You'd have to hack the source to make it figure these things out more intellgently, or else get a real host.

808 Name: Anonymous : 2007-06-02 12:52 ID:736HPmAV (Image: 634x351 png, 13 kb) [Del]

src/1180813943864.png: 634x351, 13 kb
Can anyone please tell me the reason IPs are stored in integer form but in db filed with TEXT type?

pic unrelated, but...
P.S. I guess "Formatting" select wasn't set to anything by default

809 Name: !WAHa.06x36 : 2007-06-02 17:18 ID:Heaven [Del]

>>808

Because signed arithmetic is bounded in MySQL, I think it was. There might be some better workaround than that, but it was a quick fix.

Also, if Formatting is not set to anything, I'm just going to blame browser bugs, unless someone can prove me wrong on that.

810 Name: croc : 2007-06-03 21:41 ID:r0u0KvvW [Del]

hello, me again. I figured out my fail apache configuration.

I am having trouble with post numbering though. It starts over with each thread. Is this a configuration issue? I can't find an opiton for it.

811 Name: Anonymous : 2007-06-04 01:58 ID:l+fHCAW9 [Del]

>I am having trouble with post numbering though. It starts over with each thread.

lol
never seen this

812 Name: croc : 2007-06-04 12:53 ID:r0u0KvvW [Del]

>>811

:/

should I have murked loar

813 Name: Anonymous : 2007-06-04 23:02 ID:Heaven [Del]

>>812
i think he meant it's something he's never seen before. not being sarcastic. (i haven't seen/heard of this either) are you running stock wakaba or what?

814 Name: Anonymous : 2007-06-05 13:36 ID:2APSAA2g [Del]

>>810 if you're running kareha, that's how it works. Even in mode_image. You have to use wakaba if you want the numbering style you're thinking of.

815 Name: Aranjedeath!q/CeKgd1Xs : 2007-06-09 00:38 ID:g2k0H6jI [Del]

Does anyone know how to edit the perl script or w/e to add modify the generated code for the board? I was wanting to add in some Javascript shiny-ness for when you click to view the photos on my image board, but am at a loss as I dont know perl. Though I can follow instructions if someone might provide them. all i need is the <script> to go in the header and a rel="" to go into <img> tag things.

816 Name: Anonymous : 2007-06-09 02:55 ID:Heaven [Del]

>>815
just edit the html in templates.pl (for kareha) or futaba_style.pl (for wakaba).

817 Name: Anonymous : 2007-06-11 15:07 ID:o2YHkwsU [Del]

spam trap

818 Name: Anonymous : 2007-06-13 09:29 ID:UuWcUaKw [Del]

I've got Kareha up and running, everything seems fine except I'm getting the 0-byte thumbnail problem as per >>301

I can't do any logchecking or anything like that, as I don't control the server it's on. Any suggestions? Is wakautils supposed to be set executable or something?

819 Name: lama : 2007-06-13 15:15 ID:Mrgz46NH [Del]

hi,
does anyone know how to do the multi file submission on wakaba?

like users can upload more then one file?? thanks!!

820 Name: !WAHa.06x36 : 2007-06-13 16:37 ID:Heaven [Del]

You can't.

821 Name: lama : 2007-06-14 08:20 ID:Mrgz46NH [Del]

ok well then is it a possible to make a post a sticky whenever you submit it?

822 Name: !WAHa.06x36 : 2007-06-14 12:17 ID:Heaven [Del]

No.

823 Name: Anonymous : 2007-06-15 23:28 ID:x2EaEgX1 [Del]

Posting non-image files (in my case .rar files; didn't test other filetypes) in Wakaba with Japanese filenames results in a 404 error when attempting to download the file. The file is still in the /src folder, but for some reason, it's impossible to download it through Wakaba. Is there any way to get around this?

824 Name: !WAHa.06x36 : 2007-06-16 05:28 ID:Heaven [Del]

Hmm, most likely some kind of character set mismatch between server and client. I don't think I try to normalize the character sets of filenames, and I'm not sure if browsers send the filename in native charset or in the charset specified for the page.

What browser, OS version, and locale setting are you using to upload?

825 Name: Anonymous : 2007-06-16 10:01 ID:x2EaEgX1 [Del]

>>824
Firefox, Windows XP SP2. My locale setting is set to Japanese.

826 Name: !WAHa.06x36 : 2007-06-16 17:33 ID:Heaven [Del]

Sounds like it's being sent in Shift_JIS or something and things break down... Unfortunately, I don't have a good idea for fix right now.

827 Name: Anonymous : 2007-06-22 10:28 ID:Heaven [Del]

Getting Kareha (latest version, whatever it is right now, too lazy to look) to run under apache2 and mod_perl2 was quite a pain, so to speak... in the end, beyond what is extensively described on the internet, I had to do the following:

  • set all use lib paths to the absolute path of the scripts manually
  • remove all use strict instructions, as they were causing complaints on constant definitions
  • set $self to the relative to the webroot path of kareha.pl in wakautils.pl as it otherwise wouldn't set the target of the forms correctly

Any possibility to get cleaner, "official" workarounds to the problem that made these necessary in the first place?

Regards,
Anonymous.

828 Name: Anonymous : 2007-06-22 10:30 ID:Heaven [Del]

>>827
I meant setting $self in templates.pl, not wakautils.pl. Sorry.

829 Name: Anonymous : 2007-06-22 16:01 ID:yJvw1t2U [Del]

For Kareha's auto-generated password, how often would the same password show up for 2 unique people or 5+ unique people. Also, why would it not be unique (other than sharing the same computer)?

Is there some sort of default password that is used when JS/Cookies are off?

830 Name: Anonymous : 2007-06-22 16:14 ID:yJvw1t2U [Del]

And by default I mean no password.

831 Name: !WAHa.06x36 : 2007-06-23 10:30 ID:Heaven [Del]

>>829

The default password is empty, but the "password" shown in the admin panel is hashed, meaning that an empty password shows up as some random string, which is probably what is confusing you.

832 Name: !WAHa.06x36 : 2007-06-23 10:32 ID:Heaven [Del]

>>827

Considering the problems, I am not sure if it is even possible to make a version that will work cleanly on both CGI and mod_perl. For now, mod_perl is unsupported.

833 Name: Anonymous : 2007-06-23 11:32 ID:Heaven [Del]

I'm having trouble with making manager posts. First of all I get "Error: No comment entered." when I just enter a commment, and the spam filter is triggered when I try to include a file.

I have read all relevant posts in detail, and tried commenting out code as in >>545, to no avail and taken a look at >>634 and >>635, which is where I think the problem lies.

Can someone please expand on >>634 and >>635 as at present there is no way of making a manager post at all.

834 Name: Anonymous : 2007-06-23 18:23 ID:I/ehrZx2 [Del]

>>831 Yeah, it seems that's the case. I know the string well.

835 Name: Jesus.com : 2007-06-23 18:35 ID:hGOsQzsw [Del]

I am having an issue with Wakaba.
It configures fine, but when an image is posted, it shows up and when the pages reloads, the post disappears.

The tables were created,
captcha.pl and wakaba.pl are set to 755

I did change the wakaba.html file to index.html if it matters

836 Name: !WAHa.06x36 : 2007-06-23 19:04 ID:Heaven [Del]

>>835

What do you mean by "it shows up"?

837 Name: Jesus.com : 2007-06-23 19:20 ID:hGOsQzsw [Del]

Ok, I figure out the problem, it had to do with renaming wakaba.html

838 Name: Anonymous : 2007-06-24 19:10 ID:I/ehrZx2 [Del]

I think he meant the thread exists but the main page doesn't update due to him renaming the index page.

839 Name: Anonymous : 2007-06-24 19:40 ID:I/ehrZx2 [Del]

I've been wondering, has the issue with the spamtrap been fixed in the current Kareha 3.1.3 download?

Will there be a 3.1.4 with the fixes from the unicode issue in the other thread and anything else that's come up soon?

840 Name: Jesus.com : 2007-06-24 23:32 ID:0OTLSkJm [Del]

What is a Manager Post in Wakaba?

841 Name: noc : 2007-06-25 05:59 ID:4EJSzGb9 [Del]

I have a thread on my board that is not bumping anymore but it has only like 11 image posts and maybe 33 posts. Which setting controls this sage thing?

842 Name: Aranje : 2007-06-25 10:18 ID:2lfJi1uP [Del]

I have a bug to report in Kareha, Where should i send it, or just post it here?

843 Name: Aranje : 2007-06-25 10:30 ID:2lfJi1uP [Del]

line 253 (kareha.js) if(match=/#i(.+)/.exec(document.location.toString()))
error: Test for equality (==) mistyped as assignment(=)

as well as the function get_active_stylesheet may not always return a value also Kareha.js

Firebug pulled this up, I dunno if its right or not, but i thought id let ya know anyway.

844 Name: !WAHa.06x36 : 2007-06-25 10:59 ID:Z0T+84ak [Del]

>>839

Hopefully there will be, as soon as I can find some spare time and energy to put it together. I haven't committed to a fix for that issue though because nobody who complained ever reported back if the fix worked.

>>843

That's not a test for equality, it's an assigment and a test for non-null. It's correct as written.

845 Name: Anonymous : 2007-06-25 13:54 ID:hiL/ZOgj [Del]

>>844
We've reported here that our spam stuff is all fixed up. I'm not 100% sure if it was fixed using code provided here or by our coding team. I will ask them and if I can put together the code I will post it here for you.

846 Name: Ranting Kitsune : 2007-06-26 08:55 ID:0M8/h1Dc [Del]

I'm totally lost when it come to cgi scripts. All my expertise lies in PHP and Html. Can you please tell me how to install Kareha? It would be greatly, greatly appreciated.

847 Name: Jesus.com : 2007-06-26 14:32 ID:A+oU0kvY [Del]

In Wakaba, is it possible to turn off the verify code when posting.

848 Name: Anonymous : 2007-06-26 18:02 ID:Heaven [Del]

>>847 in the config file...

enable_captcha needs to be set to 0.

849 Name: Anonymous : 2007-06-29 07:49 ID:Heaven [Del]

>>846

  1. extract the archive.
  2. edit the config.pl in either mode_message or mode image.
  3. upload kareha.pl, admin.pl, wakautils.pl, captcha.pl, kareha.js, kareha.ico, spam.txt, and all the files and directories from either mode_message or mode_image to your web server.
  4. create the res, thumb, and image directories.
  5. make sure the directory the script is in and the res/, thumb, and image directories are writable by the web server process and kareha.pl, admin.pl, and captcha.pl are executable.
  6. go to kareha.pl in your web browser.

850 Name: adsl-75-36-111-33.dsl.bcvloh.sbcglobal.net : 2007-06-30 13:53 ID:JaXNh8gm [Del]

How come if I put my name as fusianasan my name turns into my hostmask?

851 Name: Anonymous : 2007-06-30 14:58 ID:Heaven [Del]

because that's what fusianasan does?

852 Name: 206-248-135-137.dsl.teksavvy.com : 2007-06-30 20:08 ID:umEh4iy/ [Del]

internets?

853 Name: adsl-75-36-111-33.dsl.bcvloh.sbcglobal.net : 2007-06-30 23:39 ID:JaXNh8gm [Del]

>>851
Yeah I didn't know it was a feature

854 Name: Anonymous : 2007-07-01 12:15 ID:hRem/LZz [Del]

How do I stop Wakaba from detecting duplicate pictures?

855 Name: Anonymous : 2007-07-01 13:38 ID:wUybICkp [Del]

>>853
funny feature. and who is fusianasan?

856 Name: Anonymous : 2007-07-06 16:03 ID:Heaven [Del]

I know it is not explicitly or implicitly stated anywhere as being compatible, but has anyone ever tried running Shii painter with kareha? If so, did it work? If so, how?

857 Name: gw.kyla.ee : 2007-07-09 09:38 ID:Heaven [Del]

Oh wow.

858 Name: Anonymous : 2007-07-10 14:53 ID:KBczb+Hk [Del]

>>856
bump because I am curious

859 Name: P.K. (moved from other thread) : 2007-07-13 06:07 ID:l2svyCMe [Del]

An Oekaki Problem...

I've done everything according to instructions, and am getting a 500 and a 404 whenever I click the link to start painting. I've read the other topic, and got the palette_selfy.js file and installed it, and it still isn't working.

It's the correct applet and all as well.

The only thing I've noticed that could be wrong is that the oekaki_config.pl file I have doesn't seem to have a place for the URL that the wiki says needs to be set in this file. I've followed everything according to instructions, save for specifying the URL, because I don't know where or how to do this in the oekaki_config.pl file.

If it's in an earlier release, could someone please tell me which one?

Help would be greatly appreciated, I know when I posted my last problem 2 years ago it was fixed within a day, and that's simply outstanding support compared to everyone else out there.

Thanks much in advance, I'm really stumped on this one.

860 Name: P.K. (moved from other thread) : 2007-07-13 06:08 ID:l2svyCMe [Del]

Some clarification, I found the properly set up oekaki_config.pl file in an earlier release, well, minus the hashbang, but I went ahead and added one and set the URL.

My error log says this, though:

Premature end of script headers: paint.pl,

and: File does not exist: /home/(edited by me)/(edited by me)/internal_error.html.

I have no idea why it's doing this... <_<;

861 Name: !WAHa.06x36 : 2007-07-13 06:09 ID:l2svyCMe [Del]

Did you read the first posts in http://wakaba.c3.cx/sup/kareha.pl/1109033191/? Internal Server Errors are usually not caused by the Perl scripts themselves but incorrect setup on the server.

862 Name: P.K. : 2007-07-13 11:32 ID:ENm0apUH [Del]

Yes, and terribly sorry about improperly posting. It's been a while since I was here, I know it's no excuse, but it's the closest thing I have to one... <_<;

I've tried a few things to get it to work, even setting permissions differently, and have been able to get regular Wakaba boards to work just fine, the only hassle is the "premature end of script headers" thing, and I saw in an older thread that someone was having the same problem, and fixed it, but unfortunately he never said how he fixed it...

I'm not just asking for help, I'm looking for a way to fix it myself as well, by the way. I hate having to ask for help if I can do it myself, but this has me stumped. I'm a real duffer at Perl.

If I can get it to work, I'll at least post the fix for others who might be having the same problem, and if anyone has had this problem and fixed it, please share the info on what you did.

I see lots of nicely working oekaki boards out there, so I know somebody has to know how to fix this, and I'd feel better knowing I hadn't bothered the creator of the code with something petty like this for nothing.

863 Name: P.K. : 2007-07-13 12:06 ID:ENm0apUH [Del]

Update, no more server errors, now it all works save for the applet not loading.

You were right about the server errors, I had to set permissions on paint.pl in such a way that it seems it shouldn't even work...

Anyway, I have the palette_selfy file installed, even downloaded a fresh copy. I know it's not my JRE, I can use other boards just fine.

If anyone has had this problem and fixed it, please let me know how you did it.

864 Post deleted by user.

865 Name: P.K. : 2007-07-13 14:44 ID:ENm0apUH [Del]

I found out what was wrong, and I hope this helps others who wind up with the same problem. It was partly the permissions issue, and partly an FTP issue. It seems FTP clients sometimes have problems with the automatic selection of how to upload an applet, which is a binary file, especially if you've been uploading lots of ASCII files.

The fix was to manually set it to binary, then fiddle with the permissions. At first it failed to work, then after a few reloads it worked fine. Problem solved, sorry for the hassle, and I hope this helps others in some way.

Ciao~

866 Name: Anonymous : 2007-07-23 17:54 ID:BvZcwPV+ [Del]

I uploaded wakaba to my server, but i didnt see any instructions.
I am not a web guru, but do i need to set up some sort of slq database or something ?
Or should i just stick with the stupid vbulletin and phpbb that come pre installed ?
Should I read the entire thread ? because its 867 long as of this post.
If someone could point me in the right direction i will supply you with at least 1000 internets.
thanks

867 Name: Anonymous : 2007-07-24 10:56 ID:Heaven [Del]

868 Name: Anonymous : 2007-07-24 17:29 ID:BvZcwPV+ [Del]

thank you anon

869 Name: hina : 2007-07-28 10:06 ID:hIYt5dmp [Del]

how does the ban system on Kareha work, please?

I've banned an IP in the admin page that I want to now un-ban again, is this do-able?

870 Name: Anonymous : 2007-07-28 14:32 ID:Heaven [Del]

>>869
well you could just look at config.pl and see this:

#use constant ADMIN_BAN_FILE => '.htaccess';            # Name of the file to write bans to
#use constant ADMIN_BAN_TEMPLATE => "\n# Banned at <var scalar localtime> (<var \$reason>)\nDeny from <var \$ip>\n";

and then you'd know that to unban someone you just edit .htaccess...

871 Name: Anonymous : 2007-07-31 21:16 ID:oEg7yl1W [Del]

I'm having trouble making manager posts in wakaba. Whenever I make one, the post is made, but with only the picture, not the message. Any idea what the problem is?

872 Name: Anonymous : 2007-07-31 21:49 ID:Heaven [Del]

>>871 spamtrap, most likely.

873 Name: Anonymous : 2007-08-01 10:00 ID:QOlh2OP6 [Del]

Howdy Folks,

I'm wondering how to go about removing evidence of moderation (Post deleted by X) in Kareha. Taking a look at kareha.pl, the corresponding lines seem to be lines 693-698, particularly line 696 which reads:

set_post_text($thread,$postnum,DELETED_TEMPLATE->(num=>$postnum,reason=>$reason));

As I would like to eliminate deleted posts entirely, it seems editing or outright removing this line would do the trick. Is this the correct course of action, or is there something more which needs to be done?

Thanks for the help~

874 Name: !WAHa.06x36 : 2007-08-01 14:10 ID:Z0T+84ak [Del]

>>873

You can set the DELETED_TEMPLATE to an empty string. However, that invisible post will still count as one post, and the numbering will skip steps, and the number of posts displayed on the front page will be smaller than usual if there is a deleted post. There is no easy way to change that.

875 Name: Anonymous : 2007-08-01 16:38 ID:f21aLKEJ [Del]

Hi, I´m actually quite new in setting these boards up, so I was wondering if someone could please answer these questions for me:

1 - How do I get several boards like 4chan or 7chan? Do I have to copy wakabi into several folders on the server, run the setup on each and then manually add the links to the different wakabi.html files in the wakabi.html files themselves?

2 - Do the files have to be named wakabi? I want the html files to have the same name as the board it represents, but does this require major editing in several files?

Thanks in advance

876 Name: Anonymous : 2007-08-01 18:26 ID:2APSAA2g [Del]

>>875 assuming you're using the wakaba script:

    • Yes, that's the best way to do it. For example, on iiichan, all the boards are in their own folders within the /boards/ subdirectory (/boards/city/, /boards/cats/, etc)
    • change the #use constant HTML_SELF => 'wakaba.html'; setting. You can't change the other pages (1.html, 2.html, etc)

877 Name: Anonymous : 2007-08-02 08:08 ID:f21aLKEJ [Del]

>>876
But if I put the board into different subfolders, will I have to set up several databases? I mean, the table names will be the same, so if they are all using the same database, the names will be overwritten, right?

Thanks

878 Name: !WAHa.06x36 : 2007-08-02 08:12 ID:Heaven [Del]

>>877

You can change the table names. Go read through config.pl.

879 Name: Nestor : 2007-08-02 08:14 ID:L8RSQp8c [Del]

My board is not archiving posts, I have

use constant TRIM_METHOD => 1;
use constant ARCHIVE_MODE => 1;
use constant ARCHIVE_DIR => 'arch/';

in the config, the arch directory and subdirectories exist and are chmod 755 (Also tried with 775) but no archiving is taking place.

I initially set it up with archive mode 0 then changed my mind later, but it looks like the change didn't take, is there some database editing needed to change this configuration maybe?

880 Name: Anonymous : 2007-08-02 15:16 ID:f21aLKEJ [Del]

>>878
Thank you

One last question please:
What files should I delete after running wakabi.pl?
The config file, since the passwords are in there,
but what other ones?

881 Name: !WAHa.06x36 : 2007-08-02 16:20 ID:Heaven [Del]

You should not delete anything.

882 Name: !WAHa.06x36 : 2007-08-02 16:21 ID:Heaven [Del]

And to add to that, you should not run wakaba.pl. You should point your browser to it, or else it will create a broken board.

883 Name: Anonymous : 2007-08-03 02:38 ID:f21aLKEJ [Del]

>>882
Well I thought pointing my browser to wakaba.pl was running it. But couldn't anyone just open config.pl and then see the passwords?
And should i revert the execution permissions for wakaba.pl after execution or doesn't it do anything after it executes for the first time?

Thank you

884 Name: !WAHa.06x36 : 2007-08-03 11:27 ID:Z0T+84ak [Del]

>>883

Right, it does mean that, but you could also mean running it from the command line, which is what you should not do. And on most setups, you can't access .pl files which do not output the proper data when run, so it's impossible to access config.pl. If it is possible on your server for some strange reason, use .htaccess to block access to it.

Also, wakaba.pl is executed each time somebody posts, so it needs to stay as is.

885 Name: Anonymous : 2007-08-03 17:50 ID:Heaven [Del]

It's set-and-forget, buddy.

886 Name: Nestor : 2007-08-04 04:47 ID:4WXm4wp2 [Del]

No one has any ideas regarding my archiving problem? C'mon folks, I have Ghastly himself posting in my board, it deserves archiving!

FOR POSTERITY

887 Name: !WAHa.06x36 : 2007-08-04 07:04 ID:Heaven [Del]

I didn't write the archiving code, so I am not too familiar with its inner workings, sadly. If I see dmpk2k I'll point him at it.

888 Name: Diablo-D3 : 2007-08-05 23:25 ID:u1xShyHp [Del]

I'm trying to figure out why javascript added to footer.html or header.html no longer works. It is being output fine as far as I can tell, but like the rest of the html, \n are stripped.

However, I cannot figure out where Wakaba strips \n before output.

Can anyone help?

889 Name: !WAHa.06x36 : 2007-08-06 12:33 ID:Heaven [Del]

>>888

If it's Google ads, their code is incredibly paranoid. There's a config.pl option to turn off the stripping.

890 Name: Anonymous (moved from other thread) : 2007-08-06 12:34 ID:Z0T+84ak [Del]

I'm having problems with getting apache to start the kareha script configuring it the same as in the quickstart and http://www.thesitewizard.com/archive/addcgitoapache.shtml either renders just the source code or a 403 error, apache manuals have been of little help.
Running winxp

891 Name: !WAHa.06x36 : 2007-08-06 12:36 ID:Z0T+84ak [Del]

Without any further information than that, you're not likely to get much useful help. Apache is a tricky bit of software.

892 Name: Diablo-D3 : 2007-08-06 12:55 ID:u1xShyHp [Del]

Its similar to Google Ads. Apparently, this only effects Javascripts that use document.write to write a script tag to load the real script, afact.

893 Name: Diablo-D3 : 2007-08-06 13:31 ID:u1xShyHp [Del]

Doh, the \n stripping isn't breaking it. Also, there is no config.pl option for it; simply edit include() in wakautils.pl.

894 Name: Diablo-D3 : 2007-08-06 14:13 ID:u1xShyHp [Del]

Oh boy, it seems the script actually does work when called from Waka... just not in Firefox.

895 Name: Anonymous : 2007-08-06 14:24 ID:fIYxu1R6 [Del]

I mean, how do I set apache to have the script run once it's loaded in the browser

896 Name: !WAHa.06x36 : 2007-08-06 17:48 ID:Z0T+84ak [Del]

>>895

This isn't really an Apache support board. The info is out there on the net, go look for it. If you have a specific question, maybe somebody here can answer it, but that one is just too much work to answer.

897 Name: Anonymous : 2007-08-06 20:34 ID:+tG0shGP [Del]

Does someone know how to implement embeded music into the baoard? I tried adding an <embed> html string to the index.html file which sortof worked, except that I don't want it to crash the browser to show a player window

898 Name: Anonymous : 2007-08-06 22:19 ID:Heaven [Del]

>>897 Why in God's name would you want to embed music?

899 Name: Sako : 2007-08-07 05:37 ID:VTHhnkHQ [Del]

Sorry for the noob question. About admin tripcodes in Kareha: let's say I changed the line in config.pl like this

use constant CAPPED_TRIPS => ('!foo'=>' ADMIN','!bar'=>' <em>ADMIN</em>');

is it correct? Now what do I have to use as my name to have them displayed? Neither "Sako#foo" or "Sako#bar" etc seem to be working.

900 Name: Anonymous : 2007-08-07 07:42 ID:hpIoeRwp [Del]

>>898
To annoy the heck outta people! What other reason is there ;)
sry this is a littl off topic

901 Name: Nestor : 2007-08-07 08:26 ID:4WXm4wp2 [Del]

>>887
Ok I fixed it, by editing config defaults archive mode to 1. Looks like it was overriding the one set on config

902 Name: anon!21anon4H3U : 2007-08-07 09:27 ID:Heaven [Del]

>>899 it's 'result'=>'ADMIN'

for me, I'd use '21anon4H3U'=>'awesome admin'

903 Name: Jeremy : 2007-08-07 22:45 ID:K7xLRFD2 [Del]

Hi, just a question about kareha, my board refused to let me post, reply, rebuild caches, everything went to a blank page. A fresh install works fine, and the last thing I did before it went weird was try to upload an image, from the error log:

[Tue Aug 7 22:17:05 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.

[Tue Aug 7 22:04:40 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!

[Tue Aug 7 22:04:21 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.

[Tue Aug 7 21:48:48 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!

[Tue Aug 7 21:44:46 2007] [error] [client 72.8.94.119] Premature end of script headers: /home/jerblcom/public_html/b/admin.pl

[Tue Aug 7 21:35:17 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. convert: missing an image filename thumb/1186477676547s.jpg'. convert: no decode delegate for this image format src/1186477676547.png'.

The first entry seems to be the most telling, because the rest are just me trying to do things, i uploaded an image and then it crashed, everything I tried after that would just go to a blank screen. I am thinking that perhaps the image was corrupted, but I can't figure out why it wouldn't let me do anything after that. What should I do to avoid this in the future and is there a way to recover the posts from the old install and put them in the new one?

904 Name: Anonymous : 2007-08-08 16:38 ID:BsWgLWyE [Del]

How can I set kareha so that post number are contigous, not starting at 1 for each new thread? I'm under the impression to image names need a script to do this, naming them up but not orig name, are posts the same way?

905 Name: Anonymous : 2007-08-09 11:03 ID:Heaven [Del]

I fully accept that I've probably missed this somewhere, but I'm trying to modify things so that when URLs in the 'comment' field are parsed they add ' target="_top" ' into them.

I figure I need to be modifying the 'HTML Utilities' section of 'wakautils.pl', however that code looks too complex for my limited perl knowledge.

Any pointers? (or solutions even!)

906 Name: Anonymous : 2007-08-09 15:33 ID:aMlPVw0T [Del]

>>903
The same thing happened to me this May, but that was with wakaba. I didn't save the error log, but it came after tons of trials for stuff like /admin, /cgi-bin, and /phpBB from Russian IPs. My host was Dreamhost. I think they managed to delete the database of wakaba, but sadly I wasn't logging database access, so I couldn't compare and do an error report.

So WaHa, any way to avoid this happening in the future?

907 Name: !WAHa.06x36 : 2007-08-09 18:18 ID:Heaven [Del]

No idea what's going on there. I need a way to reproduce the problem if I am to debug it.

908 Name: Anonymous : 2007-08-09 21:57 ID:Heaven [Del]

>>904 Kareha does not have this feature. It required a database, like Wakaba uses.

909 Name: amaya : 2007-08-10 01:05 ID:Xl7WLnSv [Del]

i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode

what is it that i must do to force the capcode to work? what is the procedure for cap codes and such

910 Name: amaya : 2007-08-10 01:05 ID:Xl7WLnSv [Del]

i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode

what is it that i must do to force the capcode to work? what is the procedure for cap codes and such

911 Name: amaya : 2007-08-10 01:06 ID:Xl7WLnSv [Del]

sorry for the double post i dont know how i pulled that one off lol XD

912 Name: !WAHa.06x36 : 2007-08-10 04:08 ID:Heaven [Del]

The reason this thread exists is so that you can find answers to questions by searching in it. Please do so, the last few questions here have been answered multiple times now.

913 Name: Anonymous : 2007-08-10 05:08 ID:Heaven [Del]

>>912
Does that include my post? >>905
If so, I really can't find a previous reference.
I guess I'll just go ahead and try to bodge it and hope I don't break something.

BTW, great software WAHa, especially the 'desktop', I'd be lost without that.

914 Name: !WAHa.06x36 : 2007-08-10 15:47 ID:Heaven [Del]

>>913

Ah, no, I don't think so. That'd probably just be a case of editing the templates in futaba_style.pl, though.

915 Name: Rembrant!lMHB2AKbq6 : 2007-08-10 17:17 ID:bPb9te1Y [Del]

How can I install capcodes in Wakaba?

916 Name: amaya : 2007-08-10 21:11 ID:Xl7WLnSv [Del]

>>912
wow, if that where the real reason that this thread where here then there would be nothing in it

it would be much easier to just answer the question if you know the answer, and if you dont, you could always just be quiet and keep to yourself, then we would not be having this talk, and i would have my answer and i could fix my problem

917 Name: Anonymous : 2007-08-11 01:06 ID:Heaven [Del]

>>916 You realize that WAHa wrote the script you're using, yes?

Show some Goddamn manners. Your question's been answered a few times in the last 900+ posts.

918 Name: Anonymous : 2007-08-12 07:33 ID:f21aLKEJ [Del]

Hi, I just have one question, which I didn't see in this thread:
When I reply to a thread in my wakabi board, I can't see all the posts. Is it supposed to be like this? If not, what could be possibly wrong and how do I fix it?

919 Name: Anonymous : 2007-08-12 14:21 ID:2ybucTdq [Del]

>>918
Do you mean it shows it as:

x posts and x images omitted. Click Reply to view.

and all the posts after x are shown, or are posts just disappearing from the thread list?

920 Name: Anonymous : 2007-08-13 05:03 ID:GrA8y0AK [Del]

How exactly do I turn off the CAPTCHA for Wakaba?

921 Name: Anonymous : 2007-08-13 05:17 ID:Heaven [Del]

Entire thread -> ctrl-F -> "CAPTCHA"

922 Name: Anonymous : 2007-08-13 11:27 ID:2ybucTdq [Del]

>>920
in config.pl

# Captcha
use constant ENABLE_CAPTCHA => 0;

923 Name: Anonymous : 2007-08-15 01:01 ID:f21aLKEJ [Del]

>>919
There were too few posts for any to be omittet (3 I think).
When I see the thread in the main window, I can see all the posts,
but when I press reply, only the first post shows.
If I wait a couple of minutes and then press reply, everything is fine.
Any ideas?

Thanks in advance

924 Name: !WAHa.06x36 : 2007-08-15 03:33 ID:Heaven [Del]

>>923

You don't have example.htaccess in place, or mod_headers isn't enabled, so your browser is caching old pages.

925 Name: Anonymous : 2007-08-15 06:10 ID:f21aLKEJ [Del]

>>924
example.htaccess is in the same folder as wakaba.pl (that is, the same folder in which they came).
Is it supposed to be in another folder or am I supposed to do anything with it?
How do I enable mod_headers?
Should there be any specific access to example.htaccess, as in write access?

926 Name: Anonymous : 2007-08-15 17:51 ID:3nyc1DvD [Del]

>>925
rename example.htaccess to .htaccess

927 Name: servnotif (moved from other thread) : 2007-08-19 17:01 ID:Z0T+84ak [Del]

Hi!

I just installed kareha and it's running fine except for one thing

im watching it from the server itself so i use the loopback address 127.0.0.1

so, the board is at http://127.0.0.1/kareha and it loads fine

and i go to http://127.0.0.1/kareha/admin.pl to login as an admin, but there is a problem... no matter what password i enter, even the right one, it redirects me to another page and gives me a 404 error

for example, it goes to http://127.0.0.1/kareha/admin.pl/kareha/admin.pl and it won't find it of course

and if i move it to the server root, then from http://127.0.0.1/admin.pl it tries to go to http://127.0.0.1/admin.pl/admin.pl

what is going on?

thanks in advance!

928 Name: !WAHa.06x36 : 2007-08-19 17:03 ID:Z0T+84ak [Del]

>>927

What web server software are you using?

929 Name: Anonymous : 2007-08-21 04:20 ID:J09um6dQ [Del]

>>926
I tried renaming example.htaccess to just .htaccess,
but now I get this error:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory."

Any idea what that means?

930 Name: !WAHa.06x36 : 2007-08-21 05:03 ID:Heaven [Del]

Read error_log.

931 Name: Jeremy : 2007-08-23 07:30 ID:Nnf8bFsj [Del]

Since I really don't know what happened with kareha and my previous error, I do need to know how to compile posts from multiple install attempts, is there a tutorial on how to throw a whole bunch of boards together into the same place? The basic idea is to be able to restore old posts, combine boards, backup stuff, whatever.

932 Name: !WAHa.06x36 : 2007-08-23 10:37 ID:Heaven [Del]

If you just combine the res/ (and src/ and thumb/ if you had images) directories, and rebuild caches, that should combine the posts. Old >> links may be broken if the boards lived at different URLs though.

933 Name: Anon : 2007-08-23 10:57 ID:kjem9FvR [Del]

i have this setup but it only seems to run in my CGI folder... why is this?

934 Name: !WAHa.06x36 : 2007-08-23 12:48 ID:Heaven [Del]

>>933

Because that is how your web server is set up.

935 Name: Anonymous : 2007-08-23 20:26 ID:uvcoAaKW [Del]

>>933 because welcome to 1996. maybe you should get out of the time warp and find a better host/web server.

936 Name: Anonymous : 2007-08-25 23:21 ID:Xl7WLnSv [Del]

i recently changed from the kareha script to the wakaba script and was wondering if capcodes are possible or if i have to edit some code or if i am just missing something, i cant find anything in the config.pl file or in the management tab that would

also, i couldent find any posts that explain capcodes in wakaba so, if this has been answered before, i would love to be pointed in the right direction

937 Name: !WAHa.06x36 : 2007-08-26 00:14 ID:Heaven [Del]

>>936

Sorry, no capcodes. I think some people have mentioned hacking them in, which is probably not that hard, and is anybody wants to post a patch for it, go ahead.

938 Name: Anonymous : 2007-08-26 02:32 ID:Heaven [Del]

this board needs a "wakaba hack" thread imo.

939 Name: Anonymous : 2007-08-26 07:04 ID:Xl7WLnSv [Del]

>>937
yeah, if someone has hacked them in and would care to share? all i managed to do was trash the code when i tryed.. lol

940 Name: Jeremy : 2007-08-26 21:30 ID:Nnf8bFsj [Del]

Looks like I can duplicate the real problem I've been having in both Wakaba and Kareha so it must have something to do with my host.

I install Wakaba (Kareha too)
Everything works fine
Suddenly only the previously generated html pages are accessible, can't upload, admin, rebuild caches nothing, everything goes to a blank page or generic 500 page

I am not sure, but my host might have a script that frequently changes script created files to a different owner than the one running apache.

I've changed all the permissions on the script created files that I can think of to world writeable, directories 777, files 666 but the error continues, but I might have missed a temp file, cache, something buried in the code I don't know about.

Wakaba causes this apache error when I try to upload an image or access admin.

[Sun Aug 26 20:54:45 2007] [error] [client 72.128.52.103] Premature end of script headers: /home/jerblcom/public_html/o/wakaba.pl

Most of the time it just returns a blank page, without causing any error in apache at all.

If my problem is permissions related, is there a line of code that I could insert to change the permissions of all script created files to world writeable from the start, apparently that is how wordpress does it but that is in php so...

Or is it something else that only the gods can figure out and I am just blowing air into the sky. Your scripts are totally awesome, I just wish I could get them to work on my server for longer than 2 days consecutively without a fresh install.

Any help totally appreciated.

941 Name: haiguise (moved from other thread) : 2007-08-27 04:33 ID:Heaven [Del]

I just installed wakaba but, after posting a thread, I get this error.

Software error:
Can't load '/usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib/perl5/5.8.8/x86_64-linux/XSLoader.pm line 70, <FILE> line 3.
at /usr/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 234

What is happening and how do I fix it?

942 Name: !WAHa.06x36 : 2007-08-27 04:37 ID:Z0T+84ak [Del]

>>940

You could try editing wakautils.pl and adding this line before the line return; in that:

chmod 0666,$file;

>>941

Your Perl installation is seriously broken. No idea how to fix it, try reinstalling Perl to start with.

943 Name: !WAHa.06x36 : 2007-08-27 04:38 ID:Z0T+84ak [Del]

>>940

That is, before the line return; in the function write_array.

944 Name: Jeremy : 2007-08-28 22:57 ID:Nnf8bFsj [Del]

I'm excited, because your advice sorta helped, so, for the rest:

Is there another function that handles certain files like log.txt (i manually set its permission to 666), the files in thumb, the files in src?

Will the script eventually try to delete or change any of these files and run into trouble?

I noticed that the script will try to edit .htaccess (also manually to 666 even though kinda dangerous) when it bans people, are there other files that the script expects to be writeable?

Where does the script put uploaded files before it puts them in src? Could that temporary location be interfering with the script?

The patch you recommended seems to work well, but I am still getting moments where the script dies and then hours later will resurrect itself somehow, whereas before it stayed dead, so this is definitely helping me. I apologize for not finding these things myself, thank you for your help!

945 Name: Jeremy : 2007-08-28 23:09 ID:Nnf8bFsj [Del]

>>944 refers specifically to kareha because wakaba seems to put most things in the dbase, but if wakaba has special files I need to know those too.

946 Name: !WAHa.06x36 : 2007-08-29 13:01 ID:Heaven [Del]

log.txt is written to by release_log() in kareha.pl, that should be easy enough to modify. process_file() writes the file in in src/ and thumb/. I'm not sure where the file is kept before being copied, that is outside the control of the script, and probably up to Apache or CGI.pm or something.

947 Name: Jeremy : 2007-08-29 22:52 ID:Nnf8bFsj [Del]

First, will the oekaki integration work with kareha? If its as easy as with wakaba, maybe I should just stick with what works.

I haven't tried >>946 yet because kareha is working fine with just >>942 and >>943 so I wanted to give it a while to see if it dies again.

Wakaba continues to die, seems to confuse itself a little as it changes wakaba.html in the main directory and 9.html in the res directory back to 644 and then when I manually set to 666, it still returns it back, so I am confused a little. Replies on existing posts work, but new threads give a blank page. Does >>946 apply to wakaba too? What function handles res? Is it still write_array?

948 Name: !WAHa.06x36 : 2007-08-30 06:02 ID:Heaven [Del]

Oekaki integration does not work with Kareha. You'll have to hack it up yourself if you want it.

I think wakaba writes to res through write_array(), and the stuff about process_file() should be the same.

949 Post deleted by moderator.

950 Name: Anonymous : 2007-09-02 02:43 ID:nBQUk1CV [Del]

I have an oekaki board and I got it to save the pictures finally but now they aren't being posten on the actual board, what do I need to do?

951 Name: Anonymous : 2007-09-05 07:55 ID:WKhwY+oT [Del]

Will we ever get new releases of Wakaba and Kareha, even if they're only maintenance/bugfixes?

952 Name: Anonymous : 2007-09-05 08:04 ID:WKhwY+oT [Del]

On a related note, what's the likelihood of that modularized Kareha re-write ever happening?

953 Name: Anonymous : 2007-09-05 20:33 ID:Heaven [Del]

>>952 "Modularized"?

954 Name: Anonymous : 2007-09-07 06:36 ID:WKhwY+oT [Del]

955 Name: Anonymous : 2007-09-14 12:44 ID:NRT7cgUY [Del]

Hi,

What am I doing wrong if the generated pages stick all the HTML on a line? It was mentioned earlier in the thread (search for "one line") but the reference is vague.

Thanks.

956 Name: Noya-kun : 2007-09-14 13:32 ID:OhcAZwyV [Del]

Forbidden
You don't have permission to access .../wakaba.pl on this server.

wth is goin' on?

957 Name: Anonymous : 2007-09-14 14:04 ID:Heaven [Del]

>>955 That's how the pages are generated. Nothing wrong with it.

958 Name: sheep : 2007-09-15 00:43 ID:SNPwdYf0 [Del]

Hi there
I downloaded kareha.
How can I set the permissions of the script (kareha.pl and captcha.pl) to 755?
Thank you for reply.

959 Name: Anonymous : 2007-09-15 09:14 ID:j4p7hIs0 [Del]

I'm using a Kareha text board and I can't seem to get the Shift_JIS to work. I've changed the setting in the conf and the .htaccess but after it loads the board it stops loading after the first post in the first thread.

Anything I'm missing?

961 Name: Anonymous : 2007-09-15 20:55 ID:Heaven [Del]

>>957

Is there a quick fix for this, or is it a feature?

962 Name: Anonymous : 2007-09-15 21:23 ID:Heaven [Del]

>>961 well, it depends on what you're doing. If you're trying to get some text that needs to be on separate lines to work (say, AdWords or somesuch), try saving your include files with windows line endings (open and save them in Notepad or something). If you're doing something more complicated, there's a few lines in waka_utils.pl that you can comment out, but I can't remember where exactly they are. Waha, you recall the exact lines?

963 Name: Anonymous : 2007-09-16 10:29 ID:whzebA5o [Del]

last time i checked the option to not collapse all the HTML it sends is in the config file..

964 Name: !WAHa.06x36 : 2007-09-16 13:20 ID:Heaven [Del]

Yeah, there's a STRIP_NEWLINES option (or something like that) these days.

965 Name: Anonymous : 2007-09-19 00:06 ID:RwQXjDU+ [Del]

I've tried Googling this, to no avail... I can't think of any more search terms to use, so I decided to ask here(I really hate bugging this board with my stupid questions if I can help it...).

I would like to allow people to create their own board(s) on my site, I'm not sure how feasible this is with Wakaba(the MySQL thing might be a hassle), but perhaps it is possible with Kareha?

If anyone can help me find information on automating script installation/remotely hosting user-created boards I would be most grateful, I am no expert with scripting but wish to offer this to users of my site.

966 Name: !WAHa.06x36 : 2007-09-19 13:37 ID:Heaven [Del]

If you are not entirely, 100% sure what you are doing, I would strongly recommend against this. There are many, many ways you could fuck up and make it possible for somebody to take over your entire server this way.

967 Name: host86-148-227-30.range86-148.btcentralplus.com : 2007-09-21 12:14 ID:Heaven [Del]

fusianasan

what

968 Name: Yamazaki : 2007-09-21 12:17 ID:Heaven [Del]

Yamazaki

969 Post deleted by user.

970 Name: mokorikomo : 2007-09-21 12:18 ID:Heaven [Del]

mokorikomo

971 Name: Anonymous : 2007-09-22 15:03 ID:Heaven [Del]

>>966

I'm going to trust you, I know you have more experience than just about anyone here, so thank you for the warning.

I've never heard of this security issue, it must be why it's so hard to find information on this subject.

Thanks for telling me.

972 Name: Anonymous : 2007-09-26 01:43 ID:9OMCreQq [Del]

Are there any really simple step by step guides for installing wakaba?

974 Name: !4X8vLLNDE2 : 2007-10-01 07:43 ID:xXN7wkpf [Del]

>>973
is not really good enough

975 Name: !WAHa.06x36 : 2007-10-01 08:42 ID:Heaven [Del]

That is too bad.

976 Name: Anonymous : 2007-10-03 00:07 ID:9OMCreQq [Del]

Noob's guide for setting a MysqlDatabase to work with Wakaba? I have made a database and linked the config.pl file to it but I still get a "SQL connection failure".

977 Name: !WAHa.06x36 : 2007-10-04 06:28 ID:Heaven [Del]

Then your config.pl settings are not correct.

978 Name: Anonymous : 2007-10-05 10:33 ID:Heaven [Del]

[Thu Oct 04 21:50:04 2007] [error] [client xx.xx.xx.xx] [Thu Oct 4 21:50:04 2007] wakaba.pl: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''0', '10'' at line 1 at wakaba.pl line 1599., referer: http://domain.net/board/wakaba.pl?task=admin

This is happening on a board that has been up and working properly for quite some time now.

Line 1599 of our wakaba.pl is this:

        $sth->execute($page * $threadsperpage, $threadsperpage) or make_error(S_SQLFAIL);

979 Name: Jesus : 2007-10-05 18:23 ID:r31Ibqtg [Del]

The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

Please try the following:

* Contact the Web site administrator if you believe that this request should be allowed.
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.

HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)

Technical Information (for support personnel)

* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.

get this whenever i try to post or use [manage] button.

I have no idea whats going wrong, help is appreciated.

980 Name: !WAHa.06x36 : 2007-10-06 09:05 ID:Heaven [Del]

>>978

Did you change to some strange incompatible mysql version?

>>979

You are trying to use IIS. You're on your own for that one, I have zero experience with it.

981 Name: Jesus : 2007-10-06 12:52 ID:r31Ibqtg [Del]

>>980
I think I can fix the problem, I just need to know what windows .dll processes html files. Anybody know off the top of your head, Google searches so far all want me to download shit I don't need.

982 Name: Jesus : 2007-10-06 14:25 ID:r31Ibqtg (Image: 600x720 jpg, 153 kb) [Del]

src/1191705911785.jpg: 600x720, 153 kb

>>981

Alright, i got it to process my html with a http.dll whatever, but now I get a

HTTP/1.1 501 Not Implemented

Whenever I try to post. When I executed wakaba.pl only 1 file came out of it, wakaba.html. Is there supposed to be more?

983 Name: Jesus : 2007-10-06 14:42 ID:r31Ibqtg [Del]

>>982

Finally got all the verbs to enable using URLscan, but now theres a

Bad request
The page that you are looking for might have been removed, had its name changed, had its content expired, or is temporarily unavailable.

Please try the following:

* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button or open the home page for this Web site and look for other links to the information that you want.

HTTP Error 400 - Request is badly formed.
Internet Information Services (IIS)

Technical Information (for support personnel)

* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 400.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Web Site Administration, and About Custom Error Messages.

error everytime

984 Name: Anonymous : 2007-10-06 15:01 ID:Heaven [Del]

>>981-983 the solution is to install apache. It's free. It's better than IIS.

985 Name: Anonymous : 2007-10-06 19:09 ID:Heaven [Del]

>>980
i'm
>>978

and no i have not changed to some strange version of mysql. i am on dreamhost.

986 Name: !WAHa.06x36 : 2007-10-07 09:44 ID:Z0T+84ak [Del]

>>985

Try asking the Dreamhost people about it, first.

987 Name: Anonymous : 2007-10-07 14:16 ID:Heaven [Del]

>>986
Well, I'll just not and tell you what their response would be. "We do not give support for any third party software."

988 Name: Anonymous : 2007-10-07 16:42 ID:2UlkxMuk [Del]

Is there a changelog for wakaba? I have an older version of wakaba, and I'm wondering if it's really worth my while upgrading.

989 Name: Anonymous : 2007-10-07 16:55 ID:Heaven [Del]

>>988
what's your URL so i can exploit your bugs.

990 Name: Anonymous : 2007-10-09 16:29 ID:6p2E1yun [Del]

I've been messing with Kareha for use as a blog, and well, I'd like to hide all replies to a thread.
Unfortunately setting REPLIES_PER_THREAD to 0, just gives no limit to the amount of replies shown.

Any suggestions?

991 Name: Anonymous : 2007-10-09 16:38 ID:Heaven [Del]

>>990
'hack' the replies out of the page template.

992 Name: Anonymous : 2007-10-09 17:00 ID:Heaven [Del]

>>991
I tried that. It seems that the first post is considered a reply as well. (unless I screwed something up...)

993 Name: Anonymous : 2007-10-09 19:18 ID:Heaven [Del]

>>992
crazy. i'm kinda busy atm and i haven't hacked up kareha as much as i have wakaba so i don't have an answer for ya off hand.

994 Name: !WAHa.06x36 : 2007-10-10 04:58 ID:Heaven [Del]

I had a setup like that once, but I've totally forgotten how I did it. You could just use a big <if> statement in the replies loop to only display reply 1, I guess.

995 Name: Kizu : 2007-10-10 11:25 ID:fx+LBL8r [Del]

Since there's almost one thousand posts in here, HOW do I configure the options in config.pl when there are NONE IN IT? \o.o/ All it contains is below:

print <<END
Content-Type: text/html

<html>
<head><title>Unconfigured board</title></head>
<body>

<h1>This board has not been configured yet.</h1>
<h3>Things you need to do to get the board running:</h3>

<ul>
<li>Choose what kind of board this should be, and copy the files out of the corresponding
<code>mode_*</code> directory into the board directory.</li>
<li>Edit <code>config.pl</code> to suit your needs - remember to uncomment the lines
you change.</li>
<li>Access <code>kareha.pl</code> again (or just reload this page).</li>
</ul>
</body>

</html>
END
;
exit 0;

1;

996 Name: Kizu : 2007-10-10 11:28 ID:fx+LBL8r [Del]

(P.S.: I have never used Perl before, and I have also never used this script before. <.<)

997 Name: !WAHa.06x36 : 2007-10-10 17:26 ID:Heaven [Del]

>>995

Perhaps you should read the instructions you just posted again.

998 Name: Kizu : 2007-10-10 19:35 ID:fx+LBL8r [Del]

>>997

OHHHHH. smacks head Okay, I get it now, thanks. :D I guess I just misunderstood it a bit. I get it now! :)

999 Post deleted by user.

1000 Name: Riffy : 2007-10-10 21:01 ID:YatYzwPz [Del]

Okay I am stuck at SQL connection failure, what do I do? It looks like its working but it just says SQL connection failure on the webpage?

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