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.
>>129
How many unique users do you have? I'm betting I won't have as many unique users as 4-ch for quite awhile, so the best way I could approximate how much bandwidth my board would use is if I knew the average bandwidth used by each user, or maybe per hit.
>>130
Thanks, now I understand. By the way, congrats on the new version!
Thanks for answering these questions for me!
is there a way to make a link to web pages that have some name in front of it like:
<a href="example.com" >example sight</a >
that results in a the text "example sight" to be linked to example.com?
Click "More options..." and pick HTML formatting.
I've done everything, installing Perl and Apache, fixing the Hashbangs (though I don't get how you're supposed to set permissions to 755, as I can't understand anything on the Kareha Quickstart page). Still, it does not work, nothing does. I've read through the documentation time and time again and I personally don't find it detailed enough; it's confusing and I think I'm placing the wrong files in the wrong directories. I've been at this for a week now, as I'd like to get a Kareha-site up and running for a few mates of mine.
So, is there a more detailed walkthrough on setting up your own Kareha image board? Or am I to keep trying to decipher the documentation? Thanks.
First off, use this thread for support requests.
Second, unless you tell us what problems you have, there's not much we can do to help. Setting up Kareha itself is a very simple task, and there's not much need for a walkthrough. The trick part is usually getting CGI scripts working in the first place, if you're installing a server from scratch. Guides for how to do that are available elsewhere on the net. I don't have any good links at hand, though, but Google will help, and maybe somebody else could mention a good guide?
Also read the 500 Internal Server error thread for hints: http://wakaba.c3.cx/sup/kareha.pl/1109033191/ - especially post 4. Try to get the test program working first. Only when that works should you start installing Kareha.
Ok, I know that to install wakaba i need either a server or a host. Only problem is I have a server and i dont know how to go about installing wakaba. Im new to this and need some help.
wakaba.zip
.config.pl
(The SQL_
options and ADMIN_PASS
at the very least).wakaba.pl
(and maybe captcha.pl
) to 755, and the permissions on the directories to 777.i need an over all better description on how to do this exactly. Very precise cuz i have no idea what im doing but i want this to work its causing me to lose sleep.
Then I think you'll be better off looking for a general tutorial on how to run CGI scripts. When you've got that down, the rest is easy.
Ok, I'm having a problem in my wakaba. I have uploaded it to my host but whenever I post anything I have to hit F5 to refresh to see my post. I tried uploading and renaming example.htaccess to .htaccess but it still doesnt works, any ideas?
Forgot to say, Im using Firefox
Im sure it has to be something about Firefox keeping info on its cache, because when I delete all the info thats there I see all the messages I posted without problems...
Well, it caused an 500 Internal Server Error... I guess i'll have to change my host or ask them to install that mod...
Anyways, thanks for your help!!
>>144 is already in example.htaccess, but wrapped in <IfModule> so it won't 500 when the module isn't installed. And yes, what you need to do is ask the host to enable mod_headers.
Why can't you just use "Cache-Control: must-revalidate"? The rest are just repetition of that and won't even use If-Modified-Since.
likely just backups to make sure it works on all browsers?
>>149 is close to the truth. It's there to ensure it works on all browsers and all proxies.
RFC2616 is nice, but we're dealing with numerous different products here.
any good sources related on learning cgi scripts?
I'm having an odd problem with Kareha 3.1.0's captcha system: I keep getting the same captcha image repeated, but after the first time, entering it returns "wrong verification code entered". Reloading the image, clearing the browser cache, or disabling caching does not solve this--but deleting the captcha cookie does. Any ideas?
That is very strange. I really don't have any idea what's going on. After deleting the cookie, does it work once, or several times?
I had wakaba running on one server and worked perfect, but now i'm migrating to another server and when execute the wakaba.pl in the server log I get errors like:
ModPerl::Registry: Bareword "SQL_TABLE" not allowed while "strict subs" in use at
And the output of the code, the page, says that can't connect to the sql database (I'm using sqlite).
Any clues of what can be happening? Thanks.
You're using mod_perl, which isn't supported yet.
So what i must use in the server for handle this perl scripts?
I can change the configuration of the server.
Just the usual Options +ExecCGI
and AddHandler cgi-script pl
. Somebody correct me if I misremembered those lines as usual.
Thanks :)
Now the board, the execution of wakaba.pl, works fine, but when i try to upload a new picture i get this error :S
Constant subroutine main::S_HOME redefined at /usr/lib/perl5/5.8.3/constant.pm line 108, <FILE> line 5.,
I need to change something more?
Sorry for double posting but i can't edit the anterior message, and the end of this types of error also say:
wakaba.pl: CGI.pm: Server closed socket during multipart read (client aborted?)
>>154
Just once.
I don't get it either. As I understand how the captcha script works, it sounds like the cookie for a new image is being set, but the old image is still being cached and displayed. But that doesn't explain why clearing the cache does nothing, nor why clearing the cookie allows a new image to load.
Maybe my ISP or webhost is doing some sort of stealth caching. I'll look into that.
You have a wonky Apache setup, it sounds like, but I'm not enough of an Apache hacker to say what's wrong.
I've searching and seems to be that the GCI module has a bug since the version 3.15, someone can say me what verion of the module you're using.
The bug report is this http://rt.cpan.org/Public/Bug/Display.html?id=18677
You should rebuild caches.
Note the use encoding "shift-jis";
at the top of strings_jp.pl
. You should change that to whatever encoding you used for that file, which may be different from what you use on the actual board!
Oh, and also note the no encoding;
at the end.
Hi, getting a problem with installation; I get a 'forbidden' error, and when checking logs get this:
[Thu Jun 15 18:37:01 2006] [error] [Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] INET.pm: Can't locate IO/Socket/INET.pm in @INC (@INC contains: . /usr/home/builder/pb_work_dir/plesk7.5.4_hotfix4_7.5.4/psa/release/dist/usr/local/psa/apache//site_perl/5.00503/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/psa/apache/ /usr/local/psa/apache/lib/perl) at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: BEGIN failed--compilation aborted at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: BEGIN failed--compilation aborted at templates.pl line 3.\n[Thu Jun 15 18:37:01 2006] kareha.pl: BEGIN failed--compilation aborted at /usr/local/psa/home/vhosts/xxxx.net/httpdocs/kareha/kareha.pl line 14.\n
(host edited out).
I have no access to /kareha/ as it says it's "blocked by rule." unsure as to how to change this :x.
:( ty
That's very strange. I have no idea what would cause that. For rules.html, hmm... That might actually be slightly broken. I'd have to investigate that too. If you have a program to convert a file to use HTML entities instead, that should work, though.
Your Perl version is ancient. Wakaba used to work on 5.005, but recent developments have apparently broken it (I don't have anywhere to test it on old versions any longer).
Either upgrade your Perl, comment out the function that uses Socket::INET (it's not important), or wait until I fix it. That might take a while, though, as I'm pretty busy with several things.
Nobody else have problems with CGI.pm?
Can't locate Encode/ConfigLocal.pm in @INC (@INC contains: . /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at /usr/local/lib/perl5/5.8.6/mach/Encode.pm line 52.
Please send mail to this site's webmaster for help. Content-Type: application/xhtml+xml; charset=utf-8
Is the error I get whenever I create a new post or a new topic.
Thanks in advance. :)
looks like your perl installation is broken.
What >>177 said.
I have a bit of a baffling problem: I've used Wakaba successfully with oekaki, but now I need to move it to a different directory. Upon doing this, I receive "File does not exist" errors in the error log, and the paint applet refuses to load. Is there a path somewhere in the configuration files I'm forgetting to set? Nothing of relevance seems to be in the oekaki config files.
Moving the folder back to where it was fixes the problem. The simplest "move" - renaming the directory and rebuilding caches doesn't work either. Thanks for reading.
You probably just need to rebuild caches. The Manage link will point to the wrong place too, so fix it manually.
I'm sorry I wasn't clear - rebuilding caches fixes everything but the applet loading. The error log looks for the jar file in the right place, but reports as not being able to find it.
Most mysterious. Link?
hi, i am running wakaba from the last version under lighttpd 1.4.4 perl 5.8.8.
when i'm trying to post a new thread via the wakaba.html form, it forwards me back to the wakaba.html page, without including the new thread.
tried to delete the wakaba.html to see if the wakaba.pl will create a new one, no success.
thx :]
You need to get lighttpd to tell the browser not to cache the pages. Also, a reload should show the new thread.
ok, i have switched to apache 2.2, and still the post i tried to submit refuses to appear in the wakaba.html page. maybe i should change the wakaba.html permissions to 777 so the webserver could write the new topic into that page?
Did you try just reloading the page? If the script can't write to the file, it will complain.
i tried, no change. it seems like the HTML page sends the POST details to / (or /wakaba.html) instead of /wakaba.pl.
another thing I've paid attention to (a bug?), is the need to write your admin password in the url bar (the form sends a rhandom password)... not so secure imo :S
you can see the problem at http://69chan.ath.cx ...
thanks again :]
The page isn't built right - did you run wakaba.pl from the command line? That will break the page. Also, going to http://69chan.ath.cx/wakaba.pl gets you an SQL connection failure so it wouldn't work anyway. First, fix your SQL settings, then go to http://69chan.ath.cx/wakaba.pl?task=admin and log in and rebuild caches. Also, the admin password is encrypted in the URL bar. This is normal.
okay, i changed the permissions so the webserver can create the wakaba.html and i have fixed the sql settings... everything works now, thanks alot! ^_^
I tried to rebuild cash but I got the message like this.
Untile today it did not happen to us.
Out of memory during "large" request for 1052672 bytes, total sbrk() is 28467200 bytes at wakautils.cgi line 973.
I am using kareha 3.1.0 at http://www.no1game.net/bbs/index.html
Is this something to do with setting ?or do I have to try other
method to cope with ?
Wow, that's a weird error message. The line it occurs on does nothing that I can image would cause that kind of error.
Lacking any other clues, I'm assuming something is very broken on your server.
Thank you very much !WAHa.06x36
well,,, I see file like _Xafeafavae.dat in the same directory of kareha.cgi which I've never seen before....
I bet the html files in res directory is broken but dun know how to tel which is bad res and which is not...
It seems the strange name .dat file comes up when I click the Rebuild cash. sorry multiple reply
When Kareha saves files, it writes them to a file with a random name ending in ".dat", and then renames it to the real name, to avoid destroying files if it runs out of space while writing. However, on your system, the rename function crashes with that error. There is nothing in Kareha that could make that happen. It's not your config or the res files. Something much more serious is wrong with the server.
ok thanks for the advise.
So far, I dont have problem beside that and as the server is not my own I guess there is not much I can do for it.
Well I appriciate your kind advise, your adivse released my from mining the res files. (^^;
Hello, I seem to be having a problem getting the title image to display on my imageboard, i am pointing to the right file on my server but no title image appears only the actualy title.
Did you set both the title image URL and the title mode? It's been ages since I used that, I can't remember what exactly it should be, but the config.pl comments should say something.
I'm having difficulty running Wakaba, specifically getting wakaba.pl to follow through properly. specific error is:
Invalid [] range "}-\x" before HERE mark in regex m/([\x{100}-\x << HERE {ffff}])/
Compilation failed in require at futaba_style.pl line 3.
BEGIN failed--compilation aborted at futaba_style.pl line 3.
Compilation failed in require at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.
BEGIN failed--compilation aborted at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.
Hmm. Your could try copying wakautil.pl from Kareha, and see if that works better.
o shi-
it worked, thx ( ^_^)
I changed the text in include/rules.html, but the board still say
"You should probably put some board guidelines in this file - include/rules.html."
What can I do?
Did you rebuild caches?
The average thread length is a lot higher on first board. Same number of posts, but fewer threads.
Hello,
I need to be able to display a picture when someone has been banned from a board, is it possible to redirect the banned person to a new page or just put an image up in the place of the Banned string?
You should be able to put any HTML you want in the banned string.
I am having problems setting up the oekaki script with wakaba, im not quite sure what you mean by "set the URL settings in oekaki_config.pl" i get a 500 internet server error btw.
500 Internal Server errors are never caused by scripts themselves (except for the hashbang on the first line), but by configuration errors. See http://wakaba.c3.cx/sup/kareha.pl/1109033191/.
So, I've never done anything like this before, but got a Dreamhost account for super-cheap recently, and figured it might be fun to but Wakaba on there. Things seem to be going fine, if somewhat still over my head, but when I tried to load wakaba.pl in my browser I get this software error:
No ADMIN_PASS or NUKE_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 120.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.
Any advice?
You need to edit config.pl to actually configure the script.
I got the same error, and my config file is configured!
did you remove the # in front of the changed lines?
There is no easy way to do this.
>>218 Besides just being safe and making all boards have different passwords, which is more secure anyway.
There are a couple of options for the banning that you can edit. Something like ADMIN_BAN_FILE
, I forget exactly.
I get a 404 Forbidden error when opening wakaba.pl directly
I don't know if i'm supposed to do something like make a html file, or anything. i've already created the mysql databases and set up config.pl
anything i can do?
>>224, you mean 403?
Check out your .htaccess to make sure you're not killing referrers, and make sure permissions are correct (775)
Actually, I got everything working somehow. Thank you though :D
I'm trying to set up wakaba on a home test server before going live on the web. My problem: When I access wakaba.pl through Firefox, It pops up the download manager asking to save or open it.
Using:
Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_perl/2.0.2 Perl/v5.8.7
I have permissions for .pl files set to 755, along with directories as needed.
I have a simple Hello World in the same dir as wakaba.pl that runs fine from a browser with proper headers and everything.
Suggestions?
What's in the Hello World script? Also, what's its name?