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.
Without any further information than that, you're not likely to get much useful help. Apache is a tricky bit of software.
Its similar to Google Ads. Apparently, this only effects Javascripts that use document.write to write a script tag to load the real script, afact.
Doh, the \n stripping isn't breaking it. Also, there is no config.pl option for it; simply edit include() in wakautils.pl.
Oh boy, it seems the script actually does work when called from Waka... just not in Firefox.
I mean, how do I set apache to have the script run once it's loaded in the browser
This isn't really an Apache support board. The info is out there on the net, go look for it. If you have a specific question, maybe somebody here can answer it, but that one is just too much work to answer.
Does someone know how to implement embeded music into the baoard? I tried adding an <embed> html string to the index.html file which sortof worked, except that I don't want it to crash the browser to show a player window
>>897 Why in God's name would you want to embed music?
Sorry for the noob question. About admin tripcodes in Kareha: let's say I changed the line in config.pl like this
use constant CAPPED_TRIPS => ('!foo'=>' ADMIN','!bar'=>' <em>ADMIN</em>');
is it correct? Now what do I have to use as my name to have them displayed? Neither "Sako#foo" or "Sako#bar" etc seem to be working.
>>898
To annoy the heck outta people! What other reason is there ;)
sry this is a littl off topic
>>887
Ok I fixed it, by editing config defaults archive mode to 1. Looks like it was overriding the one set on config
>>899 it's 'result'=>'ADMIN'
for me, I'd use '21anon4H3U'=>'awesome admin'
Hi, just a question about kareha, my board refused to let me post, reply, rebuild caches, everything went to a blank page. A fresh install works fine, and the last thing I did before it went weird was try to upload an image, from the error log:
[Tue Aug 7 22:17:05 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.
[Tue Aug 7 22:04:40 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!
[Tue Aug 7 22:04:21 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.
[Tue Aug 7 21:48:48 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!
[Tue Aug 7 21:44:46 2007] [error] [client 72.8.94.119] Premature end of script headers: /home/jerblcom/public_html/b/admin.pl
[Tue Aug 7 21:35:17 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. convert: missing an image filename thumb/1186477676547s.jpg'. convert: no decode delegate for this image format
src/1186477676547.png'.
The first entry seems to be the most telling, because the rest are just me trying to do things, i uploaded an image and then it crashed, everything I tried after that would just go to a blank screen. I am thinking that perhaps the image was corrupted, but I can't figure out why it wouldn't let me do anything after that. What should I do to avoid this in the future and is there a way to recover the posts from the old install and put them in the new one?
How can I set kareha so that post number are contigous, not starting at 1 for each new thread? I'm under the impression to image names need a script to do this, naming them up but not orig name, are posts the same way?
I fully accept that I've probably missed this somewhere, but I'm trying to modify things so that when URLs in the 'comment' field are parsed they add ' target="_top" ' into them.
I figure I need to be modifying the 'HTML Utilities' section of 'wakautils.pl', however that code looks too complex for my limited perl knowledge.
Any pointers? (or solutions even!)
>>903
The same thing happened to me this May, but that was with wakaba. I didn't save the error log, but it came after tons of trials for stuff like /admin, /cgi-bin, and /phpBB from Russian IPs. My host was Dreamhost. I think they managed to delete the database of wakaba, but sadly I wasn't logging database access, so I couldn't compare and do an error report.
So WaHa, any way to avoid this happening in the future?
No idea what's going on there. I need a way to reproduce the problem if I am to debug it.
>>904 Kareha does not have this feature. It required a database, like Wakaba uses.
i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode
what is it that i must do to force the capcode to work? what is the procedure for cap codes and such
i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode
what is it that i must do to force the capcode to work? what is the procedure for cap codes and such
sorry for the double post i dont know how i pulled that one off lol XD
The reason this thread exists is so that you can find answers to questions by searching in it. Please do so, the last few questions here have been answered multiple times now.
Ah, no, I don't think so. That'd probably just be a case of editing the templates in futaba_style.pl
, though.
How can I install capcodes in Wakaba?
>>912
wow, if that where the real reason that this thread where here then there would be nothing in it
it would be much easier to just answer the question if you know the answer, and if you dont, you could always just be quiet and keep to yourself, then we would not be having this talk, and i would have my answer and i could fix my problem
>>916 You realize that WAHa wrote the script you're using, yes?
Show some Goddamn manners. Your question's been answered a few times in the last 900+ posts.
Hi, I just have one question, which I didn't see in this thread:
When I reply to a thread in my wakabi board, I can't see all the posts. Is it supposed to be like this? If not, what could be possibly wrong and how do I fix it?
>>918
Do you mean it shows it as:
x posts and x images omitted. Click Reply to view.
and all the posts after x are shown, or are posts just disappearing from the thread list?
How exactly do I turn off the CAPTCHA for Wakaba?
>>920
in config.pl
# Captcha
use constant ENABLE_CAPTCHA => 0;
>>919
There were too few posts for any to be omittet (3 I think).
When I see the thread in the main window, I can see all the posts,
but when I press reply, only the first post shows.
If I wait a couple of minutes and then press reply, everything is fine.
Any ideas?
Thanks in advance
You don't have example.htaccess in place, or mod_headers isn't enabled, so your browser is caching old pages.
>>924
example.htaccess is in the same folder as wakaba.pl (that is, the same folder in which they came).
Is it supposed to be in another folder or am I supposed to do anything with it?
How do I enable mod_headers?
Should there be any specific access to example.htaccess, as in write access?
Hi!
I just installed kareha and it's running fine except for one thing
im watching it from the server itself so i use the loopback address 127.0.0.1
so, the board is at http://127.0.0.1/kareha and it loads fine
and i go to http://127.0.0.1/kareha/admin.pl to login as an admin, but there is a problem... no matter what password i enter, even the right one, it redirects me to another page and gives me a 404 error
for example, it goes to http://127.0.0.1/kareha/admin.pl/kareha/admin.pl and it won't find it of course
and if i move it to the server root, then from http://127.0.0.1/admin.pl it tries to go to http://127.0.0.1/admin.pl/admin.pl
what is going on?
thanks in advance!
>>926
I tried renaming example.htaccess to just .htaccess,
but now I get this error:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory."
Any idea what that means?
Read error_log.
Since I really don't know what happened with kareha and my previous error, I do need to know how to compile posts from multiple install attempts, is there a tutorial on how to throw a whole bunch of boards together into the same place? The basic idea is to be able to restore old posts, combine boards, backup stuff, whatever.
If you just combine the res/
(and src/
and thumb/
if you had images) directories, and rebuild caches, that should combine the posts. Old >> links may be broken if the boards lived at different URLs though.
i have this setup but it only seems to run in my CGI folder... why is this?
Because that is how your web server is set up.
>>933 because welcome to 1996. maybe you should get out of the time warp and find a better host/web server.
i recently changed from the kareha script to the wakaba script and was wondering if capcodes are possible or if i have to edit some code or if i am just missing something, i cant find anything in the config.pl file or in the management tab that would
also, i couldent find any posts that explain capcodes in wakaba so, if this has been answered before, i would love to be pointed in the right direction
Sorry, no capcodes. I think some people have mentioned hacking them in, which is probably not that hard, and is anybody wants to post a patch for it, go ahead.
>>937
yeah, if someone has hacked them in and would care to share? all i managed to do was trash the code when i tryed.. lol
Looks like I can duplicate the real problem I've been having in both Wakaba and Kareha so it must have something to do with my host.
I install Wakaba (Kareha too)
Everything works fine
Suddenly only the previously generated html pages are accessible, can't upload, admin, rebuild caches nothing, everything goes to a blank page or generic 500 page
I am not sure, but my host might have a script that frequently changes script created files to a different owner than the one running apache.
I've changed all the permissions on the script created files that I can think of to world writeable, directories 777, files 666 but the error continues, but I might have missed a temp file, cache, something buried in the code I don't know about.
Wakaba causes this apache error when I try to upload an image or access admin.
[Sun Aug 26 20:54:45 2007] [error] [client 72.128.52.103] Premature end of script headers: /home/jerblcom/public_html/o/wakaba.pl
Most of the time it just returns a blank page, without causing any error in apache at all.
If my problem is permissions related, is there a line of code that I could insert to change the permissions of all script created files to world writeable from the start, apparently that is how wordpress does it but that is in php so...
Or is it something else that only the gods can figure out and I am just blowing air into the sky. Your scripts are totally awesome, I just wish I could get them to work on my server for longer than 2 days consecutively without a fresh install.
Any help totally appreciated.
I just installed wakaba but, after posting a thread, I get this error.
Software error:
Can't load '/usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib/perl5/5.8.8/x86_64-linux/XSLoader.pm line 70, <FILE> line 3.
at /usr/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 234
What is happening and how do I fix it?
That is, before the line return;
in the function write_array
.
I'm excited, because your advice sorta helped, so, for the rest:
Is there another function that handles certain files like log.txt (i manually set its permission to 666), the files in thumb, the files in src?
Will the script eventually try to delete or change any of these files and run into trouble?
I noticed that the script will try to edit .htaccess (also manually to 666 even though kinda dangerous) when it bans people, are there other files that the script expects to be writeable?
Where does the script put uploaded files before it puts them in src? Could that temporary location be interfering with the script?
The patch you recommended seems to work well, but I am still getting moments where the script dies and then hours later will resurrect itself somehow, whereas before it stayed dead, so this is definitely helping me. I apologize for not finding these things myself, thank you for your help!
>>944 refers specifically to kareha because wakaba seems to put most things in the dbase, but if wakaba has special files I need to know those too.
log.txt is written to by release_log()
in kareha.pl, that should be easy enough to modify. process_file()
writes the file in in src/
and thumb/
. I'm not sure where the file is kept before being copied, that is outside the control of the script, and probably up to Apache or CGI.pm or something.
First, will the oekaki integration work with kareha? If its as easy as with wakaba, maybe I should just stick with what works.
I haven't tried >>946 yet because kareha is working fine with just >>942 and >>943 so I wanted to give it a while to see if it dies again.
Wakaba continues to die, seems to confuse itself a little as it changes wakaba.html in the main directory and 9.html in the res directory back to 644 and then when I manually set to 666, it still returns it back, so I am confused a little. Replies on existing posts work, but new threads give a blank page. Does >>946 apply to wakaba too? What function handles res? Is it still write_array?
Oekaki integration does not work with Kareha. You'll have to hack it up yourself if you want it.
I think wakaba writes to res through write_array()
, and the stuff about process_file()
should be the same.
I have an oekaki board and I got it to save the pictures finally but now they aren't being posten on the actual board, what do I need to do?
Will we ever get new releases of Wakaba and Kareha, even if they're only maintenance/bugfixes?
On a related note, what's the likelihood of that modularized Kareha re-write ever happening?
Hi,
What am I doing wrong if the generated pages stick all the HTML on a line? It was mentioned earlier in the thread (search for "one line") but the reference is vague.
Thanks.
Forbidden
You don't have permission to access .../wakaba.pl on this server.
wth is goin' on?
>>955 That's how the pages are generated. Nothing wrong with it.
Hi there
I downloaded kareha.
How can I set the permissions of the script (kareha.pl and captcha.pl) to 755?
Thank you for reply.
I'm using a Kareha text board and I can't seem to get the Shift_JIS to work. I've changed the setting in the conf and the .htaccess but after it loads the board it stops loading after the first post in the first thread.
Anything I'm missing?
>>961 well, it depends on what you're doing. If you're trying to get some text that needs to be on separate lines to work (say, AdWords or somesuch), try saving your include files with windows line endings (open and save them in Notepad or something). If you're doing something more complicated, there's a few lines in waka_utils.pl that you can comment out, but I can't remember where exactly they are. Waha, you recall the exact lines?
last time i checked the option to not collapse all the HTML it sends is in the config file..
Yeah, there's a STRIP_NEWLINES option (or something like that) these days.
I've tried Googling this, to no avail... I can't think of any more search terms to use, so I decided to ask here(I really hate bugging this board with my stupid questions if I can help it...).
I would like to allow people to create their own board(s) on my site, I'm not sure how feasible this is with Wakaba(the MySQL thing might be a hassle), but perhaps it is possible with Kareha?
If anyone can help me find information on automating script installation/remotely hosting user-created boards I would be most grateful, I am no expert with scripting but wish to offer this to users of my site.
If you are not entirely, 100% sure what you are doing, I would strongly recommend against this. There are many, many ways you could fuck up and make it possible for somebody to take over your entire server this way.
fusianasan
what
mokorikomo
I'm going to trust you, I know you have more experience than just about anyone here, so thank you for the warning.
I've never heard of this security issue, it must be why it's so hard to find information on this subject.
Thanks for telling me.
Are there any really simple step by step guides for installing wakaba?
That is too bad.
Noob's guide for setting a MysqlDatabase to work with Wakaba? I have made a database and linked the config.pl file to it but I still get a "SQL connection failure".
Then your config.pl settings are not correct.
[Thu Oct 04 21:50:04 2007] [error] [client xx.xx.xx.xx] [Thu Oct 4 21:50:04 2007] wakaba.pl: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''0', '10'' at line 1 at wakaba.pl line 1599., referer: http://domain.net/board/wakaba.pl?task=admin
This is happening on a board that has been up and working properly for quite some time now.
Line 1599 of our wakaba.pl is this:
$sth->execute($page * $threadsperpage, $threadsperpage) or make_error(S_SQLFAIL);
The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
Please try the following:
* Contact the Web site administrator if you believe that this request should be allowed.
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
get this whenever i try to post or use [manage] button.
I have no idea whats going wrong, help is appreciated.
>>980
I think I can fix the problem, I just need to know what windows .dll processes html files. Anybody know off the top of your head, Google searches so far all want me to download shit I don't need.
Alright, i got it to process my html with a http.dll whatever, but now I get a
HTTP/1.1 501 Not Implemented
Whenever I try to post. When I executed wakaba.pl only 1 file came out of it, wakaba.html. Is there supposed to be more?
Finally got all the verbs to enable using URLscan, but now theres a
Bad request
The page that you are looking for might have been removed, had its name changed, had its content expired, or is temporarily unavailable.
Please try the following:
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button or open the home page for this Web site and look for other links to the information that you want.
HTTP Error 400 - Request is badly formed.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 400.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Web Site Administration, and About Custom Error Messages.
error everytime
>>981-983 the solution is to install apache. It's free. It's better than IIS.
Try asking the Dreamhost people about it, first.
>>986
Well, I'll just not and tell you what their response would be. "We do not give support for any third party software."
Is there a changelog for wakaba? I have an older version of wakaba, and I'm wondering if it's really worth my while upgrading.
I've been messing with Kareha for use as a blog, and well, I'd like to hide all replies to a thread.
Unfortunately setting REPLIES_PER_THREAD to 0, just gives no limit to the amount of replies shown.
Any suggestions?