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

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

No, not really.

74 Name: CyberPrime : 2007-12-04 15:03 ID:hySRI+6A [Del]

Hi, I was wondering if there is anyway to use Wakaba without using SQLite, I haven't played with just commenting it yet but thats something I will do when I have a chance. Thanks.

(Just for the curious ones)
Im getting this message while running Wakaba.pl

Software error:
install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: . /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at (eval 321) line 3, <FILE> line 3.
Perhaps the DBD::SQLite perl module hasn't been fully installed,
or perhaps the capitalisation of 'SQLite' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at wakaba.pl line 45

Clearly showing that I don't have SQLite installed.
Again, is there anyway around using SQLite? Thanks, Wakaba is great.

75 Name: CyberPrime : 2007-12-04 15:03 ID:hySRI+6A [Del]

Hi, I was wondering if there is anyway to use Wakaba without using SQLite, I haven't played with just commenting it yet but thats something I will do when I have a chance. Thanks.

(Just for the curious ones)
Im getting this message while running Wakaba.pl

Software error:
install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: . /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at (eval 321) line 3, <FILE> line 3.
Perhaps the DBD::SQLite perl module hasn't been fully installed,
or perhaps the capitalisation of 'SQLite' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at wakaba.pl line 45

Clearly showing that I don't have SQLite installed.
Again, is there anyway around using SQLite? Thanks, Wakaba is great.

76 Name: Anonymous : 2007-12-04 15:54 ID:Heaven [Del]

> Hi, I was wondering if there is anyway to use Wakaba without using SQLite,

yes, you can use mysql instead.

77 Name: CyberPrime : 2007-12-05 16:02 ID:Wj6kvqUz [Del]

Uhh, how? I set up the database and everything...

Its still given me that error.

78 Name: CyberPrime : 2007-12-05 16:09 ID:Wj6kvqUz [Del]

NVM, I seem to have gotten it, just uncommented the 2nd use constant SQL_DBI_SOURCE

79 Name: Anonymous : 2007-12-07 16:05 ID:Wj6kvqUz [Del]

How do I make new directories?

I copied the wakaba.html file over into the new directory but it shows the same thing that the wakaba.html does. also, what about the reply pages and what not? How should everything be placed and routed?

80 Name: Anonymous : 2007-12-07 18:31 ID:Heaven [Del]

>>79
You need to copy everything to the new directory.

81 Name: Anonymous : 2007-12-08 06:48 ID:Wj6kvqUz [Del]

everything like what?
The res folder? the .pl's? im pretty sure I wouldn't have to copy EVERYTHING over cause most pages have links and what not made so it will go back to itself like "/chan/whatever/"

82 Name: Anonymous : 2007-12-08 14:56 ID:Heaven [Del]

>>79 are you trying to set up two boards, like say /anime/ and /non-anime/? then you need to set everything up twice. the boards don't talk to each other.

83 Name: Anonymous : 2007-12-08 21:55 ID:Heaven [Del]

>>81
Ugh, okay, let's start from the beginning.

You download wakaba, so you now have a wakaba folder. Goto config.pl, edit the data you want to edit and save it. Upload load it to your site, and change the directory name (site.com/anime/). Change the config (from your computer) again to what you want the new board to be. And upload it to your site as a differenct directory (site.com/non-anime).

84 Name: Anonymous : 2007-12-16 19:24 ID:ijB7jYcw [Del]

How to use utf-8:

The top of your config file should look like this:

use constant ADMIN_PASS => 'change this';
use constant NUKE_PASS => 'change this';
use encoding 'utf-8';

Note that use encoding is applied AFTER the admin passwords.

Also, NUKE is an offensive term for a country that was bombed by nuclear weapons, and why do you insist on swearing in comments to the source code?

85 Name: Anonymous : 2007-12-16 20:03 ID:Heaven [Del]

>>84
I've never seen anyone consider nuke an offensive term, besides nuke is a very fitting term for what the feature does.

Waha probably uses swearing to emphasize how important it is to change the password.

And lastly in my experience, most non-native english speakers don't consider english swearing to be as offensive as a native english speaker would.

86 Name: Anonymous : 2007-12-17 01:48 ID:UB4hf8PM [Del]

>>85
Yeah, fuck all that shit.

87 Name: Anonymous : 2007-12-22 01:01 ID:0pYYKuzk [Del]

How would you go about setting the password for mods? I've tried making an admin password and giving it to the mods but that doesn't work.

88 Name: Anonymous : 2007-12-22 13:21 ID:Heaven [Del]

>>87 they can't log in using it?

89 Name: Anonymous : 2007-12-22 18:14 ID:0pYYKuzk [Del]

>>88
Nope, and after they try to use it it won't let me log in and I have to reset it.

90 Name: Jeremy : 2007-12-23 22:18 ID:GcUdrtKI [Del]

Can't find anything on this, so I'll post it hoping there is a quick solution.

I installed a fresh copy of wakaba with oekaki integration and attempt to upload a file and get this error:

CGI open of tmpfile: Permission denied

Now, I googled this and it turns out that it might have something to do with the world writeable temp directory that is supposed to be there on the host, but probably is not now because my host (ipower) has been getting worse and worse lately.

So, is there a way to make all the wakaba scripts use the tmp directory from the oekaki?

91 Name: Anonymous : 2007-12-25 23:00 ID:0pYYKuzk [Del]

Is there a way to make an image appear below the "Flood detected" screen?

92 Name: Anonymous : 2007-12-26 10:12 ID:Heaven [Del]

>>91 check out the strings files, or perhaps the template one, depending on whether you're talking about kareha or wakaba

93 Post deleted by user.

94 Post deleted by user.

95 Post deleted by user.

96 Name: Anonymous : 2007-12-26 14:21 ID:0pYYKuzk [Del]

lol sorry for all these posts, I'm a little new to this. I'm having a problem with the little icons that should appear next to the board title on the tab for each board. Instead I'm getting the default page icon on Firefox. Now, it'll work if I go directly to the board, but if I click on the board from the site it won't work.

97 Name: !WAHa.06x36 : 2007-12-27 17:07 ID:WJmZTIuz [Del]

>>90

That is not handled by Wakaba, but by CGI.pm. You'd have to hack or replace that somehow, but if you can't even get a temp directory working right on that server, chances are you're not going to have much luck with that either.

98 Name: Anonymous : 2007-12-27 19:55 ID:IPMxEGKM [Del]

>>90,97

$ perldoc CGI | tail -n +767 | head -n 13
The temporary directory is selected using the following algorithm:

1. if the current user (e.g. "nobody") has a directory named
"tmp" in its home directory, use that (Unix systems only).

2. if the environment variable TMPDIR exists, use the location
indicated.

3. Otherwise try the locations /usr/tmp, /var/tmp, C:\temp,
/tmp, /temp, ::Temporary Items, and \WWW_ROOT.

Each of these locations is checked that it is a directory and is
writable. If not, the algorithm tries the next choice.
$

so it should be as easy as making a directory that's writable by the script and then setting the TMPDIR environment variable.

99 Name: Jeremy : 2007-12-27 22:48 ID:GcUdrtKI [Del]

>>98 Where would I go about setting such a variable? In the wakaba script hopefully, because I do not have access to server settings as it is share hosting.

100 Name: Jeremy : 2007-12-27 22:52 ID:GcUdrtKI [Del]

>>97 sorry, forgot to say, the tmp directory that I set up for the oekaki works fine, which means the oekaki part of the wakaba script and the board itself function perfectly, the only thing that happens is that I can't post images directly. So to return to >>98 where would I go to set such a variable, sorry I am unfamiliar with perl to that extent.

101 Name: Anonymous : 2007-12-28 05:26 ID:Heaven [Del]

>>99-100
http://www.devdaily.com/perl/edu/qanda/plqa00014/
second result on google for perl environment variables.

102 Name: Jeremy : 2007-12-28 21:21 ID:GcUdrtKI [Del]

>>101 thanks, !waha where would be a good place to drop this statement in your code?

103 Name: Sean : 2007-12-29 11:19 ID:pnijlzm2 [Del]

I am very interested in programming, specifically for mac. What app would someone use to program without using java or applescript? How would you compile the source for Dag Ågren's source codes?

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

>>102

You probably want it right at the top, perhaps even in a BEGIN {} statement. At least, it should be before the "new CGI" line. I'm not sure when CGI.pm reads those variables...

105 Name: Anonymous : 2008-01-14 22:33 ID:cGSPOvUF [Del]

What would cause tripcodes to be shat out differently every time?

The Wakaba install was working perfectly before it was moved to a new system (that was set up almost exactly the same), and now using tripcodes results in a random output. They're completely broken.

We're one of the "large" chans, probably the only one of large size still using Wakaba as Kusaba is a hunk of shit, so this is a bit of a critical problem.

106 Name: Anonymous : 2008-01-15 03:58 ID:Heaven [Del]

>>105
maybe your server's crypt() isn't the usual des-based one?
on bsd systems you can check to see if crypt_default is set in /etc/auth.conf, if it's set to something other than des you'll probably have to change it.

107 Name: !WAHa.06x36 : 2008-01-15 05:54 ID:Heaven [Del]

What >>106 said.

108 Name: Anonymous : 2008-01-15 08:08 ID:Heaven [Del]

What >>107 said.

But seriously, many fairly well known western imageboards, which have been around for quite a while, use wakaba:

  • iichan/wakachan, of course. there's other scripts on some boards but it's mostly wakaba
  • ko-chan uses wakaba for /b/ and has kareha elsewhere
  • chansluts uses kareha
  • fchan uses wakaba with a screwy weird layout
  • wtfux uses wakaba, same screwy layout as fchan
  • 420chan has a hacked wakaba with stickies and stuff
  • desuchan uses wakaba with a bunch of crazy hacks like stickies and post editing (what)

There's a lot more, but I'm getting out of the "large" chans as you put it. Point is, after weeding out the weak attempts at boards that high school kids started that are generally destined for failure, the vast majority of imageboards do, in fact, use Wakaba.

109 Name: Kirtaner!Ub4TCdRjOM : 2008-01-15 17:06 ID:cGSPOvUF [Del]

>>108
It was 420chan. We actually have a lot more hacks than stickies and locked threads but most of it is on the moderation side to make things a lot easier to manage.

>>106
That was spot on, thank you.

110 Name: Anonymous : 2008-01-17 18:36 ID:Y5RpRC5p [Del]

I'm wondering what people are using to automatically archive their kareha boards, to try and keep loads down. Kareha gets a little top-heavy as the thread count rises.

111 Name: TwinShadow!3GqYIJ3Obs : 2008-01-20 23:48 ID:0gratF2X [Del]

I'm wondering, I moderate a fairly popular site for anime fans and we're trying to setup wakaba for all the sections there. I've read that it's possible to span the spam.txt file throughout all boards so that way you only have one spam.txt file to edit when we need to blacklist a site. How can we do that to save the hassle of modifying all 8 spam files?

112 Post deleted by user.

113 Name: Anonymous : 2008-01-21 00:27 ID:Heaven [Del]

>>111 use constant SPAM_FILES => ('http://domain.tdl/boards/spam.txt', 'http://wakaba.c3.cx/antispam/spam.txt', '../boards/spam.txt');

Should be down near the bottom of the config.pl file.

114 Name: Anonymous : 2008-01-21 01:46 ID:Heaven [Del]

>>113
Wouldn't that cause wakaba to download the spam file every time someone posts? (Can you even use http links there?!)

115 Name: Anonymous : 2008-01-22 12:52 ID:Heaven [Del]

>>111
lolol@#tripcode

116 Name: Anonymous : 2008-01-22 14:40 ID:Heaven [Del]

>>114 Read the comment next to it, it explains everything. The code is somewhat self-documented, after all.

117 Name: Anonymous : 2008-01-23 01:23 ID:Heaven [Del]

>>116

> # Spam definition files, as a Perl list.
> # Hints: * Set all boards to use the same file for easy updating.
> # * Set up two files, one being the official list from
> # http://wakaba.c3.cx/antispam/spam.txt, and one your own additions.

All that comment tells me is that I can put more than one file there, and where I can get the official list. In fact, nowhere in the source code does Wakaba attempt to download anything defined in either SPAM_FILES or any local variable derived from it. Please elaborate further.

118 Name: Anonymous : 2008-01-23 04:34 ID:L+MMusz1 [Del]

Is there any way to only permit registered users to post even though that is totally against the concept of imageboards?

119 Name: Anonymous : 2008-01-23 09:47 ID:Heaven [Del]

>>118 in a way, using "approved" tripcodes.

120 Name: Anonymous : 2008-01-23 09:51 ID:Heaven [Del]

>>117 It's in the wakautils.pl file. spam_checker(), spam_engine(), etc.

121 Name: arf : 2008-01-24 03:58 ID:8xK2uCdY [Del]

So, I've been trying to intall the latest kareha release on my webspace (perl version 5.8.7), and I'm getting stuck. When I go to http://www.ftmvariations.org/sg/kareha.pl I'm getting:

Software error:

syntax error at config.pl line 165, near "1;"
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

line 165 refers in my config.pl file to the very end, the last line with "1;"

---------
# Allowed HTML tags and attributes. Sort of undocumented for now, but feel free to
# learn by example.
# use constant ALLOWED_HTML => (
# 'a'=>{args=>{'href'=>'url'},forced=>{'rel'=>'nofollow'}},
# 'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
# 'em'=>{},'strong'=>{},
# 'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
# 'p'=>{},'br'=>{empty=>1},'blockquote'=>{},
#);

1;
---------

What I am doing wrong/missing?

122 Name: !WAHa.06x36 : 2008-01-24 06:06 ID:Heaven [Del]

>>121

You probably messed up the last uncommented line.

123 Name: Anonymous : 2008-01-24 07:29 ID:Heaven [Del]

>>120
Provide a line number. It just doesn't happen.

I just traced the execution by hand, and unless I'm incredibly dense, it does no wget or locally implemented equivalent anywhere.
Full execution path is as follows:

  1. wakaba.pl:486: post_stuff passes spam_files=>[SPAM_FILES] to spam_engine
  2. wakautils.pl:1046 spam_engine initializes local @spam_files array
  3. wakautils.pl:1054 spam_engine passes @spam_files to compile_spam_checker
  4. wakautils.pl:1034 compile_spam_checker maps read_array on its local arg list
  5. wakautils.pl:962 read_array accepts one scalar, which can either be a filehandle or a filename; if it's a filename, it opens the file locally with open FILE,$file. Either way, it returns all the lines in the given file as an array.
  6. wakautils.pl:1028 back to compile_spam_checker to munge the results from read_array into a form suitable for inserting into a regex
  7. wakautils.pl:1023 ... which it then does a bit more munging on, saving the results in @re
  8. wakautils.pl:1036 still in compile_spam_checker, take @re and build a block of code out of it
  9. wakautils.pl:1054 back to spam_engine; results from compile_spam_checker are saved as $spam_checker and all the form fields are scrunched together into $fulltext
  10. wakautils.pl:1060 spam_engine still. actually run the spam checker with the given text, and call spam_screen if it gets triggered
  11. wakautils.pl:1063 spam_screen just prints out a page saying "anti-spam filters triggered". (On an unrelated note, this page doesn't use the templates at all.)
  12. wakaba.pl:493 if the spam checker didn't find anything, control returns here.

124 Name: arf : 2008-01-24 08:18 ID:8xK2uCdY [Del]

>>122

Thanks! that was that.

125 Name: Anonymous : 2008-01-24 15:38 ID:Heaven [Del]

>>123 Hell if I know. WAHa! Defend your code.

126 Name: !WAHa.06x36 : 2008-01-24 18:08 ID:Heaven [Del]

Durrr, I think it won't load anything over http. There is a caching http loader function in wakautils though so it would be pretty easy to add it if one was into that kind of thing.

127 Name: Anonymous : 2008-01-26 17:13 ID:5+46TTXD [Del]

So I've loaded up kareha and it's all nice and pretty, but I can't post anything. After I press the Create Thread button the page reloads, but there is no new thread. What's most likely wrong?

Linux, Kareha 3.1.3

128 Name: Anonymous : 2008-01-26 19:41 ID:Heaven [Del]

>>127
Sounds like your caching is screwy. You can confirm this by clearing your browser cache and reloading the page; if it still doesn't show up you've got other problems, but if it does...

Assuming you're using Apache, make sure you have mod_headers enabled. Try adding a line like the following at the top of your .htaccess:

Header add X-Test "This is a test"

If you suddenly get an internal server error, you don't have it enabled, so you'll have to fiddle with your httpd.conf.

129 Name: Anonymous : 2008-01-26 21:02 ID:5+46TTXD [Del]

mod_headers is enabled, clearing cache doesn't help. Also, kareha isn't reloading from include/rules.html either. This happens on multiple clients.

130 Name: Anonymous : 2008-01-27 09:45 ID:qdS4apjH [Del]

How can I change the character coding?
Well, I partially know where, but when I'm executing wakaba.pl, some special language characters are changed to "?"..

131 Name: !WAHa.06x36 : 2008-01-27 09:55 ID:lpemlo1D [Del]

>>127

Delete index.html, hit kareha.pl from the browser.

>>130

Explain in more detail what you want to do, and what you're actually doing.

132 Name: Anonymous : 2008-01-27 10:01 ID:qdS4apjH [Del]

>>131
I want to set the encoding from the default utf-8 to windows-1250 (so the board can display polish characters).
I'm editing the encoding in config.pl (I'm also uncommenting it, I'm not THAT stupid). I'm also changing the .htaccess file.
I change the board title in config.pl to "różne" (with the polish chars, I don't know if they'll work on this board, there may be problems).
Then all the stuff gets uploaded, chmodded and I run wakaba.pl. What I get then: the title changes to "ró?ne" or something like that. I want the title to stay in its original, polish form.. But it won't work.
So?

133 Name: Anonymous : 2008-01-27 13:53 ID:MYNVJt4K [Del]

Okay, I solved my encoding problem (the post above) but there's another one now.
As I'm trying to post a message on the imageboard, I get an error:

Software error:

Wide character in subroutine entry at /usr/lib/perl5/5.8.8/i686-linux/Encode.pm line 162.

What now?

134 Name: !WAHa.06x36 : 2008-01-27 19:35 ID:Heaven [Del]

>>132

There's no need to change the charset to do that. UTF-8 will allow polish characters just fine, and anything else, too.

135 Name: arf : 2008-01-31 09:10 ID:STN0h3mE [Del]

I've got a problem with my kareha forum, new threads show up fine in the "view all thread" page, but don't show on the front page, even though I think my config.pl file is fine:

"# Page look
use constant TITLE => 'Intersections';
use constant SHOWTITLETXT => 1; # Show TITLE at top (1: yes 0: no)
#use constant SHOWTITLEIMG => 0; # Show image at top (0: no, 1: single, 2: rotating)
#use constant TITLEIMG => 'title.jpg'; # Title image (point to a script file if rotating)
use constant THREADS_DISPLAYED => 10; # Number of threads on the front page
use constant THREADS_LISTED => 40; # Number of threads in the thread list
use constant REPLIES_PER_THREAD => 3; # Replies shown
use constant S_ANONAME => 'Anonyme'; # Defines what to print if there is no text entered in the name field
use constant DEFAULT_STYLE => 'Futaba'; # Default CSS style title
use constant FAVICON => 'kareha.ico'; # Path to the favicon for the board
"

I'm wondering what's up with that?
I've tried rebuild caches.
When I look at the raw html of the index file, the post is there.

136 Name: Peter : 2008-01-31 09:21 ID:HIQhyFOf [Del]

Hey, Just set up kareha, did config file, i can run perl scripts, and i set all the permissions to 777. But when navigate to kareha.pl, it gives me a 403 forbidden error... What should i try next?

137 Name: Peter : 2008-01-31 10:14 ID:HIQhyFOf [Del]

ok, i think i dont have apache set up right. I uncommented the Addhandler, added .pl to its line, and added Includes ExecCGI to the options line, is there anything i forgot?

138 Name: arf : 2008-01-31 10:19 ID:STN0h3mE [Del]

>>135

huh weird, now it shows fine.

139 Name: !WAHa.06x36 : 2008-01-31 12:11 ID:lpemlo1D [Del]

>>135

Note the lines examples.htaccess that disable browser caching of the front page.

>>136

Try 755 permissions on kareha.pl.

140 Name: Peter : 2008-01-31 19:25 ID:HIQhyFOf [Del]

>>139
unfortunately that didnt work

141 Name: Anonymous : 2008-02-01 01:23 ID:Heaven [Del]

>>140
Are you sure you can run Perl scripts? Try putting

#!/usr/bin/perl
print "Content-Type: text/plain\n";
print "it works";

in a file, chmod it, and run it.

142 Name: 141 : 2008-02-01 01:26 ID:Heaven [Del]

Gah. That should've been print "Content-Type: text/plain\n\n"; (note the double \n). Need to read what I type before hitting the button.

(Why can't I use <code> or <tt> with the HTML format?)

143 Name: Peter : 2008-02-01 08:50 ID:HIQhyFOf [Del]

>>141
Youre right, that also gave a 403 error. I have a mac, so it comes with apache and perl, i uncommented the addhandler line and added ExecCGI to the options line in the httpd.conf file, what else do i have to do to run perl scripts?

144 Name: Anonymous : 2008-02-01 11:14 ID:Heaven [Del]

>>143 Make sure that perl actually is installed to /usr/bin/perl

145 Name: Anonymous : 2008-02-01 11:47 ID:Heaven [Del]

try:

#!/bin/sh
echo "Content-Type: text/plain"
echo
which perl
perl -V

(You can still save it with the .pl extension if you don't feel like messing with your config)

If that doesn't work, CGI scripts are just broken, because /bin/sh should never fail.

146 Name: Peter : 2008-02-01 16:52 ID:HIQhyFOf [Del]

>>144
Yes it is
>>145
It still tells me its forbidden when running it from the web browser. Running it locally from the terminal is no problem.

147 Post deleted by user.

148 Name: np3228 !tpHARBLZ0A : 2008-02-04 21:50 ID:7ctcn5J0 [Del]

Does anyone have success using Google AdSense on Wakaba/Kareha?

I'm trying to put simple banner ads in rules.html and footer.html but it's not working... is there either

* A better place to put them?
* Need to modify the .pl scripts instead of the .html files?

Thanks for any help or advice.

149 Name: np3228 !tpHARBLZ0A : 2008-02-04 23:47 ID:7ctcn5J0 [Del]

>>148
More details.

When I save the parts of the site, it works offline. It also works online when using Safari (OS X) and Konqueror (Linux). However it doesn't work when using Firefox 2.x on OS X or Linux... Is it something to do with XHTML/HTML configuration?

The error console consistently says on both platforms:

uncaught exception: [Exception... "Object cannot be created in this context" code: "9" nsresult "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTER_ERR)" location "http://pagead2.googlesyndication.com/pagead/show_ads.js Line: 19"

150 Name: !WAHa.06x36 : 2008-02-05 04:17 ID:Heaven [Del]

>>148

Set STRIP_NEWLINES to 0.

151 Name: np3228 !tpHARBLZ0A : 2008-02-06 14:08 ID:Heaven [Del]

>>150
Is that variable different from KEEP_MAINPAGE_NEWLINES ?

152 Name: Anonymous : 2008-02-07 13:31 ID:Heaven [Del]

>>151
I would say so. KEEP_MAINPAGE_NEWLINES will keep your newlines; there doesn't seem to be a STRIP_NEWLINES anywhere in the code though. :)

In any case that's what you want.

153 Name: np3228 !tpHARBLZ0A : 2008-02-07 16:29 ID:/F/vDEii [Del]

The thing that's really waxing me about this is that it totally works and looks exactly the way I want it to in

* Safari (OSX)
* Internet Explorer 6&7 (Windows)
* Konqueror (Linux)

But in Firefox 2.x on all platforms it doesn't work for some reason!! It's driving me bananas.... why would it work in some browsers and not in others?? Does it have to do with the handling of the onMouseOver method?

154 Name: Anonymous : 2008-02-07 19:07 ID:Hut6NJ8F [Del]

In Kareha, spaces in AA aren't replaced with &nbsp; or anything, messing up the rendering.

Since I don't know perl or regex the best i can get (with google's help) is:
$str=~s/????????/&nbsp;/g; #clean up spaces for AA

(in the clean_string sub)

155 Name: !WAHa.06x36 : 2008-02-08 04:42 ID:Heaven [Del]

>>154

No other board does either. In Shift-JIS AA, you use full-width spaces instead.

156 Name: Anonymous : 2008-02-08 10:48 ID:Heaven [Del]

>>153
Yeah, I'd try turning off USE_XHTML, if it's enabled. I think Firefox is the only browser out of the list you gave that supports it.

157 Name: Anonymous : 2008-02-08 14:36 ID:Hut6NJ8F [Del]

>>155
Regardless, could you please give me something that'll let me use regular spaces?

158 Name: Anonymous : 2008-02-08 14:39 ID:Heaven [Del]

>>157
Actually, nevermind.

I just replaced each double space with a full-width

159 Name: np3228 !tpHARBLZ0A : 2008-02-08 16:10 ID:/F/vDEii [Del]

>>154
Ah ok. That's a good place to start. I'll mess with it and report back.

160 Name: Anonymous : 2008-02-10 13:13 ID:opjBk3zk [Del]

use constant ADMIN_PASS => 'password'; # Admin password. For fucks's sake, change this.
use constant NUKE_PASS => 'password'; # Password to nuke a board. Change this too, NOW!
use constant SECRET => 'omgwtfidiedlol'; # Cryptographic secret. CHANGE THIS to something totally random, and long.
use constant SQL_DBI_SOURCE => 'DBI:mysql:database=umbrella_wakaba;host=localhost'; # DBI data source string (mysql version, put server and database name in here)
use constant SQL_USERNAME => 'umbrella_interne'; # MySQL login name
use constant SQL_PASSWORD => 'h8machine'; # MySQL password

still getting sql failure. can anyone see any n00b mistakes? Mysql names/pwords/locations have been double triple checked.

161 Name: Anonymous : 2008-02-10 21:26 ID:Heaven [Del]

Check your error log, usually there's more information in there. In particular if mysql is complaining about /tmp/mysql.sock, try replacing the localhost with 127.0.0.1 and see if that helps.

162 Name: Anonymous : 2008-02-10 22:39 ID:Heaven (Image: 0x0 patch, 4 kb) [Del]

I got Wakaba working with PostgreSQL. It took a little bit of fiddling with the table structure, but the changes are worthwhile on the whole, I believe:

  • changed IP and mask fields to integers. (Why were they stored as TEXT in the first place?)
  • moved static IP mask calculation from SQL into Perl
  • all INSERT statements explicitly state their values

There's still a few more things that should be done, particularly rewriting the COUNT(*) queries as Postgres doesn't even try to optimize them, and modifying the table init check to convert the data from an older version. It's a start though, and everything seems to function.

163 Name: Sako : 2008-02-11 07:55 ID:J0Y8MkUy [Del]

Any ideas about why, when I make any change to wakaba.pl (even harmless stuff like declaring variables) I get a 500 server error?

I'm running wakaba on a linux webhost, PERL 5.008008, the error log says

Mon Feb 11 16:48:20 2008] [error] [client xxx.xxx.xxx.xxx] failed to open log file, referer: http://www.domain.com/cgi-bin/wakaba.pl?task=mpanel&admin=WXdiMCdCZ4HJ
[Mon Feb 11 16:48:20 2008] [error] [client xxx.xxx.xxx.xxx] fopen: Permission denied, referer: http://www.domain.com/cgi-bin/wakaba.pl?task=mpanel&admin=WXdiMCdCZ4HJ
[Mon Feb 11 16:48:20 2008] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: wakaba3.js, referer: http://www.domain.com/cgi-bin/wakaba.pl?task=mpanel&admin=WXdiMCdCZ4HJ

164 Name: Sako : 2008-02-11 08:37 ID:J0Y8MkUy [Del]

Ok nevermind, it was Dreamweaver's fault. Editing the files with notepad and uploading them with another ftp client works.

165 Name: hina : 2008-02-17 04:23 ID:ULH58aKM [Del]

I'd like to ask what I need to look out for when making manager posts on Wakaba.

I can't find any errors coming up in logs, but I tried to make a manager post with a comment and it keeps returning Error: no comment entered.

Where might I find more information on this, please?

166 Name: Anonymous : 2008-02-17 11:27 ID:Heaven [Del]

>>165 The fields are mis-named in the manager post screen; they need to be called "field 1", etc, like they are on the board proper. Waha forgot to change them.

167 Name: hina : 2008-02-18 10:12 ID:1Ael6+GC [Del]

So would anyone mind telling me please how to get around the problem? What would I need to change in order to get this working? :)

I can't make any manager posts at the moment :(

168 Name: Anonymous : 2008-02-18 10:34 ID:Heaven [Del]

It's really straightforward, just change the first four form fields in the ADMIN_POST_TEMPLATE form to "field1", "field2", "field3", and "field4".

169 Name: hina : 2008-02-18 14:46 ID:1Ael6+GC [Del]

uh... I've made this change and now when I hit submit it just takes me back to the index page, logging me out of the management panel as if I'd not bothered logging in. When I refresh, there's nothing record of my having posted. This seems a little off, I reckon. It may be straightforward, but it's got me stumped. I doubt this is supposed to happen?

170 Name: Anonymous : 2008-02-18 17:19 ID:Heaven [Del]

>>169
Did you fill in the "parent" field with the thread you're posting to?

If you want to make a new thread, put a zero there.

171 Name: hina : 2008-02-18 22:33 ID:ULH58aKM [Del]

>>170

hmm... yeps, tried that. Same thing happens. I'm a bit baffled, to be honest.

172 Name: !WAHa.06x36 : 2008-02-19 06:15 ID:K4vOYfq0 [Del]

>>171

Try looking at the source to see if the action attribute in the <form> is filled in right.

173 Post deleted by user.

174 Name: hina : 2008-02-22 10:52 ID:1Ael6+GC [Del]

here's the source code from the manager post page, if this is any help?

<div class="postarea"> <form id="postform" action="/wakaba/wakaba.pl" method="post" enctype="multipart/form-data">
<input type="hidden" name="field1" value="post" /> <input type="hidden" name="field2" value="ZfL9BDt4YCBq" />
<input type="hidden" name="field3" value="1" /> <input type="hidden" name="field4" value="1" />
<table><tbody> <tr><td class="postblock">Name</td><td><input type="text" name="name" size="28" /></td></tr> <tr><td class="postblock">Link</td>
<td><input type="text" name="email" size="28" /></td></tr> <tr><td class="postblock">Subject</td><td><input type="text" name="subject" size="35" /> <input type="submit" value="Submit" /></td></tr>
<tr><td class="postblock">Comment</td><td><textarea name="comment" cols="48" rows="4"></textarea></td></tr> <tr><td class="postblock">File</td>
<td><input type="file" name="file" size="35" /> [<label><input type="checkbox" name="nofile" value="on" />No File</label> </td></tr>
<tr><td class="postblock">Parent</td><td><input type="text" name="parent" size="8" /></td></tr>
<tr><td class="postblock">Password</td><td><input type="password" name="password" size="8" />(for post and file deletion)</td></tr> </tbody></table></form></div>

175 Name: !WAHa.06x36 : 2008-02-22 16:56 ID:K4vOYfq0 [Del]

>>174

Oh, I see. >>168 meant the first four input fields of type "text". The "hidden" type fields should be left as is.

176 Name: hina : 2008-02-23 01:41 ID:ULH58aKM [Del]

oh... duh. Cheers for that, I'll check 'em and change 'em :D

177 Name: Anonymous : 2008-02-25 23:50 ID:I8Ltifdx [Del]

I want to know how to install Wakaba to my website?

178 Name: Anonymous : 2008-02-26 00:28 ID:Heaven [Del]

>>177
Try thinking.

179 Name: Anonymous : 2008-02-26 14:46 ID:zzC1lKlc [Del]

180 Name: Anonymous : 2008-02-27 00:33 ID:gqYkiMzZ [Del]

I have installed kareha on to my webserver. My hosting runs perl, I have CGI running and the code went in great. The only problem I'm having is when I post an image it doesn't show up. It show shows up as a hyperlink and when I click on it it takes me to the exact location the image is, "site.com/cgi/src/00000.jpg" Yet an internal server error pops up.

I'm hosting with godaddy which sucks, but they say that imagemagick does run on the hosting server but that it's not installed. (If that makes sense) Could this be the problem? Please, I need help from anon.

Please deliver.

181 Name: !WAHa.06x36 : 2008-02-27 10:54 ID:Heaven [Del]

Sound like a) imagemagick is not installed just like they say and b) they don't allow access to images in the cgi directory anyway. You'll need to fix both.

182 Name: Anonymous : 2008-03-04 22:47 ID:8IskS0yx [Del]

Any thoughts about XHTML2 or HTML 5?

183 Name: Anonymous : 2008-03-16 04:04 ID:suj9ICl/ [Del]

How do i get futallaby working with images in replies?
sry for wrong board but there is no futallaby support anymore Oo

184 Name: Anonymous : 2008-03-16 07:28 ID:Heaven [Del]

>>183
There's a reason for that. Use Wakaba, or if for some crazy reason you absolutely need to have PHP, find one of the Futallaby hacks with image replies... or you could just use Futaba and translate it to English.

185 Name: Casshern : 2008-03-24 06:53 ID:eFL80UkA [Del]

Can someone post up a good rotating script? .pl or .php please.

186 Post deleted by user.

187 Name: Anonymous : 2008-03-24 16:02 ID:Heaven [Del]

>>185
lol @ .tk

188 Name: Anonymous : 2008-03-24 18:15 ID:Heaven [Del]

>>185 google "php image rotator" and you'll find plenty.

189 Name: Casshern : 2008-03-24 19:59 ID:eFL80UkA [Del]

>>188 Ty
>>187 Umm, ya...good for you.

190 Name: Anonymous : 2008-03-26 22:09 ID:1Yz4L7Ar [Del]

hi. using kareha. installs fine, but now getting 405 error:

Method Not Allowed
The requested method POST is not allowed for the URL /kareha/index.html.

Apache/1.3.37 Server at mysite.net Port 80

any ideas?

191 Name: !WAHa.06x36 : 2008-03-27 00:49 ID:Heaven [Del]

Your webserver is set up to not allow POST requests.

192 Name: Anonymous : 2008-03-27 04:01 ID:Heaven [Del]

>>191
that's not the only problem, for some reason his browser is trying to POST to index.html

193 Name: Anonymous : 2008-03-27 07:27 ID:Heaven [Del]

>>190
Did you run kareha.pl from your browser? All sorts of things break if you try to run it from the command line.

194 Name: TheStupidOne!36Pr0Wdt4A : 2008-03-28 00:22 ID:Heaven [Del]

Any reliable way to convert from mode_image to mode_message? I've converted my boards to display in mode_message now, but all of the old posts are still stored in the mode_image format, making readability very tough and producing a rather inconsistent look.

Take http://www.fatechan.net/moe/kareha.pl/1162824087/l50 for example, the mixed posting looks very odd. If I knew more perl I'd just code a conversion script myself, but I don't :<

195 Name: !WAHa.06x36 : 2008-03-28 06:04 ID:Heaven [Del]

No, you pretty much have to write a script that does the conversion yourself.

Here's a quick outline: Copy the first line verbatim, ignore the second line and write an empty line instead ("Rebuild caches" will fix it for you later), and ignore the last line in the same way. For every other line, use regexes to extract the various data fields, and then use the templating engine and templates.pl to create the new line.

196 Name: Anonymous : 2008-03-28 15:57 ID:Heaven [Del]

You might want to fix the >> links too, they'll all be wrong.

197 Name: Anonymous : 2008-03-29 00:35 ID:Heaven [Del]

>>196
Wait, no they won't, I suck cocks.

198 Name: Anonymous : 2008-04-03 08:57 ID:R7MX6rdQ [Del]

How to make the HTML code nicer so wakaba doesn't output everything in one line? ^_^

Is there any simple ''hack'' to do this?

I've tried with some prints and searched http://perldoc.perl.org/ for useful information but seems like I can't get it nicer.

Thanks for any replies. :b

199 Name: Anonymous : 2008-04-03 22:43 ID:Heaven [Del]

>>198 there's an option in config.pl. STRIP_NEWLINES? If it's not there, and you've been upgrading from an older version, dl a new version, double-check what the setting's called, and add it to your config.pl.

200 Name: Anonymous : 2008-04-03 23:47 ID:Heaven [Del]

>>199

Hello, I was unable to find it in Wakaba, but copied it from Kareha and added ".NORMAL_FOOT_INCLUDE,KEEP_MAINPAGE_NEWLINES);"

Thanks for the info!

201 Post deleted by moderator.

202 Post deleted by moderator.

203 Name: Anonymous : 2008-04-12 17:28 ID:lpemlo1D [Del]

Everything else works, image posts and replies.. so on. But when I put in my password at the [Manage] panel, it says it's wrong.

use constant ADMIN_PASS => 'password'

has been changed and everything... Dreamhost, permissions and everything else right/working

204 Name: !WAHa.06x36 : 2008-04-12 17:28 ID:lpemlo1D [Del]

>>203

Are there any special characters in the password?

205 Name: Anonymous : 2008-04-12 17:42 ID:M8UtrbXC [Del]

>>25

I'm getting the same problem. I've tried changing the password, using only numbers... it won't let me access the management panel.

206 Name: Anonymous : 2008-04-12 17:43 ID:M8UtrbXC [Del]

>>204

ha, I'm a retard, didn't even notice that first one posted. No special characters, only numbers

207 Name: Anonymous : 2008-04-12 17:45 ID:M8UtrbXC [Del]

Oh weird, I changed the URL to have my password on the end and it suddenly started working... um, do I just have to keep doing this? Actually, I don't mind... but if anybody knows what's going on..

208 Name: Anonymous : 2008-04-12 18:53 ID:3hOzvvWU [Del]

I was wondering how hard it would be to set up on a wakaba board a spoiler/censor system like some boards, noteably 4chan's /a/ and /co/, have to replace the thumbnail with a black box or something. Is this something that would take a lot of work? Has already done it and if so would the mind sharing how to set it up?

209 Name: Anonymous : 2008-04-13 00:12 ID:Heaven [Del]

>>207 it's not hashing, then? That's very odd.

210 Name: !WAHa.06x36 : 2008-04-13 08:25 ID:lpemlo1D [Del]

>>207

Sounds like something is very strange with your server, maybe?

211 Name: TheStupidOne!36Pr0Wdt4A : 2008-04-15 04:14 ID:LO7hlnjJ [Del]

I've discovered a denial of service flaw in Kareha, and I've been the victim of these attacks for the past few weeks. I dunno if it's intentional or just some sort of bizarre bug, but if you send a specially formed string in the call to kareha.pl, it will cause the process to hang, forcing lighttpd to spawn another one in a neverending race condition.

It's completely crashed my server twice, and just today I barely caught it in time by noticing the telltale studdering in my ssh connection and killing lighttpd before it got too far.

212 Name: !WAHa.06x36 : 2008-04-15 10:41 ID:Heaven [Del]

Sounds sort of like a lighttpd bug. I don't think a CGI process should ever be respawned under any circumstances.

213 Name: Anonymous : 2008-04-15 13:05 ID:Heaven [Del]

>>212
FastCGI, maybe?

214 Name: Anonymous : 2008-04-15 17:43 ID:znEncqz+ [Del]

I'm using mode_message and:
use constant PAGE_GENERATION => 'paged';
on my board and I see that kareha is indeed generating cached thread pages (1.html, 2.html, etc) but it doesn't create a page list on any of them. Basically the only way to get at threads that fell off the front page is to view the All Threads page and pick one from there.
Did I miss an option to have it stick a page list somewhere?

215 Name: Anonymous : 2008-04-15 21:51 ID:Heaven [Del]

>>214
paged and mode_message aren't so great together.

You can hack the template and add that stuff...

216 Name: TheStupidOne!36Pr0Wdt4A : 2008-04-16 06:42 ID:LO7hlnjJ [Del]

I'm not using fastcgi, just the standard cgi caller, and it's spawning multiple perl processes because the "attacker" will make multiple calls, and since the perl process is hung, the old ones will never die, eventually leading into an out of memory condition.

I guess I misworded it, lighttpd itself isn't spawning new perl processes, but the old ones won't expire so every call to kareha with that malformed string creates a new perl process that hangs.

217 Post deleted by moderator.

218 Name: !WAHa.06x36 : 2008-04-16 09:41 ID:lpemlo1D [Del]

>>214

I think the Kareha templates don't implement support for paged mode. You'll have to hack them to do so.

>>216

Well, there's nothing anybody can do until you figure out what exact request is being sent.

219 Name: TheStupidOne!36Pr0Wdt4A : 2008-04-16 10:23 ID:LO7hlnjJ [Del]

Well I have it in my logs, I just don't want to openly post it.

220 Name: !WAHa.06x36 : 2008-04-16 10:27 ID:Heaven [Del]

Then mail it. See the front page for address.

221 Name: TheStupidOne!36Pr0Wdt4A : 2008-04-16 10:37 ID:Heaven [Del]

Access.log entries sent.

222 Name: BigStiffy : 2008-04-22 06:56 ID:Hk2/a1RE [Del]

I have a problem when setting up kareha (using a free hosting service), I have all the permissions set to 777, and the config.pl file configured for mode_message, but when I try to access kareha.pl from a browser it doesn't assemble the board, instead I get sent to my service's default 404 link. Any ideas what I'm doing wrong?

223 Name: !WAHa.06x36 : 2008-04-22 10:00 ID:Heaven [Del]

>>222

Not unless you are more specific. Do you get forwarded when you go to kareha.pl? Is index.html created on the server?

224 Name: Anonymous : 2008-04-22 12:54 ID:Heaven [Del]

>>222

> (using a free hosting service)

There's your problem.

225 Name: Anonymous : 2008-04-26 15:28 ID:00J53KPE [Del]

How can i run kareha.pl if I only have ssh access to my webserver? Using perl kareha.pl creates an index.html file, but its broken(Can't post anything on the board).

Thanks for your help!

226 Name: Anonymous : 2008-04-26 15:29 ID:00J53KPE [Del]

How can i run kareha.pl if I only have ssh access to my webserver? Using perl kareha.pl creates an index.html file, but its broken(Can't post anything on the board).

Thanks for your help!

228 Name: Anonymous : 2008-04-27 13:38 ID:00J53KPE [Del]

225 here

>>227

"Access wakaba.pl through a web browser. This should create the HTML pages and forward you to them if everything worked."

I'm working on my site from home through ssh. I've got everything setup the way it should, BUT I heard that I should NOT run kareha.pl via command "perl kareha.pl", i must use a web browser.

The thing is....I ONLY have access to my webserver via SSH. How am I supposed to launch kareha.pl without having access to a web browser on the server? Is there a way to open a web browser in ssh?

I'm a newbie to linux, so let me know. Thanks!

229 Name: !WAHa.06x36 : 2008-04-27 13:46 ID:Heaven [Del]

>>228

Read about CGI scripting.

230 Name: Anonymous : 2008-04-27 14:12 ID:00J53KPE [Del]

>>229

How is reading about CGI scripting going to solve my problem?

When I run the command "perl kareha.pl", it creates a index.html. When I go to http://"webhost ip" (I dont have a Domain name yet), I CAN see the kareha board fine and everything looks good, but when I create a new thread and click submit. The page refreshes, but the thread doesn't show up.

From what I read here, someone said NOT to run kareha.pl from command because it will create a broken index.html. So, I'm assuming THIS is the broken index.html he was talking about.

231 Name: Anonymous : 2008-04-27 16:23 ID:Heaven [Del]

>>230
Don't run kareha.pl directly. How hard is that to understand?

232 Name: Anonymous : 2008-04-27 16:25 ID:00J53KPE [Del]

>>231
if I run http://webhostip/kareha.pl it just opens up as txt.

How else am I supposed to execute it?

233 Name: !WAHa.06x36 : 2008-04-27 16:54 ID:Heaven [Del]

> How is reading about CGI scripting going to solve my problem?

Because Kareha is a CGI script. Read up on how to make those run on your web server.

234 Name: Anonymous : 2008-04-27 19:26 ID:00J53KPE [Del]

ok i figured it out i think...

I was putting my kareha files in /var/www/html/ I can't execute perl scripts from that directory. SO I moved my kareha files to /usr/local/apache2/cgi-bin/ and I was able to execute the perl script from my browser, but I get a 500 Internal Error.

What do I have to do to Apache's httpd.conf file to enable me to run scripts in /var/www/html/ ??

235 Name: Anonymous : 2008-04-28 03:46 ID:Heaven [Del]

CHMOD kareha.pl and admin.pl to 755

236 Name: Anonymous : 2008-04-28 05:34 ID:Heaven [Del]

>>234
http://wakaba.c3.cx/sup/subback.html
Ctrl-F, "500", Enter.

Also, it would help to read the Apache documentation before blindly running ahead and making a complete mess of everything. That's a fantastic way to end up with a completely insecure setup.

Don't put it in your cgi-bin, either; it's not meant to run that way and it won't work.

You really should take some time to learn what you're doing -- don't expect to be constantly spoon-fed. If you can't put any amount of effort toward solving your problems, why should you expect others to do so for you?

237 Name: Anonymous : 2008-04-30 00:23 ID:NZs3bbdN [Del]

Short question: I'm setting up a site with multiple boards (similar to Desuchan, for example). Do I need a separate SQL database for each board, or will they all share the same database?

238 Name: Anonymous : 2008-04-30 06:18 ID:Heaven [Del]

>>237
You need different tables for each board, but apart from that they can all use the same database.

239 Name: Anonymous : 2008-04-30 15:26 ID:CTi9NJZW [Del]

Ah yes, I forgot I could change the tables. Thanks a lot :)

240 Name: Anonymous : 2008-05-04 08:38 ID:G0S4q6A1 [Del]

how can i make more boards like tv,photography,movies,games etc?

241 Name: Anonymous : 2008-05-04 08:48 ID:G0S4q6A1 [Del]

>>240

and im using kareha

242 Name: !WAHa.06x36 : 2008-05-04 09:24 ID:Heaven [Del]

Just install more copies.

But before you do, put some thought to into whether you really need any more boards.

243 Name: Anonymous : 2008-05-11 21:33 ID:hH1hSKS5 [Del]

>>237
Desuchan's version of wakaba is a unified "server" structure.

244 Name: R!ozOtJW9BFA : 2008-05-12 18:01 ID:/3TiKogu (Image: 353x216 jpg, 10 kb) [Del]

src/1210640517825.jpg: 353x216, 10 kb

Can't get passed this.
The last thread implied that this means DBD might not be installed, but it is. Can anyone help?

245 Name: R!LQz4LF5yKE : 2008-05-12 23:01 ID:lbDpegX1 [Del]

Checked my error log. I get...

[2008-05-13 00:54:50]: error: directory is writable by others: (/home/junkmanx/public_html/level1/LV1)
[2008-05-13 00:48:30]: error: directory is writable by others: (/home/junkmanx/public_html/level1/LV1)
[2008-05-13 00:26:09]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:25:41]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:25:13]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:21:58]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:21:42]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:21:25]: error: file has no execute permission: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:21:05]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:20:07]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:15:23]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-13 00:15:02]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-12 19:53:37]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-12 19:52:36]: error: file is writable by others: (/home/junkmanx/public_html/level1/LV1/wakaba.pl)
[2008-05-12 19:26:10]: error: directory is writable by others: (/home/junkmanx/public_html/level1/LV1)
[2008-05-12 19:26:03]: error: directory is writable by others: (/home/junkmanx/public_html/level1/LV1)
[2008-05-12 19:06:57]: error: directory is writable by others: (/home/junkmanx/public_html/level1/LV1)
[2008-05-11 19:45:22]: error: directory is writable by others: (/home/junkmanx/public_html/level1)

246 Name: !WAHa.06x36 : 2008-05-13 09:08 ID:Heaven [Del]

>>244

It means your SQL configuration is wrong.

247 Name: R!ozOtJW9BFA : 2008-05-13 15:31 ID:bccawtev [Del]

Well what do you suggest I do to fix it? I posted my errors in 245.

248 Name: !WAHa.06x36 : 2008-05-13 15:46 ID:Heaven [Del]

>>246

None of those errors have anything to do with it. Also, none of us know what your SQL setup is, so it's not like we can do anything about it. You pretty much have to figure it out yourself.

249 Name: Anonymous : 2008-05-14 13:00 ID:2vbzzEho [Del]

Curious as to why when I made a board it copied everything from the first one I made onto it. Also, more importantly, why aren't my things located at img.(hostname).net/(boardname)? it's just (hostname).net/(boardname). I used img as the thing in mysql.

250 Name: !WAHa.06x36 : 2008-05-14 14:37 ID:Heaven [Del]

>>249

Because you used the same table in the SQL database? Also, SQL has nothing to do with where your things appear on the web. That's all up to the Apache setup.

251 Name: Anonymous : 2008-05-14 15:06 ID:2vbzzEho [Del]

>>250
Fair enough, I don't know much about databases (blatantly). Is there any way I can set this up? Will this happen every time I make a new board?

Also, how do I make it so you don't have to post an image with every reply?

252 Name: Anonymous : 2008-05-15 00:17 ID:LOgzZE8w [Del]

>>251 just change what the tables are named in wakaba's config.pl file.

And you don't have to post an image with every reply...?

253 Name: Anonymous : 2008-05-15 01:27 ID:USUb8UEg [Del]

>>252
Yeah, I figured that out this morning, thanks.

I meant, so you don't have to check the box every time.

254 Name: Anonymous : 2008-05-15 08:53 ID:2vbzzEho [Del]

How does one give people moderator access?

255 Name: R!ozOtJW9BFA : 2008-05-15 15:26 ID:cd4jhGow [Del]

>>248
Do I have to create tables myself?

256 Name: Anonymous : 2008-05-15 15:32 ID:Heaven [Del]

>>254
Give them the password

>>255
No

257 Name: hina : 2008-05-21 03:33 ID:1Ael6+GC [Del]

In kareha, there was an INCLUDE_DIR option where I could set a 'global' header, footer, and rules page for all my boards. Yes, sorry, boards.

I can't seem to find this option in wakaba. Could someone point me in the right direction, please?

258 Name: johnny : 2008-05-21 23:18 ID:94oMzZqt [Del]

My kareha imageboard index loads and seems to be working fine, but when someone tries to make a post, nothing is added. Hitting the submit button seems to do nothing other than refresh the page. Help?

259 Name: mike : 2008-05-22 09:09 ID:6qpk9T9Z [Del]

i thought i got everything right but apparently i didn't.. would anyone know what to do when this comes up?

[error] Bareword "DEFAULT_STYLE" not allowed while "strict subs" in use at

                 /usr/home/me/public_html/wakaba/futaba_style.pl line 642.\nCompilation failed in require at /home/me/public_html/wakaba/wakaba.pl line
19.\nBEGIN failed--compilation aborted at /home/me/public_html/waka

thanks!

260 Name: Anonymous : 2008-05-22 10:20 ID:2vbzzEho [Del]

Uh oh, one of my boards now only shows as a blank white page and the file size is 0 of wakaba.html. I've tried running wakaba.pl but to no luck-- any help? It worked fine before.

261 Name: Anonymous : 2008-05-22 15:35 ID:Heaven [Del]

>>260
Check your error logs.

262 Name: !WAHa.06x36 : 2008-05-22 18:10 ID:Heaven [Del]

>>257

Sorry, never implemented it there. You can either change the paths in futaba_style.pl, or you can make the include/ directory a softlink to some central directory.

>>258

You probably ran kareha.pl on the command line. Delete index.html and then go to kareha.pl through the browser.

>>259

You messed up the files somehow, probably config_defaults.pl.

>>260

Go to admin.pl?action=admin and rebuild caches.

263 Name: Anonymous (moved from other thread) : 2008-05-26 13:37 ID:Heaven [Del]

hi i would like to remove the image verification process from my wakaba board. how do i do this while keeping the board clean and functional? thanks.

264 Name: !WAHa.06x36 : 2008-05-26 13:39 ID:lpemlo1D [Del]

>>263

use constant ENABLE_CAPTCHA => 0;

265 Name: Anonymous : 2008-05-26 14:33 ID:eho4jHIG [Del]

>>263

When did moving posts get implemented (sorry if I'm slowpoking)

266 Name: !WAHa.06x36 : 2008-05-26 16:53 ID:Heaven [Del]

>>265

It didn't.

267 Name: Anonymous : 2008-05-26 18:43 ID:eho4jHIG [Del]

>>266
It should.

268 Name: Anonymous : 2008-05-27 12:13 ID:G2Yt5Xc+ [Del]

I have a wakaba setup with multiple boards and was wondering how
people handle ip bans across multiple boards. Every so often I get
an asshat or two that want to spam crap on a board and a day or
two later after i have removed it hit another board and so on. Do
you use a script to transfer the ip's from board to board ro do
you just deal with them one a a time??

269 Name: Anonymous (moved from other thread) : 2008-05-28 07:26 ID:Heaven [Del]

getting
"SQL connection failure"

Other wise the board seems to load up fine.

270 Name: !WAHa.06x36 : 2008-05-28 07:27 ID:K4vOYfq0 [Del]

>>268

You can use the same admin table for all your boards, if you want. That makes all bans global. That's a pretty common setup.

>>269

Fix your SQL settings and/or SQL server.

271 Name: Anonymous : 2008-05-28 13:04 ID:JPEG70Jy [Del]

>>270

That got it, bans show up across all boards now, Tnaks

272 Name: Anonymous : 2008-05-28 20:51 ID:Heaven [Del]

> ID:**JPEG**70Jy

273 Name: Anonymous : 2008-05-28 22:39 ID:+2TBumzq [Del]

Alright, I'm sorry but I just have a few questions. First off, how do I set up multiple boards. I understand HTML directories and etc, but I don't understand what files need to reside where. Do I need ALL the files for each board? Right now I have a working install, can I just duplicate this, dropping it in folders (one dir down from where it is now) and then create an index.html linking to each of these? Or can I have one copy of some files in the / and duplicates of others? I have no idea why each board would need its own config, CSS, and etc if they are going to be the same. Thanks for your time.

274 Name: Anonymous : 2008-05-29 03:09 ID:Heaven [Del]

>>273

use constant CSS_DIR => '../css/';

The configs won't all be the same; at the very least you need to change the table name, unless you really want all of the boards to share the same posts as well for some perverse reason. Also, symlinks are your friend.

275 Name: Anonymous : 2008-05-29 12:26 ID:Heaven [Del]

> The configs won't all be the same; at the very least you need to change the table name

unless you're using kareha, >>273 didn't say if he's using wakaba or kareha.
you'd still probably want to change the board title, tho. so you'll probably still have separate configs for each board.

276 Name: Anonymous : 2008-05-29 13:43 ID:+2TBumzq [Del]

Thanks! I'm sorry that I forgot to mention that I am using Kareha. One more questions, what about the scripts? Do I need duplicate scripts each folder? Do I need the scripts in the root folder? I'm sorry for not understanding much of this. From googling symlinks I found out that they are similar to an alias, which I do understand with my mac background, but I'm not sure how to create one on my server. Thanks for all your help.

277 Name: Anonymous : 2008-05-29 17:21 ID:Heaven [Del]

Ah. If you have shell access you can make a link with ln -s existing_file new_name. Don't know if it's possible with ftp though.

Barring that, basically just make a complete installation for each board, and move all the stylesheets and spam.txt up a level. No harm in making complete copies of everything, it's just a little more difficult to make changes across the whole site (e.g. upgrade).

278 Name: Anonymous : 2008-05-29 22:15 ID:+2TBumzq [Del]

Thank you, for all your help. I don't have ssh access or anything like that, so while working though FTP I just decided to make duplicate files in my directories. I am only trying to set up one board right now, but it is failing pretty hard. I don't want to use any of those stylesheets, so I made my own. I changed default stylesheet to the filename of mine -.css. and placed it in the correct directory. I honestly don't care if the others are options on the page, but I do want mine to be default. Well, when I browsed to kareha.pl it made my html page, and that seemed to work fine, but when I moved all the files (except /CSS and /spam.txt) down a directory it didn't (from / to /b/). I changed the config to ../CSS and ../spam.txt. After that, my index.html wouldn't display with any stylesheets. I don't understand what I'm doing at all. I know XHTML, but not JS, perl, or PHP. I want to customize the page layout, and have no idea how to do this. I don't want the subject field, or the link field. I can't just edit the HTML, that seems to work, but then it screws something up. I have tried around 10 different installs and they all have some problem.

279 Name: Anonymous : 2008-05-30 22:58 ID:Heaven [Del]

> Well, when I browsed to kareha.pl it made my html page, and that seemed to work fine, but when I moved all the files (except /CSS and /spam.txt) down a directory it didn't (from / to /b/). I changed the config to ../CSS and ../spam.txt. After that, my index.html wouldn't display with any stylesheets.

try deleting index.html and browsing to kareha.pl again after moving the files and changing the config.

> I want to customize the page layout, and have no idea how to do this. I don't want the subject field, or the link field. I can't just edit the HTML, that seems to work, but then it screws something up.

try editing templates.pl.

280 Name: Anonymous : 2008-06-01 09:53 ID:2vbzzEho [Del]

One of my threads (on a wakaba board) isn't bumping and it's important (thus I need it to). What's up with that? It's not even an old thread.

281 Name: !WAHa.06x36 : 2008-06-01 13:21 ID:Heaven [Del]

>>280

Does it have more posts than the bump limit?

282 Name: Anonymous : 2008-06-02 01:10 ID:2vbzzEho [Del]

>>281
Thanks, that was exactly it.

283 Name: Anonymous : 2008-06-03 20:33 ID:Ut7NeexG [Del]

Has anyone written a script to convert from wakaba to kareha and keep the old wakaba message base? Google is not being helpful.

284 Name: Anonymous : 2008-06-03 20:49 ID:Heaven [Del]

>>283
Probably not, Wakaba is superior to Kareha, why would you convert it?

285 Post deleted by user.

286 Name: Anonymous : 2008-06-03 21:06 ID:Ut7NeexG [Del]

>>284
I want to dump the database back end.

While we're at it, does anyone know how to add a "Report" button to either Wakaba or Kareha?

287 Name: Anonymous : 2008-06-04 03:51 ID:Heaven [Del]

>While we're at it, does anyone know how to add a "Report" button to either Wakaba or Kareha?

Do it yourself?

288 Name: Anonymous : 2008-06-04 18:10 ID:AEO3Mwbi [Del]

How would you add noko support to take you back to the thread you posted in when that's in the email field?

289 Name: Anonymous : 2008-06-04 22:51 ID:Heaven [Del]

>>288
click the back button after you post?

290 Post deleted by user.

291 Name: Anonymous : 2008-06-05 02:43 ID:Heaven [Del]

(Note: untested code.)

In wakaba.pl, line 600-ish:

- make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
+ if ($c_email eq 'noko') {
+ make_http_forward(RES_DIR.($num or $parent).PAGE_EXT,ALTERNATE_REDIRECT);
+ } else {
+ make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
+ }

Kareha is slightly trickier, but still not difficult.

292 Name: Anonymous : 2008-06-05 18:51 ID:eho4jHIG [Del]

>>291

Doesn't work, however I tried something different based off of what you did (in a way).

Replace (around line 600):

	make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);

With:

	my $noko;
my $noko2;
if($parent)
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
$noko = $parent;
$noko2 = '#'.($sth->fetchrow_array())[0];
}
else
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
$noko = ($sth->fetchrow_array())[0];
}

if($c_email eq 'noko')
{
make_http_forward(RES_DIR.$noko.PAGE_EXT.$noko2,ALTERNATE_REDIRECT);
}
else
{
make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
}

It may be bulk and able to be done in less lines of code, but this works perfectly.

293 Name: !WAHa.06x36 : 2008-06-06 03:37 ID:Heaven [Del]

>>292

If you're using MySQL, there should be a function for getting the value of the autoincrementing column of the last update. You could use that instead of the unwieldy SELECTs.

294 Name: Anonymous : 2008-06-06 04:12 ID:eho4jHIG [Del]

	if($parent) { build_thread_cache($parent); }
else # must find out what our new thread number is
{
if($filename)
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE image=?;") or make_error(S_SQLFAIL);
$sth->execute($filename) or make_error(S_SQLFAIL);
}
else
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
}
my $num=($sth->fetchrow_array())[0];

if($num)
{
build_thread_cache($num);
}
}

is what I used as a base for it. I'm not very good at Perl, so I'm just happy it works.

295 Name: !WAHa.06x36 : 2008-06-06 04:44 ID:Heaven [Del]

>>294

I had to do that because I don't want to rely on MySQL-only features, but if you're doing something for a specific server, you can get away with it. Read the docs for DBD::mysql to find the function in question.

296 Name: ASef4h5j6k6l (moved from other thread) : 2008-06-06 09:56 ID:Heaven [Del]

I've been having some trouble installing wakaba...
When I try to open up wakaba.pl in the web browser it comes up with this error:

Forbidden

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

I am running wakaba under Apache in Ubuntu 8.04 using Perl 5.8.8 and MySql. Wakaba is currently placed in /var/www/public_html and httpd.conf has been edited to add the lines:

Options +ExecCGI
AddHandler cgi-script .cgi .pl

It's clear that Apache has recognised the scripts as CGI perl files as when I click on them(and it comes up with that error) it also shows:

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8 Server at localhost Port 8

What should I do about this problem, would you like more information.

This is my first post, and I have looked beforehand for an existing topic, and if I have repeated something, I apologise.

297 Post deleted by user.

298 Name: !WAHa.06x36 : 2008-06-06 09:58 ID:lpemlo1D [Del]

First off, you should not be using mod_perl, if you are. Second, does the webserver have access to those files? Did you set the permissions correctly?

299 Name: Anonymous : 2008-06-06 09:59 ID:Heaven [Del]

>>296
Check your file permissions and error logs.

> I have looked beforehand for an existing topic

Not enough, evidently ;)

300 Name: ASef4h5j6k6l : 2008-06-06 10:30 ID:fzQTe07X [Del]

ok, I'll uninstall mod_perl (via synaptic), and I have chmodded wakaba.pl and captcha.pl to 755.

but the error message persists.

Forbidden

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

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch Server at localhost Port 80

301 Name: ASef4h5j6k6l : 2008-06-06 14:03 ID:fzQTe07X [Del]

I've uninstalled mod_perl, it still comes up with the error.

302 Name: ASef4h5j6k6l : 2008-06-07 08:58 ID:fzQTe07X [Del]

Problem solved, I added:

ScriptAlias /cgi-bin/ /var/www/html/

    <Directory "/var/www/html/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .pl
Order allow,deny
Allow from all
</Directory>

to /etc/apache2/sites-available/default
and this:

AddHandler cgi-script .cgi .pl

to apache.conf
and loaded the module using:

sudo a2enmod perl

I then restarted Apache and hey presto! the wakaba.pl script loaded up!
I think the source of the problem was not adding the code to /sites-available/default as this defines /var/www/html/wakaba as a directory that can run perl.

303 Name: Anonymous : 2008-06-07 22:08 ID:kJqIM+0e [Del]

>>286
this has been done along with overhauling the mod panel to something sane

304 Name: Anonymous : 2008-06-08 06:20 ID:Heaven [Del]

Regarding the "KEEP_MAINPAGE_NEWLINE" thing again.

Is there any way to make it works when viewing threads?
I have tried to do like this:

>},1;

at the end of THREAD_HEAD_TEMPLATE but when I try to post again it just output:

><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

instead of the comment. Is there any way to do this?

305 Name: !WAHa.06x36 : 2008-06-08 07:48 ID:Heaven [Del]

> Is there any way to make it works when viewing threads?

In Kareha? No. The script finds threads by loading single specific lines from the file. Everything breaks if you mess with that.

306 Name: Anonymous : 2008-06-08 07:55 ID:Heaven [Del]

>>305
I see. Thanks. ;)

307 Name: Anonymous : 2008-06-11 22:11 ID:hhQp7lKX [Del]

Two simple queries:
Am I correct in thinking that of Wakaba, Kareha and Kusaba, only Kareha can have dynamically generated 2ch style "show last 50 posts" (eg http://wakaba.c3.cx/sup/kareha.pl/1192108766/50)? I was looking to integrate most recent posts embedded into other parts of the site using this feature, so it seems only Kareha will do using this method.

Particularly in Kareha, is there a simple way of flagging a thread undeletable, so it could be left alone at the end of the board without any danger of it being deleted? I was looking to tie certain threads into the site, so I don't want them being deleted.

Thanks.

308 Name: Anonymous : 2008-06-12 04:38 ID:Heaven [Del]

>>307
IIRC Kusaba had "first 100" and "last 50" links in that giant mess of useless buttons it adds to every thread. You can do something similar with Wakaba when it's rebuilding the thread page -- just prune the thread after writing the res/*.html file, and run the writer again with a new filename. You'd have to be fairly competent with Perl to hack that in, though.

If you're intending to mix threads in with non-thread content, I think it'd probably be easiest to use Wakaba and pull the threads with an SQL query elsewhere.

309 Name: Anonymous : 2008-06-13 06:20 ID:hhQp7lKX [Del]

>>308
Thanks, I more or less got something working.

Last problem I have is adapting the output to fixed width - for some reason a long line of text in a thread refuses to wrap to a new line (which screws up the display) despite me plastering max-width everywhere in the CSS, I presume I am missing the proper location for max-width in the CSS or style.pl? The page itself is now fixed width, but a long line just doesn't wrap fluidly like it should. The element is a blockquote, but the CSS does nothing to stop the line...
Last piece in the puzzle for me now...

310 Name: Anonymous : 2008-06-16 16:01 ID:QViPFfeE [Del]

How do you change the "Wakaba image board" title and link "Home" to a specific page?

311 Name: Anonymous : 2008-06-16 16:29 ID:QViPFfeE [Del]

Ok, I've gotten the "home" link sorted out myself, but I can't figure out how to change the "Wakaba image board" title on the first page.

312 Name: Anonymous : 2008-06-16 18:49 ID:Heaven [Del]

>>311 it's under Page Look.

313 Name: kyle : 2008-06-18 13:20 ID:1vfem5sA [Del]

i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?

314 Name: kyle : 2008-06-18 13:21 ID:1vfem5sA [Del]

i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?

316 Name: theming : 2008-06-30 18:29 ID:SyGDABBA [Del]

is there a guide to theming wakaba and kusaba?

317 Name: Anonymous : 2008-07-01 22:04 ID:Heaven [Del]

>>316 basic css?

318 Name: Mr Z : 2008-07-08 11:07 ID:iTL4tEeb [Del]

Hello, first thanks to the author for writing such great software.
Kareha question.
I have one working image board on my private host (Windows). I created a new dir where this board lives and extracted and setup all the files as before to give me a second board.

However when I run kareha.pl from this new dir it displays the title of my original board, says 'Thread specified does not exist.' and fails to create an index.php.
For the life of me I have no idea what's going on. I see no reason how is managing to display the title of my original board.

Before I move my original board to a separate dir I thought I'd ask for help. (Is it even possible to move a board and have its contents survive?)

319 Name: !WAHa.06x36 : 2008-07-09 04:36 ID:Heaven [Del]

>>318

You need to either delete index.html before running kareha.pl, or go to the admin page and click "Rebuild caches".

320 Name: Mr Z : 2008-07-09 13:38 ID:iTL4tEeb [Del]

>>319

Thanks, tried that and ran into a CGI error. Problem with the way my host is setup. m(_ _)m ~ギブ アップ

321 Name: kyle : 2008-07-12 23:31 ID:1vfem5sA [Del]

i am getting this error when i open the wakaba.pl from my browser...

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: . /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1) at (eval 409) line 3, <FILE> line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, SQLite, Sponge.
at /Applications/xampp/xamppfiles/htdocs/xampp/wakaba.pl line 45

and i have no idea what is going on with this.

322 Name: Anonymous : 2008-07-13 15:48 ID:Fv0FaogC [Del]

>>67

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

I somewhat understand what you're saying to do, but I'm not sure which part to look in. By IDs, do you mean like "Field1" or something else?

323 Name: !WAHa.06x36 : 2008-07-13 19:34 ID:Heaven [Del]

>>321

Install DBD::mysql.

324 Name: Anonymous : 2008-07-24 23:08 ID:IPMxEGKM [Del]

hey WAHa, there is a small bug in kareha...

325 Name: Anonymous : 2008-07-25 04:22 ID:xe/tAICs [Del]

How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.

326 Name: Anonymous : 2008-07-25 04:23 ID:xe/tAICs [Del]

How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.

327 Name: !WAHa.06x36 : 2008-07-25 04:40 ID:Heaven [Del]

>>326

Don't disable cookies, or start typing in a password when posting.

328 Name: Gibs : 2008-07-25 18:48 ID:v89ET997 (Image: 427x640 jpg, 96 kb) [Del]

src/1217036932740.jpg: 427x640, 96 kb

I suddenly am having problems posting images on my site. nahc4.com

Basically if I post an image I get:
"Either this image is too big or there is no image at all. Yeah."
Im getting this on any image.. even a 30kb image. I can only post text on the site now. Does anyone have any ideas on why this is happening? I use dreamhost if that helps.

329 Name: Anonymous : 2008-07-26 07:38 ID:Heaven [Del]

>>328 do you have board-size limits set in config.pl? or a hard limit set with dreamhost?

330 Name: !WAHa.06x36 : 2008-07-27 10:59 ID:Heaven [Del]

>>328

Your server is probably blocking file uploads.

331 Name: Anonymous : 2008-07-28 08:32 ID:Heaven [Del]

>>328
I remember you... you spammed your site on every imageboard in the overchan about a year ago, right? And then it collapsed because you were runnning it on a crappy shared host with Draconian bandwidth limits.

332 Name: 超機 (moved from other thread) : 2008-07-28 15:17 ID:lpemlo1D [Del]

Is there an option (or a temporary hack) to perform secure erasure of unwanted images?
The shred is to be done regardless whether the deletion is invoked by user or admin.

Local laws are really tough on contraband.

333 Name: !WAHa.06x36 : 2008-07-28 15:20 ID:Heaven [Del]

>>332

There is no option, but if you can find a Perl module that does it for you, it'd be easy enough to search wakaba.pl for "unlink" and replace that with whatever secure deletion function you have. You could also make it call some external app to do it, using system().

334 Name: 超機 : 2008-07-30 16:09 ID:Rt5QcqQU [Del]

>>333
Thank you for your reply. The web host recommend storing everything in EncFS to make deletion unrecoverable. Not too sure about how true that concept is. I'll try to find that Perl module mentioned.

335 Name: Anonymous : 2008-08-01 01:26 ID:b5i8R9nR [Del]

my 'software error' if anybody doesn't mind helping

No ADMIN_PASS defined in the configuration at /usr/lib/perl5/5.8.7/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.

for each of these what do i change? like.. showing an example would be the most helpful and i know how to find all te documents for each except /usr/lib/perl5/5.8.7/CGI/Carp.pm

336 Name: Anonymous : 2008-08-01 07:02 ID:Heaven [Del]

>>335 you forgot to uncomment the lines in config.pl. remove the # from the very start of the line.

337 Name: Anonymous : 2008-08-01 13:53 ID:b5i8R9nR [Del]

>>336 there is no # and what does uncomment mean? i edited mode_* to mode_image.

now it says:

This board has not been configured yet.
Things you need to do to get the board running:
Choose what kind of board this should be, and copy the files out of the corresponding mode_image directory into the board directory.
Edit config.pl to suit your needs - remember to uncomment the lines you change.
Access kareha.pl again (or just reload this page).

also where is the board directory?

338 Name: !WAHa.06x36 : 2008-08-01 18:38 ID:Heaven [Del]

> also where is the board directory?

That's just the one where you're installing things.

339 Name: Anonymous : 2008-08-01 19:34 ID:b5i8R9nR [Del]

>>338 so.. the ftp publisher i assume...?

340 Name: Anonymous : 2008-08-01 21:07 ID:b5i8R9nR [Del]

ok, so i was at this step >>335

BUT THEN I FUCKED SOMETHIGN UP D:
how do i get back there?

341 Name: Anonymous : 2008-08-02 17:58 ID:ZwLVKPcu [Del]

I'm setting up a board using wakaba, when I'm done I have a couple hundred images I would like to upload to start the board off with. Is there an automated way to do this so I don't have to upload them one at a time??

342 Name: Anonymous : 2008-08-07 16:40 ID:vFpjSQXT [Del]

Hi, I know it's been answered before, but the description was a bit complex for me - I tried fixing it and screwed things up completely so I'd appreciate a quick walkthrough. It's the manager post problem, where it says the spam filters have been triggered every time. I edited futaba_style.pl, but only got it to let me post but only including an image and posting as anon. Help would be much appreciated.

343 Name: Anonymous : 2008-08-09 21:26 ID:Heaven [Del]

>>341 you could make a very specific hand-crafted SQL query.

344 Name: Anonymous : 2008-08-13 05:58 ID:v37lKKto [Del]

Okay, I've got a unique problem (Like as far as I have seen while browsing here.)

I have set up Wakaba correctly SQL and Database wise (meaning that there are no server errors and everything is in the right spot)

However, I get "Software error"s now. Here's basically what it looks like:

Software error:

config.pl did not return a true value at wakaba.pl line 16.
BEGIN failed--compilation aborted at wakaba.pl line 16.

config.pl and wakaba.pl are in the same folder and directory, but from what I'm reading (I'm a newbie at perl) is that the wakaba.pl script is claiming it cannot find the config.pl script, therefore not able to draw from it using the

BEGIN { require "config.pl"; }

found on line 16.
I have found above a line containing

use lib '.';

What do I have to do? The server is configured correctly, and my config file seems to be in order, my only guess is that little line (use lib '.';) must have something to do with it. If so, then what do I have to change it to, and if not, then what might be the problem?

345 Name: !WAHa.06x36 : 2008-08-13 06:09 ID:Heaven [Del]

>>344

No, it finds the file, but it is corrupt one way or the other. You may have deleted too much when editing it?

346 Name: Sobota : 2008-08-13 14:01 ID:1KZJdnFb (Image: 402x431 png, 53 kb) [Del]

src/1218661296759.png: 402x431, 53 kb

Hello, I am having a problem or two with setting up Kareha. Everything seems to be in place, but I keep getting the board not configured message. Here's how I have everything in place, am I doing something wrong here?

347 Name: Anonymous : 2008-08-14 05:14 ID:v37lKKto [Del]

>>345

I followed all the instructions included in the config file along with the setup guide provided here. Should I just try to upload a fresh config file (nonaltered) and just work my way up from there?

348 Name: !WAHa.06x36 : 2008-08-14 08:03 ID:Heaven [Del]

>>346

You need to actually follow the instructions and pick a board mode, and copy the files from that directory into place.

>>347

That sounds like a good idea to try.

349 Name: Anonymous : 2008-08-19 10:31 ID:Heaven [Del]

>>344

>config.pl did not return a true value at wakaba.pl line 16.

I'm not that experienced in Perl, but doesn't that error come from the 1; not being at the end of config.pl?

350 Name: !WAHa.06x36 : 2008-08-22 04:04 ID:Heaven [Del]

>>349

Yes, probably.

351 Name: Anonymous : 2008-08-23 19:36 ID:BprmktmD [Del]

Is there an easy method of adding Adsense to the left of the input table (the one in the middle of the screen, name, link, comments, file input, etc)? It looked like I could just copy/paste the code right into the Futaba_Style file, but it didn't work. Am I missing something?

352 Name: Anonymous : 2008-08-23 20:21 ID:Heaven [Del]

>>351
Basic html skills? Also ads are lame.

353 Name: Anonymous : 2008-08-23 20:40 ID:BprmktmD [Del]

On another note, I did add the 1 at the end of the compile lists, and it does keep the spaces in there, but still having issues having Adsense show up right next to the input area.

354 Name: Anonymous : 2008-08-23 20:53 ID:BprmktmD [Del]

>>352

No hard feelings about ads. On another note, I was trying to implement this into pearl, but I suppose I could just toss it into the html page. :p

355 Name: Anonymous : 2008-08-24 00:09 ID:Heaven [Del]

If you're going to do that, you might as well put it in templates.pl, because the first time you rebuild the cache all of that adding to the html page will vanish.

356 Name: Anonymous : 2008-08-24 01:26 ID:BprmktmD [Del]

>>355

Yup, figured that out after I re-cached lol.

I figured out how to place ads on my site, but they do not work in Firefox. I looked at other threads here, some say to turn off xhtml (set it to 0) which I did, that didn't work.

I'm looking at Wakachan, and somehow they are able to display ads in Firefox. I just don't know what they are doing differently than myself.

357 Name: Anonymous : 2008-08-24 15:26 ID:Ik3q1Abk [Del]

Ahhhh i've spent about 5 hours today trying to even start this thing!!1! So i've set up apache and got that "it works!" message in my browser..ok easy. Then i set up perl scripts - though im not sure how to test if this is working. blah blah blah i did everything and at the end it just displays code in my browser. Any useful links so that i can start over? ( except http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart ) thanks

358 Name: Anonymous : 2008-08-24 18:24 ID:BprmktmD [Del]

>>357

  1. Set up your config file.
  2. Upload the contents to your FTP.
  3. Change your permissions, I just changed all of my .pl files to "755" in every single folder, but that's me. If your perl files do not have the proper permissions, it may not work at all.
  4. Open your browser to http://www.example.com/wakaba/wakaba.pl
  5. Should be working now.

Basically, if you just follow those steps as generic and simple as it sounds, it should be working.

On another note, I'm still waiting on some help with my Firefox issue with using ads lol. Not showing up in FF, yet shows up in IE.

359 Name: Anonymous : 2008-08-25 00:55 ID:BprmktmD [Del]

Well... I found out what the issue was after hours and hours of looking. The problem was simple. It was my htaccess file that was making it so it wouldn't show ads in Firefox. For future reference for anyone having this issue, be sure to check your htaccess file. :)

360 Name: Anonymous : 2008-08-25 05:04 ID:2PuoDa1/ [Del]

Hey, i was just wondering how to make a homepage when clicking home. As it currently links to my directory...

361 Name: Anonymous : 2008-08-25 10:13 ID:Heaven [Del]

>>360 use constant HOME

362 Name: Anonymous : 2008-08-25 11:12 ID:Heaven [Del]

>>360

If you're seriously asking us how to make a homepage, maybe you should learn a little more about websites before putting up an imageboard...

363 Name: Anonymous : 2008-08-25 12:35 ID:k4xr5kxY [Del]

of course i know how to make a homepage in theory but was just wondering if it was somehow already created, anyway obviously not...off to dreamweaver

364 Name: moot!Ep8pui8Vw2 : 2008-08-25 19:16 ID:Heaven [Del]

LOL

365 Name: JunkBox (moved from other thread) : 2008-08-26 04:27 ID:K4vOYfq0 [Del]

My webhosting server is being run by 'windows 2003 enterprise edition R2' that I can't change any permission as a user of the server. Host says it's because there's no problems running CGIs without permission setting on the OS.
But, finally what I found is this;

Software error:
Can't locate config.pl in @INC (@INC contains: . C:/Perl/site/lib C:/Perl/lib) at D:\userhome\junkbox\wakaba\wakaba.pl line 16.
BEGIN failed--compilation aborted at D:\userhome\junkbox\wakaba\wakaba.pl line 16.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

just as it is on here: http://hosting.ohseon.com/junkbox/wakaba/wakaba.pl

I seems like wakaba.pl couldn't read config.pl (I heard that it is usual problem on Windows that CGI programs don't read its config files.

Now, I'm waitting for the anser for this from my host.
But I' cant be so comfotable with this.

So, Anybody please help me solving this problem.

366 Name: Anonymous (moved from other thread) : 2008-08-26 04:28 ID:K4vOYfq0 [Del]

Okay so far im liking wakaba alot...but because i dont know anything about html or setting up websites at all, some stuff confuses me. So i was wondering, i still don't quite understand where to put the .html file craeted from the install. Atm it's in *chan.org/b(Wakaba)/imgboard.html which links from the home. problem is if you go to *chan.org/b/ you get the directory. How would i go about just showing the page? Also a final question is once i have done this, to add a navigation at the top of imgboard.html like [ b / c / d ] how can i go about this. Thanks. Anon.

367 Name: !WAHa.06x36 : 2008-08-26 04:33 ID:K4vOYfq0 [Del]

I wonder how big and blinky I will have to make that message at the top before people will actually see it? Anyway...

>>365

Windows webservers are a big mystery mostly, but you can try looking at what's been figured out in the past here: http://wakaba.c3.cx/docs/docs.html#RunningOnWindows,RunningOnIIS

Sounds like the current directory doesn't get changed to the board directory. A workaround for that should be in there.

>>366

There is no html file created from the tarball. You're definitely doing things all wrong. First, learn how to use CGI scripts. Then, try reading http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart.

368 Name: Anonymous : 2008-08-26 08:07 ID:BAu9K0Wx [Del]

How can i go about making a side menu that sticks throughout a whole chan?

369 Name: Anonymous : 2008-08-26 13:01 ID:Heaven [Del]

Try Google.

370 Name: Anonymous : 2008-08-27 12:41 ID:HiPLzHMQ (Image: 579x774 jpg, 56 kb) [Del]

src/1219866098794.jpg: 579x774, 56 kb

where can i download Kareha?

371 Name: Anonymous : 2008-08-27 18:42 ID:Heaven [Del]

>>370
If you have to ask you aren't trying hard enough.

372 Post deleted by moderator.

373 Post deleted by moderator.

374 Post deleted by moderator.

375 Name: Anonymous : 2008-08-31 04:02 ID:qWzUsAgJ [Del]

So, I got wakaba up and running, except for a couple of problems:

  1. Thumbnails are being created, but they aren't showing up on the site itself.
  2. Making an "Admin Post" form the admin section posts a thread as Anonymous with no subject, and no text.

Any ideas on why these two things are happening?

376 Name: Anonymous : 2008-08-31 07:19 ID:D2fesYWh [Del]

I receive "SQL connection failure" message when running wakaba.pl script. What I doing wrong?

wakaba.sql database is already created and config.pl is changed:
use constant SQL_DBI_SOURCE => 'DBI:mysql:database=wakaba.sql;host=localhost';

377 Name: !WAHa.06x36 : 2008-08-31 18:09 ID:lpemlo1D [Del]

>>375

Try reading the earlier posts on both topics.

>>376

I guess that is not the correct settings, then.

378 Name: Anonymous : 2008-09-03 11:23 ID:VCjtwQwI [Del]

I'm Running Kareha on my test server at home. Now that I've gotten over the quirks of Ubuntu (I hope...), it seems to work fine, except that bans don't have any effect. They show up in .htaccess, but the matching IPs can still read and post. Am I missing something painfully obvious?

379 Name: Anonymous : 2008-09-03 11:44 ID:VCjtwQwI [Del]

Aaaaand what the hey. Right after I posted that it started working properly. Color me confused.

380 Name: Anonymous : 2008-09-03 15:46 ID:PhR/X74l [Del]

I've installed Kareha but I can't see anywhere to log into with Manage as it says on the documentation.

Any help would be appreciated.
Thanks.

381 Name: Anonymous : 2008-09-03 17:42 ID:VCjtwQwI [Del]

The docs are a bit out of date; now admin.pl is where the management takes place. There's no link to it, so just type it in.

382 Name: Anonymous : 2008-09-03 19:11 ID:PhR/X74l [Del]

>>381

Thanks for the response.
I tried that but it says:

Can't locate strings_en.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0) at captcha.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at captcha.pl line 13, <FILE> line 4.
Compilation failed in require at kareha.pl line 15, <FILE> line 4.
BEGIN failed--compilation aborted at kareha.pl line 15, <FILE> line 4.
Compilation failed in require at /home/www/admin.pl line 13, <FILE> line 4.
BEGIN failed--compilation aborted at /home/www/admin.pl line 13, <FILE> line 4.

Everything else seems to work fine.

383 Name: Anonymous : 2008-09-03 19:23 ID:PhR/X74l [Del]

>>382

Oh, nevermind.
I've sorted it out now.

Thanks for the tip about the admin.pl :).

384 Name: Anonymous : 2008-09-08 13:51 ID:WVMw6Nqe [Del]

This has probably been answered already, but I'm not sure what to search for, and reading the whole ~1200 posts in the support threads is a bit daunting.

How do you add a board description? Either below the title (http://orochi.iiichan.net/senti/ is the first example I found) or in the rule list below the message box.

385 Name: Anonymous : 2008-09-08 16:39 ID:Heaven [Del]

>>384
Just edit the template file.

386 Name: Anonymous : 2008-09-12 02:40 ID:VCjtwQwI [Del]

I know Wakaba is designed to handle it, but is there a way to get Kareha to do flood detection and control?

387 Name: Anonymous : 2008-09-14 19:01 ID:CfC1Cvf6 [Del]

How do I use the german strings instead of the english ones? I want a German board.

388 Name: Anonymous : 2008-09-14 19:04 ID:Heaven [Del]

>>387 manually edit the strings file.

389 Name: Anonymous : 2008-09-15 05:29 ID:8lBkvpEB [Del]

where do i have to leave the spainter.jar file for oekaki support?

390 Name: !WAHa.06x36 : 2008-09-15 06:14 ID:Heaven [Del]

>>389

Just in the base directory along with the rest of the files.

391 Name: Anonymous : 2008-09-21 17:36 ID:WeitTQAr [Del]

I'm using Yahoo! Small Business webhosting and what I keep getting after hours of trial and error is:

>Software error:

syntax error at config.pl line 173, near "1"
Compilation failed in require at /ichi/kareha.pl line 12.
BEGIN failed--compilation aborted at /ichi/kareha.pl line 12.<

Here is the line of config.pl and surrounding lines,

> 170 #);

171
172
173 1; <
And here is the line of kareha.pl, and surrounding lines,

>11 use lib '.';

12 BEGIN { require 'config.pl'; }
13 BEGIN { require 'config_defaults.pl'; } <

Please help me out.

Thanks,
Mr. Anon

392 Name: !WAHa.06x36 : 2008-09-22 03:32 ID:K4vOYfq0 [Del]

>>391

You likely messed up some earlier line.

393 Name: BradenFase : 2008-09-26 17:38 ID:VVSacewV [Del]

I have been looking over questions and answers and I still have not found out how to make Threads. How might I accomplish this?

394 Name: !shoBoN83/k : 2008-09-28 06:23 ID:Heaven [Del]

>>393
You won't find it because it's a terrible question.

Click "New Thread" under the thread list at the top of the page, fill in a Subject and a Comment, and press the button.

395 Post deleted by moderator.

396 Post deleted by moderator.

397 Post deleted by moderator.

398 Name: BradenFase : 2008-09-30 10:19 ID:YfEG7xxZ [Del]

I'm sorry. I just realized that I'm confusing threads with Boards. How would I make a board that I can directly link from my main page that won't get overwritten when I post?

399 Name: Anonymous : 2008-10-01 20:45 ID:nEhHvJMO [Del]

>>398 what? Just copy the entire directly of one board to another and change the config.p information (MySQL most importantly; just change the table names).

400 Name: BradenFase : 2008-10-04 08:17 ID:oh1Forn3 [Del]

Hmm. Okay. I'll try that. Thank you.

401 Post deleted by user.

402 Name: Anonymous : 2008-10-19 15:52 ID:qf7Q1Jm6 [Del]

I'm trying to post using "Manager Mode" and keep getting this...

Anti-spam filters triggered.

If you are not a spammer, you are probably accidentially trying to use an URL that is listed in the spam file. Try editing your post to remove it. Sorry for any inconvenience.

403 Name: !WAHa.06x36 : 2008-10-19 16:11 ID:Heaven [Del]

>>402

Known bug, sorry. Check earlier in the thread for workarounds.

404 Name: 011011000110111101101111 : 2008-10-30 10:58 ID:oGlUZFiV [Del]

I've just setup my first Wakaba and Kareha boards. I was wondering if there was a better way of citing/quoting in Kareha (like in Wakaba, where the cited link highlights that post rather than taking you to a new page).

405 Name: Anonymous : 2008-10-31 07:13 ID:y31FuRGU [Del]

http://wakaba.c3.cx/soc/kareha.pl/1098886772/

XML Parsing Error: mismatched tag. Expected: </p>.
Location: http://wakaba.c3.cx/soc/kareha.pl/1098886772/
Line Number 76, Column 404:

im using firefox2

406 Name: !WAHa.06x36 : 2008-11-02 13:55 ID:Heaven [Del]

>>405

Yes, old bug I for some reason haven't fixed on this site. Fixed it, but the pages need some cleaning which I'll try to get around to later. Nag me if I forget.

407 Name: Anonymous : 2008-11-09 16:41 ID:tcAEneOb [Del]

Software Error
"use" not allowed in expression at config.pl line 4, at end of line
syntax error at config.pl line 4, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 5.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

Heres an example

System config
use constant ADMIN_PASS => 'XXXXXXXXXXXXXXX';
use constant SECRET => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
use constant CAPPED_TRIPS => 'XXXXXXXXXXXX =>' 'XXXXXX'=>' <em>cap</em>');

408 Name: Anonymous : 2008-11-09 16:43 ID:tcAEneOb [Del]

>>407

also are there any characters on the standard windows keyboard I should not be using in CAPPED_TRIPS?... because I think I used them all.

409 Name: !WAHa.06x36 : 2008-11-09 16:47 ID:Heaven [Del]

That CAPPED_TRIPS line is completely wrong. Look at the example again.

410 Name: Anonymous : 2008-11-09 18:59 ID:tcAEneOb [Del]

>>409
I changed it to the default setting, just to see if it worked. Now its giving me

"use" not allowed in expression at config.pl line 2, at end of line
syntax error at config.pl line 2, near "System config
use constant "
BEGIN not safe after errors--compilation aborted at config.pl line 3.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.

411 Name: Anonymous : 2008-11-09 19:14 ID:Heaven [Del]

>>410
it looks like you removed the # from the # System config comment line...

412 Name: Anonymous : 2008-11-10 13:50 ID:hoDurT8R [Del]

>>411

yeah thanks, I forgot that pseudo-code does need to be commented.

413 Name: Anonymous : 2008-11-10 15:44 ID:bbhCYyeT [Del]

Is there any way to add moderators without giving them the admin password? Talking about kareha here.

414 Name: !WAHa.06x36 : 2008-11-10 16:00 ID:Heaven [Del]

>>413

That's like asking if there's a way to add moderators without adding moderators.

415 Name: Anonymous : 2008-11-12 02:00 ID:NgJmlyYQ [Del]

Hi.

How can I modify wakaba to make it load index.html of the install's directory instead of reloading the page itself (wakaba.html)?

I need this because my server is slow and permissions are not set propely after a post before the page is requested (error, etc), so I made index.html which redirects to wakaba.html after a second in each wakaba directory.

416 Name: Anonymous : 2008-11-12 02:06 ID:NgJmlyYQ [Del]

>>415

After a post or reply is made.

OP

417 Name: Anonymous : 2008-11-12 03:25 ID:Heaven [Del]

>>415
In config.pl, change:

#use constant HTML_SELF => 'wakaba.html';

to:

use constant HTML_SELF => 'index.html';

418 Name: Anonymous : 2008-11-12 20:19 ID:NgJmlyYQ [Del]

>>415

Thanks

419 Name: Anonymous : 2008-11-14 06:50 ID:MD5FlPZO [Del]

>>418

That didn't work.

It overwrote my index.html :S

420 Name: Anonymous : 2008-11-17 14:08 ID:oA/ZIuqI [Del]

>>419
Put your board in a separate directory.

421 Name: Anonymous : 2008-11-21 01:22 ID:4QUviqul [Del]

Hi!

I got an attack, where the "hacker" posted "Obvius Troll is Obvius" serveral times on my boards.

What can I do?

How do I prevent same IP from posting several times in a short period of time?

422 Name: doomcup : 2008-11-25 20:21 ID:Ob/AZee8 [Del]

Every time I try to post a manager's post, I get hit with the anti-spam, even if I don't have a url in my comment. What's going on, and can I fix it?

Thanks.

423 Name: !WAHa.06x36 : 2008-11-26 11:43 ID:Heaven [Del]

>>422

Known bug, see earlier in this thread for workarounds.

424 Name: Tab : 2008-11-27 11:41 ID:OcqvDR/v [Del]

SQL connection failure
D:
Just set up my new chan. How to fix?

425 Name: Tab : 2008-11-27 11:43 ID:OcqvDR/v [Del]

426 Name: Tab : 2008-11-27 13:23 ID:OcqvDR/v [Del]

fixed it, now how do I add boards? :<

427 Name: shermanramni : 2008-11-27 19:50 ID:ybGpCwEW [Del]

I just installed Wakaba in my hosting, and it works OK. Question: When I reply to a thread, posts after the 1st do not have a Reply link; what should I do to enable it?

428 Name: John : 2008-11-27 23:17 ID:RgEWt5vv [Del]

429 Name: shermanramni : 2008-11-29 14:36 ID:ybGpCwEW [Del]

<<447
Never mind, that was a dumb question.
In case anyone asks the same thing, just click the post number ¬¬

430 Name: Anonymous : 2008-11-30 09:28 ID:KVfeDlPz [Del]

I'm using Kareha.

I want to reload captcha image on click. My idea is to delete the captchakey cookie and to rerequest captcha.pl. So, I can delete to cookie using javascript

var     cookie_date = new Date ( );  // current date & time
cookie_date.setTime ( cookie_date.getTime() - 1 );
document.cookie = "captchakey=; expires=" + cookie_date.toGMTString();

Now, given, that kareha captchakey generation mechanism is based on the REMOTE_ADDR and time() in minutes (string 61 in captcha.pl), if I rerequest the captcha within one minute, I'll get the same image.

However, when a user successfully post a message, the captcha is generated randomly (string 430 in kareha.pl).

So, I could follow this way, but before doing this I want to understand, what was your reasons for such design?

431 Name: !WAHa.06x36 : 2008-11-30 16:05 ID:lpemlo1D [Del]

>>429

Hilariously weird Apache setup?

>>430

It has to do with the bookkeeping for preventing replay attacks, if I remember correctly.

432 Name: Anonymous : 2008-12-05 15:45 ID:p67j1mHf [Del]

how does a script for rotating title images look like? just a short example please...

433 Name: Anonymous : 2008-12-06 12:14 ID:p67j1mHf [Del]

>>432 bump

434 Name: Anonymous : 2008-12-06 17:11 ID:Heaven [Del]

>>433

Don't post if you have nothing to say. Your question is not so important that it absolutely has to be at the top of the board at all times.

435 Name: Anonymous : 2008-12-08 16:17 ID:Heaven [Del]

>>432
Chrissake, this is something you could have answered yourself in 30 seconds if you did some google searching.

<?php
$a = glob("*.{gif,jpg,png}", GLOB_BRACE);
header("Location:".$a[array_rand($a)]);

436 Name: annonymous : 2008-12-19 19:20 ID:eCEMHiUk [Del]

I got my imageboard up, but it only allowed me to post the first post with picture only. Every time I try to attach a picture to another post or reply, I get that page that reads, "Duplicate file entry detected" even though it's a completely different picture.

Anybody know why this is; what causes this problem and/or how I can fix it?

Thanks

437 Name: Anonymous : 2008-12-22 09:29 ID:smf0110X [Del]

How the hell do I post with an admin tripcode? Can't seem to find this anywhere.

438 Name: Anonymous : 2008-12-22 10:20 ID:Heaven [Del]

>>436 problem with imagemagick, maybe?

439 Name: Anonymous : 2008-12-22 19:28 ID:Heaven [Del]

>>437
In Kareha, you can set up capcodes with specified tripcodes in the config. In Wakaba you can't.

440 Name: LiteralKa!!UIR4DE3n : 2008-12-24 10:41 ID:0t38w18I [Del]

After I went to a page (aaa.pl, I believe) I keep getting 403's just about everywhere... Could you... erm... fix this please? I can't access anything but /sup/ and /soc/.

441 Name: !WAHa.06x36 : 2008-12-24 12:56 ID:Heaven [Del]

>>440

Not unless I have your IP address.

442 Name: Anonymous : 2008-12-25 03:45 ID:ZIsawO5B (Image: 797x663 gif, 47 kb) [Del]

src/1230205507188.gif: 797x663, 47 kb

Hey there

I noticed the preview post function is working perfectly here, so I guess I'm doing something wrong. I've set up kareha message board and everything works perfect... except for the preview post button which gives me some error

I'm uploading an image to let you see.

443 Name: Anonymous : 2008-12-25 03:51 ID:ZIsawO5B [Del]

>>442
Alright, I just realized something, Kareha throws out an error for preview post when you are making a NEW thread, as opposed to previewing a reply post.

The same seems to be the case here. Some sort of bug?

444 Name: LiteralKa!!UIR4DE3n : 2008-12-25 10:24 ID:0t38w18I [Del]

>>441
Uhh, I'll give it to you on IRC.

445 Name: !WAHa.06x36 : 2008-12-25 11:00 ID:Heaven [Del]

>>443

It seems to work fine for me in Safari, even for new threads. What browser?

446 Name: Anonymous : 2008-12-25 21:38 ID:ZIsawO5B [Del]

>>445
Oh, I'm using Opera 9.63

447 Name: Dan : 2008-12-26 16:12 ID:2EZCDb4W [Del]

I am having trouble making wakaba go to a new page. No matter how many images and new threads I create, it will not create a page 2. I messed with the settings in config.pl but they don't seem to do anything:

use constant IMAGES_PER_PAGE => 5; # Images per page
use constant REPLIES_PER_THREAD => 5; # Replies shown

Also, would anyone know how to make a new board in wakaba?

Thanks

448 Name: Anonymous : 2008-12-26 17:09 ID:Heaven [Del]

>>447 Sounds, once again, like a folder permissions problem.

To make a new board, create a new subfolder and install another copy of wakaba.

449 Name: !WAHa.06x36 : 2008-12-27 04:54 ID:Heaven [Del]

>>447

Also remember that you have to rebuild caches after any change to the settings, if they "don't seem to do anything".

450 Name: Dan : 2008-12-27 14:39 ID:2EZCDb4W [Del]

>>449

Awesome. Thanks a bunch, that worked!

>>448

So where exactly would this folder be inserted? Alongside the current wakaba install or inside the current wakaba install? Also, how would I link to the new board once I create it?

Thanks.

451 Name: Quack : 2008-12-27 18:31 ID:mtxWGwUI [Del]

No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
BEGIN failed--compilation aborted at config_defaults.pl line 126.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.

I am getting that page when I attempt to install Wakaba. Can someone help me out?

452 Name: Quack : 2008-12-27 18:40 ID:mtxWGwUI [Del]

The config_defaults.pl file says when the message No ADMIN_PASS or NUKE_PASS defined in the configuration appears, it means the config.pl file is incomplete. I checked over the config.pl file and everything was completed.

454 Name: !WAHa.06x36 : 2008-12-27 19:41 ID:Heaven [Del]

>>450

Wakaba installs are completely independent, and handle one single board each. Anything beyond that is up to you to arrange however you want it.

455 Post deleted by user.

456 Name: Quack : 2008-12-28 11:45 ID:mtxWGwUI [Del]

>>453
Thanks a lot, it worked.

Does anyone know how to get rid of the captcha? I tried editing something and it gave me some error lol.

457 Name: Anonymous : 2008-12-28 14:40 ID:Heaven [Del]

>>456
Yes, you set ENABLE_CAPTCHA to 0. It really isn't that hard to figure out if you actually read the file and use your head. Seriously, are we supposed to handhold you through your entire installation and configuration?

458 Name: Quack : 2008-12-28 15:31 ID:mtxWGwUI [Del]

>>457
Yes.

459 Name: Anonymous : 2008-12-30 05:27 ID:ZIsawO5B (Image: 605x408 jpg, 40 kb) [Del]

src/1230643663316.jpg: 605x408, 40 kb

I've been trying to figure it out, but I do believe this is beyond my skills.

As you can see, the top is Firefox and below is Opera. The "choose" or "browse" button does not look the way it's supposed as per CSS. Is this a matter that can be remedied or is that just a browser issue that I cannot help?

460 Name: Anonymous : 2008-12-30 08:02 ID:Heaven [Del]

I've got a problem with Kareha. I cannot use the delete file function. It just does not work. I want to delete an image without deleting a person's post but nothing happens, the picture is still there. I've tried all the browsers, that doesn't seem to be the problem. It doesn't even give me any errors, I click on 'delete file' and it does something and then it reloads the admin page but the image I wanted to delete is still there...

461 Name: Anonymous : 2008-12-30 08:12 ID:Heaven [Del]

>>460
Oh, also I am using kareha MESSAGE board with image uploads enabled.

462 Name: Anonymous : 2008-12-30 10:15 ID:Heaven [Del]

>>459
For the most part, you cannot edit file input via css.

463 Name: Anonymous : 2008-12-30 16:16 ID:Heaven [Del]

Am I a dumbass or is there no way to sticky or lock threads under Wakaba? I don't see any such option in the management panel.

464 Name: Anonymous : 2008-12-30 16:19 ID:Heaven [Del]

>>459
that's a browser issue.

>>463
why would you want to do that?

465 Name: Anonymous : 2008-12-30 16:35 ID:Heaven [Del]

>>464
Was going to make a rules sticky, because most people are dumb and don't actually read the rules.

466 Name: Anonymous : 2008-12-31 01:42 ID:XVOhkKIx (Image: 700x500 jpg, 44 kb) [Del]

src/1230716520316.jpg: 700x500, 44 kb

I have a problem with encoding in Wakaba. My .htacess file is configured for using utf-8, the same about global encoding settings of Wakaba and DB encodings. I only use cp1251 in my strings file with "use encoding 'cp1251'" and "no encoding" uncommented.
That all works fine, but anything added into database turns into crappy junk. I'm lame so I have no clue of where the error could be.
P.S. sorry for my bad English.

467 Name: Anonymous : 2008-12-31 02:55 ID:Heaven [Del]

>>466
Well that's why. Stop using cp1251.

468 Name: 466 : 2008-12-31 06:27 ID:XVOhkKIx [Del]

>>467
Thanks, Anon. I've converted strings file into utf-8 and now it seems to work perfectly.
Also, happy New Year everyone!

469 Name: Anonymous : 2008-12-31 16:45 ID:Heaven [Del]

>>465
you really think people who don't read the rules are going to read them if you move the rules section down the page a little bit?

470 Name: LiteralKa!!UIR4DE3n : 2009-01-03 09:08 ID:Heaven [Del]

>>469
Good point.

471 Post deleted by user.

472 Name: Anonymous : 2009-01-03 19:05 ID:Qsh8IyKG [Del]

This is a suggestion regarding security. I assume this is the correct place to post it; otherwise, I can start a new topic.

Please implement proper file content filtering in Wakaba/Kareha. As of right now, Wakaba filters out forbidden file types through an array of forbidden extensions, but this is not necessarily sufficient. For example, a PHP file may be uploaded with extension ".php.7z." If a board allows the 7z extension and if the file is not renamed (as is default in the case of Wakaba), an Apache server may in fact still execute it, resulting in the execution of malicious code. This has actually caused a significant disturbance in a site with which I help out. A simple two-line patch that relies on the UNIX file() utility has been written to address this for the moment.

473 Name: Anonymous : 2009-01-04 02:34 ID:Heaven [Del]

>>472
the default is to not allow any files except jpg, png, or gif images (and rename them). it's possible to make it insecure by configuring it improperly, but it's certainly not the default.

474 Post deleted by moderator.

475 Name: !WAHa.06x36 : 2009-01-04 07:47 ID:Heaven [Del]

Like >>473 says.

Also, I'm really tempted to say that that is in fact a PHP bug, and until they fix it you're better off disabling PHP on your server.

476 Name: LiteralKa!!UIR4DE3n : 2009-01-04 08:55 ID:Heaven [Del]

>>475
Even if it isn't a bug, it's probably caused by shitty/careless PHP coding.

477 Name: Anonymous : 2009-01-04 09:31 ID:Heaven [Del]

>>472 also, remove the +x from your uploads folder.

478 Post deleted by user.

479 Name: Anonymous : 2009-01-05 16:44 ID:Heaven [Del]

>>473

When I say default, I mean Wakaba's behavior when enabling non-prohibited filetypes in config.pl, such as MP3s. I'm pretty sure Wakaba is set up not to rename those after uncommenting the respective lines.

>>476

I am told by the server admin that it is actually a bug with the latest Apache (or perhaps mod_php), possibly affecting only Gentoo. I could not find a citation (beyond this anecdote) to support the claim, but this is seems to be a known issue. It does turn out that if ".php" is found anywhere in the filename, it is still executed by Apache. A PHP file can then be disguised as a 7zip file or MP3 file (e.g., nasty_hax.php.mp3), and be uploaded. If the extension is uncommented config.pl, it gets uploaded. If the server (or PHP interpreter) suffers from the issue, the attacker executes the malicious code and has fun. I have neither tested nor asked about this for other script types. Indeed, renaming files would technically render this exploit moot, but by default Wakaba does not do this with non-pictures. There are Wakaba boards out there that support non-picture uploading, and I have seen only one (Pooshlmer) that renames files.

>>477

Indeed, that is a wise suggestion. In fact, I've just chmod-ed the src/ directories myself.

...and then the pictures could not be accessed by anyone. I set permissions to 644, but no one could see the pictures unless the execute bits were set. I'll have to ask the admin about it myself, unless someone here has an idea.

At any rate, I just thought I'd share the (admittedly nontrivial) suggestion and post about this potential exploit for other people. It completely blindsided us. Having a layer of security at the board software level in case of a future server exploit sounds like the best solution, though I understand leaving it in the hands of the administration rather than adding feature bloat.

Kudos for the script.

480 Name: Anonymous : 2009-01-06 05:41 ID:z/yO4O4M [Del]

it is a mod_mime "feature"

http://shsc.info/FileUploadSecurity

481 Name: !WAHa.06x36 : 2009-01-06 12:17 ID:Heaven [Del]

Well, the core issue is that PHP is broken and will execute files without the +x bit set. This is horribly insecure, and should never have been implemented, but apparently now we're stuck with it.

The best solution is to completely disable PHP. If you have to use it, enable it only for folders known to be safe from uploads and disable it everywhere else.

To add extra protection in Wakaba for it, though, rather than mess with file, it'd be far easier to just dump all files whose filename matches /\.php/. This issue shouldn't affect any CGI languages, since those won't run without +x.

482 Name: Anonymous : 2009-01-06 16:50 ID:Heaven [Del]

>>480

Thank you! That explains loads.

>>481

I personally am not a fan of PHP, myself, but I think the admin wants to run some PHP scripts. Simply using the regular expression on the filename was indeed the first idea that came to mind.

483 Post deleted by moderator.

484 Name: Anonymous : 2009-01-10 02:17 ID:mIwhAJXJ [Del]

I've got a problem somehow related to encoding.
I successfully installed Kareha, but every time I try to make a post I get a white screen with text saying "Software error: Unknown encoding 'utf-8' at wakautils.pl line 613". It doesn't abort the posting though (my messages still appear despite the error), but the flashing is no good.
I didn't do any changes to wakautils.pl since the very install. What could be that?

485 Name: Anonymous : 2009-01-10 09:02 ID:Heaven [Del]

>>484
what version of perl are you using?

486 Name: Anonymous : 2009-01-10 15:58 ID:mIwhAJXJ [Del]

>>485
Nevermind, it's alright now... I really forgot to update my perl.

487 Name: Anonymous : 2009-01-12 14:12 ID:Heaven [Del]

http://wakaba.c3.cx/sup/kareha.pl/1130723862/318

I noticed this issue was never addressed. The CSS typo is still included in the current version of Kareha. I don't know if you forgot about it or if it's intentional...

488 Name: Doesn't Matter : 2009-01-12 19:03 ID:pgXqt2B7 [Del]

Hello, is there any built in way or any code snippets you guys have that would allow my to set an image limit on a threads (like a single on) I could probably manage this myself eventually, but I was wondering if it was done already.

489 Name: Anonymous : 2009-01-12 19:44 ID:Heaven [Del]

>>488
RTFM, it's in the config.

490 Name: Anonymous : 2009-01-13 16:06 ID:Heaven [Del]

I have a problem with kareha, I cannot set a maximum image limit per thread.

I thought IMAGE_REPLIES_PER_THREAD actually meant IMAGE REPLIES PER THREAD! Apparently it doesn't do anything. I am still able to post image replies way beyond the limit. Is there any way to control this problem?

491 Name: !WAHa.06x36 : 2009-01-15 09:33 ID:Heaven [Del]

I think it makes the thread stop bumping when you pass the limit.

Why on earth would you want to limit the number of image replies anyway? That's just annoying, and adds no value to anyone.

492 Name: Anonymous : 2009-01-16 22:24 ID:Heaven [Del]

>>491
It allows me to control the amount of images uploaded so that I don't go over a certain limit. I'm running a small board with limited bandwith and space.

I want to be able to control the space in terms of number of threads. There's no shame in that. Why are you trying to control my methods so much by just waving it off as "I don't like it, therefore, it is bad." ?

493 Name: Anonymous : 2009-01-17 01:31 ID:Heaven [Del]

>>492
There is a configuration option for limiting the threads by filesize, you know.

494 Name: !WAHa.06x36 : 2009-01-17 06:20 ID:Heaven [Del]

>>492

Like the guy says, there's an option already for setting the maximum disk space usage across the entire board. That's what you want to use, not some weird and ineffective limiting of posts per thread.

495 Name: belair!hRu19iIqpw : 2009-01-18 09:00 ID:ZpqTwPRB [Del]

>>479
Wakaba starts off by renaming files uploaded with those filetypes, but restores the name afterward. If you want to use the generated names on files, search wakaba.pl for "externally defined filetype - restore the name" and commment out that entire if block. I'd give the line numbers, but I've done a bunch of other custom stuff in mine, so they won't be accurate.

496 Name: Anonymous : 2009-01-19 04:31 ID:Heaven [Del]

>>495
Should be around line 1075-ish.

497 Name: Lord Pentium!PG1mP76kIY : 2009-01-25 16:09 ID:HZt+w7wb (Image: 1322x257 jpg, 38 kb) [Del]

src/1232928575216.jpg: 1322x257, 38 kb

OK, so I just closed a thread in Kareha, and I ended up getting this error when I tried to reopen it. Is this normal? By the way, I'm using image mode, on a Linux server.

498 Name: Anonymous : 2009-01-25 17:45 ID:Heaven [Del]

>>497 did the thread reopen? That's sometimes an artifact of a page that didn't load completely.

499 Name: Lord Pentium!PG1mP76kIY : 2009-01-25 18:12 ID:HZt+w7wb [Del]

>>498
No, the page didn't reopen. Not even when I refreshed it.

500 Name: wrecky : 2009-01-31 01:02 ID:K5GyfK6N [Del]

Hey I've got a bit of a problem. I've got Kareha pretty much set up but I'd like my .htacess to default to a different page.

Googling gets me the syntax for that (DirectoryIndex etc.) but I don't understand the included example.htaccess file and the directions to change the RewriteRule stuff. Maybe this is more of a general IT question but what am i missing?

501 Name: Anonymous : 2009-01-31 02:12 ID:Heaven [Del]

http://httpd.apache.org/docs/2.2/mod/mod_dir.html

  • > A file written by the user, typically called index.html. The DirectoryIndex directive sets the name of this file. This is controlled by mod_dir.

(In case you simply stopped reading the example.htaccess after the very first line, the mod_rewrite directives at the bottom are purely optional, and have nothing to do with the index page. They only are there to provide better hints to web browsers about the document character set.)

502 Post deleted by user.

503 Post deleted by user.

504 Name: Anonymous : 2009-02-12 01:26 ID:Heaven [Del]

Don't touch config_defaults.pl, ever. That's just where the error was triggered. Your problem is still in config.pl, and you've either removed, commented, or renamed ADMIN_PASS or NUKE_PASS.

505 Post deleted by user.

506 Post deleted by user.

507 Name: Anonymous : 2009-02-12 02:52 ID:cuT0dJ5Z [Del]

Not sure about your verification code error, but to change the title (or anything else), just edit config.pl and let wakaba.pl regenerate your html.

And, yes, wakaba.pl has a purpose; it's what your site runs on...

508 Post deleted by user.

509 Name: Anonymous : 2009-02-13 00:06 ID:rsPTn4Pw [Del]

Can you use the same mysql database for multiple boards? If not, how do you use the same admin table for every board to make global ip bans?

510 Name: Anonymous : 2009-02-13 00:50 ID:Heaven [Del]

511 Name: Anonymous : 2009-02-13 00:50 ID:Heaven [Del]

>>509
Yes.

512 Name: Anonymous : 2009-02-13 01:01 ID:rsPTn4Pw [Del]

Another question:

When you run wakaba.pl, wakaba.html is created. But I'm wondering if there's a way to edit something so when the html file is created, it's named something like board.html, or imageboard.html.

514 Name: Anonymous : 2009-02-13 03:54 ID:rsPTn4Pw [Del]

>>513
Doesn't work, I changed that and it had no affect. Edited the field in config.pl, deleted wakaba.html and re-ran wakaba.pl but it still creates wakaba.html.

515 Name: Anonymous : 2009-02-13 11:55 ID:Heaven [Del]

>>512
Did you try uncommenting it?

516 Name: Anonymous : 2009-02-19 20:47 ID:cFTOKu4F [Del]

is there any way i can disable the ability to post images?

517 Name: Anonymous : 2009-02-20 02:50 ID:Heaven [Del]

>>516
Yes, it's very plainly in the configuration. Look for the word "image".

518 Name: Anonymous : 2009-02-20 10:31 ID:7hjckRG4 [Del]

ok i thought so i just haven't gotten the script yet and it didn't say anything about like if you put it to 1 or 0 so i was just making sure. thanks though

519 Name: Anonymous : 2009-02-20 14:01 ID:7hjckRG4 [Del]

is there any way to have multiple boards?

520 Name: Anonymous : 2009-02-20 20:01 ID:Heaven [Del]

>>519
Multiple wakaba installations.

521 Post deleted by user.

522 Post deleted by user.

523 Name: Anonymous : 2009-02-20 20:45 ID:7hjckRG4 [Del]

im talking about kareha and i mean have things like /board 1/ /board 2/ like different sections where multiple threats and posts can be made sorta like kasuba

524 Name: Anonymous : 2009-02-21 13:40 ID:syDpiyB/ [Del]

i asked people on 4chan and they said i could make a portalish type thing and run multiple karehas off the main page, this is i guess what i want to do, any advice on how to go about doing this?

525 Name: Anonymous : 2009-02-22 11:53 ID:Heaven [Del]

>>523
Multiple kareha installations.

This really isn't that hard.

526 Name: Anonymous : 2009-02-28 10:52 ID:ejO2MH0D [Del]

I've been running my Kareha imageboard for about a month now, and I've been looking to add new CSS. However, I tried just making a new .css file and putting it in the /css folder, and it doesn't work... How do I add new CSS styles to Kareha in image mode?

527 Name: !WAHa.06x36 : 2009-02-28 17:04 ID:Heaven [Del]

>>526

Did you rebuild caches?

528 Name: Anonymous : 2009-02-28 18:27 ID:ejO2MH0D [Del]

>>527
Ah, forgot to do that. Thanks for your help!

529 Name: Anonymous : 2009-03-13 07:36 ID:JU2dsHcj [Del]

http://rokuchan.org/wakaba/wakaba.pl does any one know what the problem is and how to fix it

Software error:

Bad name after comments' at config_defaults.pl line 15.
Compilation failed in require at /home98c/sub009/sc61836-VWOA/rokuchan.org/wakaba/wakaba.pl line 17.
BEGIN failed--compilation aborted at /home98c/sub009/sc61836-VWOA/rokuchan.org/wakaba/wakaba.pl line 17.

530 Name: Anonymous : 2009-03-14 04:27 ID:4GvgoPaI [Del]

>>529
Help please

531 Name: Anonymous : 2009-03-14 09:18 ID:Heaven [Del]

>>529

We aren't psychic, we can't tell what you put in that file that broke it.

532 Name: Anonymous : 2009-03-14 12:16 ID:pYWaltB6 [Del]

Can anyone help me, please? I usually got "Error: No verification code on record - it probably timed out." when trying to post in my oekaki board. I fixed it for posts on main page as this guy said http://wakaba.c3.cx/sup/kareha.pl/1168935423/7 but I still can not fix it for replies.

533 Name: Anonymous : 2009-03-14 23:18 ID:kxn96LP+ [Del]

is there some who can help me please I'm using Futallaby right now and I hate it
I'm >529

534 Name: Anonymous : 2009-03-15 02:16 ID:kxn96LP+ [Del]

>>531
well here is the file I put * over the some stuff like the pw user name and other stuff
here is the txt file
http://rapidshare.com/files/209442147/wkbrokuchan.txt.html

535 Name: Anonymous : 2009-03-15 04:24 ID:Heaven [Del]

>>534
If you'd just uploaded that file to this board, or used a pastebin, I might have had a shred of care to look at it.

536 Post deleted by user.

537 Name: Anonymous : 2009-03-17 00:51 ID:ntQzohlp (Image: 0x0 txt, 7 kb) [Del]

538 Name: Anonymous : 2009-03-17 00:54 ID:ntQzohlp [Del]

there

539 Name: Anonymous : 2009-03-17 05:28 ID:Heaven [Del]

>>537-538
I daresay you're editing the wrong file. Start over, and pay closer attention, you should not be touching config_defaults.pl at all.

540 Name: Anonymous : 2009-03-18 15:16 ID:rD4TCTiC [Del]

Whew. This thread is quite the read.
I'm having an issue where I delete wakaba.html and run (access via browser) wakaba.pl. I am then redirected to wakaba.html, which does not exist. It is not built/rebuild when I access wakaba.pl. Clearing cache results in the same 404. Suggestions?

541 Name: !WAHa.06x36 : 2009-03-18 16:55 ID:Heaven [Del]

>>540

What if you go to admin.pl?task=admin and rebuild it?

542 Name: Anonymous : 2009-03-18 17:19 ID:rD4TCTiC [Del]

>>541 admin.pl isn't in the zip file I downloaded. I can still rebuild from wakaba.pl using wakaba.pl?task=admin (or something close), but the problem persists.

Something interesting I noticed. If I use permissions 755 for folders (res, in particular), line 378 (inside print_page) goes crazy and throws errors saying a temp file can't be created. It works only if I chmod res to 777.

So with chmod 777 to res, I get wakaba.html not found.
With chmod 755 to res, I get Error: Can not write to directory.

543 Name: Anonymous : 2009-03-18 17:31 ID:rD4TCTiC [Del]

>>541 Issue resolved:
Had to mod /var/www to 777. Icky solution, but maybe my live environment will be better configured than my bevelopment environment. Thank you for your help.

544 Name: Anonymous : 2009-03-20 23:21 ID:h8ysqMSD [Del]

I'm wondering why Wakaba doesn't automatically truncate threads beyond a certain point, if it does,, there do I find this option
thanks

545 Name: Anonymous : 2009-03-21 16:54 ID:Heaven [Del]

I have a quick question, does posting (running kareha.pl) cause that script to rebuild all the pages?

546 Name: !WAHa.06x36 : 2009-03-23 03:23 ID:Qldo6KoJ [Del]

>>544

Truncate how?

>>545

Only if index.html does not exist. Also, do not run it from a command line, that will create broken pages.

547 Name: Anonymous : 2009-03-23 04:04 ID:h8ysqMSD [Del]

Hi, I love your scripts ;)
truncate as in, now I have 31 pages of threads after I was testing it..
and I want it to only show say 150 threads at any one time ;)
using Wakaba

Anyway, just wondering if you're going to release your notes.pl script, thanks!

548 Name: Anonymous : 2009-03-23 04:07 ID:h8ysqMSD [Del]

oops, I found the notes.pl script :)
I thought it was just in indefinite testing, sorry

thanks

549 Name: Anonymous : 2009-03-23 07:11 ID:hwEtxFA7 [Del]

How do you get rid of the bee? I cant seem to find it in any of the .pl files. Is there something i comment out to stop embedding of files?

550 Name: Anonymous : 2009-03-23 19:55 ID:Heaven [Del]

> How do you get rid of the bee? I cant seem to find it in any of the .pl files.

remove it from include/rules.html. it's not part of kareha.
people who have the admin password for your board keep adding it through the admin interface.

> Is there something i comment out to stop embedding of files?

yes. fix your php script so people can't inject perl code (so they can't just get the password again), and then change the admin password for your board.

551 Name: Anonymous : 2009-03-24 05:09 ID:Heaven [Del]

>>550
Hm... helpful advice. I would have just recommended getting off of the internet altogether.

552 Name: reaven : 2009-03-24 10:53 ID:0hVTDOzO [Del]

The thing is that it just shows the code on the browser, i think i have properly configured the httpd.config file, and yes i do have perl and i have a correct hashbang. Im using xampp on windows and i dont know what to do, any ideas ?

553 Name: reaven : 2009-03-24 10:56 ID:0hVTDOzO [Del]

>>552
Ops i forgot the beginning:
Apache wont execute wakaba.pl

554 Name: Anonymous : 2009-03-24 20:42 ID:Heaven [Del]

555 Name: !WAHa.06x36 : 2009-03-25 06:06 ID:Heaven [Del]

>>547

Read through config.pl to find the various options for how threads are deleted. By default it happens by number of posts, not threads.

>>552

If code does not run, you have not properly configured the httpd.config file. Beyond that, it's not like we know how your server is set up. You really need to figure out that part yourself. Also, xampp is known to cause all kinds of problems.

556 Name: reaven : 2009-03-25 06:07 ID:0hVTDOzO [Del]

>>554
It works with mod-perl activated, but with that i get this error with wakaba.pl:

[Wed Mar 25 14:06:30 2009] [error] Can't locate config.pl in @INC (@INC contains: . C:/xampp/perl/site/lib/ C:/xampp/perl/lib C:/xampp/perl/site/lib C:/xampp/apache) at C:/xampp/htdocs/wakaba/wakaba.pl line 16.\nBEGIN failed--compilation aborted at C:/xampp/htdocs/wakaba/wakaba.pl line 16.\n

Internal Server error 500

557 Name: reaven : 2009-03-25 07:17 ID:0hVTDOzO [Del]

559 Name: Anonymous : 2009-03-26 14:36 ID:stUev05v [Del]

Hi, I've got a problem with Oekaki.
I'm using Shi Painter, and everything is OK except one thing: after clicking upload in painting window it shows me a preview in a reply form, and in this preview picture has some constant name. So, my browser saves this picture to cash and next time, when I draw other picture, it shows me the previous one.
Thank you, and sorry for my english.

560 Name: !WAHa.06x36 : 2009-03-30 09:17 ID:Heaven [Del]

>>559

Configure Apache to send no-cache headers for all files in tmp/.

561 Name: Anonymous : 2009-04-01 03:46 ID:H8w5qzS0 [Del]

>>560
Hm... I tried:
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
It didn't work.
What am I doing wrong?

562 Name: !WAHa.06x36 : 2009-04-01 04:23 ID:Heaven [Del]

>>561

That's PHP code.

Look at example.htaccess.

563 Name: Anonymous : 2009-04-01 08:15 ID:Bcll3BAZ [Del]

>>562
In my .htaccess:
<IfModule mod_headers.c>
<Files *.html>
Header add Expires "Mon, 26 Jul 1997 05:00:00 GMT"
Header add Pragma "no-cache"
Header add Cache-Control "max-age=0; must-revalidate; no-cache"
Header unset Vary
</Files>
</IfModule>
Still don't work.

564 Name: Anonymous : 2009-04-01 12:55 ID:Heaven [Del]

>>563
Check your page with wget -S http://blahblah/ or something such as Firebug to see if the headers are really being sent. Probably you don't have mod_headers enabled.

565 Name: Anonymous : 2009-04-01 13:05 ID:KHdhSJOI [Del]

Well, all of a sudden my wakaba install is giving me this error:

Software error:

Malformed UTF-8 character (fatal) at wakautils.pl line 447, <FILE> line 3.

Line 447 is:

    $str=~s!([^\w/._\-])!"%".sprintf("%02x",ord $1)!sge;

which is part of:
sub clean_path($)
{

    my ($str)=@_;
$str=~s!([^\w/._\-])!"%".sprintf("%02x",ord $1)!sge;
return $str;

}

We've edited parts of our script and it's been working just fine for us for quite some time... this is a quite strange error and I'm hoping someone has a clue about what could be causing it. It happens when anyone tries to post or even when I try to rebuild caches. I'm assuming it will happen with anything that calls wakautils.pl.

566 Name: !WAHa.06x36 : 2009-04-02 08:04 ID:K4vOYfq0 [Del]

>>565

Probably some kind of malformed UTF-8 in a filename or something similar.

567 Name: !WAHa.06x36 : 2009-04-02 08:05 ID:K4vOYfq0 [Del]

>>563

You are sending those headers only for html files. Note the <Files *.html>.

568 Name: Anonymous : 2009-04-06 09:56 ID:rm0Z/WaZ [Del]

Is there any option that allows Kareha threads to be numbered like that of Wakaba?

569 Name: !WAHa.06x36 : 2009-04-06 12:40 ID:Heaven [Del]

570 Name: Anonymous : 2009-04-07 05:00 ID:+Ut0XUuI [Del]

Hi. when i'm trying to run wakaba.pl i get a 403 error.
permissions are set to 775.

571 Name: Anonymous : 2009-04-09 00:41 ID:xP0VgDNN [Del]

I'd like to put google analytics in BBS system
Where should I put the code?

572 Name: 571 : 2009-04-09 00:41 ID:xP0VgDNN [Del]

Sorry the bbs is Kareha

573 Name: Anonymous : 2009-04-09 17:47 ID:Heaven [Del]

>>571-572
look in the include folder.

574 Name: Link !cCkIu6lpQI : 2009-04-12 21:59 ID:dB8JeauC [Del]

Sorry for sounding like a n00b, but how do I change the time zone settings? Currently it's five hours past my time zone.

575 Name: Anonymous : 2009-04-13 00:18 ID:Heaven [Del]

>>574
DATE_STYLE in config.pl.
http and cookie use GMT, the rest use whatever the local time zone is set to on the server.
well, there is month that uses GMT as well, but that's just the month name and year, not the whole date and time.

actually, if i set up a kareha board anytime soon, i am so going to set DATE_STYLE to month.

576 Name: Anonymous : 2009-04-13 02:19 ID:Heaven [Del]

> actually, if i set up a kareha board anytime soon, i am so going to set DATE_STYLE to month.
kinda like this, except without anyone with half a brain cell being able to root the server.

577 Name: Anonymous : 2009-04-18 03:52 ID:5JEjhUIg [Del]

When I first ran wakaba I noticed that the user has to click the checkbox when they want to upload a file. I was wondering why you did this since the script runs fine without it? Also I think it makes the user input panel look a little less cluttered and confusing by taking it out.

578 Name: Anonymous : 2009-04-18 15:33 ID:Heaven [Del]

>>577
You mean when they don't want to upload a file. That checkbox keeps people from posting a bunch of useless threads because they can't figure out how to reply.

579 Name: Anonymous : 2009-04-21 17:18 ID:stePFAF7 (Image: 266x339 gif, 34 kb) [Del]

src/1240359538896.gif: 266x339, 34 kb

I am attempting to run Kareha on free hosting server and so far i copied files and style to main directory and edited config.pl

When i try to run kareha.pl it shows me this:

Can't locate config.pl in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4

halp.

580 Name: Anonymous : 2009-04-22 11:22 ID:vokRrQsa [Del]

top - 11:19:43 up 1 day, 20:27, 1 user, load average: 4.86, 3.98, 3.98
Tasks: 21 total, 2 running, 18 sleeping, 0 stopped, 0 zombie
Cpu(s): 30.9%us, 4.3%sy, 0.0%ni, 8.0%id, 55.4%wa, 0.2%hi, 1.2%si, 0.0%st
Mem: 429056k total, 429056k used, 0k free, 0k buffers
Swap: 429056k total, 345912k used, 83144k free, 0k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
538 USERNAME 18 0 70824 54m 1828 H 15 13.0 0:14.51 kareha.pl
27783 USERNAME 15 0 27512 10m 804 R 1 2.4 8:41.59 lighttpd
1619 USERNAME 15 0 24788 9544 1744 S 0 2.2 0:00.10 kareha.pl
6192 USERNAME 15 0 24784 9544 1744 S 0 2.2 0:00.10 kareha.pl
13649 USERNAME 18 0 24916 9604 1752 S 0 2.2 0:00.10 kareha.pl
16515 USERNAME 16 0 24788 9540 1744 S 0 2.2 0:00.10 kareha.pl
17883 USERNAME 16 0 24916 9604 1752 S 0 2.2 0:00.11 kareha.pl
18518 USERNAME 18 0 24792 9476 1744 S 0 2.2 0:00.10 kareha.pl
19332 USERNAME 15 0 24784 9536 1744 S 0 2.2 0:00.10 kareha.pl
20228 USERNAME 16 0 24784 9544 1744 S 0 2.2 0:00.11 kareha.pl
22054 USERNAME 16 0 24920 9616 1752 S 0 2.2 0:00.10 kareha.pl
22678 USERNAME 18 0 24784 9536 1744 S 0 2.2 0:00.10 kareha.pl
23959 USERNAME 15 0 24920 9608 1752 S 0 2.2 0:00.13 kareha.pl
25918 USERNAME 18 0 24788 9476 1744 S 0 2.2 0:00.10 kareha.pl
25949 USERNAME 18 0 24788 9476 1744 S 0 2.2 0:00.10 kareha.pl
28000 USERNAME 16 0 24920 9612 1752 S 0 2.2 0:00.11 kareha.pl
28666 USERNAME 15 0 24788 9536 1744 S 0 2.2 0:00.10 kareha.pl
29829 USERNAME 16 0 24784 9532 1744 S 0 2.2 0:00.10 kareha.pl
32364 USERNAME 15 0 36920 1732 1160 S 0 0.4 0:00.00 sshd
32367 USERNAME 15 0 10816 2112 1308 S 0 0.5 0:00.00 bash
32387 USERNAME 15 0 10592 1232 952 R 0 0.3 0:00.01 top



What the fuck kareha. What the fuck.

581 Name: !WAHa.06x36 : 2009-04-23 07:22 ID:Heaven [Del]

>>580

Dreamhost?

582 Name: Anonymous : 2009-04-23 10:23 ID:vokRrQsa [Del]

>>581
Yeah. Dreamhost private server. Kareha never did this to me before... but lately it's been taking up a large chunk of CPU and RAM.

583 Post deleted by moderator.

584 Name: Anonymous : 2009-04-29 08:22 ID:CZ9Rusd5 [Del]

I`m getting a
Software error:
CGI open of tmpfile: Permission denied
How do I change me temp dir to /wakaba/src/ or something?

585 Post deleted by moderator.

586 Post deleted by moderator.

587 Name: !WAHa.06x36 : 2009-05-08 09:15 ID:Qldo6KoJ [Del]

>>582

Dreamhost has some kind of bug where flock() is broken and makes Kareha lock up waiting for a lock on log.txt that is never released.

588 Name: Anonymous : 2009-05-08 12:25 ID:Heaven [Del]

I'm trying desparately to understand compile_template(), but that is some deep magic you got there, WAHa. It looks alien in comparison to the rest of the code, out of place.
Any chance of getting a commented version?

589 Name: !WAHa.06x36 : 2009-05-08 19:37 ID:Heaven [Del]

>>588

Yes, it's some pretty wacky magic, if I recall correctly. It was years since I wrote it, though, so I don't necessarily remember exactly how it works myself. I think I gave up on making it readable so I made it unreadable instead. Sorry about that.

It converts the template to Perl code, and turns off strictness so it can use name references to actually change global variables in as it enters and leaves scopes. The main trick is this:

$foo="bar";
$$foo=12;
print "$bar\n";

This will print "12". By setting variables this way, the <var> code can just evaluate whatever argument it is given as Perl code.

590 Name: Anonymous : 2009-05-09 04:38 ID:Heaven (Image: 0x0 txt, 31 kb) [Del]

591 Name: Anonymous : 2009-05-10 08:04 ID:Heaven [Del]

>>589
You're talking variable variables. Perl's use of references has always been somewhat magical. I'll figure it out, thanks!

>>590
Helpful.
It was hard to write, it should be hard to understand, eh?

592 Name: Anonymous : 2009-05-13 08:55 ID:Heaven [Del]

>>591
They're not that difficult, just think of them as sort of like pointers.

593 Name: Anonymous : 2009-05-13 11:35 ID:rD4TCTiC [Del]

I'm running a board and can't seem to increase the max number of pages past 2. I've increased considerably the max thread count and the max posts count, even changed the permissions on the folder and rebuilt cache, but I can't get any more pages. Help computah? :<

594 Name: Anonymous : 2009-05-13 21:58 ID:vokRrQsa [Del]

>>587
is it possible to disable the logging altogether?

595 Name: !WAHa.06x36 : 2009-05-14 07:49 ID:K4vOYfq0 [Del]

>>594

You could put in a cron job to delete log.txt, I guess, but it would break deletion and break IP addresses on the admin page. The flock() itself is needed to avoid concurrent posts stomping on each other.

596 Name: Anonymous : 2009-05-15 19:36 ID:Heaven [Del]

>>595
You couldd fake the file locking with a symlink and avoid the flock() call. Make a symlink somewhere (it doesn't even have to point anywhere, really), spin until the link succeeds, and unlink it when the script exits.

597 Name: Anonymous : 2009-05-16 13:58 ID:Heaven [Del]

>>596
or you could find a host that doesn't break flock() like that or tell them to fix their broken shit.

598 Name: Anonymous : 2009-05-16 14:59 ID:Heaven [Del]

>>597
I did that already. I was trying not to be pompous and elitist about it, though, instead preferring to help others in the hopes that they will on their own realize that the trouble that they have to go through in order to make decent use of a broken web host isn't worth the tiny price difference.

599 Post deleted by moderator.

600 Name: Anonymous : 2009-05-18 13:02 ID:cEXHGDiF [Del]

Trying to set up kahrea on nginx + fcgiwrap. The main board seems to work, but when I try clicking on an individual thread with a URL (in the format of http://www.whatever.com/board/kareha.pl/somenumber) it gives me a 404. I'm on a resource limited VPS and Apache takes up far too many resources for my liking, or else I'd simply use that instead.

This is the part of my nginx config dealing with the board.

location ~ ^/board/.*\.pl$  {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:10000;
fastcgi_index index.html;
}

What am I missing?

601 Name: Anonymous : 2009-05-21 07:36 ID:vokRrQsa [Del]

>>587
Would it be possible to get any more details relevant to the problem with flock()? I only ask because I'm planning on complaining to Dreamhost and it would be good to have as much information as possible.

602 Name: !WAHa.06x36 : 2009-05-21 10:23 ID:Heaven [Del]

>>601

All I know is that suddenly flock() starts hanging on a specific file, and the only way to resolve it is to rename the file, and copy it back to the old location (so a new file is created, which can again be flocked() normally). Killing all running processes does not release that flock().

603 Name: Anonymous : 2009-05-23 15:35 ID:wmKuvHPm [Del]

dreamhost has not caused issues with kareha or wakaba since 2006 on their regular hosting. maybe there's a problem with their PS service but that's a completely different beast. you should specify "dreamhost ps" in that case.

you don't even need their vps service unless you are getting around 5000 uniques * 10 pages/unique using kareha or if you are getting around 20000 or more a day with wakaba.

604 Post deleted by user.

605 Name: !xrAoaaDf22 : 2009-05-25 16:13 ID:W0+OvvpE [Del]

I don't know whether the fact that the config.pl should not be in UTF-8 amuses me or makes me want to puke.
Maybe it's my setup;

I ticked off the encoding and the template would display correctly
I ticked it on and the posts would display correctly.

And when I converted config.pl and some other files to ANSI everything came out fine.

Any tips? Should I leave it at that?

606 Name: Anonymous : 2009-05-25 16:56 ID:VCjtwQwI [Del]

I notice that since I installed Wakaba 3.0.7 a while ago, an updated version has come out. What changes have been made? Is there a version history somewhere?

607 Name: !WAHa.06x36 : 2009-05-25 17:04 ID:Heaven [Del]

>>605

If you want it in UTF-8, you need to have use encoding 'utf-8'; at the top and no encoding; at the end.

608 Name: !WAHa.06x36 : 2009-05-25 17:04 ID:Heaven [Del]

>>606

Just bugfixes. It's been too long for me to remember what exactly all of them were, though.

609 Name: Chzl : 2009-06-13 07:31 ID:HGset4mG [Del]

Ive got perl showing the wakaba.pl page correctly, I just need to setup mysql. Anyone have exp with Mysql in Ubuntu? Or even linux for that matter?

610 Post deleted by moderator.

611 Post deleted by moderator.

612 Post deleted by moderator.

613 Name: Anonymous : 2009-06-22 18:16 ID:SYdDblSf [Del]

Damn, sorry for the quad posts ... server would not reply.

614 Name: !WAHa.06x36 : 2009-06-23 06:46 ID:K4vOYfq0 [Del]

>>613

Sorry, you said quad posts so I deleted three of them... Anyway, read http://wakaba.c3.cx/docs/docs.html.

615 Name: desu : 2009-06-23 07:46 ID:h8D85nPc (Image: 500x652 jpg, 126 kb) [Del]

src/1245768406131.jpg: 500x652, 126 kb

i just " installed " kareha..

but when I visit mah page it only downloads kareha.pl instead of browsing it?

I've installed perl, and changed permissions. so idk : (

616 Name: !WAHa.06x36 : 2009-06-24 04:17 ID:Heaven [Del]

See the previous post.

617 Name: Anonymous : 2009-06-25 11:15 ID:SYdDblSf [Del]

>>614
I followed that completely. I go to <site>/kareha/kareha.pl, says the index.html does not exist. The guide says going to that file should make it.

I CHMOD'd the directory to 777 again, it made the index file fine. But, when I upload an image, it always says "No thumbnail".

618 Name: Anonymous : 2009-06-25 11:17 ID:SYdDblSf [Del]

Oh, I also can not ban anyone either.

619 Name: Anonymous : 2009-06-25 11:31 ID:SYdDblSf [Del]

Okay, in admin.pl, it shows their IP as ::ffff:<normal IPv4 address>

It will not let me ban IP addresses??

620 Name: Anonymous : 2009-06-25 12:00 ID:SYdDblSf [Del]

Okay, I fixed the IPv6 problem, yet I still can not ban IP addresses, nor get the thumbnails to work.

use constant CONVERT_COMMAND => '/usr/local/bin/convert'; # location of the ImageMagick convert command (usually just 'convert', but sometime a full path is needed)

That is the correct path, etc, it just does not work for making the thumbnails ??

621 Name: Anonymous : 2009-06-25 12:02 ID:SYdDblSf [Del]

Oh, also, all posts are "1 GETs"
Anonymous 09/06/25(Thu)14:58 No.1
Anonymous 09/06/25(Thu)15:00 No.1

Etc.

622 Name: Anonymous : 2009-06-26 15:34 ID:p0Os74Gj [Del]

>>621
format your hard drive

623 Name: Anonymous : 2009-06-26 23:55 ID:MT7/o/la [Del]

>>622
Worst. Troll. Ever.

624 Name: Anonymous : 2009-06-28 05:05 ID:euNREJUU [Del]

Quick question: How do we enable more than 11 pages of posts? Thanks.

625 Name: !WAHa.06x36 : 2009-06-28 10:10 ID:Heaven [Del]

Change the post limits?

626 Name: Anonymous : 2009-06-28 14:01 ID:euNREJUU [Del]

Well, MAX_THREADS and MAX_POSTS are both set to zero in config.pl. Is it something else that I have to set?

627 Name: !WAHa.06x36 : 2009-06-28 15:14 ID:Heaven [Del]

MAX_AGE and MAX_MEGABYTES, I guess?

628 Name: Naj0rt : 2009-06-30 18:35 ID:khsgHu4r [Del]

The Wakaba/Kahera support wiki has a SecretFeatures tiddle that says:

>Wakaba and Kareha have a couple of hidden options and features. Can you find them?

I havn't been able to find them and it is driving me mad. Somebody please put me out of my misery.

629 Name: Anonymous : 2009-06-30 19:02 ID:ue662fIl [Del]

When trying to make or delete a post, kareha.pl usually forwards me to index.html without it being completely built. This results in a parsing error if xhtml is enabled. index.html is fine if refreshed. Any idea what's causing this?

630 Name: Anonymous : 2009-07-01 03:22 ID:Heaven [Del]

>>628
they're probably referring to things like ^H and the other date formats that aren't documented in config.pl.

631 Name: !WAHa.06x36 : 2009-07-01 10:14 ID:Heaven [Del]

>>629

Sounds like some kind of very weird or broken server. The redirect isn't done before the file is completely written to disk.

632 Name: Anonymous : 2009-07-01 16:21 ID:4ScbPjo2 [Del]

>>627

I never found MAX_AGE in config.pl (running 3.1.3). It's in there now, let's see what it does.

I basically want to be able to archive everything if possible.

633 Name: Anonymous : 2009-07-01 21:35 ID:ue662fIl [Del]

TEST

634 Name: Anonymous : 2009-07-02 01:45 ID:Heaven [Del]

>>633
  • You can test things in the test thread.

  • or you could if it wasn't broken...

    635 Name: Anonymous : 2009-07-04 04:53 ID:EvPPgqXc [Del]

    >>630
    No offence but I hope you are wrong because that is dissappointing.

    636 Name: Anonymous : 2009-07-04 22:14 ID:MT7/o/la [Del]

    >>617
    >>618
    >>619
    >>620
    >>621

    Please, help me with these problems ;_;

    637 Name: Anonymous : 2009-07-04 23:19 ID:Heaven [Del]

    >>636

    • does your web server support .htaccess?
    • what are the permissions on the thumbnail directory?
    • are there any files in the thumbnail directory?
    • all posts or just the first one in each thread? if it's the first one in each thread, it's supposed to be like that (assuming you're using kareha, not wakaba).

    638 Name: naj0rt : 2009-07-05 07:43 ID:EvPPgqXc [Del]

    I think I need a perl guru to help me with this mystifying problem. I run a wakaba image board and the admins want to have #admin after their posts, which is fair enough.I got it working by adding this at line 144 of futaba_style.pl (308):

    <if !$email><if $name eq 'NAME'><if $trip eq 'TRIP'><span class="admin">#Admin#</span></if></if></if>
    <if $email><if $name eq 'NAME'><if $trip eq 'TRIP'><span class="admin">#Admin#</span></if></if></if>

    This worked flawlessly on a test site, but when I added the code to my live site it works fine on some boards and not at all on others. Even if I copy futaba_style.pl from a board which is working it still refuses to work. Even more baffling is one particular board which inserts #Admin# for posts that already exist, but not new posts!?!

    I only have very basic programming knowledge but I don't even see how the last scenario is even possible. If the script recognises a name and trip combo and inserts #Admin# in one post, how can it not recognise the exact same name and trip combo in another post. Baffling. Obviously there is something more to this beyond my knowledge so if someone can point me in the right direction I'd be supper appreciative.

    639 Name: !WAHa.06x36 : 2009-07-05 10:56 ID:Qldo6KoJ [Del]

    >>638

    I have no idea what causes the problem, but mabe you should first just remove the outermost <if> statements and just have the code in there once. There's little point in doing it twice like that.

    Also, you can combine several tests into <if $name eq 'NAME' and $trip eq 'TRIP'> to get rid of another if statement. Making the code simpler might help in figuring out what is going wrong

    640 Name: Dquigley : 2009-07-06 08:24 ID:wGVB3GMD [Del]

    I am trying to install Wakaba on a shared hosting server. When I try and run wakaba.pl to get the html files it just trys to download the file and not run it. I asked my host about this and they said the files have to be in the cgi bin folder or something. Can someone please explain how to get this working X__X thank you.

    641 Name: Anonymous : 2009-07-07 00:20 ID:MT7/o/la [Del]

    >>637
    My server is running Lighttpd, Ubuntu 9.04. It supports .htaccess, I think.

    It is chmodded 777. All access.

    Not to begin with, but when someone makes a post, it makes a 0-Byte file there, as if it tried to thumbnail and failed.

    Why is it SUPPOSED to be like that? And no, it is all posts. Why does the first image not get thumbnailed though?

    642 Name: !WAHa.06x36 : 2009-07-07 09:38 ID:Heaven [Del]

    >>641

    > My server is running Lighttpd

    Wakaba has only been tested on Apache. If you want to run it on anything else you're on your own. There will be problems. This is not recommended unless you really know what you're doing, and it seems that maybe this isn't the case.

    643 Name: netiaz : 2009-07-07 14:25 ID:RGQ3Zxzi [Del]

    >>342
    To fix the manager post problem, edit futaba_style.pl:

    Search the file for ADMIN_POST_TEMPLATE. This should be found around line 590. There is some shit about form fields. Leave the "hidden" type alone. Starting on line 602 is the shit about postblocks for name, email, subject,(submit button) and comment. Leave the submit button alone. Change the name="whatever" to name="field1". Do this for name, email, subject, and comment; as in, change them to field1, field2, field3, and field4. In the order they are.

    Also, change it so it looks like this:
    use constant ADMIN_POST_TEMPLATE => compile_template(MANAGER_HEAD_INCLUDE.q{

    <div align="center"><em><const S_NOTAGS></em></div>

    <div class="postarea">
    <form id="postform" action="<var $self>" method="post" enctype="multipart/form-data">
    <input type="hidden" name="task" value="post" />
    <input type="hidden" name="admin" value="<var $admin>" />
    <input type="hidden" name="no_captcha" value="1" />
    <input type="hidden" name="no_format" value="1" />

    <table><tbody>
    <tr><td class="postblock"><const S_NAME></td><td><input type="text" name="field1" size="28" /></td></tr>
    <tr><td class="postblock"><const S_EMAIL></td><td><input type="text" name="field2" size="28" /></td></tr>
    <tr><td class="postblock"><const S_SUBJECT></td><td><input type="text" name="field3" size="35" />
    <input type="submit" value="<const S_SUBMIT>" /></td></tr>
    <tr><td class="postblock"><const S_COMMENT></td><td><textarea name="field4" cols="48" rows="4"></textarea></td></tr>
    <tr><td class="postblock"><const S_UPLOADFILE></td><td><input type="file" name="file" size="35" />
    [<label><input type="checkbox" name="nofile" value="on" /><const S_NOFILE></label>
    </td></tr>
    <tr><td class="postblock"><const S_PARENT></td><td><input type="text" name="parent" size="8" /></td></tr>
    <tr><td class="postblock"><const S_DELPASS></td><td><input type="password" name="password" size="8" /><const S_DELEXPL></td></tr>
    </tbody></table></form></div><hr />
    <script type="text/javascript">set_inputs("postform")</script>

    644 Name: !WAHa.06x36 : 2009-07-07 14:37 ID:Heaven [Del]

    >>643

    That should be fixed in the latest version.

    645 Name: Anonymous : 2009-07-10 11:00 ID:OS3R3ZIn [Del]

    Problem with oekaki:

    After painting my image, uploading it and writing RIGHT captcha, i see error about wrong captcha. What it can be?

    646 Name: Anonymous : 2009-07-16 08:48 ID:z/lGGw5Z [Del]

    I'm wondering if there's anyway to grab the subject from the first post in a thread, and to reflect it within "futaba_style.pl".

    647 Name: Anonymous : 2009-07-16 19:07 ID:13Qmh7Xe [Del]

    >>641-642
    I've been running Wakaba and Kareha both on lighty for quite some time on a couple of different systems (I have tried it with OS X Tiger, FreeBSD, and Arch Linux, and had no problems)

    The only snag is that lighty doesn't support htaccess files, so you'll have to translate the relevant stuff to its own config format. Not that hard to do, just tell it that .pl files should run with perl. You don't need to enable the fastcgi module (in fact, don't enable it) You might additioanlly want to fiddle with the expires headers if you find you're getting old copies of the pages served after posting.

    As for permissions, if you set up execwrap or something similar you can get it running without the (highly insecure!) chmod 777. It's easier to configure than Apache's suexec, imo.

    648 Name: Anonymous : 2009-07-18 20:36 ID:Aan35CdZ [Del]

    I have a bit of a question about Wakaba: I want to create an upload board like 4chan's flash board. However, I just installed it and it functions like a regular imageboard (like you'd see on any other part of 4chan). Is there a way I can get Wakaba to mimic 4chan's flash board in terms of appearance and function, and if not what should I be using?

    649 Name: Anonymous : 2009-07-19 09:57 ID:Heaven [Del]

    > As for permissions, if you set up execwrap or something similar you can get it running without the (highly insecure!) chmod 777.

    or you can just set the owner of the directories to the user that the scripts run as, and then set the permissions to 755.

    650 Name: Anonymous : 2009-07-21 21:30 ID:Heaven [Del]

    >>649
    That's still not secure, and requires root on some systems in order to "give away" the permissions to the web server. In fact it's probably a worse choice because it could potentially lull you into a false sense of security where you're actually in the same circumstance as before.

    The issue is that other processes on the server can open up config.pl and scrape (and perhaps change) your admin password, either because it's readable and writable to all, or because they're all running as the same user. If two people have access to the web server and the server is running all scripts under the same user id, all script files are accessible to all users regardless of what else you do to them.

    It's a shame that the Apache developers reacted so irrationally and so strongly against suexec, because it solves many problems and creates very few.

    651 Name: Anonymous : 2009-07-22 06:40 ID:Heaven [Del]

    >>650
    the point wasn't that it's secure to do it that way, just that there are other ways to do it without setting the permissions to 777.

    652 Name: Anonymous : 2009-07-22 23:29 ID:Heaven [Del]

    >>651
    Sure there are. But the method you suggested is more effort than a plain chmod 777 without being beneficial in some way.

    653 Name: Anonymous : 2009-08-03 22:56 ID:yvOHq4mC [Del]

    >>644
    >>647
    I can also testify that Wakaba works flawlessly on Lighty.
    However, I'm not using an FCGI solution.

    654 Name: Anonymous : 2009-08-04 13:38 ID:dxXJD0xP [Del]

    >>648
    All it takes is writing an appropriate style.pl file. It is essentially find-and-replace stuff, I did it once, and I had no idea what I was doing,

    655 Name: Anonymous : 2009-08-06 06:26 ID:1/SckJXV [Del]

    I have a similar'ish problem as >>600, i looked over the thread and still cant find a answer to this, the board works fine, but when make a post (successfully) and go to hit reply to the thread, i instead get the thread minus all styles, yet, if i go to http://site.com/board/kareha.pl/threadnumber/index.html, everything looks as it should and behaves properly, can anyone point out what part of the code needs to be adjusted to append /index.html to the reply url's kareha generates please?

    i suspect its the webserver thats ultimately responsible for this but it seems to be a good exercise for me to do anyway ^_^

    656 Name: Anonymous : 2009-08-09 01:00 ID:xGjxdgj+ [Del]

    Is there a way to merge the posts from two kareha boards together? Thanks.

    657 Name: !WAHa.06x36 : 2009-08-09 11:48 ID:Qldo6KoJ [Del]

    >>656

    You can just copy all the files from res/ on one board to the other, and rebuild caches. However, this will break >> links and deletion of old posts for the ones that moved. You can fix the former by either running some search-and-replace on the res files, or by setting up an HTTP redirect.

    658 Name: Anonymous : 2009-08-11 14:24 ID:bjKxXFwd [Del]

    A while back the captcha on my Wakaba install stopped working - when I view captcha.pl directly, it spits out the error:

    Undefined subroutine &utf8::is_utf8 called at /usr/lib/perl5/5.8.0/CGI/Util.pm line 251.

    I notice the 5.8.0 part in there because by the look of things, my hosting is running Perl 5.8.8

    Since this happened on its own I guess it's more likely my hosting service's Perl install is somehow screwed up, but is this a sign that I'm doing something wrong at my end?

    659 Name: Anonymous : 2009-08-11 16:39 ID:bjKxXFwd [Del]

    Correction: captcha.pl throws that error for everybody EXCEPT (a) one dude in Finland, and (b) the support guy I'm trying to get help from. He says that Perl is running fine.

    660 Name: Anonymous : 2009-08-11 17:08 ID:bjKxXFwd [Del]

    HAHA DISREGARD THAT I SUCK COCKS (and by "suck cocks" I mean "had the support dude reinstall Perl and it fixed everything")

    661 Name: Anonymous : 2009-08-12 16:42 ID:HG7KEVc7 [Del]

    Hey there. I have been trying to get kareha working now for a while (I am a complete idiot when it comes to programming) and I have stumbled upon a problem: everytime I try to acces localhost/kareha.pl it gives me a 403 error. Could anyone help me to fix this problem?

    Regards,
    Sebastian

    662 Name: Anonymous : 2009-08-14 15:34 ID:HG7KEVc7 [Del]

    Anyone here?

    663 Name: Anonymous : 2009-08-16 10:09 ID:Q2cwWNsj [Del]

    >>661
    Make sure you set the correct permissions on the .pl files. You might want to read those: http://wakaba.c3.cx/docs/docs.html

    664 Post deleted by moderator.

    665 Post deleted by moderator.

    666 Name: HR!h3LO0EXTAQ : 2009-08-29 22:00 ID:wRh7pu3j [Del]

    I'm using Kareha in message board mode. When I try to rebuild caches from admin.pl I keep getting this error:
    "Couldn't write to file "" at wakautils.pl line 1013."

    The rules header gets updated, but other threads with parentheses for titles get created. I can't delete them, or post in them.

    What can I do to fix this?

    667 Name: !WAHa.06x36 : 2009-08-30 04:39 ID:Heaven [Del]

    Sounds like a broken configuration of some kind. Hard to say how exactly.

    668 Post deleted by user.

    669 Name: wakabafan : 2009-09-03 00:29 ID:daXcrOR+ [Del]

    I found a perl script to generate random images on a wakaba board which works brilliantly, but I have been getting requests for the image to link to the thread the image comes from. I'm guessing I need to query the mysql database to find the thread but my coding skills are very weak so if someone could get me started I would really appreciate it. Perl or PHP is fine and here is the script I am using...

    #!/usr/bin/perl
    my $directory="b/thumb";
    my @files=glob("$directory/*");
    my $file=$files[rand @files];
    print "Status: 302 Found\n";
    print "Location: $file\n";
    print "\n";

    670 Name: Kuro : 2009-09-05 07:29 ID:MU5hwLF4 [Del]

    Noobish question; is this installed on your site, or uploaded and the files edited to make changes?

    671 Post deleted by user.

    672 Name: wakabafan : 2009-09-07 13:02 ID:Fq14kyGO [Del]

    Yes the script is installed and running. I want to modify the script to also return the thread which the image originates from. I'm learning perl from scratch so I'm looking for pointers to help me out, cheers.

    673 Post deleted by user.

    674 Post deleted by user.

    675 Name: Kuro : 2009-09-13 12:22 ID:MU5hwLF4 [Del]

    Can someone please answer my question?

    676 Name: Anonymous : 2009-09-13 21:03 ID:jfneBRJx [Del]

    what web hosting companies would guys recommend to run an imageboard website?

    677 Name: Anonymous : 2009-09-14 03:13 ID:Heaven [Del]

    >>676

    Lots of people like Dreamhost because it's cheap and has lots of bandwidth and space. It's a bit unreliable at times but if you can live with that it's nice enough.

    678 Name: Anonymous : 2009-09-15 01:20 ID:xP0VgDNN [Del]

    Is it possible to deny a post by using ID?

    679 Name: 687 : 2009-09-24 20:00 ID:xP0VgDNN [Del]

    I need to ban a certain user that changes IP frequently...

    680 Name: Anonymous : 2009-09-25 17:47 ID:ns6z0jDH [Del]

    I'm getting

    Error: No verification code on record - it probably timed out.

    When I try to post.

    There is no little picture next to the 'verification' box =\.

    681 Name: Anonymous : 2009-09-25 20:50 ID:ns6z0jDH (Image: 473x453 jpg, 26 kb) [Del]

    src/1253937057792.jpg: 473x453, 26 kb

    >>680
    fixed that.
    I really need to learn to shut up.. sorry for the stupid questions.

    One more question to throw at anyone here though, None of the themes that came with wakaba are working. See pic for details.

    682 Name: Anonymous : 2009-09-25 23:01 ID:ns6z0jDH [Del]

    Anyone know what to do about

    Caused by SystemException in API_Linux.cpp:434: execve() for program "/home/content/u/s/e/username/html/cgi/ra/thumb/1253939376496s.jpg" failed: Exec format error
    [Fri Sep 25 22:52:06 2009] [error] [client 70.251.74.93] Premature end of script headers: /var/chroot/home/content/u/s/e/username/html/cgi/ra/thumb/1253939376496s.jpg

    I can't get any images to thumbnail with imagemagick, is this the reason/?

    683 Name: Anonymous : 2009-09-26 04:38 ID:xzqEZsFb [Del]

    I want to host a low bandwidth image board where people can't upload images, but they can link to images on other servers. What do you recommend? Can Wakaba or Kareha be configured to do this?

    684 Name: Anonymous : 2009-09-26 13:54 ID:zJdpIYuA [Del]

    >>682
    Don't keep images in your cgi-bin...

    685 Name: Anonymous : 2009-09-26 15:27 ID:ns6z0jDH [Del]

    >>684

    Now I feel stupid.. thank you VERY much.

    686 Name: Anonymous : 2009-09-26 19:56 ID:9z3KlrbA [Del]

    >>683 It's definitely possible, although you'd need to understand perl to do it. Also, that's a pretty annoying thing for webmasters to deal with; expect nasty emails and redirects to goatse.

    687 Name: Anonymous : 2009-09-27 13:58 ID:ns6z0jDH [Del]

    >>681
    Still can't get themes to work.
    I moved the .css files into a separate css folder outside of the cgi folder, but wakaba is still trying to execute the ones inside the cgi folder.

    I tried adding this into config.pl:

    use constant CSS_DIR => '../../css/';

    but it doesn't change anything.

    Any help on this would be greatly appreciated, my board still has no theme =\

    688 Name: Anonymous : 2009-09-27 14:03 ID:ns6z0jDH [Del]

    >>687

    And FOR THE THIRD TIME, IT WORKS , RIGHT AFTER I POST THIS

    ARRRRRGGGHHHHH

    IGNORE MY WORTHLESS POSTS PLEASE!

    689 Name: Anonymous : 2009-09-28 16:02 ID:/wRtlRSE [Del]

    I've been using wakaba for a while and I love it, but sometimes I wish it had more involved administrative options. Things like the ability to sticky posts (not manager posts, ones made by other uses), edit posts, blacklist certain words from being posted.

    One of the reasons I chose wakaba over other options was its simplicity, so I can get along without any of that, but sometimes it would just be so nice.

    Also, is there any way to easily upgrade from one board version to another?

    690 Name: Anonymous : 2009-09-29 15:17 ID:CEFbzGL8 [Del]

    I'm sure I just messed something up but nothing is working with the board:

    http://www.theybannedme.com/wakaba/wakaba.html

    I did install it from shell as it wouldn't run from browser. I'm pretty sure this is why it's messed up but I'm in over my head. Any help is appreciated. Thanks.

    691 Name: Anonymous : 2009-09-29 22:03 ID:Heaven [Del]

    >I did install it from shell

    Yep, that's wrong. Delete everything and start over.

    692 Name: Anonymous : 2009-10-01 07:56 ID:dxXJD0xP [Del]

    >>689
    You can easily blacklist words, that's the spam.txt file. Or the "ban word" form under the bans/whitelist page.
    Stickies will never happen, neither will post editing. Look around for patches; they've been made. But please reconsider, since that sort of thing is annoying as hell on a board, and it generally enforces the principle that the userbase is only there to watch the administrators dick around. Stickies especially; the bullet-point list and space between the post form and the threads serves as a much better place to disseminate information; if you're trying to sticky threads to artificially redirect the natural course of conversation on the board, you're potentially stifling it.

    Nevertheless, if you want to do that stuff anyway, know a bit of Perl, and feel like a small challenge, stickies are literally a five-line patch (if you don't want to draw icons for them).

    (Incidentally, what is the difference between spam.txt and the "ban word" form? WAHa?)

    693 Name: !WAHa.06x36 : 2009-10-02 02:16 ID:Heaven [Del]

    >>692

    Spam.txt is slightly more powerful (it can do regexps) and is easier to update in bulk. Also they give different error messages. So basically the banned words is more for dealing with problematic topics, and spam.txt is for spammers specifically. It's a bit redundant, I guess.

    694 Name: Anonymous : 2009-10-03 17:42 ID:xP0VgDNN [Del]

    If one does not post any word, what can I do?
    Post like only porn picture is making me nuts...

    695 Name: Anonymous : 2009-10-07 00:32 ID:xP0VgDNN [Del]

    Regarding 694, is there any setting in Kareha?

    696 Name: Anonymous : 2009-10-07 23:12 ID:xP0VgDNN [Del]

    Ok I figured that.

    697 Name: Anonymous : 2009-10-07 23:48 ID:xP0VgDNN [Del]

    Im trying to work on Subback.html to show only thread name.

    I changed suback.html but after I rebuild the cash it got back to the original style.

    anyone can give me a idea where to change?

    698 Name: Anonymous : 2009-10-09 16:14 ID:y37PwJXM [Del]

    Can I use Kareha or Wakaba to make a board with no images? Just text discussion?

    Thanx.

    699 Name: Anonymous : 2009-10-09 19:07 ID:Heaven [Del]

    >>698 Kareha does that out-of-the-box.

    700 Name: Anonymous : 2009-10-10 01:43 ID:y37PwJXM [Del]

    >>699

    Thank you Anon-san.

    701 Name: Anonymous : 2009-10-12 09:53 ID:KvdknF/A [Del]

    When I open the wakaba.pl file it just downloads it in my browser.

    Chmod in the directory has been set to 755.

    if i run perl wakaba.pl i get:

    Status: 500
    Content-type: text/html

    <h1>Software error:</h1>
    <pre>No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
    BEGIN failed--compilation aborted at config_defaults.pl line 126.
    Compilation failed in require at wakaba.pl line 17.
    BEGIN failed--compilation aborted at wakaba.pl line 17.
    </pre>
    <p>
    For help, please send mail to this site's webmaster, giving this error message
    and the time and date of the error.

    </p>
    [Mon Oct 12 16:49:14 2009] wakaba.pl: No ADMIN_PASS or NUKE_PASS defined in the configuration at config_defaults.pl line 8.
    [Mon Oct 12 16:49:14 2009] wakaba.pl: BEGIN failed--compilation aborted at config_defaults.pl line 126.
    [Mon Oct 12 16:49:14 2009] wakaba.pl: Compilation failed in require at wakaba.pl line 17.
    [Mon Oct 12 16:49:14 2009] wakaba.pl: BEGIN failed--compilation aborted at wakaba.pl line 17.

    702 Name: Anonymous : 2009-10-12 10:24 ID:Heaven [Del]

    >>701
    You need to configure the board first. Fix config.pl.

    703 Name: Willitrun? : 2009-10-15 10:51 ID:bfq5DYWo [Del]

    How to make nginx exec perl scripts?

    704 Name: Anonymous : 2009-10-15 13:58 ID:Heaven [Del]

    >>703
    Probably more productive to ask that on some nginx support board.

    705 Name: >.> : 2009-10-15 14:22 ID:ZXD4KlZ9 [Del]

    how do you sticky in wakaba?
    [why is there no readme for it?]

    706 Name: Anonymous : 2009-10-15 14:26 ID:ZXD4KlZ9 [Del]

    where can i get the 4chan version of the software?

    707 Name: Willitrun? : 2009-10-15 16:37 ID:NI8lZqC3 [Del]

    >>704 Of course I asked, now waiting for answ. May be there is special way for wakaba? :)

    708 Name: Ranon!1qiKDn9IIo : 2009-10-17 14:25 ID:k9xsYIAJ [Del]

    Just a quick question about the crypto code in the wakautils file, I'm sure I'd figure it out if I looked at the code (for multiple hours), but answering this could save me a fair bit of time:

    Is the crypto code in the wakautils file used only for processing tripcodes?

    Thanks, Random anon.

    709 Name: !WAHa.06x36 : 2009-10-17 17:08 ID:Heaven [Del]

    It's used for some other things, like masked IPs and bookkeeping in Kareha.

    710 Name: Ranon!1qiKDn9IIo : 2009-10-17 18:40 ID:k9xsYIAJ [Del]

    Well, I figured it out, but thanks for the confirmation, I don't really need it for what I'm doing. I'm making a stripped down version of wakaba that's anonymous-only that's lower bandwidth and less processor intensive.

    It's also going to include some lossless image compression features if I get a little better at perl (well, it'll bump up the processor needs, but it's worth it for the bandwidth savings).

    It's also going to be bastardized with some AJAX if I can get it to degrade nicely.

    Here's hoping I can get the whole thing as small as possible (for the fun of it).

    711 Name: Ranon!1qiKDn9IIo : 2009-10-18 13:13 ID:k9xsYIAJ [Del]

    Well, since I have this tab open still, I might as well shoot you another question:

    Would it be a really bad idea to take out the file scan from the utils file (haven't the exploits it scans for already been patched a while ago?)

    I mean, it would be a-ok so long as everyone has a fairly up to date OS... that is unless these images exploit imagemagick.

    712 Name: Anonymous : 2009-10-20 19:16 ID:Heaven [Del]

    >>711
    It's a pointless idea. Not like it takes a matter of minutes or even seconds to scan the file.

    713 Name: !A2PFY1a/zs : 2009-10-20 20:13 ID:uA9oE6L3 [Del]

    is there any mod for no access via proxy?

    714 Name: !A2PFY1a/zs : 2009-10-20 20:55 ID:uA9oE6L3 [Del]

    i mean for kareha. i know nothing about perl and just start try to learn it after get interested with kareha board script. if someone know about the mod or know where to start modifiying in kareha script, please help.

    715 Name: !A2PFY1a/zs : 2009-10-21 17:20 ID:Heaven [Del]

    oops my bad, i've added tons of proxy list in spam files

    716 Name: 0x000BLAh : 2009-10-23 14:15 ID:odn23zIS [Del]

    DBD::SQLite::db prepare failed: near "-": syntax error at /path/to/wakaba.pl line 1794, <FILE> line 5.
    DBD::SQLite::db prepare failed: near "-": syntax error at /path/to/wakaba.pl line 1686, <FILE> line 5.

    whats wrong?

    717 Name: Anonymous : 2009-10-23 17:29 ID:dncjFSH0 [Del]

    >rew

    718 Post deleted by user.

    719 Name: 0x000BLAh : 2009-10-25 03:06 ID:odn23zIS [Del]

    >>716
    help

    720 Name: Anonymous : 2009-10-25 08:58 ID:Heaven [Del]

    >>719
    You screwed up your board, and you're giving next to zero information.

    721 Name: 0x000BLAh : 2009-10-25 17:25 ID:odn23zIS [Del]

    server nginx/0.7.62

    >[user@host o]# ls -g
    >-rwxrwxrwx 1 nobody 9916 Окт 24 03:31 captcha.pl
    >-rwxrwxrwx 1 nobody 12265 Окт 26 07:11 config.pl
    >-rwxrwxrwx 1 nobody 8368 Окт 24 10:52 config_defaults.pl
    >-rwxrwxrwx 1 nobody 894 Сен 12 2004 favicon.ico
    >-rwxrwxrwx 1 nobody 2784 Окт 24 03:31 finish.pl
    >-rwxrwxrwx 1 nobody 23633 Апр 16 2009 futaba_style.pl
    >-rwxrwxrwx 1 nobody 592 Окт 24 03:31 getpic.pl
    >drwxrwxrwx 2 nobody 176 Окт 20 02:40 include
    >-rwxrwxrwx 1 nobody 819 Окт 22 06:32 oekaki_config.pl
    >-rwxrwxrwx 1 nobody 1284 Окт 21 16:59 oekaki_strings_ru.pl
    >-rwxrwxrwx 1 nobody 12665 Окт 22 06:33 oekaki_style.pl
    >-rwxrwxrwx 1 nobody 1645 Окт 24 03:31 paint.pl
    >-rwxrwxrwx 1 nobody 222502 Фев 26 2006 spainter_all.jar
    >-rwxrwxrwx 1 nobody 2764 Фев 14 2006 spainter_normal.html
    >-rwxrwxrwx 1 nobody 894 Сен 12 2004 wakaba.ico
    >-rwxr-xr-x 1 nobody 48185 Окт 25 04:04 wakaba.pl
    >-rwxrwxrwx 1 nobody 3072 Окт 26 07:13 wakaba.sql
    >-rwxrwxrwx 1 nobody 32069 Апр 16 2009 wakautils.pl

    wakaba.sql contains one empty table - tbl1

    when iam trying to access wakaba.pl from browser it says

    >Critical SQL problem!

    perl says

    >DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
    >DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
    >DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1686, <FILE> line 5.

    wakaba.pl

    >1 #!/usr/bin/perl
    >2
    >3 use CGI::Carp qw(fatalsToBrowser);
    >4
    >5 use strict;
    >6
    >7 use CGI;
    >8 use DBI;
    >9

    722 Name: !A2PFY1a/zs : 2009-10-26 03:32 ID:Heaven [Del]

    is there anyway to add custom redirector site just like in 2ch (like ime.nu)?
    but the complete url still show the original url
    err, what must i say...

    if i can make it just like in 2ch it would be great

    723 Name: !A2PFY1a/zs : 2009-10-26 04:09 ID:Heaven [Del]

    simply: can i add custom redirector site easily in config.pl?
    i'm really confused with perl

    724 Name: Anonymous : 2009-10-26 09:04 ID:Heaven [Del]

    >>721
    try looking near lines 1794 and 1686 in wakaba.pl.

    725 Name: 0x000BLAh : 2009-10-26 14:08 ID:odn23zIS [Del]

    at 1686

    1686 $sth=$dbh->prepare("CREATE TABLE ".SQL_ADMIN_TABLE." (".
    "num ".get_sql_autoincrement().",".	# Entry number, auto-increments
    "type TEXT,". # Type of entry (ipban, wordban, etc)
    "comment TEXT,". # Comment for the entry
    "ival1 TEXT,". # Integer value 1 (usually IP)
    "ival2 TEXT,". # Integer value 2 (usually netmask)
    "sval1 TEXT". # String value 1
    ");") or make_error(S_SQLFAIL);

    at 1794

    sub table_exists($)
    {
    my ($table)=@_;
    my ($sth);
    1794	return 0 unless($sth=$dbh->prepare("SELECT * FROM ".$table." LIMIT 1;"));
    return 0 unless($sth->execute());
    return 1;
    }

    looks like i have to create tables manually? if so, how to?

    726 Name: Anonymous : 2009-10-27 20:36 ID:Heaven [Del]

    >>725
    what did you set SQL_ADMIN_TABLE to?
    you're getting a SQL syntax error. you probably put something screwy in the table name.

    727 Name: 0x000BLAh : 2009-10-28 02:15 ID:5ck9qgXc [Del]

    I am using "-" character in table names, lol. And I suppose the last question, I am using utf8 everywhere, but all non-eng strings from included files like strings_en.pl and header.html displayed incorrectly.

    728 Name: Anonymous : 2009-10-28 20:30 ID:9oF6qwTS [Del]

    No verification code on record - it probably timed out.

    729 Name: 0x000BLAh : 2009-10-30 16:31 ID:odn23zIS [Del]

    Locale problem heuristically fixed, CONVERT_CHARSET must be false)

    730 Name: bob : 2009-10-31 10:42 ID:flltB5S+ [Del]

    zerfezrffze

    731 Name: tka!!LT1qjn4w : 2009-11-01 13:43 ID:6vM32nI9 [Del]

    My Kareha Install sometimes shows the whole page in plain text instead of interpreting the HTML code. Example: http://www.3-ch.org/3ch/uni/kareha.pl/1255162076/
    It seems to occur randomly and is browser independent.

    However, when I remove the last /, it works normally. How can I fix this?

    732 Name: Anonymous : 2009-11-01 16:47 ID:Heaven [Del]

    Get a less broken server.

    733 Name: Anonymous : 2009-11-11 10:45 ID:khZcfair [Del]

    Somebody mentioned patches to enabled post editing over Wakaba...
    Anyone can point me toward a nice one?
    And yeah, read the warning, but this is for a small private board, and it's to supplement the directory dumper, advanced mode does let you add messages to every post, but it's kinda hard to know what to say when you can't see the picture...
    I'd like something that easily lets me dump a batch of pic and then go back and edit the post to add messages to the ones I wanted to say something about...

    734 Name: Anonymous : 2009-12-15 10:41 ID:FfMN5m4t [Del]

    I can't browse the wakaba.pl, it's only downloadble... even though I changed the permission to 755

    What's wrong?

    735 Post deleted by moderator.

    736 Name: Anonymous : 2009-12-25 00:10 ID:/gAGFhhP [Del]

    when i test out wakaba.pl it loads mybookface... wtf is goin on?!?!

    737 Name: Anonymous : 2009-12-25 00:11 ID:/gAGFhhP [Del]

    when i test out wakaba.pl it loads mybookface... wtf is goin on?!?!

    738 Name: Anonymous : 2009-12-26 14:35 ID:Yul/cbIp [Del]

    http://xyngrad.co.cc

    What the fuck is going on here? I have no idea what I'm doing

    739 Name: Anonymous : 2010-01-01 21:41 ID:Heaven [Del]

    >>738

    > The server encountered an internal error or misconfiguration and was unable to complete your request.

    you obviously misconfigured your server.

    740 Name: Anonymous : 2010-01-03 14:00 ID:vw2dW0qL [Del]

    How to create "To Thread / To Board" radio buttons?

    741 Name: Anonymous : 2010-01-05 13:54 ID:B///v/Gd [Del]

    >>740
    Relevant to my interests

    742 Name: Anonymous : 2010-01-05 18:42 ID:tyXQmHCX [Del]

    Quick dirty question:

    Is there a way to disable Browser Caching?
    Right now my browser is caching the boards and when replying it doesn't update and you have to manually press F5.

    Thank you ^^

    743 Name: !WAHa.06x36 : 2010-01-05 20:13 ID:Qldo6KoJ [Del]

    >>742

    See example.htaccess.

    744 Name: Anonymous : 2010-01-05 21:11 ID:QmV/J3F8 [Del]

    >>701
    I'm having the same problem. I've been researching about it and I've gotten myself confused about what needs to be done. If somebody could please give a simple answer, that'd be great, thanks.

    745 Name: Anonymous : 2010-01-06 13:34 ID:Dnt0e2zv [Del]

    Hey everyone, after much struggling I managed to get passed the 500 error.

    But now when I try to access the site, I just get the directory. Trying to open wakaba.pl makes my browser try to download it instead of generating the html.

    In the error log I get this:
    [Wed Jan 06 15:28:06 2010] [error] [client 24.162.***.***] client denied by server configuration: /home/ritsucha/public_html/config.pl
    I've already configured the config and setup a database (unless I did it wrong :/)

    746 Name: !WAHa.06x36 : 2010-01-07 10:06 ID:Heaven [Del]

    You need to configure Apache to run CGI scripts properly. How to do that depends on your setup and where you're hosted.

    http://wakaba.c3.cx/docs/docs.html has some hints, but it's really up to you to figure out how to do that.

    747 Name: Jay : 2010-01-08 19:16 ID:EPadINMP [Del]

    Hey, can anyone help me here?

    I've added the following lines to the bottom of httpd.conf;

    # Perl
    Options +ExecCGI
    AddHandler cgi-handler .cgi .pl

    I've made sure that wakaba.pl has the permissions 0755 and the hashbang is set to /usr/bin/perl (I checked, and the file does exist there) but I still only see the source code when I run wakaba.pl. I've also enabled mod_perl in httpd.conf (I'm not sure if you're supposed to or not) but it made no difference. Does anyone know what the problem is?

    I'm using XAMPP on Ubuntu 9.04, if it helps. And yes, I've been restarting apache after each change to httpd.conf.

    748 Name: Hmm : 2010-01-10 20:57 ID:aj80II5Z [Del]

    Alright, I've set the permissions correctly and everything. I've correctly set up the mysql databases and linked them in config.pl.
    I've checked again and again and I know the database name, user name, and host are all correct, yet I still get a "SQL connection error" message.

    749 Name: Ross!!h1K4xyNk : 2010-01-11 10:55 ID:uoYxkXC4 [Del]

    Here are example configs to fix the Kareha + nginx issues folks like >>600 experience. A catchall for .pl files won't work, kareha.pl and admin.pl must be explicitly set in the nginx config.

    location ~ kareha.pl {
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/path/to/perlfcgi.socket;
    fastcgi_param SCRIPT_FILENAME /path/to/webroot$fastcgi_script_name;
    }
    location ~ admin.pl {
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/path/to/perlfcgi.socket;
    fastcgi_param SCRIPT_FILENAME /path/to/webroot$fastcgi_script_name;
    }

    The absolute path of the files may be specified as well...

    location = /path/to/kareha.pl

    ... but the first two examples simplify a multi-board setup.

    Enjoy.

    750 Name: Anonymous : 2010-01-12 13:20 ID:l1PuRUb8 [Del]

    Some noob questions about wakaba.
    Why wakabamark doesn't working with russian charsets? Also, javascripts don't working as well. Can't change style or inasert post number in comment.

    751 Name: Anonymous : 2010-01-13 02:57 ID:YGK7wmZV [Del]

    i want to use kareha image mode, but every time i try to upload an image (example: 800x600px 37KB image) there are no thumbnail at main page and it said 'No thumbnail'

    i only change file config.pl in 'ADMIN_PASS' and 'SECRET' the rest of config variable are still default.

    help please

    752 Name: Anonymous : 2010-01-14 14:57 ID:MbJQhzfJ [Del]

    Software error:

    "use" not allowed in expression at config.pl line 1, at end of line
    syntax error at config.pl line 1, near "to use shift"
    "use" not allowed in expression at config.pl line 12, at end of line
    BEGIN not safe after errors--compilation aborted at config.pl line 13.
    Compilation failed in require at wakaba.pl line 16.
    BEGIN failed--compilation aborted at wakaba.pl line 16.

    753 Name: !WAHa.06x36 : 2010-01-14 15:52 ID:Heaven [Del]

    >>751

    Imagemagick is not correctly installed.

    >>752

    You messed something up in config.pl

    754 Name: Anonymous : 2010-01-14 23:06 ID:E1kHSg1H [Del]

    >>750
    Вакаба работает с русской кодировкой. Переименуй файл wakaba3.js в wakaba.js.

    //Wakaba work with russian charset. Rename wakaba3.js in wakaba.js.

    755 Name: anon : 2010-01-17 17:55 ID:xxS2mcmc [Del]

    Отписался в платиновом треде

    756 Name: samwise : 2010-01-22 03:37 ID:20REOGm5 [Del]

    How do I access wakaba.pl via my webbrowser? it only wants to save/open it but I can't really figure out how it should create an .html.

    757 Name: Anonymous : 2010-01-22 12:52 ID:O3yuxb2C [Del]

    >>756

    You're going to need to play around with it on the server side. That happened to me and I had to play around with apache.

    758 Name: Anonymous : 2010-01-22 12:55 ID:O3yuxb2C [Del]

    I installed wakaba and all. It created the html pages and everything seemed to be working until I tried to upload a picture.

    It spat out this error:
    "Software error:

    CGI.pm: Server closed socket during multipart read (client aborted?)."

    I haven't worked with apache2 a lot or most web host stuff before. Any ideas what's going on?

    759 Name: !WAHa.06x36 : 2010-01-22 15:13 ID:Heaven [Del]

    >>758

    Maybe Apache is configured to block large uploads or something?

    760 Name: Anonymous : 2010-01-22 16:24 ID:O3yuxb2C [Del]

    >>759

    Can't find anything but that doesn't mean there is. -

    761 Name: Anonymous : 2010-01-25 11:51 ID:IVdAPTo8 [Del]

    Woops, I intended to make my post here but for some reason made a new thread. That was a new and interesting brain fart. Anyways, my oekaki board was working perfectly fine for a while it seemed, but now every so often it's giving this:
    Software error:
    Can't read uploaded file at finish.pl line 85.For help, please send mail to the webmaster,
    giving this error message and the time and date of the error.

    Any ideas? Thanks!

    762 Name: Anonymous : 2010-01-28 10:48 ID:VKYbR1Uv [Del]

    I don't know how the data base of kareha is designed. Maybe it is impossible to do this: Is it possible to limit the file size of the files that a kareha message board creates to a specific value? (What is the smallest possible size?) Would this imply some restrictions to, for example, the length of threads? Thank you for your help.

    763 Name: Spycker : 2010-01-28 11:48 ID:0livikiu [Del]

    the admin and pass were defined in config.pl yet i cant install wakaba, any ideas?

    764 Name: Zowayixx : 2010-01-28 14:35 ID:085N3y5+ [Del]

    Hello, I'm having a rather annoying problem. Whenever I edit some things in my wakaba.html or index.html (whichever one is the HTML_SELF), all the data I added gets erased whenever I post or add a new picture. Is there any way to fix this?

    765 Name: !WAHa.06x36 : 2010-01-29 06:42 ID:Heaven [Del]

    >>764

    Those files are autogenerated, so any changes will always be lost. To make actual changes, edit the templates or include files.

    766 Name: Zowayixx : 2010-01-30 15:16 ID:085N3y5+ [Del]

    >>765

    Ah, thanks. I got the header, but where are the templates?

    Thanks! ^^

    767 Name: Anonymous : 2010-01-30 17:52 ID:yiyOAvk4 [Del]

    I keep getting this:

    Software error:

    Can't locate config.pl in @INC (@INC contains: . C:/perl/lib C:/perl/site/lib) at E:\Domains\[url]\wwwroot\wakaba\wakaba.pl line 16.
    BEGIN failed--compilation aborted at E:\Domains\[url]\wwwroot\wakaba\wakaba.pl line 16.

    I don't understand what's wrong?

    768 Post deleted by moderator.

    769 Post deleted by moderator.

    770 Post deleted by user.

    771 Name: Anonymous : 2010-02-01 04:33 ID:J8i2SjIT [Del]

    >>767
    >>767
    Change .pl scripts header, path to you compliler with .exe
    #!\xampp\perl\bin\perl.exe
    And add wakaba directory to mod_cg and %PATH%

    772 Name: Anonymous : 2010-02-01 04:36 ID:J8i2SjIT [Del]

    >>766
    Edit futaba_style.pl

    773 Post deleted by moderator.

    774 Name: Anonymous : 2010-02-01 14:12 ID:yiyOAvk4 [Del]

    >>771
    uhm, where's that at? fuck I don't even know if I can edit that on this host.

    775 Post deleted by user.

    776 Name: Anonymous : 2010-02-02 17:06 ID:GTRuts9c [Del]

    How can i create new boards and edit main page? I configured config.pl etc. and i See one, deafult board when i run /wakaba/ folder. How to make another boards /a/ /b/ /c/ etc.? In admin panel there is only few options...

    777 Name: !WAHa.06x36 : 2010-02-02 17:34 ID:Heaven [Del]

    >>776

    That's what you get. You do any customizing like that by hand. Install multiple copies, edit templates and includes, and so on.

    778 Post deleted by moderator.

    779 Name: Anonymous : 2010-02-04 00:42 ID:GTRuts9c [Del]

    okej, thx. What's the diffrence between kareha and wakaba. Which one is better? Why should i choose wakaba/kareha? Why shouldnt i choose serissa or kusaba?

    780 Post deleted by moderator.

    781 Post deleted by moderator.

    782 Post deleted by moderator.

    783 Post deleted by moderator.

    784 Post deleted by moderator.

    785 Post deleted by user.

    786 Name: Anonymous : 2010-02-21 15:47 ID:Heaven [Del]

    787 Name: Anonymous : 2010-02-21 15:48 ID:hgp/h576 [Del]

    >>786
    i meant to bump this...

    788 Post deleted by moderator.

    789 Name: Anonymous : 2010-03-12 05:31 ID:RMghOGCf [Del]

    Recently there are lots of porn poster bots on my board, running for the site hot.gazo.us so they can hotlink images off of the server. I'd rather not disable hotlinking, and am not sure if disabling just that site from hotlinking us would stop it for now. Is there a way to block bots by password? They seem to be using the same one even across IPs.

    790 Name: Anon : 2010-03-25 15:08 ID:VqC5r0op [Del]

    How do I include the space used (Listed in the name page) under the main wakaba page. On the front page I want to have a stats section on number of posts and total size used?

    791 Post deleted by user.

    792 Name: Pedohater : 2010-03-26 05:24 ID:vaNfkHyY [Del]

    How about removing the CP from guns category?!?!?!

    793 Name: weetabix : 2010-03-28 08:21 ID:3dQO8A+A [Del]

    Hi guys! Just wanna ask a noob's question:
    What kind of SQL database and in what collation should I make for Wakaba/Kareha?

    794 Name: Anonymous : 2010-03-28 13:05 ID:Heaven [Del]

    >>790
    I imagine you would have to code that sort of thing yourself.

    >>792
    You are very lost. http://iiichan.net/dis/error/

    >>793
    Read config.pl -- it tells you how to set up Wakaba with either MySQL or SQLite. You don't have to make any of the tables. Kareha doesn't need a database.

    795 Name: Anonymous : 2010-03-31 18:17 ID:mnrbeJWf [Del]

    How can I disable auto-linking in Kareha...?

    796 Name: Anonymous : 2010-04-01 00:50 ID:mnrbeJWf [Del]

    >>795
    Actually, scratch that. I'd like to know if there is some way to have external links open in a new window when you click on them.

    797 Name: Anonymous : 2010-04-01 19:41 ID:XcBctTa3 [Del]

    hey

    798 Name: Anonymous : 2010-04-04 05:39 ID:Heaven [Del]

    >>796
    Speaking as a user, if I want to have a link open in another window, I can do it myself, with right click -> open in new window. If I want it to open in the same window, I just click it. Making all pages open in a new window is just annoying, and makes me stop visiting that site.

    799 Name: Anonymous : 2010-04-04 13:04 ID:mnrbeJWf [Del]

    >>798
    That's true, and I do that too. But the layout of my site puts the textboard inside of a frame, so... :T

    800 Name: Anonymous : 2010-04-04 19:19 ID:Heaven [Del]

    >>799

    <a target="_top" ...>

    801 Name: Anonymous : 2010-04-04 20:35 ID:mnrbeJWf [Del]

    >>800
    Thank you. Is there a way to apply this to all external links automatically, though? Other than asking everybody to do that when they post.

    Sorry, I'm not very clear x__x;

    802 Name: Anonymous : 2010-04-05 03:55 ID:Heaven [Del]

    >>801
    Yes, edit the source. Should be obvious enough, find where it writes links and change it.

    803 Name: Codecub : 2010-04-06 13:23 ID:6xVj0PVP (Image: 942x703 png, 337 kb) [Del]

    src/1270585400974.png: 942x703, 337 kb

    hey im creating a imageboard so far ive done the front page but i installed wakaba properly and i cant figure out how do iadd seperate pages for each board its so confusing and i wanna add a recent images /posts thing like on 4chan
    thx

    804 Name: Anonymous : 2010-04-08 23:58 ID:Heaven [Del]

    >>803
    Can't you idiots come up with something new and interesting instead of blatantly copying 4chan and its frontpage all the damn time?

    805 Name: Anonymous : 2010-04-10 19:02 ID:9NZ+PXOK [Del]

    I am having trouble running kareha.pl from my web browser. It only displays the source code. All folders and files are CHMOD to 755. I verified that I can run perl scripts with this simple code the user >>141 offered before:

    #!/usr/bin/perl
    print "Content-Type: text/plain\n\n";
    print "it works";

    Please someone help me create the HTML pages!

    806 Name: Anonymous : 2010-04-14 08:52 ID:cVlpsD0U [Del]

    Here is my collection of errors which seem to appear randomly:
    -I get a blank page and nothing happens
    -I get the "BAREWORD ... not allowed while "strict subs" in use"-Error.
    -"Attempt to reload config.pl aborted. Compilation failed in require at /opt/lampp/htdocs/altercon.net/cgi-bin/wakaba/wakaba.pl line 16. BEGIN failed--compilation aborted at /opt/lampp/htdocs/altercon.net/cgi-bin/wakaba/wakaba.pl line 16. "
    -The "Global symbol "$parent_res" requires explicit package name"-Error

    I run the script in my cgi-bin.
    the mentioned perl test works.

    What i tried:
    First, i got these errors from a fresh install.
    Used wget to obtain the zip
    used unzip to unzip it
    used emacs to edit the config.pl
    used chmod 755 wakaba.pl captcha.pl

    I also tried setting the wakaba directory to 755 and 777

    Horrible

    807 Name: !WAHa.06x36 : 2010-04-14 09:13 ID:Heaven [Del]

    >>806

    That sounds mostly like some kind of horribly broken server.

    808 Post deleted by user.

    809 Name: Anon : 2010-04-16 12:45 ID:8GEBsYSr [Del]

    I'm getting this error:

    [Fri Apr 16 20:38:32 2010] [error] [client MY IP] script '/var/www/vhosts/mysite.com/subdomains/mysite/httpdocs/url_handler.php' not found or unable to stat

    810 Name: Anonymous : 2010-04-16 20:07 ID:Heaven [Del]

    >>809
    That has nothing to do with wakaba or kareha. Figure out what piece of software uses url_handler.php, if any. Hell, that might just be some idiot who's trying to hit a file that doesn't exist.

    811 Name: Anonymous : 2010-04-17 06:27 ID:AXmtZR5h [Del]

    Well, when I try and visit my site with wakaba I get a internal server error, etc... and I get this in access logs:

    [Sat Apr 17 13:13:20 2010] [error] Can't locate config.pl in @INC (@INC contains: . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 /etc/httpd) at /var/www/vhosts/mysite.com/httpdocs/wakaba.pl line 16.\nBEGIN failed--compilation aorted

    812 Name: : 2010-04-25 05:47 ID:Heaven [Del]

    You really should catch those right to left-overrides.

    813 Name: Anonymous : 2010-04-27 06:57 ID:Heaven [Del]

    >>812
    Awwww, why? It's entertaining.

    814 Name: Anonymous : 2010-05-08 18:08 ID:5uAS5BhN [Del]

    There a way to post as an admin?

    It's a nub question, but if there's a way, I'd like to know.

    815 Name: Anonymous : 2010-05-09 03:46 ID:Jf9eB6qB [Del]

    >>814
    Kareha supports capcodes out-of-the-box.

    In Wakaba you have the opportunity to post with HTML. If you want capcodes, you'll have to create them yourself. It's not really that hard, even I managed it and I suck at programming.

    816 Name: Anonymous : 2010-05-10 11:02 ID:3Ggr/qz0 [Del]

    i dont have any thumbnails, why is that?

    817 Name: Anonymous : 2010-05-11 04:05 ID:KOqayyLq [Del]

    how do i delete [burichan] [futaba] etc in admin bar? when i remove it from my index.html it's ok for a while and then, after f5ing board, it comes back. whats going on?

    818 Name: Anonymous : 2010-05-11 05:16 ID:Heaven [Del]

    >>817
    Edit your templates.pl. The html files are of course generated by wakaba.

    819 Name: Anonymous : 2010-05-11 15:34 ID:2rP76EC+ [Del]

    An odd question on Wakaba, but i really need to know:
    How to configure a board this way: replying to any thread will never make it go up, no matter it's position or how old or new it is?
    Thanks a lot.

    820 Name: Anonymous : 2010-05-11 15:37 ID:2rP76EC+ [Del]

    >>819
    I mean, the threads must always remain in order of they're creation.

    821 Name: Anonymous : 2010-05-13 07:57 ID:Heaven [Del]

    >>819-820
    just comment out (or remove) this section:

    if($parent) # bumping
    {
    # check for sage, or too many replies
    unless($email=~/sage/i or sage_count($parent_res)>MAX_RES)
    {
    $sth=$dbh->prepare("UPDATE ".SQL_TABLE." SET lasthit=$time WHERE num=? OR parent=?;") or make_error(S_SQLFAIL);
    $sth->execute($parent,$parent) or make_error(S_SQLFAIL);
    }
    }

    or change the first line there to if(!NEVER_BUMP && $parent) # bumping and put eval "use constant NEVER_BUMP => 0" unless (defined &NEVER_BUMP); in config_defaults.pl and use constant NEVER_BUMP => 1; in config.pl.

    822 Name: Anonymous : 2010-05-13 11:29 ID:vNmlQBsR (Image: 705x769 jpg, 69 kb) [Del]

    src/1273775394252.jpg: 705x769, 69 kb

    >>821
    Thanks man.

    823 Name: !WAHa.06x36 : 2010-05-13 11:47 ID:Heaven [Del]

    >>821-822

    Why not just read the config and/or the code you commented out, and set MAX_RES to 0?

    824 Name: Anonymous : 2010-05-13 12:24 ID:Heaven [Del]

    >>823
    why bother checking $parent and $email=~/sage/i if you're not going to bump the thread anyway?

    825 Name: Anonymous : 2010-05-13 13:43 ID:vNmlQBsR [Del]

    How to disable Email field?

    826 Name: Anonymous : 2010-05-13 14:39 ID:Heaven [Del]

    >>825
    FORCED_ANONYMOUS

    827 Name: Anonymous : 2010-05-13 15:28 ID:vNmlQBsR [Del]

    >>826
    This also removes the Name field.
    I only want to remove Email.

    828 Post deleted by moderator.

    829 Name: Anonymous : 2010-05-24 12:23 ID:e1RtSeQL [Del]

    Ok, i searched these two threads, but could not find what's the problem.

    I made my own server (ubuntu is the OS), on which i set up apache2, mySql, phpmyadmin.
    In phpmyadmin, i made a database testChan, for which i didn't specify any tables (when tried to manually create tables, i got myself a list of options for the table, and i didn't know what to set).

    I edited config.pl to set passwords, salt, and SQL options ->
    i set SQL options as default, set passwords and users, and set SQL_DBI_SOURCE as DBI:mysql:database=testChan;host=localhost

    Ran perl wakaba.pl in commandline (got some problems in firefox perl.

    Got the same errors as post no. 113 in the first support thread, but wakaba.html got created.
    http://localhost/wakaba.html, and i see a page! But, uploading anything == nothing is done. It doesn't work.

    Rerun perl wakaba.pl, got only 303 go west, and the page stays the same.

    I'm pretty much beginner to the whole SQL thingy, so please, bear with me, and tell me what shall i troubleshoot first, as my knowledge is poor enough to make me not know where the problem lies.

    830 Name: !WAHa.06x36 : 2010-05-24 15:20 ID:Heaven [Del]

    > Ran perl wakaba.pl in commandline

    Don't do that. It breaks things.

    831 Name: Anonymous : 2010-05-25 13:15 ID:gby7m83e [Del]

    >>830
    Temporarily I don't have internet connection on my server to redownload perl to make it run under firefox (and, even if, how do I do that under Ubuntu?), but I will try it.

    In the meantime, two questions. First has been asked already in my response. Second is, what's the difference between commandline and firefox in terms of perl script? Why does 'commandline' perl break things? Shouldn't it be the same thing?

    832 Name: Anonymous : 2010-05-25 17:12 ID:Heaven [Del]

    >>831
    On the command line, none of the CGI environment is defined, and the file permissions for any of the cached HTML files will be incorrect.

    Regarding Firefox and Ubuntu: that completely doesn't matter. Just access http://www.whatevercrapchan.com/yourboard/wakaba.pl with any web browser on any operating system, and if it doesn't build the files and send you to the index, you screwed something up (or you have a terrible web host).

    833 Name: Anonymous : 2010-05-25 17:15 ID:Heaven [Del]

    >>831
    perl runs on the server. it doesn't run in firefox. running it from the command line doesn't set all the environment variables to tell it things like where the script is.

    834 Name: Anonymous : 2010-05-26 14:28 ID:HYTi3n6n [Del]

    >>832
    I am my own webhost, and that means that I screwed up.

    So, currently, i made sude libapache2-mod-perl2 is installed, and I ran http://localhost/testchan/wakaba.pl

    All it did was a prompt to download wakaba.pl!

    So, here's the problem. Googling tells me nothing, nothing at all.
    Any help, please?

    835 Name: Anonymous : 2010-05-26 14:47 ID:HYTi3n6n [Del]

    Ok, found it. ALMOST, that is
    Added CGI to apache2.conf

    But then...
    403 forbidden error. 777 or 755 to the whole of wakaba folder with -R. There are some questions about that in that thread, however, none of them are anwsered. Merely ignored.

    836 Name: !WAHa.06x36 : 2010-05-26 16:27 ID:Heaven [Del]

    >>834

    One more time: Do not use mod_perl.

    837 Name: Anonymous : 2010-05-27 00:23 ID:hnFKrfXq [Del]

    >>836
    What should I use, then? All tutorials that I've found on google about apache & perl relied on mod_perl to execute these scripts.
    Without that and CGI added in apache2.conf all that happened when running via Firefox was a file download prompt.

    Your wiki & install documentation is somewhat poor on that matter, unless I'm blind || don't know where to look for :(

    838 Name: Anonymous : 2010-05-27 08:59 ID:Heaven [Del]

    839 Name: Anonymous : 2010-06-15 14:28 ID:oDRdPdM6 [Del]

    hi all
    I'm totally noob and just installed Wakaba on my host. How can I make many boards on it, instead of a single one?
    And is there a way I can add an age-rating for images? (I've seen this on few imageboards, it's like 15+, 18+ marks when uploading images)

    840 Name: Anonymous : 2010-06-15 19:31 ID:Heaven [Del]

    >>839

    • by installing it more than once.
    • you would have to write code for that. it is possible, and that's an easy task if you know how to program.

    841 Name: Anonymous : 2010-06-29 12:42 ID:agHEGDJF [Del]

    How to make user remain in thread after replying, not redirected to the main page?

    842 Name: Anonymous : 2010-07-01 10:17 ID:Heaven [Del]

    >>841
    By adding the feature yourself.
    Look for where it sends a redirect (search for 303), and change that line.

    843 Name: Anonymous : 2010-07-05 06:56 ID:gpkxzm5C [Del]

    >test

    844 Name: Anonymous : 2010-07-06 05:34 ID:Heaven [Del]

    >>841
    There are several patches for it posted on this board.

    845 Name: Anonymous : 2010-07-06 06:32 ID:DdfYk4Ym [Del]

    >>844
    where can i find it?

    846 Name: Anonymous : 2010-07-06 17:19 ID:Heaven [Del]

    >>845
    There's one in the "Wakaba/Kareha Patches" thread. Click All Threads at the top of this page.

    That should get you started. Browse around.

    847 Name: Anonymous : 2010-07-07 20:27 ID:dQf5hF71 [Del]

    My host is really stupid and does not allow profanity. How would I go about installing a wordfilter? Thanks :3

    848 Post deleted by moderator.

    849 Name: Anonymous : 2010-07-08 07:39 ID:Heaven [Del]

    >>847
    Get a less stupid host.

    850 Name: Anonymous : 2010-07-11 00:59 ID:Heaven [Del]

    >>847
    make a list of everything that is profanity (without including anything that isn't profanity).
    once you've completed that impossible task, turning it into a regex and adding a die 'no profanity, please.' if $comment =~ /.../; line is trivial.

    851 Name: Anonymous : 2010-07-12 14:08 ID:nQGKjvz/ [Del]

    I finally got everything to work, but the only way it will work without giving me permission errors is if i set the folder's user to apache's username/group (apache:apache).

    I have a feeling this is quite insecure. I have gone through all the threads here as well as multiple other ones throughout the internet.

    I also noticed that the only way the test.pl file will work is if i append -w to the #!usr/bin/perl.

    852 Name: !WAHa.06x36 : 2010-07-12 14:30 ID:Heaven [Del]

    >>851

    For more security, you should set up Apache to switch to another user account before running scripts, using something like suexec. I'm no Apache expert, so don't ask me for particulars on that, though.

    853 Name: Anonymous : 2010-07-12 14:55 ID:nQGKjvz/ [Del]

    I ended up switching the apache user/group in httpd.conf to user/group "nobody".

    This has solved my problems. Thanks for the suexec tip, it's what led me to this solution

    854 Name: Enthree : 2010-07-14 09:51 ID:IVaU0LhX [Del]

    Okay, I have a single question. I see to have multiple boards you must install wakaba more than once, but how do you create links to all the boards at the top or on the side like a normal chan website?

    If this involves very difficult coding, then I am looking for someone to help me out in their spare time.

    855 Name: Anonymous : 2010-07-14 21:33 ID:Heaven [Del]

    >>854
    Write it yourself, it's just an html frame.

    856 Name: Enthree : 2010-07-15 12:02 ID:IVaU0LhX [Del]

    >>855

    Yep, cause if I knew how to do that, I would've done it without asking, now wouldn't I. I don't know how to do that! Besides I've got kusaba now, so If you guys still want to help me, Id be willing to go back over to wakaba, but I just need some help.

    857 Name: Anonymous : 2010-07-15 14:49 ID:Heaven [Del]

    >>856
    if you don't know how to do that, you shouldn't be running a web site. if you knew anything at all, you wouldn't touch kusaba with a 10-lightyear pole.

    858 Name: !!hClRCwQo : 2010-07-18 00:40 ID:uisBsqfu [Del]

    how to delete the 1st thread by the user who created this thread himself ,and not effect the following reply ?

    In my board, if the user delete the first thread which he've created, all the replies in this thread would also be deleted.this make all discussion disappear.I think this is not a good method.

    so,how to setup kareha ?

    Thanks all !

    859 Name: Anonymous : 2010-07-18 07:34 ID:Heaven [Del]

    >>858
    Edit config.pl. Look for "delete".

    860 Name: !!hClRCwQo : 2010-07-18 07:57 ID:uisBsqfu [Del]

    >>859

    thank you very much for answer the question !
    Will wakaba and kareha update future ?

    861 Name: Anonymous : 2010-07-24 04:32 ID:Heaven [Del]

    >>856
    Edit include/header.html. If you don't know how to create HTML links, look it up on w3schools.

    And as previously mentioned, Kusaba is shit and a security nightmare.

    >>860
    I think Waha is pretty much done with Wakaba/Kareha. Updates are normally just various bug fixes.

    862 Name: Anonymous : 2010-07-25 02:08 ID:eh+cYn7S [Del]

    Just wondering, can this software be uploaded to any free host such as Webs?

    863 Name: Anonymous : 2010-07-25 04:11 ID:Heaven [Del]

    >>862
    No. The host must have proper support for Perl scripts with MySQL/SQLite bindings. There are (probably) free hosts out there which support these things, but you're better off using payed shared hosting with Perl support. NearlyFreeSpeech supports Wakaba/Kareha just fine and their prices are fairly cheap.

    864 Name: hime : 2010-08-01 03:57 ID:/6JlWvZ2 [Del]

    Hi, I'm not a coder or anything, I suggested the idea of a word filter for a joke to an admin of an image board running wakaba, and he said it's not possible.

    I've checked around and couldn't find any information besides perl scripting, which I'm not sure if that's what I'm looking for.

    To be short, is it possible to word filter on wakaba? And if it is, could anyone tell me?

    865 Name: Anonymous : 2010-08-01 07:11 ID:Heaven [Del]

    >>864
    It's tremendously stupid, and you ought to be well aware of the myriad reasons for that, but of course it's possible. Since Wakaba doesn't supply a pre-packed filter (and for very good reason) you'll have to do it by hand, but it's seriously not hard. Just put some s/from/to/; before the >>1 substitute in sub format_comment. But word filters are really really dumb, and you should consider otherwise.

    (If you have trouble understanding that, you shouldn't be messing with the code.)

    866 Name: Anonymous : 2010-08-02 00:12 ID:fvEOoS9f [Del]

    Everytime I trying to run the .pl script it just takes me to a page with all of the code in text format. Oh and the server supports pearl and CGI. Do the files have to go into the cgi bin because I put them in the pulbic_html folder.

    867 Name: Anonymous : 2010-08-02 05:51 ID:Heaven [Del]

    >>866
    No, you should definitely not put them in cgi-bin.

    What you do need to do is figure out how to get your server to execute Perl.

    868 Name: Anonymous : 2010-08-02 13:15 ID:Heaven [Del]

    >>866
    Get a proper host. If it's your server, configure it properly.

    869 Name: hime : 2010-08-04 08:37 ID:/6JlWvZ2 [Del]

    Oh I know I shouldn't be messing with code, I'm just a secretary or sorts since admin is busy. I appreciate your help, even though you think it's silly. I honestly think filters are silly too, I just want to joke around for a day.

    I hope he can understand that though, blargh.

    Thanks!

    870 Name: Anonymous : 2010-08-08 09:25 ID:Heaven [Del]

    Is it actually possible to parse the code in network includes? I am using <const get_http("http://www.example.com/include/header.html")> in Kareha's header.html (which is on another server, hence the reason I need this the first place), but the template code doesn't get processed.

    I suppose I could always use crontab to fetch the file automatically or put the template code in templates.pl, but I'd like to try getting the above-mentioned working first. Any ideas?

    871 Post deleted by user.

    872 Name: Frenzied : 2010-08-10 23:39 ID:IVaU0LhX [Del]

    Okay, this might be a bit complicated, I would just like a basic idea of how to do it, but how would I go about setting up an email field, fully functional, and be able to add noko, for thread replies, like on popular chans.

    Sorry if this is a dumb question, but I didn't see it after I set wakaba up.

    873 Post deleted by user.

    874 Post deleted by user.

    875 Name: Chris : 2010-08-11 03:43 ID:XTzvxUeL [Del]

    Hi,
    How do i moderate/manage bans? I'm using Kareha, image mode. I can see the 'ban ip' link next to posts in the admin screen, but how do i keep track of bans, lift them, etc.?

    876 Name: Anonymous : 2010-08-11 07:41 ID:Heaven [Del]

    >>875
    Ideally you're banning people you don't want around, so lifting bans should be a rare event. Kareha handles bans by writing to .htaccess and letting the server handle it. (which also means it's not useful out of the box unless you're running Apache, incidentally) So, edit that file on the server, find the "Deny from" for the IP, and delete that line.

    877 Name: Chris : 2010-08-11 14:39 ID:XTzvxUeL [Del]

    thx... new prob, I can't find htaccess, not at root, not in the folder i have my kareha folder. It's not there. I have an old one in another subfolder (which is doing a 301 for a domain I don't use anymore). hidden files are set to visible...

    878 Name: Chris : 2010-08-11 14:45 ID:XTzvxUeL [Del]

    maybe it creates .htaccess when i do my first ban?

    879 Post deleted by user.

    880 Name: Chris : 2010-08-11 14:59 ID:XTzvxUeL [Del]

    and i don't want to ask a lot of dumb questions I can answer just by trial and error... but last thing, how do I add text/images/banners above or below the input fields? I've edited the 'rules' file a little (basically i want to tell readers what's up, not to post snuff, in the long run maybe add a ad banner) but editing that file is inelegant. is there a better way?

    881 Name: Anonymous : 2010-08-11 17:28 ID:Heaven [Del]

    >>880
    How is that inelegant? That's what the file is for.

    882 Name: Anonymous : 2010-08-11 20:08 ID:Heaven [Del]

    Kareha has an option which allows editing files from the admin interface (hint: ADMIN_EDITABLE_FILES.) You can use that if you're too lazy to edit rules.html/.htaccess/whatever from FTP, but read the safety warnings first.

    883 Name: Anonymous : 2010-08-11 21:13 ID:XTzvxUeL [Del]

    well i'll get it going either way, thx for your help. board works great.

    884 Name: Chris : 2010-08-11 21:35 ID:XTzvxUeL [Del]

    btw here is my implementation so far: http://sidemission.com/theboard/index.html

    as far as IDs are concerned do you have a suggested way of telling my readers to ID themselves as the 'real' one?

    885 Name: Anonymous : 2010-08-12 08:28 ID:Heaven [Del]

    Telling the users to use tripcodes is enough, isn't it? You could also activate forced IDs which should be able to prevent impersonation as long as the poster retains the same IP.

    886 Name: Anonymous : 2010-08-12 13:50 ID:Heaven [Del]

    How do i pass variables to the template file? I've managed to pass them to POST_PANEL_TEMPLATE from wakaba.pl, but I also need to pass the same variable to MANAGER_HEAD_INCLUDE, to use it with <var $foo>, and I can't seem to find out how.

    887 Name: Anonymous : 2010-08-12 17:25 ID:Heaven [Del]

    >>886
    Oh, and I forgot to say that this is Wakaba I'm talking about.

    888 Name: Frenzied : 2010-08-12 20:18 ID:IVaU0LhX [Del]

    I have a couple questions.
    How do I activate an email form with noko.

    And, there is a problem where all teh thumbnails are working, it just shows "No Thumbnail" with a link to the image. Can anyone help me?

    889 Name: Chris : 2010-08-12 22:47 ID:XTzvxUeL [Del]

    is there a way for users to add links to images and embed youtube?

    890 Post deleted by user.

    891 Name: Anonymous : 2010-08-13 01:17 ID:Heaven [Del]

    >>886
    >>887
    Never mind, I figured it out.

    >>888
    It's fairy simple, you just edit the function post_stuff to look for "noko", and if it's there redirect to the thread/post instead of to the board index.

    As for your problem with thumbnails, imagemagick may not be installed properly.

    892 Name: Frenzied : 2010-08-13 02:10 ID:IVaU0LhX [Del]

    >>891

    Thanks but if you could be just a bit clearer on where I should put noko?

    Oh and also, I don't have access to the host, so I can't install imagemagick. Unfortunately. (It does have to be installed on the server right? Not just the ftp I have?)

    893 Name: Anonymous : 2010-08-13 06:33 ID:Heaven [Del]

    >>892
    You don't understand servers, and should probably stay away from anything resembling installing software.

    As for noko, there's no "right" answer as long as it works. I'd probably stuff it before the forced_anon check, because anything below that won't guarantee the existence of $email. (although I really wonder why that's checked before running clean_string / decode_string)

    something like:

    if ($email=~/noko/i) { $email=''; $noko=1; }

    then at the bottom of that function,

    if ($noko) { $where=(the url to that thread); } else { $where=HTML_SELF; }
    make_http_forward($where,ALTERNATE_REDIRECT);

    You could do it 1000 other ways too, but that's probably the least intrusive.

    894 Name: Frenzied : 2010-08-13 12:58 ID:IVaU0LhX [Del]

    >>893
    That's kind've why I I started trying to do this. To learn. So if you could just let me know if it's possible for me to fix the problem of no thumbnail.

    If you have any questions first just let me know, really appreciate the help thus far, thanks.

    895 Name: Anonymous : 2010-08-13 19:23 ID:Heaven [Del]

    >>894
    Well, to start: there's nothing special about a system-wide installation of something. If you can get Wakaba to work, you can (typically) get anything to run. You need to (a) identify what platform you're running on (Linux, FreeBSD, Winshit, etc. which libc version is installed; is it x86, amd64, or something weird; etc.), and (b) compile a version of ImageMagick -- specifically the convert program -- that'll run on that system. Once you accomplish that, you can put it wherever you want. Then fix the config.pl to point to where you've uploaded it and it "should" work.

    This sort of thing is way easier if you have a shell login, particularly if you're running on a server that has a C compiler installed. (Of course, pretty much anything is easier with a login than screwing around with ftp.)

    896 Name: Anonymous : 2010-08-13 19:39 ID:tWNY9/j1 [Del]

    How do I use the ALTERNATE_REDIRECT option in the config? Do I change the '0' to 'javascript' or what? Sorry if this has been asked before/I'm extremely naive but I've googled and don't know how to do it

    897 Post deleted by moderator.

    898 Name: Anonymous : 2010-08-14 06:42 ID:Heaven [Del]

    >>896
    You can set it to 1, or "javascript", or "magical purple hyenas" for that matter.

    But if your board is working, don't touch it.

    899 Post deleted by user.

    900 Name: Anonymous : 2010-08-14 09:01 ID:Heaven [Del]

    fwiw: I posted a proper patch implementing >>893 in the patch thread (http://wakaba.c3.cx/sup/kareha.pl/1256252904/10)

    901 Name: Frenzied : 2010-08-14 10:49 ID:IVaU0LhX [Del]

    >>895

    Okay, sorry, but how do I go about identifying that?

    902 Name: Anonymous : 2010-08-14 11:31 ID:Heaven [Del]

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

    903 Name: Frenzied : 2010-08-14 13:58 ID:IVaU0LhX [Del]

    >>902

    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?

    904 Name: WanderingOtaku : 2010-08-14 18:00 ID:rnm3PivJ [Del]

    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!

    905 Name: Anonymous : 2010-08-14 18:41 ID:Heaven [Del]

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

    906 Name: Anonymous : 2010-08-14 19:35 ID:Heaven [Del]

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

    907 Name: Anonymous : 2010-08-16 04:22 ID:Heaven [Del]

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

    908 Name: Anonymous : 2010-08-16 07:24 ID:Heaven [Del]

    >>907
    So you suggest statically linking all of X11? That's patently foolish.

    909 Name: Frenzied : 2010-08-16 17:32 ID:IVaU0LhX [Del]

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

    910 Name: Anonymous : 2010-08-16 20:38 ID:Heaven [Del]

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

    911 Name: Anonymous : 2010-08-16 23:30 ID:Heaven [Del]

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

    912 Name: Anonymous : 2010-08-17 09:56 ID:Heaven [Del]

    >>911

    $ 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 Name: Anonymous : 2010-08-17 11:21 ID:Heaven [Del]

    >>912
    i see no /usr/bin/Xorg there.

    914 Name: Anonymous : 2010-08-17 14:53 ID:Heaven [Del]

    >>913
    You sure are bad at using capital letters for such an insufferable pedant.

    915 Name: Anonymous : 2010-08-17 19:48 ID:Heaven [Del]

    >>914
    as are you.

    916 Name: Anonymous : 2010-08-18 06:19 ID:dMbIer+T [Del]

    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?

    917 Name: Anonymous : 2010-08-18 08:56 ID:Heaven [Del]

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

    918 Name: Frenzied : 2010-08-19 18:09 ID:IVaU0LhX [Del]

    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?

    919 Name: Anonymous : 2010-08-20 22:02 ID:dMbIer+T [Del]

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

    920 Post deleted by moderator.

    921 Name: StealthPenguin : 2010-08-23 19:58 ID:SrrrjLzn [Del]

    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?

    922 Name: Anonymous : 2010-08-24 04:36 ID:F+Yc9Pib [Del]

    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.

    923 Name: Anonymous : 2010-08-25 12:46 ID:Heaven [Del]

    >>922

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

    924 Name: Anonymous : 2010-09-01 20:28 ID:Heaven [Del]

    test Heaven

    925 Name: Tryst : 2010-09-02 08:54 ID:m2097+MQ [Del]

    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?

    926 Name: Anonymous : 2010-09-03 08:23 ID:Heaven [Del]

    >>925
    Use some mod_rewrite trickery to fix that.

    And lol, good luck getting users on 15 dead boards.

    927 Name: Anonymous : 2010-09-22 21:44 ID:eh/47f7I [Del]

    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?

    928 Name: Anonymous : 2010-09-23 06:36 ID:Heaven [Del]

    >>927
    Futaba has no markup, except for quoting and auto-linking.

    929 Name: Anonymous : 2010-09-23 08:19 ID:eh/47f7I [Del]

    >>928

    Hmm. There are several people on the board who are able to post text in colors of their choosing.

    930 Name: Anonymous : 2010-09-23 09:11 ID:Heaven [Del]

    >>929
    Admin posting privileges?

    Why not just ask the people on the board in question how it's implemented?

    931 Name: Anonymous : 2010-09-23 18:19 ID:eh/47f7I [Del]

    >>930

    I have asked, but they're elitists who refuse to divulge their "secret."

    932 Name: kredyty-pl : 2010-10-08 00:30 ID:p1IgBVzz [Del]

    mod_rewrite!

    933 Name: Dave : 2010-10-10 10:58 ID:dc6xKbMe [Del]

    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.

    934 Name: Anonymous : 2010-10-11 07:25 ID:Heaven [Del]

    >>933
    Been answered several times, and it's really, really straightforward.

    935 Name: Anonymous : 2010-10-23 21:53 ID:PLWguBHb [Del]

    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?

    936 Name: Anonymous : 2010-10-24 17:17 ID:Heaven [Del]

    >>935

    You broke something, and only a person who can see what you actually did could tell you what.

    937 Name: Anonymous : 2010-10-24 23:48 ID:r8r3Oo6I [Del]

    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?

    938 Name: Anonymous : 2010-10-25 07:28 ID:Heaven [Del]

    >>937
    I can't replicate it. Please explain how it works, what happens, etc. (I do not understand Russian.)

    939 Name: Anonymous : 2010-10-25 10:26 ID:r8r3Oo6I (Image: 1680x494 png, 34 kb) [Del]

    src/1288027603709.png: 1680x494, 34 kb

    940 Name: Anonymous : 2010-10-25 10:28 ID:r8r3Oo6I (Image: 1680x675 png, 36 kb) [Del]

    src/1288027681135.png: 1680x675, 36 kb

    941 Name: Anonymous : 2010-10-25 10:31 ID:r8r3Oo6I [Del]

    Broken part of page's formatting:

    onclick="highlight(100002 </blockquote> </td></tr></tbody>

    942 Name: Anonymous : 2010-10-25 10:46 ID:r8r3Oo6I [Del]

    >>938

    Copy entire ">191704>>191704>>...>>191704" string and replace 191704 by the actual post number in the thread. I'm not shure if the first post's number in the thread will do it.

    943 Name: Anonymous : 2010-10-25 13:26 ID:Heaven [Del]

    >>942
    Okay, I was able to reproduce it now. This warrants for a release of Wakaba 3.0.9, yes?

    944 Name: Anonymous : 2010-10-25 16:16 ID:r8r3Oo6I [Del]

    >>943

    You mean 3.0.8?

    945 Name: Anonymous : 2010-10-25 18:28 ID:r8r3Oo6I [Del]

    It looks like problem is not in unicode symbols processing. I was able to repeat the formatting coruption by posting ">191704>>191704>>...>>191704" without "". Also corruption occurs when I change line like this ">123456>>191704>>...>>191704" but everything is OK with ">text>>191704>>...>>191704".

    946 Name: Anonymous : 2010-10-28 20:42 ID:Heaven [Del]

    >>944
    3.0.8 has been out for some time now.

    947 Name: Anonymous : 2010-11-04 01:14 ID:EQwH+Tts [Del]

    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.

    948 Name: Anonymous : 2010-11-04 23:25 ID:Heaven [Del]

    >>947
    Add it in templates.pl or any file in the include/ folder, and rebuild caches.

    949 Name: 947 : 2010-11-04 23:39 ID:EQwH+Tts [Del]

    >> 948 thanks for the reply.

    Well I did all of that but it does not work....

    950 Name: 947 : 2010-11-06 22:32 ID:EQwH+Tts [Del]

    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?

    951 Name: Anonymous : 2010-11-16 14:28 ID:8F8GXS02 [Del]

    test

    952 Name: Anonymous v.1 : 2010-11-16 19:56 ID:OpRgmr82 (Image: 1680x1050 jpg, 38 kb) [Del]

    src/1289966184078.jpg: 1680x1050, 38 kb

    How to go in wakaba.pl on wakaba I don't see it anywhere :(

    953 Name: Anonymous : 2010-11-17 07:08 ID:Heaven [Del]

    >>952
    You evidently deleted some important files. Reinstall.

    954 Name: Anonymous v.1 : 2010-11-17 16:06 ID:Ag+baINs [Del]

    >>953 OK thx. But When i try to visit wakaba.pl it just tries to download it what to do now ?

    955 Name: Anonymous v.1 : 2010-11-17 18:26 ID:OpRgmr82 (Image: 1680x1050 jpg, 112 kb) [Del]

    src/1290047180737.jpg: 1680x1050, 112 kb

    >>953
    EX
    <----

    956 Name: Anonymous : 2010-11-17 19:36 ID:Heaven [Del]

    >>955
    Set up your web server to execute Perl files.

    957 Name: Anonymous : 2010-11-18 02:37 ID:tMqr/SRB [Del]

    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 ?

    958 Post deleted by user.

    959 Name: Anonymous v.1 : 2010-11-18 03:17 ID:OpRgmr82 [Del]

    >>955 How to execute Perl files on 000webhost or something ?

    Thank you for your help :)

    960 Name: Anonymous : 2010-11-18 09:45 ID:Heaven [Del]

    >>959
    You can't. They don't offer it for non-paying users.

    961 Name: Dane : 2010-11-18 10:11 ID:jjZS3Xms [Del]

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

    962 Name: Anonymous : 2010-11-18 11:58 ID:BkQ+yyvu [Del]

    What is the issue...
    CHMOD755, Perl ready on my webserver.
    http://bit.ly/btcffP

    963 Name: Anonymous v.1 : 2010-11-18 16:39 ID:OpRgmr82 [Del]

    >>960 Is there some other way to do this maybe some other web host ? I'm also using xampp

    964 Name: Anonymous : 2010-11-18 19:02 ID:Heaven [Del]

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

    965 Name: Anonymous : 2010-11-19 16:41 ID:Heaven [Del]

    966 Name: Anonymous v.1 : 2010-11-19 16:48 ID:OpRgmr82 [Del]

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

    967 Name: Anonymous : 2010-11-20 07:26 ID:Heaven [Del]

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

    • Hosts that advertise "unlimited" are most likely crap, and will dump you as soon as you show up on their radar. Imageboards use one hell of a lot of bandwidth.
    • Free hosting is fundamentally useless, under the general principle that you get what you pay for.
    • Along those same lines, any host that even provides a free service is likely to be cutting corners in their paid hosting. After all, a big chunk the money you're dumping into your "budget" plan is going toward all the freeloaders.

    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.

    968 Name: Anonymous : 2010-11-20 08:24 ID:wPEw2SMj [Del]

    >>965
    how to fix that ?

    969 Name: Anonymous : 2010-11-20 18:16 ID:Heaven [Del]

    >>968

    If you're going to be running a webserver, you really should know that.

    970 Name: Anonymous : 2010-11-21 00:56 ID:wPEw2SMj [Del]

    >>969
    This was powering by a webhoster, can't acces to subdirectories and Apache logs. All kahera files are 0755. What do ?

    971 Name: Anonymous : 2010-11-23 13:11 ID:BkQ+yyvu [Del]

    always that same issue,
    >>962
    moved my css directory but nothing happen.

    973 Name: Anonymous : 2010-11-25 04:23 ID:elpHyUmk [Del]

    >>972
    Ok... Now I know all about the permissions and my kareha files are setup like this :
    "Wrong permissions on the .pl files. They should have 755 permissions. NOT 777, because that may cause some servers to refuse to run them."

    But always the same issue:
    >>962
    What do ?

    974 Name: Anonymous : 2010-11-25 06:25 ID:Heaven [Del]

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

    975 Name: nomnomnom : 2010-11-25 11:11 ID:gvyaZvVo [Del]

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

    976 Name: Anonymous : 2010-11-25 11:49 ID:Heaven [Del]

    >>975

    And did you define an ADMIN_PASS?

    977 Name: nomnomnom : 2010-11-25 11:58 ID:gvyaZvVo [Del]

    in config.pl yes!

    978 Name: nomnomnom : 2010-11-25 12:00 ID:gvyaZvVo [Del]

    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.

    979 Name: nomnomnom : 2010-11-25 12:27 ID:gvyaZvVo [Del]

    It randomly works now. Thanks Guys and good luck.

    980 Name: Anonymous : 2010-11-26 04:50 ID:n0L2Tb8w (Image: 604x553 jpg, 87 kb) [Del]

    src/1290775822368.jpg: 604x553, 87 kb

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

    981 Name: Anonymous : 2010-11-26 08:00 ID:Heaven [Del]

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

    982 Name: Anonymous : 2010-11-26 12:38 ID:wPEw2SMj [Del]

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

    983 Name: Anonymous : 2010-11-26 14:29 ID:Heaven [Del]

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

    984 Name: Anonymous : 2010-11-28 09:20 ID:F95rYWPe [Del]

    Still I: >>962 >>980
    I have the same problem as this person and I didn't understand how he it fixed. >>681
    I can't execute perl script in my www directory with the htaccess ... I really tried everything

    985 Name: Anonymous : 2010-11-28 16:12 ID:Heaven [Del]

    >>984
    Then get a better host.

    986 Name: Anonymous : 2010-11-28 23:20 ID:BkQ+yyvu [Del]

    >>985
    This was the bettest french host...lol I'm going to open a dreamhost account! Thx for support all.

    987 Name: Anonymous : 2010-12-02 18:19 ID:m5dhGsjo [Del]

    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?

    988 Name: Anonymous : 2010-12-03 11:32 ID:m5dhGsjo [Del]

    will anyone answer me?

    989 Name: akane!!xU6Yb/f1 : 2010-12-06 16:12 ID:/ecGzP75 [Del]

    >>987 use UTF-8?

    990 Name: Anonymous : 2010-12-10 12:58 ID:m5dhGsjo [Del]

    >>989
    i do use!
    i set use encoding 'utf-8' in the beginning of Strings_en, but it does not help

    991 Name: Anonymous : 2010-12-10 18:18 ID:Heaven [Del]

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

    992 Name: Anonymous : 2010-12-13 17:06 ID:r8r3Oo6I [Del]

    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 ?

    993 Name: Anonymous : 2010-12-14 17:09 ID:2JT/DhtW [Del]

    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

    994 Name: Anonymous : 2010-12-14 23:30 ID:Heaven [Del]

    >>993
    have you really defined them, or are the lines where you think you defined them still commented out?

    995 Name: Anonymous : 2010-12-14 23:51 ID:2JT/DhtW [Del]

    >>994

    They're not commented out, nor is there whitespace at the start of the line.

    996 Name: Anonymous : 2010-12-15 20:36 ID:BvB6ef8H [Del]

    >>993
    Are you defined to all *.pl files 0755 chmod?

    997 Name: Anonymous : 2010-12-29 21:07 ID:qDQa2mdY [Del]

    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?

    998 Name: Anonymous : 2010-12-30 08:55 ID:Heaven [Del]

    >>997
    It's supposed to create static pages and it will update when someone posts.

    999 Name: Anonymous : 2011-01-01 18:44 ID:Heaven [Del]

    >>997
    Just guessing: if you did perl kareha.pl or something similar, delete that html file and try again from a web browser.

    1000 Name: Anonymous : 2011-01-07 06:56 ID:nj8hDB6x [Del]

    And filling the thread up.
    This thread has been closed. You cannot post in this thread any longer.