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.

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]


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

Anyone have any idea why the posts keep dropping off the end of even though in 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]

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" i get a 500 internet server error btw.

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


500 Internal Server errors are never caused by scripts themselves (except for the hashbang on the first line), but by configuration errors. See

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 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/ line 314.
BEGIN failed--compilation aborted at line 120.
Compilation failed in require at line 17.
BEGIN failed--compilation aborted at line 17.

Any advice?

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

You need to edit 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 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]


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

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]


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 through Firefox, It pops up the download manager asking to save or open it.

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 that runs fine from a browser with proper headers and everything.


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]

My file is

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]


After I renamed 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]

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]


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 If it's the Wakaba Perl source, it's an Apache issue...


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]

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]

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 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]


Go to http://.../ 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://.../ page? I've tried the password that I wrote to the, 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]


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.


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

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

And then navigate to http://localhost/b/ 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

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]


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 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 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]

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.

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]


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]

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]


Use the files in include/, or edit

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. Post #2181

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

What is a capped_trip and how do i use it?

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


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]

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 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 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/ line 16.
BEGIN failed--compilation aborted at /home/www/ 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 and after i click the submit button, i want the picture posted (duh) but i want the site to go to

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

Also, please use

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

I don't know how, but it seems like 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 I get:

Software error:

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

what's the deal?

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


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


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]


>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]


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]


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

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


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]


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, 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]


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

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]


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

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]


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]


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

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