This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create new threads for issues like that, post them in here instead.
Before posting, check that the question has not already been answered in this thread, or in the previous thread: http://wakaba.c3.cx/sup/kareha.pl/1141929669/
Questions about "500 Internal Server Errors" go in this thread: http://wakaba.c3.cx/sup/kareha.pl/1109033191/
Is there an easy method of adding Adsense to the left of the input table (the one in the middle of the screen, name, link, comments, file input, etc)? It looked like I could just copy/paste the code right into the Futaba_Style file, but it didn't work. Am I missing something?
On another note, I did add the 1 at the end of the compile lists, and it does keep the spaces in there, but still having issues having Adsense show up right next to the input area.
No hard feelings about ads. On another note, I was trying to implement this into pearl, but I suppose I could just toss it into the html page. :p
If you're going to do that, you might as well put it in templates.pl, because the first time you rebuild the cache all of that adding to the html page will vanish.
Yup, figured that out after I re-cached lol.
I figured out how to place ads on my site, but they do not work in Firefox. I looked at other threads here, some say to turn off xhtml (set it to 0) which I did, that didn't work.
I'm looking at Wakachan, and somehow they are able to display ads in Firefox. I just don't know what they are doing differently than myself.
Ahhhh i've spent about 5 hours today trying to even start this thing!!1! So i've set up apache and got that "it works!" message in my browser..ok easy. Then i set up perl scripts - though im not sure how to test if this is working. blah blah blah i did everything and at the end it just displays code in my browser. Any useful links so that i can start over? ( except http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart ) thanks
Basically, if you just follow those steps as generic and simple as it sounds, it should be working.
On another note, I'm still waiting on some help with my Firefox issue with using ads lol. Not showing up in FF, yet shows up in IE.
Well... I found out what the issue was after hours and hours of looking. The problem was simple. It was my htaccess file that was making it so it wouldn't show ads in Firefox. For future reference for anyone having this issue, be sure to check your htaccess file. :)
Hey, i was just wondering how to make a homepage when clicking home. As it currently links to my directory...
If you're seriously asking us how to make a homepage, maybe you should learn a little more about websites before putting up an imageboard...
of course i know how to make a homepage in theory but was just wondering if it was somehow already created, anyway obviously not...off to dreamweaver
LOL
My webhosting server is being run by 'windows 2003 enterprise edition R2' that I can't change any permission as a user of the server. Host says it's because there's no problems running CGIs without permission setting on the OS.
But, finally what I found is this;
Software error:
Can't locate config.pl in @INC (@INC contains: . C:/Perl/site/lib C:/Perl/lib) at D:\userhome\junkbox\wakaba\wakaba.pl line 16.
BEGIN failed--compilation aborted at D:\userhome\junkbox\wakaba\wakaba.pl line 16.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
just as it is on here: http://hosting.ohseon.com/junkbox/wakaba/wakaba.pl
I seems like wakaba.pl couldn't read config.pl (I heard that it is usual problem on Windows that CGI programs don't read its config files.
Now, I'm waitting for the anser for this from my host.
But I' cant be so comfotable with this.
So, Anybody please help me solving this problem.
Okay so far im liking wakaba alot...but because i dont know anything about html or setting up websites at all, some stuff confuses me. So i was wondering, i still don't quite understand where to put the .html file craeted from the install. Atm it's in *chan.org/b(Wakaba)/imgboard.html which links from the home. problem is if you go to *chan.org/b/ you get the directory. How would i go about just showing the page? Also a final question is once i have done this, to add a navigation at the top of imgboard.html like [ b / c / d ] how can i go about this. Thanks. Anon.
I wonder how big and blinky I will have to make that message at the top before people will actually see it? Anyway...
Windows webservers are a big mystery mostly, but you can try looking at what's been figured out in the past here: http://wakaba.c3.cx/docs/docs.html#RunningOnWindows,RunningOnIIS
Sounds like the current directory doesn't get changed to the board directory. A workaround for that should be in there.
There is no html file created from the tarball. You're definitely doing things all wrong. First, learn how to use CGI scripts. Then, try reading http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart.
How can i go about making a side menu that sticks throughout a whole chan?
where can i download Kareha?
>>370
If you have to ask you aren't trying hard enough.
So, I got wakaba up and running, except for a couple of problems:
Any ideas on why these two things are happening?
I receive "SQL connection failure" message when running wakaba.pl script. What I doing wrong?
wakaba.sql database is already created and config.pl is changed:
use constant SQL_DBI_SOURCE => 'DBI:mysql:database=wakaba.sql;host=localhost';
I'm Running Kareha on my test server at home. Now that I've gotten over the quirks of Ubuntu (I hope...), it seems to work fine, except that bans don't have any effect. They show up in .htaccess, but the matching IPs can still read and post. Am I missing something painfully obvious?
Aaaaand what the hey. Right after I posted that it started working properly. Color me confused.
I've installed Kareha but I can't see anywhere to log into with Manage as it says on the documentation.
Any help would be appreciated.
Thanks.
The docs are a bit out of date; now admin.pl is where the management takes place. There's no link to it, so just type it in.
Thanks for the response.
I tried that but it says:
Can't locate strings_en.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0) at captcha.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at captcha.pl line 13, <FILE> line 4.
Compilation failed in require at kareha.pl line 15, <FILE> line 4.
BEGIN failed--compilation aborted at kareha.pl line 15, <FILE> line 4.
Compilation failed in require at /home/www/admin.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at /home/www/admin.pl line 13, <FILE> line 4.
Everything else seems to work fine.
This has probably been answered already, but I'm not sure what to search for, and reading the whole ~1200 posts in the support threads is a bit daunting.
How do you add a board description? Either below the title (http://orochi.iiichan.net/senti/ is the first example I found) or in the rule list below the message box.
I know Wakaba is designed to handle it, but is there a way to get Kareha to do flood detection and control?
How do I use the german strings instead of the english ones? I want a German board.
where do i have to leave the spainter.jar file for oekaki support?
Just in the base directory along with the rest of the files.
I'm using Yahoo! Small Business webhosting and what I keep getting after hours of trial and error is:
>Software error:
syntax error at config.pl line 173, near "1"
Compilation failed in require at /ichi/kareha.pl line 12.
BEGIN failed--compilation aborted at /ichi/kareha.pl line 12.<
Here is the line of config.pl and surrounding lines,
> 170 #);
171
172
173 1; <
And here is the line of kareha.pl, and surrounding lines,
>11 use lib '.';
12 BEGIN { require 'config.pl'; }
13 BEGIN { require 'config_defaults.pl'; } <
Please help me out.
Thanks,
Mr. Anon
I have been looking over questions and answers and I still have not found out how to make Threads. How might I accomplish this?
>>393
You won't find it because it's a terrible question.
Click "New Thread" under the thread list at the top of the page, fill in a Subject and a Comment, and press the button.
I'm sorry. I just realized that I'm confusing threads with Boards. How would I make a board that I can directly link from my main page that won't get overwritten when I post?
>>398 what? Just copy the entire directly of one board to another and change the config.p information (MySQL most importantly; just change the table names).
Hmm. Okay. I'll try that. Thank you.
I'm trying to post using "Manager Mode" and keep getting this...
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.
Known bug, sorry. Check earlier in the thread for workarounds.
I've just setup my first Wakaba and Kareha boards. I was wondering if there was a better way of citing/quoting in Kareha (like in Wakaba, where the cited link highlights that post rather than taking you to a new page).
http://wakaba.c3.cx/soc/kareha.pl/1098886772/
XML Parsing Error: mismatched tag. Expected: </p>.
Location: http://wakaba.c3.cx/soc/kareha.pl/1098886772/
Line Number 76, Column 404:
im using firefox2
Yes, old bug I for some reason haven't fixed on this site. Fixed it, but the pages need some cleaning which I'll try to get around to later. Nag me if I forget.
Software Error
"use" not allowed in expression at config.pl line 4, at end of line
syntax error at config.pl line 4, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 5.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.
Heres an example
System config
use constant ADMIN_PASS => 'XXXXXXXXXXXXXXX';
use constant SECRET => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
use constant CAPPED_TRIPS => 'XXXXXXXXXXXX =>' 'XXXXXX'=>' <em>cap</em>');
also are there any characters on the standard windows keyboard I should not be using in CAPPED_TRIPS?... because I think I used them all.
That CAPPED_TRIPS line is completely wrong. Look at the example again.
>>409
I changed it to the default setting, just to see if it worked. Now its giving me
"use" not allowed in expression at config.pl line 2, at end of line
syntax error at config.pl line 2, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 3.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.
>>410
it looks like you removed the #
from the # System config
comment line...
yeah thanks, I forgot that pseudo-code does need to be commented.
Is there any way to add moderators without giving them the admin password? Talking about kareha here.
That's like asking if there's a way to add moderators without adding moderators.
Hi.
How can I modify wakaba to make it load index.html of the install's directory instead of reloading the page itself (wakaba.html)?
I need this because my server is slow and permissions are not set propely after a post before the page is requested (error, etc), so I made index.html which redirects to wakaba.html after a second in each wakaba directory.
>>415
In config.pl, change:
#use constant HTML_SELF => 'wakaba.html';
to:
use constant HTML_SELF => 'index.html';
Hi!
I got an attack, where the "hacker" posted "Obvius Troll is Obvius" serveral times on my boards.
What can I do?
How do I prevent same IP from posting several times in a short period of time?
Every time I try to post a manager's post, I get hit with the anti-spam, even if I don't have a url in my comment. What's going on, and can I fix it?
Thanks.
Known bug, see earlier in this thread for workarounds.
SQL connection failure
D:
Just set up my new chan. How to fix?
>>424
http://command-q.org/wakaba/wakaba.pl is my imageboard.
I just installed Wakaba in my hosting, and it works OK. Question: When I reply to a thread, posts after the 1st do not have a Reply link; what should I do to enable it?
http://resourceroom.org/SSN/wakaba.pl
What happened there?
<<447
Never mind, that was a dumb question.
In case anyone asks the same thing, just click the post number ¬¬
I'm using Kareha.
I want to reload captcha image on click. My idea is to delete the captchakey cookie and to rerequest captcha.pl. So, I can delete to cookie using javascript
var cookie_date = new Date ( ); // current date & time
cookie_date.setTime ( cookie_date.getTime() - 1 );
document.cookie = "captchakey=; expires=" + cookie_date.toGMTString();
Now, given, that kareha captchakey generation mechanism is based on the REMOTE_ADDR and time() in minutes (string 61 in captcha.pl), if I rerequest the captcha within one minute, I'll get the same image.
However, when a user successfully post a message, the captcha is generated randomly (string 430 in kareha.pl).
So, I could follow this way, but before doing this I want to understand, what was your reasons for such design?
how does a script for rotating title images look like? just a short example please...
Don't post if you have nothing to say. Your question is not so important that it absolutely has to be at the top of the board at all times.
>>432
Chrissake, this is something you could have answered yourself in 30 seconds if you did some google searching.
<?php
$a = glob("*.{gif,jpg,png}", GLOB_BRACE);
header("Location:".$a[array_rand($a)]);
I got my imageboard up, but it only allowed me to post the first post with picture only. Every time I try to attach a picture to another post or reply, I get that page that reads, "Duplicate file entry detected" even though it's a completely different picture.
Anybody know why this is; what causes this problem and/or how I can fix it?
Thanks
How the hell do I post with an admin tripcode? Can't seem to find this anywhere.
>>437
In Kareha, you can set up capcodes with specified tripcodes in the config. In Wakaba you can't.
After I went to a page (aaa.pl, I believe) I keep getting 403's just about everywhere... Could you... erm... fix this please? I can't access anything but /sup/ and /soc/.
Not unless I have your IP address.
Hey there
I noticed the preview post function is working perfectly here, so I guess I'm doing something wrong. I've set up kareha message board and everything works perfect... except for the preview post button which gives me some error
I'm uploading an image to let you see.
>>442
Alright, I just realized something, Kareha throws out an error for preview post when you are making a NEW thread, as opposed to previewing a reply post.
The same seems to be the case here. Some sort of bug?
It seems to work fine for me in Safari, even for new threads. What browser?
I am having trouble making wakaba go to a new page. No matter how many images and new threads I create, it will not create a page 2. I messed with the settings in config.pl but they don't seem to do anything:
use constant IMAGES_PER_PAGE => 5; # Images per page
use constant REPLIES_PER_THREAD => 5; # Replies shown
Also, would anyone know how to make a new board in wakaba?
Thanks
>>447 Sounds, once again, like a folder permissions problem.
To make a new board, create a new subfolder and install another copy of wakaba.
Also remember that you have to rebuild caches after any change to the settings, if they "don't seem to do anything".