The Wakaba and Kareha support thread (1000)

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

This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create any more new threads for issues like that, post them in here instead.

363 Name: Anonymous (moved from other thread) : 2006-10-05 07:15 ID:l2svyCMe [Del]

I've installed and edited everything that needs to be edited (the test perl script works) and wakaba should be working, but it isn't. If I try to load wakaba.pl all I get is a blank page. I have no idea what to do now. Halp

364 Name: !WAHa.06x36 : 2006-10-05 07:18 ID:l2svyCMe [Del]

>>361-362

Never seen that before. I'm tempted to blame a messed-up Apache config, since that sounds like a free host and they're pretty unreliable.

>>363

Try going to http://.../wakaba.pl?task=admin and rebuild caches.

365 Post deleted by moderator.

366 Name: Anonymous : 2006-10-05 13:26 ID:EbnFdBgu [Del]

>>364

Tried that and this is what I got:
"Server error!

Error message:
Bareword "SQL_CAPTCHA_TABLE" not allowed while "strict subs" in use at D:/WWW/xampp/perl/site/lib//captcha.pl line 142. ...lots of other errors with similar format... BEGIN failed--compilation aborted at D:/WWW/xampp/htdocs/wakaba/wakaba.pl line 20. ,

;_;

367 Name: Anonymous (moved from other thread) : 2006-10-06 04:28 ID:l2svyCMe [Del]

Hello

what should I do in order to have a vertical menu like in http://4-ch.net ? also do I have to install Kareha for for every category?

thanks

368 Name: !WAHa.06x36 : 2006-10-06 04:29 ID:l2svyCMe [Del]

>>366

Your installation is broken. Start over.

>>367

You write it in HTML, and yes.

369 Name: Kyon : 2006-10-06 09:38 ID:4Nneh+eZ [Del]

Hi,i really need help,my HTML sucks and i dont know how to get Kareha or wakaba working at all....can someone guide me step by step pls,i couldnt find a guide too,thanks a lot.Does it start working once i upload those files i extarcted of the zip file onto a Web host?

370 Name: Anonymous : 2006-10-06 11:53 ID:uOR2q2EG [Del]

>>369

Assuming you have a webhost... (this is for kareha, which I recommend you use)

0) unzip the zip to a folder on your desktop.
1) open up config.pl on your computer using notepad.
2) read the comments and change the things that are required.
3) upload that, and everything else from the zip, to your webspace.
4) in your browser, visit http://.../kareha.pl
5) if that doesn't work, post any errors returned here along with a link to the board.

371 Name: Anonymous : 2006-10-06 12:48 ID:vVnmKGbV [Del]

so is there no way to ban proxies through htaccess or other?

372 Name: !WAHa.06x36 : 2006-10-06 18:43 ID:Heaven [Del]

>>371

Short answer: No.

Long answer: dmpk2k implemented some code in Wakaba to try and detect proxies using external utilities and such, which does get some of them, but might be tricky to get running. However, proxy detection is inherently shaky and unreliable.

373 Name: Anonymous : 2006-10-06 20:18 ID:EbnFdBgu [Del]

>>368
By broken installation, do you mean Wakaba or Apache/MySQL/Perl?

374 Name: !WAHa.06x36 : 2006-10-07 05:08 ID:Heaven [Del]

>>373

Wakaba. All those constants should be defined by config_defaults.pl, and if they are not, something's broken or missing.

375 Name: Anonymous : 2006-10-09 03:46 ID:h1vLcQQt [Del]

>>331

I am also interested in making my own ban page that shows the ip of the poster and displays the comment, but only when they try to post, how would i do that?

Secondly i am wondering is there a way to let my mods edit the rules.html file? thanks

376 Name: Anonymous : 2006-10-09 03:51 ID:Heaven [Del]

>>375
I am refering to wakaba btw

377 Name: !WAHa.06x36 : 2006-10-09 05:14 ID:Heaven [Del]

> Secondly i am wondering is there a way to let my mods edit the rules.html file? thanks

There's no way to do that in Wakaba at the moment (although there is in Kareha), but I guess you could find some other script that lets people edit files.

However: If you don't trust your mods perfectly, you don't want them to be able to edit rules.html directly, because it is run through the templating engine, which can run arbitary Perl code. That means that if you can edit it, you hack it to access anything on the server.

The way to work around this is to make a rules.html file that contains the following:

<var include("include/rules_safe.html")>

And then just let people edit rules_safe.html, which will NOT be parsed by the template engine.

378 Name: Anonymous : 2006-10-09 06:22 ID:aR+pM9fu [Del]

>>377
Ok thanks ill look into that,

any ideas on the custom ban page tho?

379 Name: !WAHa.06x36 : 2006-10-09 06:45 ID:Heaven [Del]

>>378

You'd have to hack it yourself one way or the other... Should be easy if you know a bit of Perl and DBI, otherwise, not so easy.

380 Name: iiw : 2006-10-10 02:39 ID:aR+pM9fu [Del]

Hello, i recently went into Futaba_style.pl to do some html editing for a number of things, everything seemed to be working fine for me after i had finished, but when my mods tried to access the admin panel they were getting an XML parsing error, it was telling me that it was expecting html tags everywhere and particularily it also told me that the constants in the footer were invalid. Tho i managed to fix the problem by removing the constants and by basically doing what it told me to and adding in the tags it was expecting i have had to remove things that i wanted to keep in the first place, have you seen this error before? And when exactly caused it?

381 Name: !WAHa.06x36 : 2006-10-10 02:48 ID:Heaven [Del]

>>380

Wakaba is set up to use XHTML, which means you have to write your code as well-formed XML. You can write any code you want, you just have to write it correctly.

382 Name: Anonymous : 2006-10-10 16:48 ID:NET+ZUYa [Del]

I know you're very busy WAHa, but is there a possibility we may be due for a major new releases of W&K soon?

383 Name: !WAHa.06x36 : 2006-10-10 18:14 ID:Heaven [Del]

No major releases, no. However, there are some bugfixes I really should get out there, but I've been busy with other projects. Hopefully I'll get around to it soon.

384 Name: Anonymous : 2006-10-21 16:56 ID:/35GKsA5 [Del]

can someone please give me a basic step by step way to install wakaba?

385 Name: Anonymous : 2006-10-21 22:24 ID:OD5zG4wN [Del]

Does Wakaba need a different database for each board? All I saw in the config.pl file was that you couldn't was to change the captcha sql table. But when I post on one board it puts that posts on all the other boards as well! I am pretty sure this is an sql thing (though it might not be), how do I go about correcting this and setting sql up properly?

386 Name: !WAHa.06x36 : 2006-10-22 04:53 ID:Heaven [Del]

>>385

Change the SQL_TABLE option for every board, and possibly also the SQL_ADMIN_TABLE.

387 Post deleted by user.

388 Name: Anonymous : 2006-10-24 18:28 ID:OD5zG4wN [Del]

Is there any way to ADD file types? I see there's a way to ban them in config.pl and then "allow all" but what I want to do here is just add one or two filetypes, like .psd and .tif. Is there any good way to do this? The only thing I've tried is going into wakaba.pl and editing

$filetypes{gif}=$filetypes{jpg}=$filetypes{png}=1;

to

$filetypes{gif}=$filetypes{jpg}=$filetypes{png}=$filetypes{psd}=1;

but all that got me was a 500 error. Any ideas?

389 Name: !WAHa.06x36 : 2006-10-25 03:50 ID:Heaven [Del]

>>388

There is a way to add filetypes at the end of config.pl. However, those types will not get thumbnails, and will not be renamed.

390 Name: Wakaba and Kareha noob : 2006-10-28 13:49 ID:gOevwIZR [Del]

Nice day :)
I just want to ask like someone (anonymous) above ~
Can someone please,please give me a basic step by step way to install Kareha?
I mean, when i downlod it, there are *.pl files but i need index.html ????
Thanx ~

391 Name: Anonymous : 2006-10-28 17:55 ID:uOR2q2EG [Del]

>>390 OK, here's the walkthrough:

1) edit config.pl to your liking
2) upload the entire folder to your webspace
3) navigate your way to kareha.pl on your website through your browser
4 that's it!

392 Post deleted by user.

393 Post deleted by user.

394 Name: Wakaba and Kareha noob : 2006-11-01 02:18 ID:gOevwIZR [Del]

Hi -_-

  • Ok ~ i have edited config.pl
  • uploaded the entire folder to my webspace
  • navigate to kareha.pl and i got:

[Forbidden][You don't have permission to access /~colorfull-wallies/kareha.pl on this server.]

  • i have try this with wakaba too but it dont work for me T_T
  • i have on the same webspace futallaby and it works
  • addres is:

futallaby [http://www.oranet.sk/~colorfull-wallies/imgboard.php]
wakaba [http://www.oranet.sk/~colorfull-wallies/wakaba.pl]
Any ideas ?

396 Name: Wakaba and Kareha noob : 2006-11-01 09:57 ID:gOevwIZR [Del]

ok
I know now - my webspace have no PerlScripts support. T_T
gome ne for troubles with me ~
However since i can not run wakaba and kareha i would like to
make my futallaby work propertly ~
All is fine, it only dont create thumbnails (it only minify
and show original image) - could this be caused with lack of
thumbnailer (i have read in offered link that wakaba and kareha
need this software installed on server to create thumbs)
Is this same with futallaby? , and if yes which one is most
suggested one?
~byg Thanx for help ^_^~

397 Name: LytHka!axcgxeTNsE : 2006-11-02 07:11 ID:BN3jDtUw [Del]

I have a bit of a problem figuring out into what format should I convert strings_en.pl and set the encoding in the config file so that I'd be able to have commands (like the Post button) with properly displayed characters like čšž (the ISO-8859-2 Central European characters).

Any help is greatly appreciated. Thank you.

398 Name: !WAHa.06x36 : 2006-11-02 07:34 ID:l2svyCMe [Del]

>>397

The strings file can have any encoding you want, as long as you use a "use encoding" statement at the top that lists which encoding you are using (see strings_jp.pl for an example of this, it uses Shift_JIS).

The encoding listed in config.pl can then be anything else you want, and Wakaba should convert between the encodings automatically (as long as you have Perl 5.8). Remember to also set the encoding in .htaccess so the static HTML pages are displayed correctly.

399 Name: Anonymous : 2006-11-06 14:44 ID:mGIVmebR [Del]

How much disc storage/transfer storage/bandwich should I have on my web host to put up say.. 5 image boards? I mean, with them completely filled to the 10th page, each one, each thread max posts and whatnot, how much really? Thanls. :3

400 Name: Anonymous : 2006-11-07 18:21 ID:kO2bBBwy [Del]

Is there an easy way to add filename retention (like the way either 4chan or fchan does) to Wakaba?

If so, how?

401 Name: !WAHa.06x36 : 2006-11-07 18:28 ID:Heaven [Del]

If you add gif, jpg and png as filetypes in the FILETYPES list, they will not be renamed.

402 Name: Anonymous : 2006-11-08 08:07 ID:K5Ew5Ofa (Image: 818x292 gif, 4 kb) [Del]

src/1163002044303.gif: 818x292, 4 kb

I got his error, everything in my config is correct but it still don't work.

403 Name: !WAHa.06x36 : 2006-11-08 08:23 ID:Heaven [Del]

>>402

Everything in the config is not correct. Or else the config on the SQL server is not correct. I guess it might also be possible that you have not installed Perl DBD drivers for your database?

Check your error_log to see if it has anything more to say.

404 Name: Anonymous : 2006-11-08 12:42 ID:K5Ew5Ofa [Del]

>>403

Whatever is my host or server OS I need to install DBD? Because I didn't. If yes, it's my problem. I don't know how to install it and where upload it.

Yes, I'm noob.

405 Name: !WAHa.06x36 : 2006-11-08 13:28 ID:Heaven [Del]

>>404

If you are on a shared host, they are most likely installed for you. If it's a server you set up yourself, most likely not.

You usually need DBI and DBD::mysql (Or DBD::SQLite or whatever it's named). If the script works at all, DBI is installed. DBD::mysql might not be. If it's a Unix machine, you can try running "perl -MCPAN -e 'install DBD::mysql'", or figuring out how to do it through whatever package system you use.

406 Name: Anonymous : 2006-11-08 22:23 ID:K5Ew5Ofa [Del]

How to remove the verification code when we post and the
excesses style (or only the link on top of the page) on Wakaba?

407 Name: dmpk2k!hinhT6kz2E : 2006-11-09 00:51 ID:Heaven [Del]

> How to remove the verification code when we post

Change ENABLE_CAPTCHA from 1 to 0 in config.pl

> the excesses style

Delete what you don't want from the css directory.

408 Name: Anonymous : 2006-11-09 18:23 ID:K5Ew5Ofa [Del]

They give me this error wen I try to open wakaba.pl

Can't locate config.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) at /home/www/"my url"/board_a/wakaba.pl line 16.
BEGIN failed--compilation aborted at /home/www/"my url"/board_a/wakaba.pl line 16.

What's the probleme? Congif.pl is there but he can't see it.

409 Name: !WAHa.06x36 : 2006-11-10 10:01 ID:Heaven [Del]

Maybe you should start by making sure it's spelled right?

410 Name: Anonymous : 2006-11-11 21:33 ID:sm3sOv/i [Del]

Odd error. I've successfully installed Kareha once and am trying to install it several times t make a variety of boards for my site.

He's the weird part: Every time i change the name so the link is "Fan Art" or something like that instead of "Kareha" everything works fine execpt the style sheets no longer work and i'm left with a rather plain looking board.

411 Name: !WAHa.06x36 : 2006-11-12 07:19 ID:VqDGzUzh [Del]

>>410

I am not sure exactly what you are doing, but I am guessing you need to rebuild caches if you change the path to the script.

412 Name: Anonymous : 2006-11-12 09:28 ID:sm3sOv/i [Del]

>>410
I'm making a image board, standard 4chan type set up. This requires several installations of kareha, one or each section. When i change the name of a installation (so that a new one does not overwrite it) or if i install a new one under a changed name the style sheets disappear.

413 Name: !WAHa.06x36 : 2006-11-12 14:41 ID:Heaven [Del]

I still don't know what you mean by "name". Path?

And what happens if you rebuild caches?

414 Name: Anonymous : 2006-11-12 14:56 ID:KBczb+Hk [Del]

I have a site with 3 boards right now, at some point in development, it became the case that any new thread started goes to one specific board, (regardless of what board it was posted to) and replies are simply lost.

415 Name: !WAHa.06x36 : 2006-11-12 14:59 ID:Heaven [Del]

>>414

You've either messed up your SQL settings, or you need to rebuild caches.

416 Name: Anonymous : 2006-11-16 05:00 ID:0zkDR3At (Image: 611x312 jpg, 23 kb) [Del]

src/1163682031193.jpg: 611x312, 23 kb

Is there a way to get rid of this annoying thing that doesn't involve extensive reprogramming of stuff?

417 Name: !WAHa.06x36 : 2006-11-16 05:21 ID:l2svyCMe [Del]

>>416

Well, it involves a little bit of reprogramming. Edit out the HTML code in futaba_style.pl and then find the line that throws the error message in wakaba.pl and remove it or comment it out. To find it, look for the error message in strings_en.pl, then search for the identifier it uses.

I should warn you that it does serve a purpose, though, which is to warn people who accidentially try to reply to the top thread without pressing Reply first. Whether or not removing it will make misdirected replies significantly more common or not hasn't been tested by me personally, though.

418 Name: Anonymous : 2006-11-18 10:18 ID:zCYd/dMn [Del]

I've successfully installed Kareha and it's working fine, except for one little thing.
I am in Seattle, all my users are in Seattle, but my server is in Vermont; so when I post it shows when it was posted in eastern time.
Is there any way to have it show the time of post in pacific time?

419 Name: !WAHa.06x36 : 2006-11-18 10:28 ID:VqDGzUzh [Del]

>>418

No, unless you hack the code to change it (it's pretty easy, just add or subtract the right number of seconds from the time variable in post_stuff())

420 Post deleted by user.

421 Name: Anonymous : 2006-11-18 11:03 ID:zCYd/dMn [Del]

>>419
Umm... how exactly do I do that?

422 Name: Anonymous : 2006-11-18 14:21 ID:HRkGRX+M [Del]

Can it be implemented that every url can only be repeated a certain number of times per post, the number being set in config? (Or is this already possible?)

423 Name: !WAHa.06x36 : 2006-11-18 14:36 ID:Heaven [Del]

>>422

Why?

424 Name: Anonymous : 2006-11-18 19:10 ID:HRkGRX+M [Del]

>>423
Usually when there's a spammer like in http://spi.iichan.net/fb/res/1658.html it repeats urls mutiple times, while normal people would probably only mention a certain url once or twice.

I think it would help reduce the few spammers that do happen to get around the filters already implemented.

425 Name: !WAHa.06x36 : 2006-11-18 20:13 ID:VqDGzUzh [Del]

>>424

Well, the built-in spam filters are much more effective than that. That board is using an old version and is not running the filters.

Also, that post has (as far as Wakaba can see) no repeated links, so it wouldn't be caught by the filter. Matching partial URLs to find repetitions would cut off a lot of legitimate uses, too.

426 Name: Anonymous : 2006-11-18 23:44 ID:HRkGRX+M [Del]

>That board is using an old version and is not running the filters.

Oh okay.

427 Name: Orochi Herman!hN02YkuTxM : 2006-11-20 10:17 ID:ec2/okGS [Del]

Also the spammer/spambot I get on /sak/ seems to know what fields to avoid too.

Went easy on banning the fucker and didn't include filters and the serious guns... yet. That's because I've been busy.

428 Name: pingo : 2006-11-27 11:14 ID:JCRGZwlo [Del]

Hello

I am trying to set up Wakaba and I want to have multiple boards. Am I supposed to just duplicate the wakaba directory for each board like it's done with Kareha? Can I just create a new directory and then symlink everything to the install folder without the config file? would that work for Wakaba?

429 Name: Anonymous : 2006-11-27 14:56 ID:Heaven [Del]

>>428 yes; and yes, that would work too.

430 Name: pingo : 2006-11-27 21:21 ID:JCRGZwlo [Del]

ok, thanks for your reply. but now I have another problem. I made symnlinks to everything except config.pl. I copied the config from the previous install and only modification I made was to rename the admin, proxy, captcha and comments tables. this is what I get after I tried to execute wakaba.pl

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

etc.

This is what I get when I tried to execute it from the command line:

[Tue Nov 28 00:09:08 2006] wakaba.pl: DBD::mysql::st execute failed: Table 'blablachan.adminA' doesn't exist at wakaba.pl line 1794, <FILE> line 3.

[Tue Nov 28 00:09:10 2006] wakaba.pl: DBD::mysql::st execute failed: Table 'blablachan.proxyA' doesn't exist at wakaba.pl line 1794, <FILE> line 3.

etc

now. isn't supposed wakaba.pl to create these tables automaticaly?

thanks.

431 Name: pingo : 2006-11-27 21:49 ID:JCRGZwlo [Del]

sorry for posting it not in the appropriate thread. I fixed it. it was a overly paranoid apache server which refusing to execute scripts from 777 directory.

432 Name: mingo3k : 2006-11-27 21:51 ID:z2Wfr94l [Del]

I seem to have a small problem with my board,

It's installed correctly as far as i can see, it just wont recognise my admin password, i put it in fine, it goes to the management panel, but when i click ANY link i get..

Error: Management password incorrect.

It's quite annoying.. not sure whats wrong :(

433 Name: mingo3k : 2006-11-27 23:09 ID:dM62qWDx [Del]

>>432

Now i cant login at ALL! :( Thats getting really annoying..

434 Name: cyrilic characters : 2006-11-28 03:29 ID:JCRGZwlo [Del]

I can't get wakaba to display cyrilic characters. I changed utf-8 to windows-1251 in the config.pl file and in the .htaccess file. the generated wakaba.html displays the characters in a very odd way :
Àíèìå
when I view the source they get even more odd : #xc0;íè&#"

is there something else to be done which I overlooked?
I also turned on CONVERT_CHARSETS in the config file but it doesn't seem to help.

435 Name: Anonymous : 2006-11-28 08:24 ID:zOjYSbRP [Del]

> I can't get wakaba to display cyrilic characters. I changed utf-8 to windows-1251 in the config.pl file and in the .htaccess file.

What did you do that for? UTF-8 supports everything, even Cyrillic.

436 Name: !WAHa.06x36 : 2006-11-28 09:38 ID:VqDGzUzh [Del]

>>433

Did you overwrite your config.pl with an old one with another password?

>>434

The characters that are displayed wrong, do they come from user posts or from the script itself? Also, as >>435 points out, maybe you'd be better off just using utf-8?

437 Post deleted by moderator.

438 Post deleted by moderator.

439 Name: Anonymous : 2006-11-28 21:35 ID:Heaven [Del]

this isn't a futallaby support board.

440 Name: cc : 2006-11-28 21:40 ID:JCRGZwlo [Del]

I have no problems nor with UTF-8 nor with windows-1251 in the posts. the only problem with the correct display of the cyrilic charactes is in the title that is read from the config.pl (use constant TITLE = )

441 Name: mingo3k : 2006-11-29 06:14 ID:NM5a0pk9 [Del]

>>436
Nope, i've only ever updated with newer config's whilst changing some settings, same password, but sometimes lets me log in, and sometimes not.

When i do log in i cant click any of the links, gives me the same error.

442 Name: !WAHa.06x36 : 2006-11-29 07:30 ID:Heaven [Del]

>>440

You need to set the character set for the Perl file to match whatever charset you are using. Note how strings_jp.pl has a use encoding "Shift_JIS"; at the top. You need to add a similar statement to your config.pl.

443 Name: !WAHa.06x36 : 2006-11-29 07:32 ID:Heaven [Del]

>>441

I really have no idea what's going on there. It really makes very little sense.

444 Name: Anonymous : 2006-11-30 21:07 ID:JCRGZwlo [Del]

After like 16-17 pages wakaba removed some images. how do I remove that limitation?

thanks

445 Name: Anonymous : 2006-12-01 00:08 ID:Heaven [Del]

>>444 in config.pl there are age settings. Crank them up as high as you want for threads that last until the end of time.

446 Name: !WAHa.06x36 : 2006-12-01 05:25 ID:Heaven [Del]

>>444

>>445 almost got it, but basically, check the example config.pl for explanations of the options that determine when threads start getting deleted. Most of them can be set to 0 to disable.

Note that if you let a board grow very big, it will become slow, because it has to keep rebuilding all the page.

447 Name: Anonymous : 2006-12-02 01:41 ID:L87Ph8dT [Del]

is it possible to setup a kareha board using the webspace my ISP gives me?

at like http://members.myISP.com/myusername/kareha

448 Name: !WAHa.06x36 : 2006-12-02 03:45 ID:VqDGzUzh [Del]

>>447

I dunno, does your ISP let you run Perl scripts and have a suitable thumbnailer installed?

449 Name: Anonymous : 2006-12-02 07:48 ID:i7EbT4o2 [Del]

I have run into quite a bit of trouble, when trying to get kareha to support EXIF data 4chan/p/ style. It displays the comment along with the picture and EXIF data fine, but when the picture with EXIF data along with the post is posted as a reply, then it will somewhere eat away the last </DIV> tag, which it doesn't do, when that post is the first post in a thread. Multiple threads also work, but not replies.

Any help or suggestions very much appreciated. :)

450 Name: !WAHa.06x36 : 2006-12-02 10:55 ID:Heaven [Del]

Without knowing what exactly it is you're doing with the EXIF data, it's impossible to say what's going on.

451 Name: Anonymous : 2006-12-02 12:47 ID:KBczb+Hk [Del]

How do I use capped trips? I see

use constant CAPPED_TRIPS => ('!!example1'=>' capcode','!!example2'=>' <em>cap</em>');

And assume that typing name##example1 would result in name!! capcode, but it just treats it like a normal tripcode.

452 Name: !WAHa.06x36 : 2006-12-02 12:53 ID:Heaven [Del]

>>451

"!!example1" is the result of the tripcode, not what is typed in. Note that it says "!" and not "#".

453 Post deleted by user.

454 Name: Anonymous : 2006-12-02 14:11 ID:KBczb+Hk [Del]

I tried

use constant CAPPED_TRIPS => (' code'=>' !!<em>ADMIN ##</em>');

and entering Admin##code or Admin#code returns Admin!!MIVjB2tk and Admin!FKk4keqK9w respectively, when I expect Admin##ADMIN. Sorry if this is obvious, I just started learning perl.

455 Name: !WAHa.06x36 : 2006-12-02 17:39 ID:Heaven [Del]

>>454

Re-read what I said. You're not supposed to put in "code", you're supposed to put in "!!MIVjB2tk".

456 Name: Anonymous : 2006-12-02 18:58 ID:Heaven [Del]

I just realize that what I am entering in config for the input to "use constant CAPPED_TRIPS" is tripcode output itself, not the phrase that generates the tripcode. Gotcha. Thanks.

457 Name: Anonymous : 2006-12-07 04:00 ID:n55e4ca2 [Del]

Hi again.

After translating the whole strings_en.pl to a cyrilic language I get when trying to upload file:

Software error:

Malformed multipart POST

458 Name: !WAHa.06x36 : 2006-12-07 04:54 ID:Heaven [Del]

>>457

That's not an error Wakaba ever generates on its own, so it comes from somewhere else. I've never seen it before so I have no idea what it means. I am guessing it's an Apache or CGI.pm problem. Maybe Google has some clues?

459 Name: Anonymous : 2006-12-09 21:04 ID:hRGhyTLa [Del]

Error message:
Can't locate config.pl in @INC (@INC contains: . C:/Program Files/xampp/perl/site/lib/ C:/Program Files/xampp/perl/lib C:/Program Files/xampp/perl/site/lib C:/Program Files/xampp/apache) at (eval 88) line 14. BEGIN failed--compilation aborted at (eval 88) line 14.

This is what I get when I try to execute kareha.pl. I have no idea why since config.pl DOES exist in the same directory. Forgive me but I know nothing of perl programming (I am savvy with PHP, though). What's wrong?

460 Name: !WAHa.06x36 : 2006-12-10 05:18 ID:VqDGzUzh [Del]

It sounds like whatever is executing the Perl code is not CD'ing to the right directory. cgi-handler should do this, which makes me wonder if something else is trying to run it. Is mod_perl in use or something? Wakaba doesn't really work with mod_perl without tweaking.

So, the solution should be to either configure Apache to use cgi-handler for .pl files, or if that still doesn't work, you can try adding a BEGIN { chdir "path-to-files" } at the top before the other BEGIN statements. But the first is more likely to help.

461 Post deleted by user.

462 Name: Anonymous : 2006-12-10 11:50 ID:hRGhyTLa [Del]

>>460

Yes, I presumed that was the problem. I've been searching for a good 30 minutes for a config file that changes the root directory with no avail. And yes, I do have mod_perl (that has been bundled with xampp). Is there a noob-friendly way of installing cgi-handler? Sorry for my ignorance, it's just that I have never worked with perl before.

Thanks in advance.

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