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/
>>296
Check your file permissions and error logs.
> I have looked beforehand for an existing topic
Not enough, evidently ;)
ok, I'll uninstall mod_perl (via synaptic), and I have chmodded wakaba.pl and captcha.pl to 755.
but the error message persists.
Forbidden
You don't have permission to access /public_html/wakaba.pl on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch Server at localhost Port 80
I've uninstalled mod_perl, it still comes up with the error.
Problem solved, I added:
ScriptAlias /cgi-bin/ /var/www/html/
<Directory "/var/www/html/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .pl
Order allow,deny
Allow from all
</Directory>
to /etc/apache2/sites-available/default
and this:
AddHandler cgi-script .cgi .pl
to apache.conf
and loaded the module using:
sudo a2enmod perl
I then restarted Apache and hey presto! the wakaba.pl script loaded up!
I think the source of the problem was not adding the code to /sites-available/default as this defines /var/www/html/wakaba as a directory that can run perl.
>>286
this has been done along with overhauling the mod panel to something sane
Regarding the "KEEP_MAINPAGE_NEWLINE" thing again.
Is there any way to make it works when viewing threads?
I have tried to do like this:
>},1;
at the end of THREAD_HEAD_TEMPLATE but when I try to post again it just output:
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
instead of the comment. Is there any way to do this?
> Is there any way to make it works when viewing threads?
In Kareha? No. The script finds threads by loading single specific lines from the file. Everything breaks if you mess with that.
Two simple queries:
Am I correct in thinking that of Wakaba, Kareha and Kusaba, only Kareha can have dynamically generated 2ch style "show last 50 posts" (eg http://wakaba.c3.cx/sup/kareha.pl/1192108766/50)? I was looking to integrate most recent posts embedded into other parts of the site using this feature, so it seems only Kareha will do using this method.
Particularly in Kareha, is there a simple way of flagging a thread undeletable, so it could be left alone at the end of the board without any danger of it being deleted? I was looking to tie certain threads into the site, so I don't want them being deleted.
Thanks.
>>307
IIRC Kusaba had "first 100" and "last 50" links in that giant mess of useless buttons it adds to every thread. You can do something similar with Wakaba when it's rebuilding the thread page -- just prune the thread after writing the res/*.html file, and run the writer again with a new filename. You'd have to be fairly competent with Perl to hack that in, though.
If you're intending to mix threads in with non-thread content, I think it'd probably be easiest to use Wakaba and pull the threads with an SQL query elsewhere.
>>308
Thanks, I more or less got something working.
Last problem I have is adapting the output to fixed width - for some reason a long line of text in a thread refuses to wrap to a new line (which screws up the display) despite me plastering max-width everywhere in the CSS, I presume I am missing the proper location for max-width in the CSS or style.pl? The page itself is now fixed width, but a long line just doesn't wrap fluidly like it should. The element is a blockquote, but the CSS does nothing to stop the line...
Last piece in the puzzle for me now...
How do you change the "Wakaba image board" title and link "Home" to a specific page?
Ok, I've gotten the "home" link sorted out myself, but I can't figure out how to change the "Wakaba image board" title on the first page.
i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?
i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?
is there a guide to theming wakaba and kusaba?
Hello, first thanks to the author for writing such great software.
Kareha question.
I have one working image board on my private host (Windows). I created a new dir where this board lives and extracted and setup all the files as before to give me a second board.
However when I run kareha.pl from this new dir it displays the title of my original board, says 'Thread specified does not exist.' and fails to create an index.php.
For the life of me I have no idea what's going on. I see no reason how is managing to display the title of my original board.
Before I move my original board to a separate dir I thought I'd ask for help. (Is it even possible to move a board and have its contents survive?)
You need to either delete index.html before running kareha.pl, or go to the admin page and click "Rebuild caches".
Thanks, tried that and ran into a CGI error. Problem with the way my host is setup. m(_ _)m ~ギブ アップ
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?