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/
i am getting this error when i open the wakaba.pl from my browser...
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: . /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1) at (eval 409) line 3, <FILE> line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, SQLite, Sponge.
at /Applications/xampp/xamppfiles/htdocs/xampp/wakaba.pl line 45
and i have no idea what is going on with this.
>make sure the id for the different fields in the management panel are the same as the ones in the normal post form. somewhere along the lines some things got changed and waha didn't apply the changes on the management panel.
I somewhat understand what you're saying to do, but I'm not sure which part to look in. By IDs, do you mean like "Field1" or something else?
Install DBD::mysql.
How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.
How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.
Don't disable cookies, or start typing in a password when posting.
I suddenly am having problems posting images on my site. nahc4.com
Basically if I post an image I get:
"Either this image is too big or there is no image at all. Yeah."
Im getting this on any image.. even a 30kb image. I can only post text on the site now. Does anyone have any ideas on why this is happening? I use dreamhost if that helps.
>>328 do you have board-size limits set in config.pl? or a hard limit set with dreamhost?
Your server is probably blocking file uploads.
>>328
I remember you... you spammed your site on every imageboard in the overchan about a year ago, right? And then it collapsed because you were runnning it on a crappy shared host with Draconian bandwidth limits.
Is there an option (or a temporary hack) to perform secure erasure of unwanted images?
The shred is to be done regardless whether the deletion is invoked by user or admin.
Local laws are really tough on contraband.
There is no option, but if you can find a Perl module that does it for you, it'd be easy enough to search wakaba.pl
for "unlink
" and replace that with whatever secure deletion function you have. You could also make it call some external app to do it, using system()
.
>>333
Thank you for your reply. The web host recommend storing everything in EncFS to make deletion unrecoverable. Not too sure about how true that concept is. I'll try to find that Perl module mentioned.
my 'software error' if anybody doesn't mind helping
No ADMIN_PASS defined in the configuration at /usr/lib/perl5/5.8.7/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 each of these what do i change? like.. showing an example would be the most helpful and i know how to find all te documents for each except /usr/lib/perl5/5.8.7/CGI/Carp.pm
>>335 you forgot to uncomment the lines in config.pl
. remove the # from the very start of the line.
>>336 there is no # and what does uncomment mean? i edited mode_* to mode_image.
now it says:
This board has not been configured yet.
Things you need to do to get the board running:
Choose what kind of board this should be, and copy the files out of the corresponding mode_image directory into the board directory.
Edit config.pl to suit your needs - remember to uncomment the lines you change.
Access kareha.pl again (or just reload this page).
also where is the board directory?
> also where is the board directory?
That's just the one where you're installing things.
ok, so i was at this step >>335
BUT THEN I FUCKED SOMETHIGN UP D:
how do i get back there?
I'm setting up a board using wakaba, when I'm done I have a couple hundred images I would like to upload to start the board off with. Is there an automated way to do this so I don't have to upload them one at a time??
Hi, I know it's been answered before, but the description was a bit complex for me - I tried fixing it and screwed things up completely so I'd appreciate a quick walkthrough. It's the manager post problem, where it says the spam filters have been triggered every time. I edited futaba_style.pl, but only got it to let me post but only including an image and posting as anon. Help would be much appreciated.
>>341 you could make a very specific hand-crafted SQL query.
Okay, I've got a unique problem (Like as far as I have seen while browsing here.)
I have set up Wakaba correctly SQL and Database wise (meaning that there are no server errors and everything is in the right spot)
However, I get "Software error"s now. Here's basically what it looks like:
Software error:
config.pl did not return a true value at wakaba.pl line 16.
BEGIN failed--compilation aborted at wakaba.pl line 16.
config.pl and wakaba.pl are in the same folder and directory, but from what I'm reading (I'm a newbie at perl) is that the wakaba.pl script is claiming it cannot find the config.pl script, therefore not able to draw from it using the
BEGIN { require "config.pl"; }
found on line 16.
I have found above a line containing
use lib '.';
What do I have to do? The server is configured correctly, and my config file seems to be in order, my only guess is that little line (use lib '.';) must have something to do with it. If so, then what do I have to change it to, and if not, then what might be the problem?
No, it finds the file, but it is corrupt one way or the other. You may have deleted too much when editing it?
Hello, I am having a problem or two with setting up Kareha. Everything seems to be in place, but I keep getting the board not configured message. Here's how I have everything in place, am I doing something wrong here?
I followed all the instructions included in the config file along with the setup guide provided here. Should I just try to upload a fresh config file (nonaltered) and just work my way up from there?
>config.pl did not return a true value at wakaba.pl line 16.
I'm not that experienced in Perl, but doesn't that error come from the 1; not being at the end of config.pl?
Yes, probably.
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';