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.
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
Right, it does mean that, but you could also mean running it from the command line, which is what you should not do. And on most setups, you can't access .pl files which do not output the proper data when run, so it's impossible to access config.pl. If it is possible on your server for some strange reason, use .htaccess to block access to it.
Also, wakaba.pl is executed each time somebody posts, so it needs to stay as is.
No one has any ideas regarding my archiving problem? C'mon folks, I have Ghastly himself posting in my board, it deserves archiving!
FOR POSTERITY
I didn't write the archiving code, so I am not too familiar with its inner workings, sadly. If I see dmpk2k I'll point him at it.
I'm trying to figure out why javascript added to footer.html or header.html no longer works. It is being output fine as far as I can tell, but like the rest of the html, \n are stripped.
However, I cannot figure out where Wakaba strips \n before output.
Can anyone help?
If it's Google ads, their code is incredibly paranoid. There's a config.pl option to turn off the stripping.
I'm having problems with getting apache to start the kareha script configuring it the same as in the quickstart and http://www.thesitewizard.com/archive/addcgitoapache.shtml either renders just the source code or a 403 error, apache manuals have been of little help.
Running winxp
Without any further information than that, you're not likely to get much useful help. Apache is a tricky bit of software.
Its similar to Google Ads. Apparently, this only effects Javascripts that use document.write to write a script tag to load the real script, afact.
Doh, the \n stripping isn't breaking it. Also, there is no config.pl option for it; simply edit include() in wakautils.pl.
Oh boy, it seems the script actually does work when called from Waka... just not in Firefox.
I mean, how do I set apache to have the script run once it's loaded in the browser
This isn't really an Apache support board. The info is out there on the net, go look for it. If you have a specific question, maybe somebody here can answer it, but that one is just too much work to answer.
Does someone know how to implement embeded music into the baoard? I tried adding an <embed> html string to the index.html file which sortof worked, except that I don't want it to crash the browser to show a player window
>>897 Why in God's name would you want to embed music?
Sorry for the noob question. About admin tripcodes in Kareha: let's say I changed the line in config.pl like this
use constant CAPPED_TRIPS => ('!foo'=>' ADMIN','!bar'=>' <em>ADMIN</em>');
is it correct? Now what do I have to use as my name to have them displayed? Neither "Sako#foo" or "Sako#bar" etc seem to be working.
>>898
To annoy the heck outta people! What other reason is there ;)
sry this is a littl off topic
>>887
Ok I fixed it, by editing config defaults archive mode to 1. Looks like it was overriding the one set on config
>>899 it's 'result'=>'ADMIN'
for me, I'd use '21anon4H3U'=>'awesome admin'
Hi, just a question about kareha, my board refused to let me post, reply, rebuild caches, everything went to a blank page. A fresh install works fine, and the last thing I did before it went weird was try to upload an image, from the error log:
[Tue Aug 7 22:17:05 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.
[Tue Aug 7 22:04:40 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!
[Tue Aug 7 22:04:21 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.
[Tue Aug 7 21:48:48 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!
[Tue Aug 7 21:44:46 2007] [error] [client 72.8.94.119] Premature end of script headers: /home/jerblcom/public_html/b/admin.pl
[Tue Aug 7 21:35:17 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. convert: missing an image filename thumb/1186477676547s.jpg'. convert: no decode delegate for this image format
src/1186477676547.png'.
The first entry seems to be the most telling, because the rest are just me trying to do things, i uploaded an image and then it crashed, everything I tried after that would just go to a blank screen. I am thinking that perhaps the image was corrupted, but I can't figure out why it wouldn't let me do anything after that. What should I do to avoid this in the future and is there a way to recover the posts from the old install and put them in the new one?
How can I set kareha so that post number are contigous, not starting at 1 for each new thread? I'm under the impression to image names need a script to do this, naming them up but not orig name, are posts the same way?
I fully accept that I've probably missed this somewhere, but I'm trying to modify things so that when URLs in the 'comment' field are parsed they add ' target="_top" ' into them.
I figure I need to be modifying the 'HTML Utilities' section of 'wakautils.pl', however that code looks too complex for my limited perl knowledge.
Any pointers? (or solutions even!)
>>903
The same thing happened to me this May, but that was with wakaba. I didn't save the error log, but it came after tons of trials for stuff like /admin, /cgi-bin, and /phpBB from Russian IPs. My host was Dreamhost. I think they managed to delete the database of wakaba, but sadly I wasn't logging database access, so I couldn't compare and do an error report.
So WaHa, any way to avoid this happening in the future?
No idea what's going on there. I need a way to reproduce the problem if I am to debug it.
>>904 Kareha does not have this feature. It required a database, like Wakaba uses.
i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode
what is it that i must do to force the capcode to work? what is the procedure for cap codes and such
i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode
what is it that i must do to force the capcode to work? what is the procedure for cap codes and such
sorry for the double post i dont know how i pulled that one off lol XD
The reason this thread exists is so that you can find answers to questions by searching in it. Please do so, the last few questions here have been answered multiple times now.
Ah, no, I don't think so. That'd probably just be a case of editing the templates in futaba_style.pl
, though.
How can I install capcodes in Wakaba?
>>912
wow, if that where the real reason that this thread where here then there would be nothing in it
it would be much easier to just answer the question if you know the answer, and if you dont, you could always just be quiet and keep to yourself, then we would not be having this talk, and i would have my answer and i could fix my problem
>>916 You realize that WAHa wrote the script you're using, yes?
Show some Goddamn manners. Your question's been answered a few times in the last 900+ posts.
Hi, I just have one question, which I didn't see in this thread:
When I reply to a thread in my wakabi board, I can't see all the posts. Is it supposed to be like this? If not, what could be possibly wrong and how do I fix it?
>>918
Do you mean it shows it as:
x posts and x images omitted. Click Reply to view.
and all the posts after x are shown, or are posts just disappearing from the thread list?
How exactly do I turn off the CAPTCHA for Wakaba?
>>920
in config.pl
# Captcha
use constant ENABLE_CAPTCHA => 0;
>>919
There were too few posts for any to be omittet (3 I think).
When I see the thread in the main window, I can see all the posts,
but when I press reply, only the first post shows.
If I wait a couple of minutes and then press reply, everything is fine.
Any ideas?
Thanks in advance
You don't have example.htaccess in place, or mod_headers isn't enabled, so your browser is caching old pages.
>>924
example.htaccess is in the same folder as wakaba.pl (that is, the same folder in which they came).
Is it supposed to be in another folder or am I supposed to do anything with it?
How do I enable mod_headers?
Should there be any specific access to example.htaccess, as in write access?
Hi!
I just installed kareha and it's running fine except for one thing
im watching it from the server itself so i use the loopback address 127.0.0.1
so, the board is at http://127.0.0.1/kareha and it loads fine
and i go to http://127.0.0.1/kareha/admin.pl to login as an admin, but there is a problem... no matter what password i enter, even the right one, it redirects me to another page and gives me a 404 error
for example, it goes to http://127.0.0.1/kareha/admin.pl/kareha/admin.pl and it won't find it of course
and if i move it to the server root, then from http://127.0.0.1/admin.pl it tries to go to http://127.0.0.1/admin.pl/admin.pl
what is going on?
thanks in advance!