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.

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.

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