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.
I have no problems nor with UTF-8 nor with windows-1251 in the posts. the only problem with the correct display of the cyrilic charactes is in the title that is read from the config.pl (use constant TITLE = )
>>436
Nope, i've only ever updated with newer config's whilst changing some settings, same password, but sometimes lets me log in, and sometimes not.
When i do log in i cant click any of the links, gives me the same error.
You need to set the character set for the Perl file to match whatever charset you are using. Note how strings_jp.pl
has a use encoding "Shift_JIS";
at the top. You need to add a similar statement to your config.pl
.
I really have no idea what's going on there. It really makes very little sense.
After like 16-17 pages wakaba removed some images. how do I remove that limitation?
thanks
>>444 in config.pl there are age settings. Crank them up as high as you want for threads that last until the end of time.
>>445 almost got it, but basically, check the example config.pl for explanations of the options that determine when threads start getting deleted. Most of them can be set to 0 to disable.
Note that if you let a board grow very big, it will become slow, because it has to keep rebuilding all the page.
is it possible to setup a kareha board using the webspace my ISP gives me?
I dunno, does your ISP let you run Perl scripts and have a suitable thumbnailer installed?
I have run into quite a bit of trouble, when trying to get kareha to support EXIF data 4chan/p/ style. It displays the comment along with the picture and EXIF data fine, but when the picture with EXIF data along with the post is posted as a reply, then it will somewhere eat away the last </DIV> tag, which it doesn't do, when that post is the first post in a thread. Multiple threads also work, but not replies.
Any help or suggestions very much appreciated. :)
Without knowing what exactly it is you're doing with the EXIF data, it's impossible to say what's going on.
How do I use capped trips? I see
use constant CAPPED_TRIPS => ('!!example1'=>' capcode','!!example2'=>' <em>cap</em>');
And assume that typing name##example1 would result in name!! capcode, but it just treats it like a normal tripcode.
"!!example1" is the result of the tripcode, not what is typed in. Note that it says "!" and not "#".
I tried
use constant CAPPED_TRIPS => (' code'=>' !!<em>ADMIN ##</em>');
and entering Admin##code or Admin#code returns Admin!!MIVjB2tk and Admin!FKk4keqK9w respectively, when I expect Admin##ADMIN. Sorry if this is obvious, I just started learning perl.
Re-read what I said. You're not supposed to put in "code", you're supposed to put in "!!MIVjB2tk".
I just realize that what I am entering in config for the input to "use constant CAPPED_TRIPS" is tripcode output itself, not the phrase that generates the tripcode. Gotcha. Thanks.
Hi again.
After translating the whole strings_en.pl to a cyrilic language I get when trying to upload file:
Software error:
Malformed multipart POST
That's not an error Wakaba ever generates on its own, so it comes from somewhere else. I've never seen it before so I have no idea what it means. I am guessing it's an Apache or CGI.pm problem. Maybe Google has some clues?
Error message:
Can't locate config.pl in @INC (@INC contains: . C:/Program Files/xampp/perl/site/lib/ C:/Program Files/xampp/perl/lib C:/Program Files/xampp/perl/site/lib C:/Program Files/xampp/apache) at (eval 88) line 14. BEGIN failed--compilation aborted at (eval 88) line 14.
This is what I get when I try to execute kareha.pl. I have no idea why since config.pl DOES exist in the same directory. Forgive me but I know nothing of perl programming (I am savvy with PHP, though). What's wrong?
It sounds like whatever is executing the Perl code is not CD'ing to the right directory. cgi-handler should do this, which makes me wonder if something else is trying to run it. Is mod_perl in use or something? Wakaba doesn't really work with mod_perl without tweaking.
So, the solution should be to either configure Apache to use cgi-handler for .pl files, or if that still doesn't work, you can try adding a BEGIN { chdir "path-to-files" }
at the top before the other BEGIN
statements. But the first is more likely to help.
Yes, I presumed that was the problem. I've been searching for a good 30 minutes for a config file that changes the root directory with no avail. And yes, I do have mod_perl (that has been bundled with xampp). Is there a noob-friendly way of installing cgi-handler? Sorry for my ignorance, it's just that I have never worked with perl before.
Thanks in advance.
Edit config.pl for enabling youtube embed code to be pasted in Formatting:HTML mode
use constant ALLOWED_HTML => (
'a'=>{args=>{'href'=>'url'},forced=>{'rel'=>'nofollow'}},
'object'=>{forced=>{'width'=>'425','height'=>'350'}},
'param'=>{args=>{'value'=>'url'},forced=>{'name'=>'movie'}},
'embed'=>{args=>{'src'=>'url'},forced=>{'type'=>'application/x-shockwave-flash','wmode'=>'transparent','width'=>'425','height'=>'350'}},
'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
'em'=>{},'strong'=>{},
'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
'p'=>{},'br'=>{empty=>1},'blockquote'=>{},
);
>>463
<embed type="application/x-shockwave-flash" src="http://hotaru.thinkindifferent.net/bee.swf"/>
Left-hand side, see where the border is cut off along the thumbnail? What's up with that?
cgi-handler is part of the base Apache. You just need to change the config to use that instead of mod_perl.
Is there a way to force long one string comments to wrap in wakaba (so that they don't mess up the page design, causing the horizontal scrollbar to appear - damn those malicious people)? I have tried looking at CSS, but that solution seems to work only for IE.
No. I find the solution more annoying than the problem (for instance, long links being broken by putting space in them, making cut-and-paste much harder than it should be), so I've never implemented it.
i'd like to recommend that q
be added to the default list of allowed tags in html formatted posts.
oh, and support for svg images would be nice, too.
Too many arguments for main::clean_string at wakaba.pl line 1324, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1345, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1378, near "1) "
Execution of wakaba.pl aborted due to compilation errors.
help help help
atm when i press del all in the management panel w/wakaba I get the following: Error: Management password incorrect.
I have messed with a lot of the board look, and even a bit of the management panel look, but I am confused as to what would be causing this problem. The del all button seems to be formed correctly still. :(
also, i have replaced the edited management post loop with the original and am still experiencing the problem. i can select individual threads to delete and they go through no problem.
<td><var dec_to_dot($ip)>
[<a href="<var $self>?admin=<var $admin>&task=deleteall&ip=<var $ip>"><const S_MPDELETEALL></a>]
[<a href="<var $self>?admin=<var $admin>&task=addip&type=ipban&ip=<var $ip>" onclick="return do_ban(this)"><const S_MPBAN></a>]
</td>
A known bug, I hope I'll find some time to fix that and a couple of other issues soon. Haven't checked what causes it.
>>481
oshi... well until then i hope i don't get spammed to hell.. which has already happened once in the past three days that i've had the board up. is there any other way to remove all IPs from a board other than the management panel?
>>481
Just weren't enough parameters to delete_stuff as it was called from delete_all. ;)
Since there's no easy way to specify whether to archive the posts that [Del All] will remove, I chose not to archive them.
Line 1479 of wakaba.pl now reads
delete_stuff('',0,0,$admin,@posts);
Ah, I suspected something like that. Thanks!
>>485
we are making a lot of changes to wakaba, like i said. are you interested in any of the changes? so far we haven't had any problems whatsoever with any. things we are looking to add are sticky threads (just because... people whine about not having it) and a multi-board management panel.
does anyone know how i could get our collapsible thread option to store a cookie that says whether it was opened or closed and make the thread collapse/stay open to reflect the cookie?
Look at the iichan sidebar.
I've had the collapsible thread idea in the back of my head for a long while (I made a Firefox plugin that did the same for 4chan waaay back in the day), but I never got around to doing anything about it. It's probably a good idea, although there are some problems to take care of, such as: if you use cookies to store the state, you have to make sure you're not making the client send a ton of old useless cookies to the server.
Still not going to add sticky threads, though. They reinforce the idea that a board is run by the moderators and the users are an audience, instead of a board being run by the users with the moderators being there to keep the place clean. That is to say, moderators should never, ever control the content of a board beyond removing abuse.
>>487
what about, hypothetically, if you had user voted stickies? ie a thread gets so many votes so it stays at the top for a set amount of time?
in the end someone controls what's happening on the boards, whether it's the admin, the moderators, or the people posting.
That's a better idea, I think, but then you have changed the dynamics of the board to something new and different. Whether it would be something good or bad, I can't quite say.
>>489
yeah.. i was just tossing that out there. creating stickies is a step closer to having user chosen stickies.
>>487
Aha! Huge thanks for the clarification of the western imageboard philosophy. :)
is there any way to link directly to a post in a thread like in kareha? ie http://clownpenis.fart/wakaba/4323.html/666
http://bad-end.org/stuff/spam.jpg
or http://www.pooshlmer.com/wakaba/res/28275.html if it isn't deleted
It dodged the spam trap on a wakaba 3.0.6 board and also posted an image. Have the spambots been tailored to wakaba?
I'm trying to set up Kareha (check with my host and they are configured for running perl), but after following the quickstart guide, I keep getting an error 500 when I try to access kareha.pl. Is there something I'm missing or still have to do before running the software?
See if anything in here helps, first of all: http://wakaba.c3.cx/sup/kareha.pl/1109033191/
>>497
Thanks, that took care of it! I just noticed that was linked at the top too, sorry for not seeing it earlier.
Is there a way to make certain users' names show up in a different color? For example, I want the name "The admin" to show up in red and the name "Mod" to show up in blue, while other users still continue with the normal colors.
500GET!
the thing to choose the formatting doesn't work in opera mini... the "more options link works, but it doesn't show the dropdown thing to select which formatting mode to use ;;
This is probably a really silly question, but how do I post with a capcode? When I enter my name in as just that, it posts as some tripcoded(?) version of what I entered as the capcode in config.pl
You're supposed to put the tripcoded version in config.pl.
I guess I assumed we were talking about Kareha?
Furhter investigation of this mysterious spammer indicates that it is actually a human posting from a regular browser.
Not much to do about that, except to update spam.txt
, I added a couple of entries that should give him trouble.
(I was going to post those entries here too but of course I got caught by the spam filter.)
>>506
the OP may have been, but I was wondering it it works with wakaba. doesn't seem like it would be hard to implement. or am i just assuming wrongfully?
>>504
Thanks, that cleared it up. I had it coded in backwards per se. Oh and I did mean in Kareha, I forgot that this thread is for both Wakaba and Kareha help when I posted that question.
i don't think your new spam definitions are stopping the spam... is there anything "special" you need to do in order for the new spam.txt to take effect or is it good to go as soon as you upload it?
I get a "403 Forbidden" error after installation.
I checked the HashBang and Permissions.
why don't icons work :( they are not working for swf. have not tried others. they are in /icons/ in the same directory as wakaba.pl etc chmod 755 for the dir and the flash.png.
Can kareha ban IP addresses when running under lighttpd, or does it have to be done manually?
I couldn't say without knowing more of what you did and what happens. Did you set them up correctly in config.pl?
Well, you can configure what kind of format Kareha writes the bans in to some extent. But I know nothing of lighttpd, so you'll have to figure out for yourself what to configure it to.
Well it's definitely not correct to have both. Drop the '.' one.
>>518
icon still isn't showing after commenting out swf => '.', also the swf filenames are still not being renamed when posted. is that normal for filetypes that are not images?
Yes, anything in the FILETYPES list will not be renamed. Make sure the icon files are readable by the webserver process. Making them 644 should be enough.
>>520
I had it @ 755 and now it is @ 644. Still not working. example: http://wtfux.org/temp/res/1154.html
to recap:
config.pl @ /temp/ (755)
icon @ /temp/icons/flash.png directory (755) file (644)
use constant FILETYPES => (
swf => 'icons/flash.png',
);
We can post files of type 'swf' and the filenames are not altered when posted. BUT icon 'flash.png' does not show as the thumbnail for the post. It simply says "No Thumbnail."
That's also very weird. I just tried doing the exact same thing, and it worked just fine.
Wait, is your /thumb/ directory writable?
made no difference, as was expected. see: http://wtfux.org/temp/res/1154.html#1167
also, i have commented out the portion of wakautils.pl that does the spam check as you suggested. i have yet to get the spam error but i hope to find a better solution sometime soon.
i am wondering if it is something strange with the dreamhost account, but this doesn't seem right because i have had wakaba boards on dreamhost in the past with no problem.
our files are edited to add custom features as i've said before, but my friend used our files on his home server and everything ran fine.
also, do you or anyone else have any suggestions for getting adbrite ad codes to work with wakaba? adbrite code creates an "xml parsing error: not well formed" when I try to implement it. The arrow in the xml error always points to the second equal sign in the adbrite script URL.
Writable would be 777, probably.
If it's "<script src=http://whatever>", change it to <script src="http://whatever">. If nothing else works, set USE_XHTML to 0 and remove the lines about xhtml from .htaccess.
>>527
777 and still no icon.
I've had UXE_XHTML set to 0 for some time, didn't realize I had to remove something from the htaccess for it to work.
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
correct?
ads are working now, but i think it will take 24 hours before adbrite network ads start showing.
I implemented a topbar nav menu on http://wtfux.org/ i believe it will be a good and easy way to provide a cross-browser friendly menu across every board by using one header.html (using either symlinks or changing the location/to/header.html in wakaba.)
just wanted some criticism from the society ;D
p.s. this site was just down or really really bogged down for the past half hour or more.
Why every time i try, i have this?
I hope anyone can helpme, its a problem with the perl scripts?
No ADMIN_PASS defined in the configuration at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 133.
Compilation failed in require at kareha.pl line 13.
BEGIN failed--compilation aborted at kareha.pl line 13.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
Thanks.
>>529
did you uncomment and change the ADMIN_PASS line in config.pl? carefully look through config.pl to make sure you have filled in and uncommented the required lines.
hint: read the comments next to the variables
Thank you very much! I new on this, and i a little emm... dumb jeje, but with your explanation i have my imageboard =3
But i have another question, how i do to have many seccion, you know like 4chan, i mean, how i do to have a frame with the sections. I have to do a directory for every section?
>>531
you need to setup a seperate directory for each board you want to run. also you will need one mysql databse per imageboard.
if you want to have a list of the boards on one side and the actual board to the right you need to setup a framed index.html that calls two html files for 2 separate sections.
> you will need one mysql databse per imageboard.
Actually, no, you don't. You can do it that way if you want, but you can also change the SQL_TABLE option to use differently-named tables in the same database for each board.
>>533
aso aso. any idea on swf icons? it wouldn't be a problem but i want a /random/ board that allows SWF posting as well. if I were to setup a seperate flash board then it would be as simple as coding the icons into futaba_style.pl
No, I really have no idea what's going on there. If you have the Perl skills, you can dig into the code and try to find what function call fails or something... Add die
statements in strategic locations or some such.