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/
fwiw: I posted a proper patch implementing >>893 in the patch thread (http://wakaba.c3.cx/sup/kareha.pl/1256252904/10)
Okay, sorry, but how do I go about identifying that?
>>901
You should be able to find that out from your host.
Or, since you've already gotten perl running, stick die `uname -a`;
right under the use strict;
in wakaba.pl and hit it from a browser. If you're not on Windows that should give you a lot of useful information.
Thanks, this is what it gave me:
Linux hosting1-de.santrex.net 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
So does that tell me i'm runnins on linux?
Hello everyone. I'm curious about archiving in this script. I have a private imageboard that gets used regularly, and I'd like to find a better way to archive posts. What I currently do is go into the manager, select post by post what ones I want to archive and then hit archive. The logical thing to do after looking in the manager. This, however, can be a bit tedious when I have a large amount of posts to archive.
What I want to know is if there is a way to perhaps select all of the posts at once, or if there is a way to have it auto archive (either every time there is a post, or maybe based on when it gets to a certain number of pages.)
Any ideas, or am I stuck doing it post buy post?
Thanks!
>>903
Yes. Get hold of a 32-bit Linux build of the convert
binary, upload it to your FTP account, make sure it's executable, and set the correct path to it in Wakaba. It should work.
>>905
Well, the trick is, most binary versions are linked against X11, which is unlikely to exist on the server.
(You might still have to build it yourself.)
>>906
that wouldn't be a problem with a statically linked binary, which is really the way to go for something like this. it eliminates the need to find out what versions of various libraries are installed on the server, and it won't break if the hosting company updates or removes those libraries.
>>907
So you suggest statically linking all of X11? That's patently foolish.
>>905
>>906
>>907
>>908
Uh, sorry but you guys are really confusing me, I'm going to search for a 32-bit linux build of the convert thing, but what do I do once I find it?
Also I tried installing this on a different board, and it gave me this error code, I don't know what it's talking about since in the same folder is the config.pl file:
Can't locate config.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /home/www/boards.fuckingmagnets.org/b/wakaba.pl line 16.
>>909
You put it onto the server, of course. Then change CONVERT_COMMAND in the config to point at the file you uploaded.
Make sure to set it executable (chmod 755)
>>908
no program links against all of X11, statically or dynamically.
it's only xlib that things link against, and there's no reason at all for convert
to be linked against that.
$ ldd /usr/bin/convert
linux-gate.so.1 => (0xb78d6000)
libMagickCore.so.4 => /usr/lib/libMagickCore.so.4 (0xb7662000)
libMagickWand.so.4 => /usr/lib/libMagickWand.so.4 (0xb754f000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7535000)
libc.so.6 => /lib/libc.so.6 (0xb73ea000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb73b7000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb735d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb72d8000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb72a3000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7275000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7266000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb725e000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7247000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb712d000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb70dc000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb70cb000)
libz.so.1 => /usr/lib/libz.so.1 (0xb70b5000)
libm.so.6 => /lib/libm.so.6 (0xb7090000)
libgomp.so.1 => /usr/lib/libgomp.so.1 (0xb7083000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb707b000)
/lib/ld-linux.so.2 (0xb78d7000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7055000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7051000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7038000)
libdl.so.2 => /lib/libdl.so.2 (0xb7034000)
librt.so.1 => /lib/librt.so.1 (0xb702b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7028000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7023000)
Ergo you're an idiot.
>>913
You sure are bad at using capital letters for such an insufferable pedant.
Forgive me if this is a common question, but I've done a cursory search and only seen one pots (which everyone seems to have missed). I want to implement spoiler images on my site (like 4chan has, tick a box and the image thumbnail is replaced) but I wouldn't know how to go about it. Shouldn't be difficult though, should it?
>>916
Well, no, none of these 4chan-ish features are difficult, as the previous couple patches were intended to demonstrate.
Seems to me this would necessarily involve a bit of a hack to get process_file not to generate a thumbnail, I think you'd have to add another variable:
sub process_file($$$$)
{
my ($file,$uploadname,$time,$spoiler)=@_;
Then when it's figuring out whether to make a thumbnail (the if(!$width)
stuff), if $spoiler is set, don't make one. Then add a checkbox to the form (of course), look at the value in post_stuff, etc. etc.
It's a little more complex than some other hacks, but still only a couple lines.
Hey guys, had another question here. I installed wakaba on a subdomain, and now im getting sql connection failure. Do I have to change the host?
>>917
Heh, I think this is way out of my league for now. I'm going to have to do some reading on Perl and give it a go another time. Thanks anyway, hopefully that'll get me started!
I installed wakaba on a nearlyfreespeech server, when all of the permissions are set to 775 i get the "could not write to directory error" and when i set the permissions to 777, it changes the url from ...wakaba.pl to ...wakaba.html and it gives me a "404 not found error" What do?
I also have this problem what I saw posted at least err.
2 times on this thread, and NEITHER had a post answering the trouble.
I am trying to install Kareha (and wakaba once, same problem)
I have two machines, one is a host I have remotely, and one is a basic linux (desktop) with apache installed by me and it works.
When I use on my local machine I can physically touch, to say, and access Kareha.pl on web browser, I see the code, if I try install it on the remote host I have, it gives me a download window to save the Kareha.pl file.
I also added the perl exec CGI thing but from other stuff I dunno.
Could someone answer with the "only show's code and does nothing" when accessing the #.pl in browser?
Thank you.
>Could someone answer with the "only show's code and does nothing" when accessing the #.pl in browser?
Here's your answer: Apache isn't configured properly.
Paste your config file and point out the changes you made, or check out the thousand other posts about this issue.
Hey guys, my board by default is set up at ../chat/ch.htm, and I'm using htaccess to be able to use http://outrank.me/ch or /ch/76 for example, however when submitting posts, replying to threads etc etc etc all the links revert to /chat/ch.htm, /chat/res/76.htm etc...
How can I make it so the board effectively replaces /chat/ch.htm with /ch?
>>925
Use some mod_rewrite trickery to fix that.
And lol, good luck getting users on 15 dead boards.
As a user, when writing a post, how do you change your text color?
The board in question is running futaba but that's likely to have similar syntax, no?
>>927
Futaba has no markup, except for quoting and auto-linking.
Hmm. There are several people on the board who are able to post text in colors of their choosing.
>>929
Admin posting privileges?
Why not just ask the people on the board in question how it's implemented?
I have asked, but they're elitists who refuse to divulge their "secret."
mod_rewrite!
Non of threads is alive so I'm opening new one.
Does anyone figured how to make 'noko'?
I tried with few functions people gave here but always getting error.
>>933
Been answered several times, and it's really, really straightforward.
Okay, this is weird. Somehow or another accessing wakaba.pl on the board I have installed no longer runs the script; the browser tries to download it instead.
I don't remember changing anything since the last time it worked (last night), but I might have done something stupid and forgotten. Does anyone have any clue what might cause this?
You broke something, and only a person who can see what you actually did could tell you what.
Here is exploit for wakaba that brokes HTML formatting: http://rghost.ru/3016309. Change 191704 for actual post number and post it. Any ideas for workout?
>>937
I can't replicate it. Please explain how it works, what happens, etc. (I do not understand Russian.)
Broken part of page's formatting:
onclick="highlight(100002 </blockquote> </td></tr></tbody>
>>942
Okay, I was able to reproduce it now. This warrants for a release of Wakaba 3.0.9, yes?
I put google adsense on kareha.
For index.html it works ok but not individual thread.
Where should I change the config?
use constant KEEP_MAINPAGE_NEWLINES => 1;is set to 1.
It did not work when it was 0.
>>947
Add it in templates.pl
or any file in the include/
folder, and rebuild caches.
>> 948 thanks for the reply.
Well I did all of that but it does not work....
I've been trying to input Adsense to the each thread but still can not find the way to do.
Is that because I am using Japanese template?
test
How to go in wakaba.pl on wakaba I don't see it anywhere :(
>>952
You evidently deleted some important files. Reinstall.
>>953 OK thx. But When i try to visit wakaba.pl it just tries to download it what to do now ?
Hello
I try to setup a kareha textboard, on a webserver hosted with a cgi-bin folder and perl ready. But When i'm going to the mainpage, style can't load and links don't works. I think than can be a javascript issue.
What do you think ?
>>955 How to execute Perl files on 000webhost or something ?
Thank you for your help :)
>>959
You can't. They don't offer it for non-paying users.
>>956
How? I keep trying but it just won't work!
Also, when I try running kareha from the terminal I get the error "Bareword "SECRET" not allowed while "strict subs" in use at /home/myusername/server/kareha.pl line 368."
a little help please, it's the first time i use apache/perl.
What is the issue...
CHMOD755, Perl ready on my webserver.
http://bit.ly/btcffP
>>960 Is there some other way to do this maybe some other web host ? I'm also using xampp
>>963
Xampp is garbage. Never use it. Never touch it. Don't even breathe around it.
Get a real host, the sort that you pay for that has actual web servers with real Perl and real Apache installed, and not some flaky Windows ME-based "My First Website" setup.
>>964 I have 2 real web host
1. 000webhost
And 2. unlimited tree
But For unlimited tree I don't know how to use it to execute Perl files :/ You know how to use it ?
I also have a look at perlmonks.org so i can do it my self but have not help -.-
I spend 2 weeks on kusaba x Trying to fix out the error on line 55. So I move to Wakaba >:)
Plz just tell me what to do to go in Wakaba.pl Do i make it in to an HTML or something.
>>966
Offhand, both of those even sound like garbage hosts that are highly unlikely to provide decent services. Unlimited Tree has its entire site running on a forum, what the hell is up with that?
Generally speaking:
Maybe try out NearlyFreeSpeech. While I have never dealt with them, I have heard good things about them, and at a glance, their website seems to show that they're competent. Actual, detailed version numbers of everything installed is reassuring. The "WE HAS MSYQL OK?!?!!" type stuff that some hosts (e.g. your Unlimited Tree) write in place of actual information is not a good sign, and is basically telling you that they know nothing whatsoever about what's installed on their servers.
Also, you might want to spend a few minutes getting to know how CGI scripts really work. That will help tremendously if something goes wrong.
If you're going to be running a webserver, you really should know that.
>>969
This was powering by a webhoster, can't acces to subdirectories and Apache logs. All kahera files are 0755. What do ?
always that same issue,
>>962
moved my css directory but nothing happen.
> What do ?
Speak proper English, for one.
Stop trying to run everything under cgi-bin
.
Fix your clearly broken CSS paths.
Probably also learn how web servers work.
I use Heliohost, every perl script work but it give me an error:
No ADMIN_PASS defined in the configuration at /usr/lib/perl5/5.8.8/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.
line 133 of config_defaults it's an "}"
I changed password and now it says:
Can't locate wakautils.pl in @INC (@INC contains: . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at templates.pl line 3.
BEGIN failed--compilation aborted at templates.pl line 3.
Compilation failed in require at kareha.pl line 14.
BEGIN failed--compilation aborted at kareha.pl line 14.
It randomly works now. Thanks Guys and good luck.
>>974
I am sorry for my poor English...
I am going to put back by default the css directory, and I am going to post some configs (screenshot).
I would really like to use kareha, because there is little of French txtboard and to make something good.
>>980
Move that stuff out of cgi-bin, and in fact do not even have a cgi-bin.
You don't need to fiddle with probably 99% of config.pl, so yeah, leave the CSS_PATH etc. alone.
also, je m'en fiche si votre anglais c'est imparfait, mais d'ecrire comme "what do" vous ressemblez un /b/tard, et pas capable de configurer un textboard
>>981
When the script will work I would begin to configure Textboard, I have already set up textboard php. The problem it is the perl language, moreover my host loads this language only in the cgi-bin. That have to I make?
>>982
Probably a good idea to look for another host, cgi-bin is the enemy of a proper and functioning installation.
Sure you can't set it up with a .htaccess or something?
>>985
This was the bettest french host...lol I'm going to open a dreamhost account! Thx for support all.
Wakaba
i turned on function stops Wakaba from renaming image files, but the cyrillic characters look really weird, like укр.jpg.
Can you help me make wakaba show cyrillic names correctly?
will anyone answer me?
>>989
i do use!
i set use encoding 'utf-8' in the beginning of Strings_en, but it does not help
>>990
Check your server's configuration. The files have to be served as UTF-8, and that is outside of Wakaba's realm. Specifically, the Content-Type
header needs to have a charset=utf-8
.
I can't understand how to use open proxy check feature. Can you point me where can I read about configuring wakaba to do it? Exactly what external proxy checking program should I use, this one http://www.corpit.ru/mjt/proxycheck.html ?
No ADMIN_PASS or NUKE_PASS defined in the configuration at /usr/lib/perl5/5.8.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 126.
Compilation failed in require at /var/www/mydomain/imageboard/wakaba.pl line 17.
BEGIN failed--compilation aborted at /var/www/mydomain/imageboard/wakaba.pl line 17.
Keep getting that error. Yes, I've defined ADMIN_PASS and NUKE_PASS in config.pl
>>993
have you really defined them, or are the lines where you think you defined them still commented out?
They're not commented out, nor is there whitespace at the start of the line.
>>993
Are you defined to all *.pl files 0755 chmod?
I configured config.pl my way, set all needed .pl files to executable and ran kareha.pl on perl. It just created and index.html page, nothing more. When I access it, it's a perfect page, but it's static, which means that if I try to post anything, it won't do anything... What have I done wrong?