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.
>>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?
>>991
I tried that. It seems that the first post is considered a reply as well. (unless I screwed something up...)
>>992
crazy. i'm kinda busy atm and i haven't hacked up kareha as much as i have wakaba so i don't have an answer for ya off hand.
I had a setup like that once, but I've totally forgotten how I did it. You could just use a big <if> statement in the replies loop to only display reply 1, I guess.
Since there's almost one thousand posts in here, HOW do I configure the options in config.pl when there are NONE IN IT? \o.o/ All it contains is below:
print <<END
Content-Type: text/html
<html>
<head><title>Unconfigured board</title></head>
<body>
<h1>This board has not been configured yet.</h1>
<h3>Things you need to do to get the board running:</h3>
<ul>
<li>Choose what kind of board this should be, and copy the files out of the corresponding
<code>mode_*</code> directory into the board directory.</li>
<li>Edit <code>config.pl</code> to suit your needs - remember to uncomment the lines
you change.</li>
<li>Access <code>kareha.pl</code> again (or just reload this page).</li>
</ul>
</body>
</html>
END
;
exit 0;
1;
(P.S.: I have never used Perl before, and I have also never used this script before. <.<)
Perhaps you should read the instructions you just posted again.
…
OHHHHH. smacks head Okay, I get it now, thanks. :D I guess I just misunderstood it a bit. I get it now! :)
Okay I am stuck at SQL connection failure, what do I do? It looks like its working but it just says SQL connection failure on the webpage?