The Wakaba and Kareha support thread (1000)

1 Name: !WAHa.06x36 : 2006-03-09 11:41 ID:l2svyCMe [Del]

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.

951 Name: Anonymous : 2007-09-05 07:55 ID:WKhwY+oT [Del]

Will we ever get new releases of Wakaba and Kareha, even if they're only maintenance/bugfixes?

952 Name: Anonymous : 2007-09-05 08:04 ID:WKhwY+oT [Del]

On a related note, what's the likelihood of that modularized Kareha re-write ever happening?

953 Name: Anonymous : 2007-09-05 20:33 ID:Heaven [Del]

>>952 "Modularized"?

954 Name: Anonymous : 2007-09-07 06:36 ID:WKhwY+oT [Del]

955 Name: Anonymous : 2007-09-14 12:44 ID:NRT7cgUY [Del]

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.

956 Name: Noya-kun : 2007-09-14 13:32 ID:OhcAZwyV [Del]

Forbidden
You don't have permission to access .../wakaba.pl on this server.

wth is goin' on?

957 Name: Anonymous : 2007-09-14 14:04 ID:Heaven [Del]

>>955 That's how the pages are generated. Nothing wrong with it.

958 Name: sheep : 2007-09-15 00:43 ID:SNPwdYf0 [Del]

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.

959 Name: Anonymous : 2007-09-15 09:14 ID:j4p7hIs0 [Del]

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 Name: Anonymous : 2007-09-15 20:55 ID:Heaven [Del]

>>957

Is there a quick fix for this, or is it a feature?

962 Name: Anonymous : 2007-09-15 21:23 ID:Heaven [Del]

>>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?

963 Name: Anonymous : 2007-09-16 10:29 ID:whzebA5o [Del]

last time i checked the option to not collapse all the HTML it sends is in the config file..

964 Name: !WAHa.06x36 : 2007-09-16 13:20 ID:Heaven [Del]

Yeah, there's a STRIP_NEWLINES option (or something like that) these days.

965 Name: Anonymous : 2007-09-19 00:06 ID:RwQXjDU+ [Del]

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.

966 Name: !WAHa.06x36 : 2007-09-19 13:37 ID:Heaven [Del]

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.

967 Name: host86-148-227-30.range86-148.btcentralplus.com : 2007-09-21 12:14 ID:Heaven [Del]

fusianasan

what

968 Name: Yamazaki : 2007-09-21 12:17 ID:Heaven [Del]

Yamazaki

969 Post deleted by user.

970 Name: mokorikomo : 2007-09-21 12:18 ID:Heaven [Del]

mokorikomo

971 Name: Anonymous : 2007-09-22 15:03 ID:Heaven [Del]

>>966

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.

972 Name: Anonymous : 2007-09-26 01:43 ID:9OMCreQq [Del]

Are there any really simple step by step guides for installing wakaba?

974 Name: !4X8vLLNDE2 : 2007-10-01 07:43 ID:xXN7wkpf [Del]

>>973
is not really good enough

975 Name: !WAHa.06x36 : 2007-10-01 08:42 ID:Heaven [Del]

That is too bad.

976 Name: Anonymous : 2007-10-03 00:07 ID:9OMCreQq [Del]

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".

977 Name: !WAHa.06x36 : 2007-10-04 06:28 ID:Heaven [Del]

Then your config.pl settings are not correct.

978 Name: Anonymous : 2007-10-05 10:33 ID:Heaven [Del]

[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);

979 Name: Jesus : 2007-10-05 18:23 ID:r31Ibqtg [Del]

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 Name: !WAHa.06x36 : 2007-10-06 09:05 ID:Heaven [Del]

>>978

Did you change to some strange incompatible mysql version?

>>979

You are trying to use IIS. You're on your own for that one, I have zero experience with it.

981 Name: Jesus : 2007-10-06 12:52 ID:r31Ibqtg [Del]

>>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.

982 Name: Jesus : 2007-10-06 14:25 ID:r31Ibqtg (Image: 600x720 jpg, 153 kb) [Del]

src/1191705911785.jpg: 600x720, 153 kb

>>981

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?

983 Name: Jesus : 2007-10-06 14:42 ID:r31Ibqtg [Del]

>>982

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

984 Name: Anonymous : 2007-10-06 15:01 ID:Heaven [Del]

>>981-983 the solution is to install apache. It's free. It's better than IIS.

985 Name: Anonymous : 2007-10-06 19:09 ID:Heaven [Del]

>>980
i'm
>>978

and no i have not changed to some strange version of mysql. i am on dreamhost.

986 Name: !WAHa.06x36 : 2007-10-07 09:44 ID:Z0T+84ak [Del]

>>985

Try asking the Dreamhost people about it, first.

987 Name: Anonymous : 2007-10-07 14:16 ID:Heaven [Del]

>>986
Well, I'll just not and tell you what their response would be. "We do not give support for any third party software."

988 Name: Anonymous : 2007-10-07 16:42 ID:2UlkxMuk [Del]

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.

989 Name: Anonymous : 2007-10-07 16:55 ID:Heaven [Del]

>>988
what's your URL so i can exploit your bugs.

990 Name: Anonymous : 2007-10-09 16:29 ID:6p2E1yun [Del]

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 Name: Anonymous : 2007-10-09 16:38 ID:Heaven [Del]

>>990
'hack' the replies out of the page template.

992 Name: Anonymous : 2007-10-09 17:00 ID:Heaven [Del]

>>991
I tried that. It seems that the first post is considered a reply as well. (unless I screwed something up...)

993 Name: Anonymous : 2007-10-09 19:18 ID:Heaven [Del]

>>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.

994 Name: !WAHa.06x36 : 2007-10-10 04:58 ID:Heaven [Del]

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.

995 Name: Kizu : 2007-10-10 11:25 ID:fx+LBL8r [Del]

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;

996 Name: Kizu : 2007-10-10 11:28 ID:fx+LBL8r [Del]

(P.S.: I have never used Perl before, and I have also never used this script before. <.<)

997 Name: !WAHa.06x36 : 2007-10-10 17:26 ID:Heaven [Del]

>>995

Perhaps you should read the instructions you just posted again.

998 Name: Kizu : 2007-10-10 19:35 ID:fx+LBL8r [Del]

>>997

OHHHHH. smacks head Okay, I get it now, thanks. :D I guess I just misunderstood it a bit. I get it now! :)

999 Post deleted by user.

1000 Name: Riffy : 2007-10-10 21:01 ID:YatYzwPz [Del]

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?

This thread has been closed. You cannot post in this thread any longer.