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.
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
I think he meant the thread exists but the main page doesn't update due to him renaming the index page.
I've been wondering, has the issue with the spamtrap been fixed in the current Kareha 3.1.3 download?
Will there be a 3.1.4 with the fixes from the unicode issue in the other thread and anything else that's come up soon?
What is a Manager Post in Wakaba?
I have a thread on my board that is not bumping anymore but it has only like 11 image posts and maybe 33 posts. Which setting controls this sage thing?
I have a bug to report in Kareha, Where should i send it, or just post it here?
line 253 (kareha.js) if(match=/#i(.+)/.exec(document.location.toString()))
error: Test for equality (==) mistyped as assignment(=)
as well as the function get_active_stylesheet may not always return a value also Kareha.js
Firebug pulled this up, I dunno if its right or not, but i thought id let ya know anyway.
Hopefully there will be, as soon as I can find some spare time and energy to put it together. I haven't committed to a fix for that issue though because nobody who complained ever reported back if the fix worked.
That's not a test for equality, it's an assigment and a test for non-null. It's correct as written.
>>844
We've reported here that our spam stuff is all fixed up. I'm not 100% sure if it was fixed using code provided here or by our coding team. I will ask them and if I can put together the code I will post it here for you.
I'm totally lost when it come to cgi scripts. All my expertise lies in PHP and Html. Can you please tell me how to install Kareha? It would be greatly, greatly appreciated.
In Wakaba, is it possible to turn off the verify code when posting.
>>847 in the config file...
enable_captcha needs to be set to 0.
How come if I put my name as fusianasan my name turns into my hostmask?
internets?
>>851
Yeah I didn't know it was a feature
How do I stop Wakaba from detecting duplicate pictures?
I know it is not explicitly or implicitly stated anywhere as being compatible, but has anyone ever tried running Shii painter with kareha? If so, did it work? If so, how?
Oh wow.
An Oekaki Problem...
I've done everything according to instructions, and am getting a 500 and a 404 whenever I click the link to start painting. I've read the other topic, and got the palette_selfy.js file and installed it, and it still isn't working.
It's the correct applet and all as well.
The only thing I've noticed that could be wrong is that the oekaki_config.pl file I have doesn't seem to have a place for the URL that the wiki says needs to be set in this file. I've followed everything according to instructions, save for specifying the URL, because I don't know where or how to do this in the oekaki_config.pl file.
If it's in an earlier release, could someone please tell me which one?
Help would be greatly appreciated, I know when I posted my last problem 2 years ago it was fixed within a day, and that's simply outstanding support compared to everyone else out there.
Thanks much in advance, I'm really stumped on this one.
Some clarification, I found the properly set up oekaki_config.pl file in an earlier release, well, minus the hashbang, but I went ahead and added one and set the URL.
My error log says this, though:
Premature end of script headers: paint.pl,
and: File does not exist: /home/(edited by me)/(edited by me)/internal_error.html.
I have no idea why it's doing this... <_<;
Did you read the first posts in http://wakaba.c3.cx/sup/kareha.pl/1109033191/? Internal Server Errors are usually not caused by the Perl scripts themselves but incorrect setup on the server.
Yes, and terribly sorry about improperly posting. It's been a while since I was here, I know it's no excuse, but it's the closest thing I have to one... <_<;
I've tried a few things to get it to work, even setting permissions differently, and have been able to get regular Wakaba boards to work just fine, the only hassle is the "premature end of script headers" thing, and I saw in an older thread that someone was having the same problem, and fixed it, but unfortunately he never said how he fixed it...
I'm not just asking for help, I'm looking for a way to fix it myself as well, by the way. I hate having to ask for help if I can do it myself, but this has me stumped. I'm a real duffer at Perl.
If I can get it to work, I'll at least post the fix for others who might be having the same problem, and if anyone has had this problem and fixed it, please share the info on what you did.
I see lots of nicely working oekaki boards out there, so I know somebody has to know how to fix this, and I'd feel better knowing I hadn't bothered the creator of the code with something petty like this for nothing.
Update, no more server errors, now it all works save for the applet not loading.
You were right about the server errors, I had to set permissions on paint.pl in such a way that it seems it shouldn't even work...
Anyway, I have the palette_selfy file installed, even downloaded a fresh copy. I know it's not my JRE, I can use other boards just fine.
If anyone has had this problem and fixed it, please let me know how you did it.
I found out what was wrong, and I hope this helps others who wind up with the same problem. It was partly the permissions issue, and partly an FTP issue. It seems FTP clients sometimes have problems with the automatic selection of how to upload an applet, which is a binary file, especially if you've been uploading lots of ASCII files.
The fix was to manually set it to binary, then fiddle with the permissions. At first it failed to work, then after a few reloads it worked fine. Problem solved, sorry for the hassle, and I hope this helps others in some way.
Ciao~
I uploaded wakaba to my server, but i didnt see any instructions.
I am not a web guru, but do i need to set up some sort of slq database or something ?
Or should i just stick with the stupid vbulletin and phpbb that come pre installed ?
Should I read the entire thread ? because its 867 long as of this post.
If someone could point me in the right direction i will supply you with at least 1000 internets.
thanks
thank you anon
how does the ban system on Kareha work, please?
I've banned an IP in the admin page that I want to now un-ban again, is this do-able?
>>869
well you could just look at config.pl and see this:
#use constant ADMIN_BAN_FILE => '.htaccess'; # Name of the file to write bans to
#use constant ADMIN_BAN_TEMPLATE => "\n# Banned at <var scalar localtime> (<var \$reason>)\nDeny from <var \$ip>\n";
and then you'd know that to unban someone you just edit .htaccess...
I'm having trouble making manager posts in wakaba. Whenever I make one, the post is made, but with only the picture, not the message. Any idea what the problem is?
Howdy Folks,
I'm wondering how to go about removing evidence of moderation (Post deleted by X) in Kareha. Taking a look at kareha.pl, the corresponding lines seem to be lines 693-698, particularly line 696 which reads:
set_post_text($thread,$postnum,DELETED_TEMPLATE->(num=>$postnum,reason=>$reason));
As I would like to eliminate deleted posts entirely, it seems editing or outright removing this line would do the trick. Is this the correct course of action, or is there something more which needs to be done?
Thanks for the help~
You can set the DELETED_TEMPLATE to an empty string. However, that invisible post will still count as one post, and the numbering will skip steps, and the number of posts displayed on the front page will be smaller than usual if there is a deleted post. There is no easy way to change that.
Hi, I´m actually quite new in setting these boards up, so I was wondering if someone could please answer these questions for me:
1 - How do I get several boards like 4chan or 7chan? Do I have to copy wakabi into several folders on the server, run the setup on each and then manually add the links to the different wakabi.html files in the wakabi.html files themselves?
2 - Do the files have to be named wakabi? I want the html files to have the same name as the board it represents, but does this require major editing in several files?
Thanks in advance
>>875 assuming you're using the wakaba script:
#use constant HTML_SELF => 'wakaba.html';
setting. You can't change the other pages (1.html, 2.html, etc)>>876
But if I put the board into different subfolders, will I have to set up several databases? I mean, the table names will be the same, so if they are all using the same database, the names will be overwritten, right?
Thanks
You can change the table names. Go read through config.pl
.
My board is not archiving posts, I have
use constant TRIM_METHOD => 1;
use constant ARCHIVE_MODE => 1;
use constant ARCHIVE_DIR => 'arch/';
in the config, the arch directory and subdirectories exist and are chmod 755 (Also tried with 775) but no archiving is taking place.
I initially set it up with archive mode 0 then changed my mind later, but it looks like the change didn't take, is there some database editing needed to change this configuration maybe?
>>878
Thank you
One last question please:
What files should I delete after running wakabi.pl?
The config file, since the passwords are in there,
but what other ones?
You should not delete anything.
And to add to that, you should not run wakaba.pl. You should point your browser to it, or else it will create a broken board.
>>882
Well I thought pointing my browser to wakaba.pl was running it. But couldn't anyone just open config.pl and then see the passwords?
And should i revert the execution permissions for wakaba.pl after execution or doesn't it do anything after it executes for the first time?
Thank you