The Wakaba and Kareha support thread, part 2 (1000)

1 Name: !WAHa.06x36 : 2007-10-11 06:19 ID:K4vOYfq0 [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 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/

2 Post deleted by moderator.

3 Post deleted by moderator.

4 Post deleted by moderator.

5 Post deleted by moderator.

6 Name: Anonymous : 2007-10-11 16:36 ID:5gNAws8H [Del]

990 from the old thread here,
thanks for the suggestion of an if statement, it worked just fine.

7 Post deleted by moderator.

8 Name: confused : 2007-10-14 00:38 ID:xa0eV/G6 [Del]

Hi!
I downloaded wakaba, but i cannot find documentation or any kind of instructions. Yet when I edit config.pl, it says there to read documentation first. Where i can find that?

9 Name: !WAHa.06x36 : 2007-10-14 04:27 ID:Heaven [Del]

Perhaps I should have linked http://wakaba.c3.cx/docs/docs.html from the first post...

10 Name: Anonymous : 2007-10-14 13:37 ID:Heaven [Del]

I also have a rather verbose wakaba setup guide at http://wiki.iiichan.net/index.php?title=Wakaba_and_Kareha_Setup_Guide

11 Name: Anonymous : 2007-10-15 10:32 ID:xa0eV/G6 [Del]

Thanks! That guide was helpful.

12 Name: Anonymous : 2007-10-16 16:41 ID:dl0YVBIe [Del]

Any idea why the [del] button next to a post you've made won't work from the main page (with all the other threads, like /sup/) but when you go to the thread page (/sup/kareha.pl/######/) it works?

13 Name: !WAHa.06x36 : 2007-10-17 04:16 ID:Heaven [Del]

>>12

No. Check the Javascript console for error messages.

14 Name: Anonymous : 2007-10-19 17:01 ID:+JMPDAYw [Del]

is there a changelog for wakaba?

15 Name: !WAHa.06x36 : 2007-10-19 18:10 ID:Heaven [Del]

No, sorry. The closest is that most changes are noted in the release thread: http://wakaba.c3.cx/sup/kareha.pl/1130723862/.

16 Name: Anonymous : 2007-10-19 21:56 ID:Heaven [Del]

Moving some stuff over from http://wakaba.c3.cx/soc/kareha.pl/1100499906/300-303,306 re. tripcodes being converted to SJIS internally...

Try #‾` -- it produces !gNJ5O0SenA with sjis and !IGt35Zr1c. with utf8.

(In any event, I believe vanity-tripcodes are stupid, but I'm just obsessive enough about stupid things like this that I want to get them completely right.)

17 Name: Anonymous : 2007-10-19 21:58 ID:Heaven [Del]

argh, urls don't auto link in html?
thread

18 Name: Anonymous : 2007-10-22 02:42 ID:xa0eV/G6 [Del]

How do your get google adsense work in wakaba? When I download my wakaba.html, I can see the code in there, but all lines have been stripped away. Is there anything I can do to prevent this from happening? There is no such option in config.pl.

19 Name: !WAHa.06x36 : 2007-10-22 05:32 ID:Heaven [Del]

>>18

No, there is such an option in config.pl. Search the old thread.

20 Name: Anonymous : 2007-10-22 07:09 ID:xa0eV/G6 [Del]

I did that, but didn't find answer, well, at least answer I could understand. It seems I should edit include() in wakautils.pl, but what I should change in it?

21 Name: !WAHa.06x36 : 2007-10-22 11:29 ID:Heaven [Del]

That is an ancient answer. Just look at config.pl again, there's a STRIP_NEWLINES option, or something similar.

22 Name: Anonymous : 2007-10-24 02:35 ID:xa0eV/G6 [Del]

I looked at it, but I can't still find it there, or anything like it.

23 Name: Anonymous : 2007-10-24 02:41 ID:xa0eV/G6 [Del]

I looked at it, but I can't still find it there, or anything like it.

24 Name: !WAHa.06x36 : 2007-10-24 03:38 ID:Heaven [Del]

Yeah, seems I only got around to adding it to Kareha and not to Wakaba. You can fix it yourself by adding a ,1 to the end of the compile_template call in futaba_style.pl.

use constant PAGE_TEMPLATE => compile_template(NORMAL_HEAD_INCLUDE.q{
(all the html for the frontpage goes here)
}.NORMAL_FOOT_INCLUDE,1);

25 Name: Anonymous : 2007-10-31 10:10 ID:D8IbfTld [Del]

Hi, i successfully installed wakaba but when tying to login to managment panel i always get the "Management password incorrect" despite that the password is correct for sure. This happened after i changed the encoding in config.pl file to 'windows-1251' when i change it back everything works fine. How can i fix this problem? Thank you

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

Does the password contain any non-ASCII characters?

27 Name: Anonymous : 2007-11-02 07:58 ID:GnKowG1e [Del]

>>26
no, it contains only numbers

28 Name: !WAHa.06x36 : 2007-11-02 20:28 ID:Heaven [Del]

Then I am completely lost.

29 Name: Anonymous : 2007-11-05 05:12 ID:61Il5qfA [Del]

Does RSS work with image-mode?

30 Name: Anonymous : 2007-11-05 08:43 ID:Heaven [Del]

>>29 with kareha, yes. Wakaba doesn't have RSS.

31 Name: Anonymous : 2007-11-05 20:46 ID:hpbA7oBB [Del]

So I set up a kareha image-mode board, and people are posting, which makes me happy. But threads keep getting deleted without human input, which makes me unhappy. I can't imagine what's causing this - looking over config.pl, all the settings seem reasonable and shouldn't be killing the threads like that. The threads aren't exceeding size limits, post limits, or time limits. The deletion seems random, but the board's never gotten past 11-12 threads before something disappears, and usually threads disappear before a second page is even created. Any ideas why?

Possibly relevant config.pl settings:

use constant THREADS_DISPLAYED => 10;
use constant THREADS_LISTED => 40;
use constant REPLIES_PER_THREAD => 1;

use constant MAX_THREADS => 0;
use constant MAX_POSTS => 500;

use constant TRIM_METHOD => 1;

use constant DELETE_FIRST => 'single';

none of these seem like they should be deleting things...

32 Name: Anonymous : 2007-11-05 21:19 ID:Heaven [Del]

MAX_POSTS => 500 does mean total posts.

33 Name: Anonymous : 2007-11-06 03:08 ID:hpbA7oBB [Del]

yeah, but there haven't been near that many total posts. (it's a very small board)

34 Name: Anonymous : 2007-11-06 10:32 ID:gFc5X+Qe [Del]

>>33

I suggest setting a MAX_THREADS then leaving MAX_POSTS to 0.

35 Name: Anonymous : 2007-11-06 10:34 ID:WGVMS5Vh [Del]

What software should I use to edit the futaba_style.pl file and actually see the changes happen? I am currently using Dreamweaver CS3 to create my site, but when I try to edit this file, I can't see what's going on, I can only see the code.

36 Name: Anonymous : 2007-11-06 11:32 ID:61Il5qfA [Del]

>>30 I am using kareha. I tried setting the RSS-file name to index.rss, but it only generates an empty file.

Look here:
http://zzub.org/forum/index.html
http://zzub.org/forum/index.rss <- completely empty

37 Name: Anonymous : 2007-11-06 13:07 ID:dXmIoBjs [Del]

>>34

Did that, posts are still being weird and disappearing.

38 Name: !WAHa.06x36 : 2007-11-06 13:50 ID:lpemlo1D [Del]

>>37

Are the image files disappearing from src/ and thumb/, too?

39 Name: Anonymous : 2007-11-06 15:43 ID:Heaven [Del]

>>35 uh, notepad?

40 Name: Anonymous : 2007-11-06 15:55 ID:dXmIoBjs [Del]

>>38

Indeed they are. And the HTML files from res/ as well.

41 Name: Anonymous : 2007-11-06 23:22 ID:WGVMS5Vh [Del]

>>39 uh, you didn't read what I said. I want to SEE the actual changes that the values I edit make, the COSMETIC changes to the site. I can see the actual code fine, I just want to see it change in realtime instead of having to upload it to the server everytime.

42 Name: !WAHa.06x36 : 2007-11-07 07:03 ID:Heaven [Del]

>>41

Install a local copy and run it. That's the only way.

43 Name: Anonymous : 2007-11-07 10:49 ID:WGVMS5Vh [Del]

>>42

How would I go about doing this? Do I have to install apache server and Imagemagic software on my PC?

I don't know how to setup a local host.

44 Name: !WAHa.06x36 : 2007-11-07 12:14 ID:Heaven [Del]

Yes, pretty much.

45 Name: Anonymous : 2007-11-07 20:12 ID:Heaven [Del]

>>43 google "wamp" for the basic package, then install perl as well.

46 Name: Anonymous : 2007-11-08 00:57 ID:WGVMS5Vh [Del]

>>45

Ok, installed them both, but I don't know what to do next. Is there a new-user friendly tutorial on this or would you folks just have to end up walking me through this?

Thanks for the software though.

47 Name: hikako : 2007-11-08 22:30 ID:reFZdUBo [Del]

Is there ## Admin and ## Mod functionality in base Wakaba?

48 Name: Anonymous : 2007-11-08 23:49 ID:Heaven [Del]

>>47
no, you need to add it yourself.

49 Name: !WAHa.06x36 : 2007-11-09 06:11 ID:Heaven [Del]

And you should really consider not doing it.

50 Name: Anonymous : 2007-11-09 10:02 ID:OP/vNh7J [Del]

>>38

So no ideas as to what's causing it? It's really getting annoying.

51 Name: !WAHa.06x36 : 2007-11-09 15:25 ID:Heaven [Del]

None. It's the first I've ever heard of a problem like that. Can you post your entire config.pl?

52 Post deleted by moderator.

53 Name: Anonymous : 2007-11-10 16:20 ID:X6sM8TB5 [Del]

okay, my config.pl, save the crypto secret and the admin pass, and a huge block of stuff I didn't touch (everything after SPAM_TRAP is still commented out and at its default), is at http://hofochan.tejat.net/configbugged.txt

I've made a few changes since I posted those lines back in >>31 but the problem hasn't stopped.

54 Name: !WAHa.06x36 : 2007-11-10 20:16 ID:Heaven [Del]

You've got MAX_MEGABYTES set to 1. That's how many megabytes the entire board is allowed to take up before threads start getting deleted.

55 Name: Anonymous : 2007-11-10 21:40 ID:X6sM8TB5 [Del]

oh wow, really? I totally misinterpreted that - I thought it was the max size for each image. Wow. Go me.

Thanks for helping!

56 Name: Anonymous : 2007-11-10 23:06 ID:Heaven [Del]

how the poop do i change the color of the captchas? currently it is #800000 (128,0,0) but when i edit the (128,0,0) places in captcha.pl it stops showing captcha images altogether.

what the butt am i doing wrong? D:

57 Name: !WAHa.06x36 : 2007-11-11 05:18 ID:Heaven [Del]

There is a hack in there that reads the colour from the CSS files, so change it in there.

58 Name: Anonymous : 2007-11-11 11:26 ID:Heaven [Del]

>>57
yeah i saw that.. i just have no idea what css to put in the file.. ie what label to use.

59 Name: Anonymous : 2007-11-11 14:22 ID:QaLPSnjP [Del]

Ok so i got mysql, apache configrued to run cgi, heidisql, and wakaba. I know i have to create a database so I did but I don't know what tables to add. And im not real sure where to put wakaba in apache folder. does it go in htdocs? Well i put it in there and told apache to use wakaba.pl as a default page so heres what i get. Go to http://75.4.51.1

60 Name: !WAHa.06x36 : 2007-11-11 16:03 ID:Heaven [Del]

>>58

Just look at the default ones.

>>59

The script creates the tables itself. And no, wakaba.pl should most definitely not be set to the default page.

61 Name: Anonymous : 2007-11-11 16:34 ID:QaLPSnjP [Del]

Ok then so im gonna put these in steps in order from what i know.
1.gain apache, mysql, perl
2.allow apache to use cgi
3.create a database for wakaba
4.download wakaba files and unzip them
5.edit config files config.pl,wakaba.pl,maybe another one
6.At this step im confused, where do i put my files to make them work? I think i have to put them in apache but i don't know if i should put them in the root directory or the cgi folder. After i do this i should be able to access the site.

Another thing is you said not to make wakaba my defualt page so what should i tell apache and if i need to be able to make wakaba.pl an html file how do i do that? As you can see i have the basic idea on how to get started but the problem is tweaking config files and placing my files in a place readable by perl and apache. All thanks to who gets my stuff to work

62 Name: Anonymous : 2007-11-12 01:58 ID:61Il5qfA [Del]

So, anyone else gotten RSS working with kareha image mode?

63 Name: !WAHa.06x36 : 2007-11-12 05:06 ID:Heaven [Del]

64 Name: Anonymous : 2007-11-12 08:57 ID:Heaven [Del]

>>61 Whatever directory you set up as the "root" directory in apache. Go look at the apache documentation, it's not our job to help you out with that.

65 Name: Anonymous : 2007-11-12 10:31 ID:3eUrhxyY [Del]

I have a problem. When trying to make a manager post without file i get "no comment entered" error. When i make a post with an image everything works fine except for that the comment i entered is not displayed along with Name and Subject. What can be the cause and how can i fix it?
Thank you.

66 Name: Anonymous : 2007-11-12 13:11 ID:Heaven [Del]

>>65
I'm pretty sure the manager post form is broke as hell.
Check the old support thread for a post on how to fix it.

67 Name: Anonymous : 2007-11-12 13:55 ID:Heaven [Del]

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

68 Name: Anonymous : 2007-11-15 06:46 ID:o99l2EWE [Del]

I'm trying to get Kareha to work with IIS. So far, it largely works fine... the script runs, it's possible to post/reply, thumbnail converter works, etc. However, if I try to access the page for a specific thread (ie ./kareha.pl/1192108766/l50) it gives me a 404 error. However, it is creating the thread files in the ./res/, and the front page is able to load that data...

Any ideas?

69 Name: Anonymous : 2007-11-15 09:24 ID:Heaven [Del]

it's likely trying to open a folder named /1192108766/, which obviously doesn't exist. There must be a way to re-write that url so that it sends the request to kareha.pl instead. I know you could do it using mod_rewrite in apache, but ISS is another matter entirely.

70 Post deleted by moderator.

71 Name: !WAHa.06x36 : 2007-11-15 16:12 ID:Heaven [Del]

Sounds like CGI is broken in IIS, and it doesn't support PATH_INFO properly.

The only solution I can think of other than somehow making IIS not be broken is to hack Kareha to not use PATH_INFO but some kind of normal CGI parameter instead. Not recommended unless you know your way around Perl.

72 Name: Anonymous : 2007-11-27 20:04 ID:z6B5ro8O [Del]

Is there a possibility of a MySQL powered Kareha (2ch-mode)?

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