The Wakaba and Kareha support thread, part 2 (1000)

1 Name: !WAHa.06x36 : 2007-10-11 06:19 ID:K4vOYfq0 [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 new threads for issues like that, post them in here instead.

Before posting, check that the question has not already been answered in this thread, or in the previous thread: http://wakaba.c3.cx/sup/kareha.pl/1141929669/

Questions about "500 Internal Server Errors" go in this thread: http://wakaba.c3.cx/sup/kareha.pl/1109033191/

371 Name: Anonymous : 2008-08-27 18:42 ID:Heaven [Del]

>>370
If you have to ask you aren't trying hard enough.

372 Post deleted by moderator.

373 Post deleted by moderator.

374 Post deleted by moderator.

375 Name: Anonymous : 2008-08-31 04:02 ID:qWzUsAgJ [Del]

So, I got wakaba up and running, except for a couple of problems:

  1. Thumbnails are being created, but they aren't showing up on the site itself.
  2. Making an "Admin Post" form the admin section posts a thread as Anonymous with no subject, and no text.

Any ideas on why these two things are happening?

376 Name: Anonymous : 2008-08-31 07:19 ID:D2fesYWh [Del]

I receive "SQL connection failure" message when running wakaba.pl script. What I doing wrong?

wakaba.sql database is already created and config.pl is changed:
use constant SQL_DBI_SOURCE => 'DBI:mysql:database=wakaba.sql;host=localhost';

377 Name: !WAHa.06x36 : 2008-08-31 18:09 ID:lpemlo1D [Del]

>>375

Try reading the earlier posts on both topics.

>>376

I guess that is not the correct settings, then.

378 Name: Anonymous : 2008-09-03 11:23 ID:VCjtwQwI [Del]

I'm Running Kareha on my test server at home. Now that I've gotten over the quirks of Ubuntu (I hope...), it seems to work fine, except that bans don't have any effect. They show up in .htaccess, but the matching IPs can still read and post. Am I missing something painfully obvious?

379 Name: Anonymous : 2008-09-03 11:44 ID:VCjtwQwI [Del]

Aaaaand what the hey. Right after I posted that it started working properly. Color me confused.

380 Name: Anonymous : 2008-09-03 15:46 ID:PhR/X74l [Del]

I've installed Kareha but I can't see anywhere to log into with Manage as it says on the documentation.

Any help would be appreciated.
Thanks.

381 Name: Anonymous : 2008-09-03 17:42 ID:VCjtwQwI [Del]

The docs are a bit out of date; now admin.pl is where the management takes place. There's no link to it, so just type it in.

382 Name: Anonymous : 2008-09-03 19:11 ID:PhR/X74l [Del]

>>381

Thanks for the response.
I tried that but it says:

Can't locate strings_en.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 /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0) at captcha.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at captcha.pl line 13, <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.
Compilation failed in require at /home/www/admin.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at /home/www/admin.pl line 13, <FILE> line 4.

Everything else seems to work fine.

383 Name: Anonymous : 2008-09-03 19:23 ID:PhR/X74l [Del]

>>382

Oh, nevermind.
I've sorted it out now.

Thanks for the tip about the admin.pl :).

384 Name: Anonymous : 2008-09-08 13:51 ID:WVMw6Nqe [Del]

This has probably been answered already, but I'm not sure what to search for, and reading the whole ~1200 posts in the support threads is a bit daunting.

How do you add a board description? Either below the title (http://orochi.iiichan.net/senti/ is the first example I found) or in the rule list below the message box.

385 Name: Anonymous : 2008-09-08 16:39 ID:Heaven [Del]

>>384
Just edit the template file.

386 Name: Anonymous : 2008-09-12 02:40 ID:VCjtwQwI [Del]

I know Wakaba is designed to handle it, but is there a way to get Kareha to do flood detection and control?

387 Name: Anonymous : 2008-09-14 19:01 ID:CfC1Cvf6 [Del]

How do I use the german strings instead of the english ones? I want a German board.

388 Name: Anonymous : 2008-09-14 19:04 ID:Heaven [Del]

>>387 manually edit the strings file.

389 Name: Anonymous : 2008-09-15 05:29 ID:8lBkvpEB [Del]

where do i have to leave the spainter.jar file for oekaki support?

390 Name: !WAHa.06x36 : 2008-09-15 06:14 ID:Heaven [Del]

>>389

Just in the base directory along with the rest of the files.

391 Name: Anonymous : 2008-09-21 17:36 ID:WeitTQAr [Del]

I'm using Yahoo! Small Business webhosting and what I keep getting after hours of trial and error is:

>Software error:

syntax error at config.pl line 173, near "1"
Compilation failed in require at /ichi/kareha.pl line 12.
BEGIN failed--compilation aborted at /ichi/kareha.pl line 12.<

Here is the line of config.pl and surrounding lines,

> 170 #);

171
172
173 1; <
And here is the line of kareha.pl, and surrounding lines,

>11 use lib '.';

12 BEGIN { require 'config.pl'; }
13 BEGIN { require 'config_defaults.pl'; } <

Please help me out.

Thanks,
Mr. Anon

392 Name: !WAHa.06x36 : 2008-09-22 03:32 ID:K4vOYfq0 [Del]

>>391

You likely messed up some earlier line.

393 Name: BradenFase : 2008-09-26 17:38 ID:VVSacewV [Del]

I have been looking over questions and answers and I still have not found out how to make Threads. How might I accomplish this?

394 Name: !shoBoN83/k : 2008-09-28 06:23 ID:Heaven [Del]

>>393
You won't find it because it's a terrible question.

Click "New Thread" under the thread list at the top of the page, fill in a Subject and a Comment, and press the button.

395 Post deleted by moderator.

396 Post deleted by moderator.

397 Post deleted by moderator.

398 Name: BradenFase : 2008-09-30 10:19 ID:YfEG7xxZ [Del]

I'm sorry. I just realized that I'm confusing threads with Boards. How would I make a board that I can directly link from my main page that won't get overwritten when I post?

399 Name: Anonymous : 2008-10-01 20:45 ID:nEhHvJMO [Del]

>>398 what? Just copy the entire directly of one board to another and change the config.p information (MySQL most importantly; just change the table names).

400 Name: BradenFase : 2008-10-04 08:17 ID:oh1Forn3 [Del]

Hmm. Okay. I'll try that. Thank you.

401 Post deleted by user.

402 Name: Anonymous : 2008-10-19 15:52 ID:qf7Q1Jm6 [Del]

I'm trying to post using "Manager Mode" and keep getting this...

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.

403 Name: !WAHa.06x36 : 2008-10-19 16:11 ID:Heaven [Del]

>>402

Known bug, sorry. Check earlier in the thread for workarounds.

404 Name: 011011000110111101101111 : 2008-10-30 10:58 ID:oGlUZFiV [Del]

I've just setup my first Wakaba and Kareha boards. I was wondering if there was a better way of citing/quoting in Kareha (like in Wakaba, where the cited link highlights that post rather than taking you to a new page).

405 Name: Anonymous : 2008-10-31 07:13 ID:y31FuRGU [Del]

http://wakaba.c3.cx/soc/kareha.pl/1098886772/

XML Parsing Error: mismatched tag. Expected: </p>.
Location: http://wakaba.c3.cx/soc/kareha.pl/1098886772/
Line Number 76, Column 404:

im using firefox2

406 Name: !WAHa.06x36 : 2008-11-02 13:55 ID:Heaven [Del]

>>405

Yes, old bug I for some reason haven't fixed on this site. Fixed it, but the pages need some cleaning which I'll try to get around to later. Nag me if I forget.

407 Name: Anonymous : 2008-11-09 16:41 ID:tcAEneOb [Del]

Software Error
"use" not allowed in expression at config.pl line 4, at end of line
syntax error at config.pl line 4, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 5.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

Heres an example

System config
use constant ADMIN_PASS => 'XXXXXXXXXXXXXXX';
use constant SECRET => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
use constant CAPPED_TRIPS => 'XXXXXXXXXXXX =>' 'XXXXXX'=>' <em>cap</em>');

408 Name: Anonymous : 2008-11-09 16:43 ID:tcAEneOb [Del]

>>407

also are there any characters on the standard windows keyboard I should not be using in CAPPED_TRIPS?... because I think I used them all.

409 Name: !WAHa.06x36 : 2008-11-09 16:47 ID:Heaven [Del]

That CAPPED_TRIPS line is completely wrong. Look at the example again.

410 Name: Anonymous : 2008-11-09 18:59 ID:tcAEneOb [Del]

>>409
I changed it to the default setting, just to see if it worked. Now its giving me

"use" not allowed in expression at config.pl line 2, at end of line
syntax error at config.pl line 2, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 3.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

411 Name: Anonymous : 2008-11-09 19:14 ID:Heaven [Del]

>>410
it looks like you removed the # from the # System config comment line...

412 Name: Anonymous : 2008-11-10 13:50 ID:hoDurT8R [Del]

>>411

yeah thanks, I forgot that pseudo-code does need to be commented.

413 Name: Anonymous : 2008-11-10 15:44 ID:bbhCYyeT [Del]

Is there any way to add moderators without giving them the admin password? Talking about kareha here.

414 Name: !WAHa.06x36 : 2008-11-10 16:00 ID:Heaven [Del]

>>413

That's like asking if there's a way to add moderators without adding moderators.

415 Name: Anonymous : 2008-11-12 02:00 ID:NgJmlyYQ [Del]

Hi.

How can I modify wakaba to make it load index.html of the install's directory instead of reloading the page itself (wakaba.html)?

I need this because my server is slow and permissions are not set propely after a post before the page is requested (error, etc), so I made index.html which redirects to wakaba.html after a second in each wakaba directory.

416 Name: Anonymous : 2008-11-12 02:06 ID:NgJmlyYQ [Del]

>>415

After a post or reply is made.

OP

417 Name: Anonymous : 2008-11-12 03:25 ID:Heaven [Del]

>>415
In config.pl, change:

#use constant HTML_SELF => 'wakaba.html';

to:

use constant HTML_SELF => 'index.html';

418 Name: Anonymous : 2008-11-12 20:19 ID:NgJmlyYQ [Del]

>>415

Thanks

419 Name: Anonymous : 2008-11-14 06:50 ID:MD5FlPZO [Del]

>>418

That didn't work.

It overwrote my index.html :S

420 Name: Anonymous : 2008-11-17 14:08 ID:oA/ZIuqI [Del]

>>419
Put your board in a separate directory.

421 Name: Anonymous : 2008-11-21 01:22 ID:4QUviqul [Del]

Hi!

I got an attack, where the "hacker" posted "Obvius Troll is Obvius" serveral times on my boards.

What can I do?

How do I prevent same IP from posting several times in a short period of time?

422 Name: doomcup : 2008-11-25 20:21 ID:Ob/AZee8 [Del]

Every time I try to post a manager's post, I get hit with the anti-spam, even if I don't have a url in my comment. What's going on, and can I fix it?

Thanks.

423 Name: !WAHa.06x36 : 2008-11-26 11:43 ID:Heaven [Del]

>>422

Known bug, see earlier in this thread for workarounds.

424 Name: Tab : 2008-11-27 11:41 ID:OcqvDR/v [Del]

SQL connection failure
D:
Just set up my new chan. How to fix?

425 Name: Tab : 2008-11-27 11:43 ID:OcqvDR/v [Del]

426 Name: Tab : 2008-11-27 13:23 ID:OcqvDR/v [Del]

fixed it, now how do I add boards? :<

427 Name: shermanramni : 2008-11-27 19:50 ID:ybGpCwEW [Del]

I just installed Wakaba in my hosting, and it works OK. Question: When I reply to a thread, posts after the 1st do not have a Reply link; what should I do to enable it?

428 Name: John : 2008-11-27 23:17 ID:RgEWt5vv [Del]

429 Name: shermanramni : 2008-11-29 14:36 ID:ybGpCwEW [Del]

<<447
Never mind, that was a dumb question.
In case anyone asks the same thing, just click the post number ¬¬

430 Name: Anonymous : 2008-11-30 09:28 ID:KVfeDlPz [Del]

I'm using Kareha.

I want to reload captcha image on click. My idea is to delete the captchakey cookie and to rerequest captcha.pl. So, I can delete to cookie using javascript

var     cookie_date = new Date ( );  // current date & time
cookie_date.setTime ( cookie_date.getTime() - 1 );
document.cookie = "captchakey=; expires=" + cookie_date.toGMTString();

Now, given, that kareha captchakey generation mechanism is based on the REMOTE_ADDR and time() in minutes (string 61 in captcha.pl), if I rerequest the captcha within one minute, I'll get the same image.

However, when a user successfully post a message, the captcha is generated randomly (string 430 in kareha.pl).

So, I could follow this way, but before doing this I want to understand, what was your reasons for such design?

431 Name: !WAHa.06x36 : 2008-11-30 16:05 ID:lpemlo1D [Del]

>>429

Hilariously weird Apache setup?

>>430

It has to do with the bookkeeping for preventing replay attacks, if I remember correctly.

432 Name: Anonymous : 2008-12-05 15:45 ID:p67j1mHf [Del]

how does a script for rotating title images look like? just a short example please...

433 Name: Anonymous : 2008-12-06 12:14 ID:p67j1mHf [Del]

>>432 bump

434 Name: Anonymous : 2008-12-06 17:11 ID:Heaven [Del]

>>433

Don't post if you have nothing to say. Your question is not so important that it absolutely has to be at the top of the board at all times.

435 Name: Anonymous : 2008-12-08 16:17 ID:Heaven [Del]

>>432
Chrissake, this is something you could have answered yourself in 30 seconds if you did some google searching.

<?php
$a = glob("*.{gif,jpg,png}", GLOB_BRACE);
header("Location:".$a[array_rand($a)]);

436 Name: annonymous : 2008-12-19 19:20 ID:eCEMHiUk [Del]

I got my imageboard up, but it only allowed me to post the first post with picture only. Every time I try to attach a picture to another post or reply, I get that page that reads, "Duplicate file entry detected" even though it's a completely different picture.

Anybody know why this is; what causes this problem and/or how I can fix it?

Thanks

437 Name: Anonymous : 2008-12-22 09:29 ID:smf0110X [Del]

How the hell do I post with an admin tripcode? Can't seem to find this anywhere.

438 Name: Anonymous : 2008-12-22 10:20 ID:Heaven [Del]

>>436 problem with imagemagick, maybe?

439 Name: Anonymous : 2008-12-22 19:28 ID:Heaven [Del]

>>437
In Kareha, you can set up capcodes with specified tripcodes in the config. In Wakaba you can't.

440 Name: LiteralKa!!UIR4DE3n : 2008-12-24 10:41 ID:0t38w18I [Del]

After I went to a page (aaa.pl, I believe) I keep getting 403's just about everywhere... Could you... erm... fix this please? I can't access anything but /sup/ and /soc/.

441 Name: !WAHa.06x36 : 2008-12-24 12:56 ID:Heaven [Del]

>>440

Not unless I have your IP address.

442 Name: Anonymous : 2008-12-25 03:45 ID:ZIsawO5B (Image: 797x663 gif, 47 kb) [Del]

src/1230205507188.gif: 797x663, 47 kb

Hey there

I noticed the preview post function is working perfectly here, so I guess I'm doing something wrong. I've set up kareha message board and everything works perfect... except for the preview post button which gives me some error

I'm uploading an image to let you see.

443 Name: Anonymous : 2008-12-25 03:51 ID:ZIsawO5B [Del]

>>442
Alright, I just realized something, Kareha throws out an error for preview post when you are making a NEW thread, as opposed to previewing a reply post.

The same seems to be the case here. Some sort of bug?

444 Name: LiteralKa!!UIR4DE3n : 2008-12-25 10:24 ID:0t38w18I [Del]

>>441
Uhh, I'll give it to you on IRC.

445 Name: !WAHa.06x36 : 2008-12-25 11:00 ID:Heaven [Del]

>>443

It seems to work fine for me in Safari, even for new threads. What browser?

446 Name: Anonymous : 2008-12-25 21:38 ID:ZIsawO5B [Del]

>>445
Oh, I'm using Opera 9.63

447 Name: Dan : 2008-12-26 16:12 ID:2EZCDb4W [Del]

I am having trouble making wakaba go to a new page. No matter how many images and new threads I create, it will not create a page 2. I messed with the settings in config.pl but they don't seem to do anything:

use constant IMAGES_PER_PAGE => 5; # Images per page
use constant REPLIES_PER_THREAD => 5; # Replies shown

Also, would anyone know how to make a new board in wakaba?

Thanks

448 Name: Anonymous : 2008-12-26 17:09 ID:Heaven [Del]

>>447 Sounds, once again, like a folder permissions problem.

To make a new board, create a new subfolder and install another copy of wakaba.

449 Name: !WAHa.06x36 : 2008-12-27 04:54 ID:Heaven [Del]

>>447

Also remember that you have to rebuild caches after any change to the settings, if they "don't seem to do anything".

450 Name: Dan : 2008-12-27 14:39 ID:2EZCDb4W [Del]

>>449

Awesome. Thanks a bunch, that worked!

>>448

So where exactly would this folder be inserted? Alongside the current wakaba install or inside the current wakaba install? Also, how would I link to the new board once I create it?

Thanks.

451 Name: Quack : 2008-12-27 18:31 ID:mtxWGwUI [Del]

No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
BEGIN failed--compilation aborted at config_defaults.pl line 126.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.

I am getting that page when I attempt to install Wakaba. Can someone help me out?

452 Name: Quack : 2008-12-27 18:40 ID:mtxWGwUI [Del]

The config_defaults.pl file says when the message No ADMIN_PASS or NUKE_PASS defined in the configuration appears, it means the config.pl file is incomplete. I checked over the config.pl file and everything was completed.

454 Name: !WAHa.06x36 : 2008-12-27 19:41 ID:Heaven [Del]

>>450

Wakaba installs are completely independent, and handle one single board each. Anything beyond that is up to you to arrange however you want it.

455 Post deleted by user.

456 Name: Quack : 2008-12-28 11:45 ID:mtxWGwUI [Del]

>>453
Thanks a lot, it worked.

Does anyone know how to get rid of the captcha? I tried editing something and it gave me some error lol.

457 Name: Anonymous : 2008-12-28 14:40 ID:Heaven [Del]

>>456
Yes, you set ENABLE_CAPTCHA to 0. It really isn't that hard to figure out if you actually read the file and use your head. Seriously, are we supposed to handhold you through your entire installation and configuration?

458 Name: Quack : 2008-12-28 15:31 ID:mtxWGwUI [Del]

>>457
Yes.

459 Name: Anonymous : 2008-12-30 05:27 ID:ZIsawO5B (Image: 605x408 jpg, 40 kb) [Del]

src/1230643663316.jpg: 605x408, 40 kb

I've been trying to figure it out, but I do believe this is beyond my skills.

As you can see, the top is Firefox and below is Opera. The "choose" or "browse" button does not look the way it's supposed as per CSS. Is this a matter that can be remedied or is that just a browser issue that I cannot help?

460 Name: Anonymous : 2008-12-30 08:02 ID:Heaven [Del]

I've got a problem with Kareha. I cannot use the delete file function. It just does not work. I want to delete an image without deleting a person's post but nothing happens, the picture is still there. I've tried all the browsers, that doesn't seem to be the problem. It doesn't even give me any errors, I click on 'delete file' and it does something and then it reloads the admin page but the image I wanted to delete is still there...

461 Name: Anonymous : 2008-12-30 08:12 ID:Heaven [Del]

>>460
Oh, also I am using kareha MESSAGE board with image uploads enabled.

462 Name: Anonymous : 2008-12-30 10:15 ID:Heaven [Del]

>>459
For the most part, you cannot edit file input via css.

463 Name: Anonymous : 2008-12-30 16:16 ID:Heaven [Del]

Am I a dumbass or is there no way to sticky or lock threads under Wakaba? I don't see any such option in the management panel.

464 Name: Anonymous : 2008-12-30 16:19 ID:Heaven [Del]

>>459
that's a browser issue.

>>463
why would you want to do that?

465 Name: Anonymous : 2008-12-30 16:35 ID:Heaven [Del]

>>464
Was going to make a rules sticky, because most people are dumb and don't actually read the rules.

466 Name: Anonymous : 2008-12-31 01:42 ID:XVOhkKIx (Image: 700x500 jpg, 44 kb) [Del]

src/1230716520316.jpg: 700x500, 44 kb

I have a problem with encoding in Wakaba. My .htacess file is configured for using utf-8, the same about global encoding settings of Wakaba and DB encodings. I only use cp1251 in my strings file with "use encoding 'cp1251'" and "no encoding" uncommented.
That all works fine, but anything added into database turns into crappy junk. I'm lame so I have no clue of where the error could be.
P.S. sorry for my bad English.

467 Name: Anonymous : 2008-12-31 02:55 ID:Heaven [Del]

>>466
Well that's why. Stop using cp1251.

468 Name: 466 : 2008-12-31 06:27 ID:XVOhkKIx [Del]

>>467
Thanks, Anon. I've converted strings file into utf-8 and now it seems to work perfectly.
Also, happy New Year everyone!

469 Name: Anonymous : 2008-12-31 16:45 ID:Heaven [Del]

>>465
you really think people who don't read the rules are going to read them if you move the rules section down the page a little bit?

470 Name: LiteralKa!!UIR4DE3n : 2009-01-03 09:08 ID:Heaven [Del]

>>469
Good point.

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