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/

643 Name: netiaz : 2009-07-07 14:25 ID:RGQ3Zxzi [Del]

>>342
To fix the manager post problem, edit futaba_style.pl:

Search the file for ADMIN_POST_TEMPLATE. This should be found around line 590. There is some shit about form fields. Leave the "hidden" type alone. Starting on line 602 is the shit about postblocks for name, email, subject,(submit button) and comment. Leave the submit button alone. Change the name="whatever" to name="field1". Do this for name, email, subject, and comment; as in, change them to field1, field2, field3, and field4. In the order they are.

Also, change it so it looks like this:
use constant ADMIN_POST_TEMPLATE => compile_template(MANAGER_HEAD_INCLUDE.q{

<div align="center"><em><const S_NOTAGS></em></div>

<div class="postarea">
<form id="postform" action="<var $self>" method="post" enctype="multipart/form-data">
<input type="hidden" name="task" value="post" />
<input type="hidden" name="admin" value="<var $admin>" />
<input type="hidden" name="no_captcha" value="1" />
<input type="hidden" name="no_format" value="1" />

<table><tbody>
<tr><td class="postblock"><const S_NAME></td><td><input type="text" name="field1" size="28" /></td></tr>
<tr><td class="postblock"><const S_EMAIL></td><td><input type="text" name="field2" size="28" /></td></tr>
<tr><td class="postblock"><const S_SUBJECT></td><td><input type="text" name="field3" size="35" />
<input type="submit" value="<const S_SUBMIT>" /></td></tr>
<tr><td class="postblock"><const S_COMMENT></td><td><textarea name="field4" cols="48" rows="4"></textarea></td></tr>
<tr><td class="postblock"><const S_UPLOADFILE></td><td><input type="file" name="file" size="35" />
[<label><input type="checkbox" name="nofile" value="on" /><const S_NOFILE></label>
</td></tr>
<tr><td class="postblock"><const S_PARENT></td><td><input type="text" name="parent" size="8" /></td></tr>
<tr><td class="postblock"><const S_DELPASS></td><td><input type="password" name="password" size="8" /><const S_DELEXPL></td></tr>
</tbody></table></form></div><hr />
<script type="text/javascript">set_inputs("postform")</script>

644 Name: !WAHa.06x36 : 2009-07-07 14:37 ID:Heaven [Del]

>>643

That should be fixed in the latest version.

645 Name: Anonymous : 2009-07-10 11:00 ID:OS3R3ZIn [Del]

Problem with oekaki:

After painting my image, uploading it and writing RIGHT captcha, i see error about wrong captcha. What it can be?

646 Name: Anonymous : 2009-07-16 08:48 ID:z/lGGw5Z [Del]

I'm wondering if there's anyway to grab the subject from the first post in a thread, and to reflect it within "futaba_style.pl".

647 Name: Anonymous : 2009-07-16 19:07 ID:13Qmh7Xe [Del]

>>641-642
I've been running Wakaba and Kareha both on lighty for quite some time on a couple of different systems (I have tried it with OS X Tiger, FreeBSD, and Arch Linux, and had no problems)

The only snag is that lighty doesn't support htaccess files, so you'll have to translate the relevant stuff to its own config format. Not that hard to do, just tell it that .pl files should run with perl. You don't need to enable the fastcgi module (in fact, don't enable it) You might additioanlly want to fiddle with the expires headers if you find you're getting old copies of the pages served after posting.

As for permissions, if you set up execwrap or something similar you can get it running without the (highly insecure!) chmod 777. It's easier to configure than Apache's suexec, imo.

648 Name: Anonymous : 2009-07-18 20:36 ID:Aan35CdZ [Del]

I have a bit of a question about Wakaba: I want to create an upload board like 4chan's flash board. However, I just installed it and it functions like a regular imageboard (like you'd see on any other part of 4chan). Is there a way I can get Wakaba to mimic 4chan's flash board in terms of appearance and function, and if not what should I be using?

649 Name: Anonymous : 2009-07-19 09:57 ID:Heaven [Del]

> As for permissions, if you set up execwrap or something similar you can get it running without the (highly insecure!) chmod 777.

or you can just set the owner of the directories to the user that the scripts run as, and then set the permissions to 755.

650 Name: Anonymous : 2009-07-21 21:30 ID:Heaven [Del]

>>649
That's still not secure, and requires root on some systems in order to "give away" the permissions to the web server. In fact it's probably a worse choice because it could potentially lull you into a false sense of security where you're actually in the same circumstance as before.

The issue is that other processes on the server can open up config.pl and scrape (and perhaps change) your admin password, either because it's readable and writable to all, or because they're all running as the same user. If two people have access to the web server and the server is running all scripts under the same user id, all script files are accessible to all users regardless of what else you do to them.

It's a shame that the Apache developers reacted so irrationally and so strongly against suexec, because it solves many problems and creates very few.

651 Name: Anonymous : 2009-07-22 06:40 ID:Heaven [Del]

>>650
the point wasn't that it's secure to do it that way, just that there are other ways to do it without setting the permissions to 777.

652 Name: Anonymous : 2009-07-22 23:29 ID:Heaven [Del]

>>651
Sure there are. But the method you suggested is more effort than a plain chmod 777 without being beneficial in some way.

653 Name: Anonymous : 2009-08-03 22:56 ID:yvOHq4mC [Del]

>>644
>>647
I can also testify that Wakaba works flawlessly on Lighty.
However, I'm not using an FCGI solution.

654 Name: Anonymous : 2009-08-04 13:38 ID:dxXJD0xP [Del]

>>648
All it takes is writing an appropriate style.pl file. It is essentially find-and-replace stuff, I did it once, and I had no idea what I was doing,

655 Name: Anonymous : 2009-08-06 06:26 ID:1/SckJXV [Del]

I have a similar'ish problem as >>600, i looked over the thread and still cant find a answer to this, the board works fine, but when make a post (successfully) and go to hit reply to the thread, i instead get the thread minus all styles, yet, if i go to http://site.com/board/kareha.pl/threadnumber/index.html, everything looks as it should and behaves properly, can anyone point out what part of the code needs to be adjusted to append /index.html to the reply url's kareha generates please?

i suspect its the webserver thats ultimately responsible for this but it seems to be a good exercise for me to do anyway ^_^

656 Name: Anonymous : 2009-08-09 01:00 ID:xGjxdgj+ [Del]

Is there a way to merge the posts from two kareha boards together? Thanks.

657 Name: !WAHa.06x36 : 2009-08-09 11:48 ID:Qldo6KoJ [Del]

>>656

You can just copy all the files from res/ on one board to the other, and rebuild caches. However, this will break >> links and deletion of old posts for the ones that moved. You can fix the former by either running some search-and-replace on the res files, or by setting up an HTTP redirect.

658 Name: Anonymous : 2009-08-11 14:24 ID:bjKxXFwd [Del]

A while back the captcha on my Wakaba install stopped working - when I view captcha.pl directly, it spits out the error:

Undefined subroutine &utf8::is_utf8 called at /usr/lib/perl5/5.8.0/CGI/Util.pm line 251.

I notice the 5.8.0 part in there because by the look of things, my hosting is running Perl 5.8.8

Since this happened on its own I guess it's more likely my hosting service's Perl install is somehow screwed up, but is this a sign that I'm doing something wrong at my end?

659 Name: Anonymous : 2009-08-11 16:39 ID:bjKxXFwd [Del]

Correction: captcha.pl throws that error for everybody EXCEPT (a) one dude in Finland, and (b) the support guy I'm trying to get help from. He says that Perl is running fine.

660 Name: Anonymous : 2009-08-11 17:08 ID:bjKxXFwd [Del]

HAHA DISREGARD THAT I SUCK COCKS (and by "suck cocks" I mean "had the support dude reinstall Perl and it fixed everything")

661 Name: Anonymous : 2009-08-12 16:42 ID:HG7KEVc7 [Del]

Hey there. I have been trying to get kareha working now for a while (I am a complete idiot when it comes to programming) and I have stumbled upon a problem: everytime I try to acces localhost/kareha.pl it gives me a 403 error. Could anyone help me to fix this problem?

Regards,
Sebastian

662 Name: Anonymous : 2009-08-14 15:34 ID:HG7KEVc7 [Del]

Anyone here?

663 Name: Anonymous : 2009-08-16 10:09 ID:Q2cwWNsj [Del]

>>661
Make sure you set the correct permissions on the .pl files. You might want to read those: http://wakaba.c3.cx/docs/docs.html

664 Post deleted by moderator.

665 Post deleted by moderator.

666 Name: HR!h3LO0EXTAQ : 2009-08-29 22:00 ID:wRh7pu3j [Del]

I'm using Kareha in message board mode. When I try to rebuild caches from admin.pl I keep getting this error:
"Couldn't write to file "" at wakautils.pl line 1013."

The rules header gets updated, but other threads with parentheses for titles get created. I can't delete them, or post in them.

What can I do to fix this?

667 Name: !WAHa.06x36 : 2009-08-30 04:39 ID:Heaven [Del]

Sounds like a broken configuration of some kind. Hard to say how exactly.

668 Post deleted by user.

669 Name: wakabafan : 2009-09-03 00:29 ID:daXcrOR+ [Del]

I found a perl script to generate random images on a wakaba board which works brilliantly, but I have been getting requests for the image to link to the thread the image comes from. I'm guessing I need to query the mysql database to find the thread but my coding skills are very weak so if someone could get me started I would really appreciate it. Perl or PHP is fine and here is the script I am using...

#!/usr/bin/perl
my $directory="b/thumb";
my @files=glob("$directory/*");
my $file=$files[rand @files];
print "Status: 302 Found\n";
print "Location: $file\n";
print "\n";

670 Name: Kuro : 2009-09-05 07:29 ID:MU5hwLF4 [Del]

Noobish question; is this installed on your site, or uploaded and the files edited to make changes?

671 Post deleted by user.

672 Name: wakabafan : 2009-09-07 13:02 ID:Fq14kyGO [Del]

Yes the script is installed and running. I want to modify the script to also return the thread which the image originates from. I'm learning perl from scratch so I'm looking for pointers to help me out, cheers.

673 Post deleted by user.

674 Post deleted by user.

675 Name: Kuro : 2009-09-13 12:22 ID:MU5hwLF4 [Del]

Can someone please answer my question?

676 Name: Anonymous : 2009-09-13 21:03 ID:jfneBRJx [Del]

what web hosting companies would guys recommend to run an imageboard website?

677 Name: Anonymous : 2009-09-14 03:13 ID:Heaven [Del]

>>676

Lots of people like Dreamhost because it's cheap and has lots of bandwidth and space. It's a bit unreliable at times but if you can live with that it's nice enough.

678 Name: Anonymous : 2009-09-15 01:20 ID:xP0VgDNN [Del]

Is it possible to deny a post by using ID?

679 Name: 687 : 2009-09-24 20:00 ID:xP0VgDNN [Del]

I need to ban a certain user that changes IP frequently...

680 Name: Anonymous : 2009-09-25 17:47 ID:ns6z0jDH [Del]

I'm getting

Error: No verification code on record - it probably timed out.

When I try to post.

There is no little picture next to the 'verification' box =\.

681 Name: Anonymous : 2009-09-25 20:50 ID:ns6z0jDH (Image: 473x453 jpg, 26 kb) [Del]

src/1253937057792.jpg: 473x453, 26 kb

>>680
fixed that.
I really need to learn to shut up.. sorry for the stupid questions.

One more question to throw at anyone here though, None of the themes that came with wakaba are working. See pic for details.

682 Name: Anonymous : 2009-09-25 23:01 ID:ns6z0jDH [Del]

Anyone know what to do about

Caused by SystemException in API_Linux.cpp:434: execve() for program "/home/content/u/s/e/username/html/cgi/ra/thumb/1253939376496s.jpg" failed: Exec format error
[Fri Sep 25 22:52:06 2009] [error] [client 70.251.74.93] Premature end of script headers: /var/chroot/home/content/u/s/e/username/html/cgi/ra/thumb/1253939376496s.jpg

I can't get any images to thumbnail with imagemagick, is this the reason/?

683 Name: Anonymous : 2009-09-26 04:38 ID:xzqEZsFb [Del]

I want to host a low bandwidth image board where people can't upload images, but they can link to images on other servers. What do you recommend? Can Wakaba or Kareha be configured to do this?

684 Name: Anonymous : 2009-09-26 13:54 ID:zJdpIYuA [Del]

>>682
Don't keep images in your cgi-bin...

685 Name: Anonymous : 2009-09-26 15:27 ID:ns6z0jDH [Del]

>>684

Now I feel stupid.. thank you VERY much.

686 Name: Anonymous : 2009-09-26 19:56 ID:9z3KlrbA [Del]

>>683 It's definitely possible, although you'd need to understand perl to do it. Also, that's a pretty annoying thing for webmasters to deal with; expect nasty emails and redirects to goatse.

687 Name: Anonymous : 2009-09-27 13:58 ID:ns6z0jDH [Del]

>>681
Still can't get themes to work.
I moved the .css files into a separate css folder outside of the cgi folder, but wakaba is still trying to execute the ones inside the cgi folder.

I tried adding this into config.pl:

use constant CSS_DIR => '../../css/';

but it doesn't change anything.

Any help on this would be greatly appreciated, my board still has no theme =\

688 Name: Anonymous : 2009-09-27 14:03 ID:ns6z0jDH [Del]

>>687

And FOR THE THIRD TIME, IT WORKS , RIGHT AFTER I POST THIS

ARRRRRGGGHHHHH

IGNORE MY WORTHLESS POSTS PLEASE!

689 Name: Anonymous : 2009-09-28 16:02 ID:/wRtlRSE [Del]

I've been using wakaba for a while and I love it, but sometimes I wish it had more involved administrative options. Things like the ability to sticky posts (not manager posts, ones made by other uses), edit posts, blacklist certain words from being posted.

One of the reasons I chose wakaba over other options was its simplicity, so I can get along without any of that, but sometimes it would just be so nice.

Also, is there any way to easily upgrade from one board version to another?

690 Name: Anonymous : 2009-09-29 15:17 ID:CEFbzGL8 [Del]

I'm sure I just messed something up but nothing is working with the board:

http://www.theybannedme.com/wakaba/wakaba.html

I did install it from shell as it wouldn't run from browser. I'm pretty sure this is why it's messed up but I'm in over my head. Any help is appreciated. Thanks.

691 Name: Anonymous : 2009-09-29 22:03 ID:Heaven [Del]

>I did install it from shell

Yep, that's wrong. Delete everything and start over.

692 Name: Anonymous : 2009-10-01 07:56 ID:dxXJD0xP [Del]

>>689
You can easily blacklist words, that's the spam.txt file. Or the "ban word" form under the bans/whitelist page.
Stickies will never happen, neither will post editing. Look around for patches; they've been made. But please reconsider, since that sort of thing is annoying as hell on a board, and it generally enforces the principle that the userbase is only there to watch the administrators dick around. Stickies especially; the bullet-point list and space between the post form and the threads serves as a much better place to disseminate information; if you're trying to sticky threads to artificially redirect the natural course of conversation on the board, you're potentially stifling it.

Nevertheless, if you want to do that stuff anyway, know a bit of Perl, and feel like a small challenge, stickies are literally a five-line patch (if you don't want to draw icons for them).

(Incidentally, what is the difference between spam.txt and the "ban word" form? WAHa?)

693 Name: !WAHa.06x36 : 2009-10-02 02:16 ID:Heaven [Del]

>>692

Spam.txt is slightly more powerful (it can do regexps) and is easier to update in bulk. Also they give different error messages. So basically the banned words is more for dealing with problematic topics, and spam.txt is for spammers specifically. It's a bit redundant, I guess.

694 Name: Anonymous : 2009-10-03 17:42 ID:xP0VgDNN [Del]

If one does not post any word, what can I do?
Post like only porn picture is making me nuts...

695 Name: Anonymous : 2009-10-07 00:32 ID:xP0VgDNN [Del]

Regarding 694, is there any setting in Kareha?

696 Name: Anonymous : 2009-10-07 23:12 ID:xP0VgDNN [Del]

Ok I figured that.

697 Name: Anonymous : 2009-10-07 23:48 ID:xP0VgDNN [Del]

Im trying to work on Subback.html to show only thread name.

I changed suback.html but after I rebuild the cash it got back to the original style.

anyone can give me a idea where to change?

698 Name: Anonymous : 2009-10-09 16:14 ID:y37PwJXM [Del]

Can I use Kareha or Wakaba to make a board with no images? Just text discussion?

Thanx.

699 Name: Anonymous : 2009-10-09 19:07 ID:Heaven [Del]

>>698 Kareha does that out-of-the-box.

700 Name: Anonymous : 2009-10-10 01:43 ID:y37PwJXM [Del]

>>699

Thank you Anon-san.

701 Name: Anonymous : 2009-10-12 09:53 ID:KvdknF/A [Del]

When I open the wakaba.pl file it just downloads it in my browser.

Chmod in the directory has been set to 755.

if i run perl wakaba.pl i get:

Status: 500
Content-type: text/html

<h1>Software error:</h1>
<pre>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.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Mon Oct 12 16:49:14 2009] wakaba.pl: No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
[Mon Oct 12 16:49:14 2009] wakaba.pl: BEGIN failed--compilation aborted at config_defaults.pl line 126.
[Mon Oct 12 16:49:14 2009] wakaba.pl: Compilation failed in require at wakaba.pl line 17.
[Mon Oct 12 16:49:14 2009] wakaba.pl: BEGIN failed--compilation aborted at wakaba.pl line 17.

702 Name: Anonymous : 2009-10-12 10:24 ID:Heaven [Del]

>>701
You need to configure the board first. Fix config.pl.

703 Name: Willitrun? : 2009-10-15 10:51 ID:bfq5DYWo [Del]

How to make nginx exec perl scripts?

704 Name: Anonymous : 2009-10-15 13:58 ID:Heaven [Del]

>>703
Probably more productive to ask that on some nginx support board.

705 Name: >.> : 2009-10-15 14:22 ID:ZXD4KlZ9 [Del]

how do you sticky in wakaba?
[why is there no readme for it?]

706 Name: Anonymous : 2009-10-15 14:26 ID:ZXD4KlZ9 [Del]

where can i get the 4chan version of the software?

707 Name: Willitrun? : 2009-10-15 16:37 ID:NI8lZqC3 [Del]

>>704 Of course I asked, now waiting for answ. May be there is special way for wakaba? :)

708 Name: Ranon!1qiKDn9IIo : 2009-10-17 14:25 ID:k9xsYIAJ [Del]

Just a quick question about the crypto code in the wakautils file, I'm sure I'd figure it out if I looked at the code (for multiple hours), but answering this could save me a fair bit of time:

Is the crypto code in the wakautils file used only for processing tripcodes?

Thanks, Random anon.

709 Name: !WAHa.06x36 : 2009-10-17 17:08 ID:Heaven [Del]

It's used for some other things, like masked IPs and bookkeeping in Kareha.

710 Name: Ranon!1qiKDn9IIo : 2009-10-17 18:40 ID:k9xsYIAJ [Del]

Well, I figured it out, but thanks for the confirmation, I don't really need it for what I'm doing. I'm making a stripped down version of wakaba that's anonymous-only that's lower bandwidth and less processor intensive.

It's also going to include some lossless image compression features if I get a little better at perl (well, it'll bump up the processor needs, but it's worth it for the bandwidth savings).

It's also going to be bastardized with some AJAX if I can get it to degrade nicely.

Here's hoping I can get the whole thing as small as possible (for the fun of it).

711 Name: Ranon!1qiKDn9IIo : 2009-10-18 13:13 ID:k9xsYIAJ [Del]

Well, since I have this tab open still, I might as well shoot you another question:

Would it be a really bad idea to take out the file scan from the utils file (haven't the exploits it scans for already been patched a while ago?)

I mean, it would be a-ok so long as everyone has a fairly up to date OS... that is unless these images exploit imagemagick.

712 Name: Anonymous : 2009-10-20 19:16 ID:Heaven [Del]

>>711
It's a pointless idea. Not like it takes a matter of minutes or even seconds to scan the file.

713 Name: !A2PFY1a/zs : 2009-10-20 20:13 ID:uA9oE6L3 [Del]

is there any mod for no access via proxy?

714 Name: !A2PFY1a/zs : 2009-10-20 20:55 ID:uA9oE6L3 [Del]

i mean for kareha. i know nothing about perl and just start try to learn it after get interested with kareha board script. if someone know about the mod or know where to start modifiying in kareha script, please help.

715 Name: !A2PFY1a/zs : 2009-10-21 17:20 ID:Heaven [Del]

oops my bad, i've added tons of proxy list in spam files

716 Name: 0x000BLAh : 2009-10-23 14:15 ID:odn23zIS [Del]

DBD::SQLite::db prepare failed: near "-": syntax error at /path/to/wakaba.pl line 1794, <FILE> line 5.
DBD::SQLite::db prepare failed: near "-": syntax error at /path/to/wakaba.pl line 1686, <FILE> line 5.

whats wrong?

717 Name: Anonymous : 2009-10-23 17:29 ID:dncjFSH0 [Del]

>rew

718 Post deleted by user.

719 Name: 0x000BLAh : 2009-10-25 03:06 ID:odn23zIS [Del]

>>716
help

720 Name: Anonymous : 2009-10-25 08:58 ID:Heaven [Del]

>>719
You screwed up your board, and you're giving next to zero information.

721 Name: 0x000BLAh : 2009-10-25 17:25 ID:odn23zIS [Del]

server nginx/0.7.62

>[user@host o]# ls -g
>-rwxrwxrwx 1 nobody 9916 Окт 24 03:31 captcha.pl
>-rwxrwxrwx 1 nobody 12265 Окт 26 07:11 config.pl
>-rwxrwxrwx 1 nobody 8368 Окт 24 10:52 config_defaults.pl
>-rwxrwxrwx 1 nobody 894 Сен 12 2004 favicon.ico
>-rwxrwxrwx 1 nobody 2784 Окт 24 03:31 finish.pl
>-rwxrwxrwx 1 nobody 23633 Апр 16 2009 futaba_style.pl
>-rwxrwxrwx 1 nobody 592 Окт 24 03:31 getpic.pl
>drwxrwxrwx 2 nobody 176 Окт 20 02:40 include
>-rwxrwxrwx 1 nobody 819 Окт 22 06:32 oekaki_config.pl
>-rwxrwxrwx 1 nobody 1284 Окт 21 16:59 oekaki_strings_ru.pl
>-rwxrwxrwx 1 nobody 12665 Окт 22 06:33 oekaki_style.pl
>-rwxrwxrwx 1 nobody 1645 Окт 24 03:31 paint.pl
>-rwxrwxrwx 1 nobody 222502 Фев 26 2006 spainter_all.jar
>-rwxrwxrwx 1 nobody 2764 Фев 14 2006 spainter_normal.html
>-rwxrwxrwx 1 nobody 894 Сен 12 2004 wakaba.ico
>-rwxr-xr-x 1 nobody 48185 Окт 25 04:04 wakaba.pl
>-rwxrwxrwx 1 nobody 3072 Окт 26 07:13 wakaba.sql
>-rwxrwxrwx 1 nobody 32069 Апр 16 2009 wakautils.pl

wakaba.sql contains one empty table - tbl1

when iam trying to access wakaba.pl from browser it says

>Critical SQL problem!

perl says

>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1686, <FILE> line 5.

wakaba.pl

>1 #!/usr/bin/perl
>2
>3 use CGI::Carp qw(fatalsToBrowser);
>4
>5 use strict;
>6
>7 use CGI;
>8 use DBI;
>9

722 Name: !A2PFY1a/zs : 2009-10-26 03:32 ID:Heaven [Del]

is there anyway to add custom redirector site just like in 2ch (like ime.nu)?
but the complete url still show the original url
err, what must i say...

if i can make it just like in 2ch it would be great

723 Name: !A2PFY1a/zs : 2009-10-26 04:09 ID:Heaven [Del]

simply: can i add custom redirector site easily in config.pl?
i'm really confused with perl

724 Name: Anonymous : 2009-10-26 09:04 ID:Heaven [Del]

>>721
try looking near lines 1794 and 1686 in wakaba.pl.

725 Name: 0x000BLAh : 2009-10-26 14:08 ID:odn23zIS [Del]

at 1686

1686 $sth=$dbh->prepare("CREATE TABLE ".SQL_ADMIN_TABLE." (".
"num ".get_sql_autoincrement().",".	# Entry number, auto-increments
"type TEXT,". # Type of entry (ipban, wordban, etc)
"comment TEXT,". # Comment for the entry
"ival1 TEXT,". # Integer value 1 (usually IP)
"ival2 TEXT,". # Integer value 2 (usually netmask)
"sval1 TEXT". # String value 1
");") or make_error(S_SQLFAIL);

at 1794

sub table_exists($)
{
my ($table)=@_;
my ($sth);
1794	return 0 unless($sth=$dbh->prepare("SELECT * FROM ".$table." LIMIT 1;"));
return 0 unless($sth->execute());
return 1;
}

looks like i have to create tables manually? if so, how to?

726 Name: Anonymous : 2009-10-27 20:36 ID:Heaven [Del]

>>725
what did you set SQL_ADMIN_TABLE to?
you're getting a SQL syntax error. you probably put something screwy in the table name.

727 Name: 0x000BLAh : 2009-10-28 02:15 ID:5ck9qgXc [Del]

I am using "-" character in table names, lol. And I suppose the last question, I am using utf8 everywhere, but all non-eng strings from included files like strings_en.pl and header.html displayed incorrectly.

728 Name: Anonymous : 2009-10-28 20:30 ID:9oF6qwTS [Del]

No verification code on record - it probably timed out.

729 Name: 0x000BLAh : 2009-10-30 16:31 ID:odn23zIS [Del]

Locale problem heuristically fixed, CONVERT_CHARSET must be false)

730 Name: bob : 2009-10-31 10:42 ID:flltB5S+ [Del]

zerfezrffze

731 Name: tka!!LT1qjn4w : 2009-11-01 13:43 ID:6vM32nI9 [Del]

My Kareha Install sometimes shows the whole page in plain text instead of interpreting the HTML code. Example: http://www.3-ch.org/3ch/uni/kareha.pl/1255162076/
It seems to occur randomly and is browser independent.

However, when I remove the last /, it works normally. How can I fix this?

732 Name: Anonymous : 2009-11-01 16:47 ID:Heaven [Del]

Get a less broken server.

733 Name: Anonymous : 2009-11-11 10:45 ID:khZcfair [Del]

Somebody mentioned patches to enabled post editing over Wakaba...
Anyone can point me toward a nice one?
And yeah, read the warning, but this is for a small private board, and it's to supplement the directory dumper, advanced mode does let you add messages to every post, but it's kinda hard to know what to say when you can't see the picture...
I'd like something that easily lets me dump a batch of pic and then go back and edit the post to add messages to the ones I wanted to say something about...

734 Name: Anonymous : 2009-12-15 10:41 ID:FfMN5m4t [Del]

I can't browse the wakaba.pl, it's only downloadble... even though I changed the permission to 755

What's wrong?

735 Post deleted by moderator.

736 Name: Anonymous : 2009-12-25 00:10 ID:/gAGFhhP [Del]

when i test out wakaba.pl it loads mybookface... wtf is goin on?!?!

737 Name: Anonymous : 2009-12-25 00:11 ID:/gAGFhhP [Del]

when i test out wakaba.pl it loads mybookface... wtf is goin on?!?!

738 Name: Anonymous : 2009-12-26 14:35 ID:Yul/cbIp [Del]

http://xyngrad.co.cc

What the fuck is going on here? I have no idea what I'm doing

739 Name: Anonymous : 2010-01-01 21:41 ID:Heaven [Del]

>>738

> The server encountered an internal error or misconfiguration and was unable to complete your request.

you obviously misconfigured your server.

740 Name: Anonymous : 2010-01-03 14:00 ID:vw2dW0qL [Del]

How to create "To Thread / To Board" radio buttons?

741 Name: Anonymous : 2010-01-05 13:54 ID:B///v/Gd [Del]

>>740
Relevant to my interests

742 Name: Anonymous : 2010-01-05 18:42 ID:tyXQmHCX [Del]

Quick dirty question:

Is there a way to disable Browser Caching?
Right now my browser is caching the boards and when replying it doesn't update and you have to manually press F5.

Thank you ^^

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