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.
Nevermind, it works now, i had it on 0 for some reason.
That error seems messed up and unreadable. Also, it's very confusing. Are you using some ancient version of Perl or something? Or did the files get messed up?
There's a minor problem with Wakaba's strikeout code in do_spans()
. Malicious poster can create constructs like <!--0-<del>->
, which may block others from viewing the board.
Patch (probably kinda ugly, but...): http://www.pastebin.cz/show/668
I've always said there should be a function to rebuild all the html files wakaba has output, the threads. Is that what rebuild cache does? I'm afraid to try it on my live board.
I'm using kareha now which i find is really nice but i've made some modifications to make it fit into the design of my webpage and pretty much all of this fails because kareha calls kareha.pl directly when showing threads. If it were to just call res/thread-id.shtml as the file is called all would be well for me. How can i make it do this?
I'm running it on a university server that has silly restrictions that say that the the scripts have to be .cgi, they have to be not writable by anyone by the owner, and cannot set uid or gid.
I had to change kareha.pl to kareha.cgi, and I did change the name in the source files. I tried the same thing again with a fresh install, and I got the same error.
And it's running perl 5.8.7 on linux.
Thanks.
I had to change kareha.pl to kareha.cgi, and I did change the name in the source files.
which files? the only one i see 'kareha.pl' in is admin.pl...
if you changed anything anywhere else, that's probably what caused the problem.
I'm sorry if I didn't lurked enough, though I tried. But I'm almost complete noob and I need some help installing Kareha.
I gave up on trying to make kareha ssi and just run it as is. I've translated the template file to swedish though if anyone cares i have a link to it here.
http://swehack.se/pub/code/template_se.pls
Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.
> Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.
your kareha.pl is sending utf-8 pages as iso-8859-1 instead of utf-8. setting the encoding to utf-8 causes the page you linked to to display correctly. i'm guessing you changed CHARSET in config.pl to iso-8859-1 instead of utf-8. if you did, all you need to do to fix the problem is just change it back (or just comment out that line, as utf-8 is the default).
Thank you! That sure helped, i changed the charset because i was afraid swedish characters would not be displayed properly if i had utf-8 but i guess i was wrong.
A spam bot was able to create anchor tags linking to the usual random pill sites in a post on one of our boards. How is this possible? It only scares me because if spammers can do it then what's stopping malicious people from.. being malicious?
>>751
if you select html formatting it only allows certain tags.
>>758 Wakakakakakakaba~
I deleted the post before realizing that perhaps I should check the mysql and see what was in the comment section. I'm at a loss for how they did it.
I have installed the new version of wakaba and almost everything is running well, except the wakaba board that uses oekaki, that gives me plenty of errors.
First one is that seems not to recive the comment field, if i only writte the comment field it says that i must writte something...
Another error i get is that if i reply one image inserted with oekaki, of course, as it doesn-t takes the comments i must insert a image, when i use a nickname i get the spam error, if i post it without nickname i post correctly the image.
I have done this to try to prevent the spam filter, i have also tried to leave spam.txt empty, but without success in any case.
Can you give-me some tips to solve this?
Thanks
Maybe oekaki_style.pl is not updated for the spam trap? You could try copying the right names over from futaba_style.pl... It's been a long time since I did anything with oekaki.
Well guys, I'm here to ask a question that quite a few of my friends aretoo timid to ask:
I need a clear rundown with installation. A REAL clear walkthrough. Existing instructions are made by coders for coders, I feel like an Italian kid trying to read Portugeese.
I am not a coder by any stretch of the imagination. I can screw around in HTLM in the most basic fashion. That's about it.
I download the files and I have no idea where to place them. I have this folder full of... stuff. Do I simply upload the folder via FTP and viola, instant wakaba page?
I have a Mac running OSX 10.8 and the '.pl' files do not open in browsers like the instructions say. I can open them in a txt reader and dick with it there.. but then what?.
Oh, I've already been to the Wakaba 'quick start' page.
I get instructions like "Start a database", "install thumbnailer" and "config Wakaba". I click to get details only to be told that 'text does not exist yet'. Not much help at all.
The server side of things is all clear, I know this because a friend of mine is letting me bum space from his domain and he already has a wakaba page... (which he forgot how to install also.)
There are a multitude of others that share my frustration.
This is my plea for getting the secret to getting this thing to work! Help me and I will erect a statue bearing your likeness.
Many Thanks!!!!!!
>>763
create a mysql database
upload the files and required directories (/src, /res, /thumb, /css, and /include)
CHMOD 755 wakaba.pl and captcha.pl
edit config.pl to reflect your mysql information and preferred board settings.
goto yoursite.com/wakaba/wakaba.pl and hope you didn't mess anything up
and that's about it.
Thanks for the info ;)
I'm afraid that i don't have the enought time to do this, so i'll disable it, thanks again.
I'm absolutely confused. I cannot install kareha.
Exactly what do I have to do? It'd be really, really nice if someone were to write a simple, step-by-step guide to installing it for those of us who are terribly confused by all of this.
For one, do you have to download MySQL, because I have MySQL databases provided by my webhost?
I don't understand any of what you all are saying, and I guess I should look into it more, but man...
And this is for kareha, not wakaba.
I'm having a weird problem with oekaki.. it seem that it save all drawing using the user ip.. so when the user want to draw another pic, it say can't save file because the filename already exist..
Maybe I misconfigured something?
nevermind, i found the solution.. let wakaba rename the png file..
How can I add an area in Wakaba which lists thread subjects, like Fchan has? Something similar to what's happening in div id="threadbox" on this board? Thanks in advance
You implement it yourself, I guess. There is no such feature in the base version.
...Yeah, I realize that, but could you give me any guidelines like what files, functions, whatever would I be working with within this script? I don't expect anyone to write out a bunch of code for me, I'm just not familiar with the inner-workings of this script, so I would like to know what I would be focusing on. Thanks.
>>772
Don't alter things if you're not able to read the "code." If you do, remember to keep backups of your original file.
I'm not trying to be mean or anything, but maybe you should learn up on some perl and then start tinkering with the imageboard.
If you wanted to add something like you're asking for you would only need to add a section to futaba_style.pl. Basically the thread list on fchan is a stripped down clone of the threads themselves. All you need to do is copy the thread list code and strip out everything except the thread subjects then add it below the post form.
I have a problem with wakaba and I hope you can help me.
When I make a post I get this:
Method Not Allowed
The requested method POST is not allowed for the URL /wakaba/wakaba.html.
Ok, so I read somewhere that if a web host does not support POST then it is pretty stupid. I looked it up and my web host does support POST. The support forum also told me that you can't send POST-data to an HTML-file.
I really don't get it. Isn't the wakaba.html supposed to redirect me to some data-processing perl-file and then send me back to the html-file?
Anyway, thanks for your help!
Is the POST content somehow getting redirected to the html file when the script forwards? That's kind of strange.
Does anything get posted? Does setting ALTERNATIVE_REDIRECT to 1 in the config help?
How can i make wakaba show the original filename in the thread layout?
You can't, unless you implement that feature yourself.
I see, thanks.
So how can i allow people to upload duplicates of pictures in different threads? I couldn't find it in the config file so maybe that has to be implemented to.
I just mean that when you don't have a fast moving board sometimes someone wants to post the same pic that has already been posted in another thread, he can't. I would like to have that protection for threads only, not whole boards.
Same deal.
Whenever I try to post anything from the manager post section, I get this error:
"Anti-spam filters triggered.
If you are not a spammer, you are probably accidentially trying to use an URL that is listed in the spam file. Try editing your post to remove it. Sorry for any inconvenience."
It doesn't happen when posting normaly.
>>785
search the threads here more, i believe that particular problem relates to the names of the fields for the moderator post panel being out dated.
Perhaps it's just me being clueless, but I can't find any mention of this problem.
>>788
http://wakaba.c3.cx/sup/kareha.pl/1141929669/634,635
It doesn't explain how to fix the problem in detail but if you know your way around futaba_style.pl it shouldn't be too hard to fix.
Typical, I spent ages checking every other thread on the board and diddnt look through this one well enough.
I have no idea of my way around there, but I can hack at it for a while and find my way around, at least I know what file now. Thank you. =-)
Waha, I know you're not so keen on stickies, but over at 420chan our users keep demanding it, I'm not asking you to implement it into wakaba but if you could point me in the right direction of how to implement it myself that would be great. Link is where I can be reached if you have any time you could spare.
Awesome software man, we've been running it for years with no real problems.
>>791
How about he justs posts the info here? All of us keep demanding it on this board, too :D
>>791
It's not that hard. Perhaps it's time to get moderators/admin that aren't 15/16 years old.
>>791-792
if you want that type of board, why not just use phpbb?
I added an oekaki to my board, and it seems to work well, except that the captchas you get after you draw are outdated, you either have to remember the captcha in the post before you enter the applet or open another window with the thread so you get a fresh captcha.
I've removed captchas from the board altogether for the time being but I'd rather keep them if I can fix this glitch. Anyone have similar problems?
I'm an administrator of a fairly large new *chan (http://11chan.net/b/) and our /b/ and /i/ boards use Wakaba 3.0.7. We have a lot of bugs regarding admin features, mainly due to the fact that the owner (f0rt) isn't fixing it.
The manager post form is the most important feature for me, yet the most broken. First, the manager post form always triggered the anti-spam filters. I found a thread on here that fixed that and f0rt fixed it for me. I'm able to post with it now. However, there remain two major problems:
Another major problem is the banning system. Whenever I ban someone, I have no control over how long I want the ban to be, and so whenever I ban someone, their IP is unbanned automatically in three hours because that is, apparently, the default ban length.
How do I fix these three problems? They're very important.
>>796
Forced anonymous can be turned on/off via editing the config.pl. If you do not have ftp access to the imageboard directory then you will need to get f0rt to do it.
With regards to the html... I don't really know. What you can do is set:
use constant USE_XHTML => 0;
and to uncomment the following lines in the .htaccess file like so:
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
That should get rid of the parsing error because it forces the board to display its contents whether or not it is 100% compliant XML.
By the way, there's no such thing as a fairly large and new *chan. You've got to survive longer than a couple years, fight off constant child pornography floods, deal with endless /b/ trolls, and the occasional legal dispute before you can sit down and tell yourself anyone cares about your dime a dozen imageboard. No offense.. that's just the reality of it. There's new (unneeded) public futaba style imageboards opening every other day.
Sometimes I think our communities would fair better if we worked together.
First, please read the big bold text at the top of the board and don't start new threads that I have to clean up. There is a point why there are single threads for these things, which is to make it easier for people to find information, like you already did.
Second, HTML input in the manager for is dumped straight into the page, and by default it is sent as xhtml, meaning it has to be well-formed XML. >>797 tells you how to turn of the usage of XHTML, though, after which you can use good old tag soup.
Also, forced anonymous applies to everyone, even admins.
Finally, there is no automatic timeout for bans. They stay until you remove them. They most definitely do not disappear after three hours, I have no idea why you think they would.
why does http://wakaba.c3.cx/antispam/spam.txt have >
>
in it?
>>799
also, i had to use OMG HAX to put >
>
in that post.
also, 800GET~
>>800
it's two greater than signs.... zomg hax. perhaps it's used so people can't insert URLs into >> reply links.
>>801
how can people insert urls into >> links if that's not in spam.txt?
It's because there was a horribly, horribly broken spam bot at one point that would post lots of posts with nothing but >> links except it was so broken it posted them as >>.
I'm getting "Premature end of script headers: wakaba.pl" errors in my error_log and wakaba.pl just displays a blank page. I'm trying to run the latest Wakaba version through CGI, on Apache 2.2. What might be causing this?
I had to put kareha in my /usr/lib/cgi-bin/ directory, and then edited the config file to put the imageboard in /var/www/imgboard which is the webserver root.
the path to the imageboard from the web would be "mydomain.com/imgboard"
but kareha is trying to do "mydomain.com/var/www/imgboard"
any ideas how to fix this?
There is no real support for having the script and data files in different directories. You'd have to hack the source to make it figure these things out more intellgently, or else get a real host.
Because signed arithmetic is bounded in MySQL, I think it was. There might be some better workaround than that, but it was a quick fix.
Also, if Formatting is not set to anything, I'm just going to blame browser bugs, unless someone can prove me wrong on that.
hello, me again. I figured out my fail apache configuration.
I am having trouble with post numbering though. It starts over with each thread. Is this a configuration issue? I can't find an opiton for it.
>I am having trouble with post numbering though. It starts over with each thread.
lol
never seen this
>>812
i think he meant it's something he's never seen before. not being sarcastic. (i haven't seen/heard of this either) are you running stock wakaba or what?
>>810 if you're running kareha, that's how it works. Even in mode_image. You have to use wakaba if you want the numbering style you're thinking of.
Does anyone know how to edit the perl script or w/e to add modify the generated code for the board? I was wanting to add in some Javascript shiny-ness for when you click to view the photos on my image board, but am at a loss as I dont know perl. Though I can follow instructions if someone might provide them. all i need is the <script> to go in the header and a rel="" to go into <img> tag things.
>>815
just edit the html in templates.pl (for kareha) or futaba_style.pl (for wakaba).
spam trap
I've got Kareha up and running, everything seems fine except I'm getting the 0-byte thumbnail problem as per >>301
I can't do any logchecking or anything like that, as I don't control the server it's on. Any suggestions? Is wakautils supposed to be set executable or something?
hi,
does anyone know how to do the multi file submission on wakaba?
like users can upload more then one file?? thanks!!
You can't.
ok well then is it a possible to make a post a sticky whenever you submit it?
No.
Posting non-image files (in my case .rar files; didn't test other filetypes) in Wakaba with Japanese filenames results in a 404 error when attempting to download the file. The file is still in the /src folder, but for some reason, it's impossible to download it through Wakaba. Is there any way to get around this?
Hmm, most likely some kind of character set mismatch between server and client. I don't think I try to normalize the character sets of filenames, and I'm not sure if browsers send the filename in native charset or in the charset specified for the page.
What browser, OS version, and locale setting are you using to upload?
>>824
Firefox, Windows XP SP2. My locale setting is set to Japanese.
Sounds like it's being sent in Shift_JIS or something and things break down... Unfortunately, I don't have a good idea for fix right now.
Getting Kareha (latest version, whatever it is right now, too lazy to look) to run under apache2 and mod_perl2 was quite a pain, so to speak... in the end, beyond what is extensively described on the internet, I had to do the following:
Any possibility to get cleaner, "official" workarounds to the problem that made these necessary in the first place?
Regards,
Anonymous.
>>827
I meant setting $self in templates.pl, not wakautils.pl. Sorry.
For Kareha's auto-generated password, how often would the same password show up for 2 unique people or 5+ unique people. Also, why would it not be unique (other than sharing the same computer)?
Is there some sort of default password that is used when JS/Cookies are off?
And by default I mean no password.
The default password is empty, but the "password" shown in the admin panel is hashed, meaning that an empty password shows up as some random string, which is probably what is confusing you.
Considering the problems, I am not sure if it is even possible to make a version that will work cleanly on both CGI and mod_perl. For now, mod_perl is unsupported.
I'm having trouble with making manager posts. First of all I get "Error: No comment entered." when I just enter a commment, and the spam filter is triggered when I try to include a file.
I have read all relevant posts in detail, and tried commenting out code as in >>545, to no avail and taken a look at >>634 and >>635, which is where I think the problem lies.
Can someone please expand on >>634 and >>635 as at present there is no way of making a manager post at all.
>>831 Yeah, it seems that's the case. I know the string well.
I am having an issue with Wakaba.
It configures fine, but when an image is posted, it shows up and when the pages reloads, the post disappears.
The tables were created,
captcha.pl and wakaba.pl are set to 755
I did change the wakaba.html file to index.html if it matters
What do you mean by "it shows up"?
Ok, I figure out the problem, it had to do with renaming wakaba.html