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.

851 Name: Anonymous : 2007-06-30 14:58 ID:Heaven [Del]

because that's what fusianasan does?

852 Name: 206-248-135-137.dsl.teksavvy.com : 2007-06-30 20:08 ID:umEh4iy/ [Del]

internets?

853 Name: adsl-75-36-111-33.dsl.bcvloh.sbcglobal.net : 2007-06-30 23:39 ID:JaXNh8gm [Del]

>>851
Yeah I didn't know it was a feature

854 Name: Anonymous : 2007-07-01 12:15 ID:hRem/LZz [Del]

How do I stop Wakaba from detecting duplicate pictures?

855 Name: Anonymous : 2007-07-01 13:38 ID:wUybICkp [Del]

>>853
funny feature. and who is fusianasan?

856 Name: Anonymous : 2007-07-06 16:03 ID:Heaven [Del]

I know it is not explicitly or implicitly stated anywhere as being compatible, but has anyone ever tried running Shii painter with kareha? If so, did it work? If so, how?

857 Name: gw.kyla.ee : 2007-07-09 09:38 ID:Heaven [Del]

Oh wow.

858 Name: Anonymous : 2007-07-10 14:53 ID:KBczb+Hk [Del]

>>856
bump because I am curious

859 Name: P.K. (moved from other thread) : 2007-07-13 06:07 ID:l2svyCMe [Del]

An Oekaki Problem...

I've done everything according to instructions, and am getting a 500 and a 404 whenever I click the link to start painting. I've read the other topic, and got the palette_selfy.js file and installed it, and it still isn't working.

It's the correct applet and all as well.

The only thing I've noticed that could be wrong is that the oekaki_config.pl file I have doesn't seem to have a place for the URL that the wiki says needs to be set in this file. I've followed everything according to instructions, save for specifying the URL, because I don't know where or how to do this in the oekaki_config.pl file.

If it's in an earlier release, could someone please tell me which one?

Help would be greatly appreciated, I know when I posted my last problem 2 years ago it was fixed within a day, and that's simply outstanding support compared to everyone else out there.

Thanks much in advance, I'm really stumped on this one.

860 Name: P.K. (moved from other thread) : 2007-07-13 06:08 ID:l2svyCMe [Del]

Some clarification, I found the properly set up oekaki_config.pl file in an earlier release, well, minus the hashbang, but I went ahead and added one and set the URL.

My error log says this, though:

Premature end of script headers: paint.pl,

and: File does not exist: /home/(edited by me)/(edited by me)/internal_error.html.

I have no idea why it's doing this... <_<;

861 Name: !WAHa.06x36 : 2007-07-13 06:09 ID:l2svyCMe [Del]

Did you read the first posts in http://wakaba.c3.cx/sup/kareha.pl/1109033191/? Internal Server Errors are usually not caused by the Perl scripts themselves but incorrect setup on the server.

862 Name: P.K. : 2007-07-13 11:32 ID:ENm0apUH [Del]

Yes, and terribly sorry about improperly posting. It's been a while since I was here, I know it's no excuse, but it's the closest thing I have to one... <_<;

I've tried a few things to get it to work, even setting permissions differently, and have been able to get regular Wakaba boards to work just fine, the only hassle is the "premature end of script headers" thing, and I saw in an older thread that someone was having the same problem, and fixed it, but unfortunately he never said how he fixed it...

I'm not just asking for help, I'm looking for a way to fix it myself as well, by the way. I hate having to ask for help if I can do it myself, but this has me stumped. I'm a real duffer at Perl.

If I can get it to work, I'll at least post the fix for others who might be having the same problem, and if anyone has had this problem and fixed it, please share the info on what you did.

I see lots of nicely working oekaki boards out there, so I know somebody has to know how to fix this, and I'd feel better knowing I hadn't bothered the creator of the code with something petty like this for nothing.

863 Name: P.K. : 2007-07-13 12:06 ID:ENm0apUH [Del]

Update, no more server errors, now it all works save for the applet not loading.

You were right about the server errors, I had to set permissions on paint.pl in such a way that it seems it shouldn't even work...

Anyway, I have the palette_selfy file installed, even downloaded a fresh copy. I know it's not my JRE, I can use other boards just fine.

If anyone has had this problem and fixed it, please let me know how you did it.

864 Post deleted by user.

865 Name: P.K. : 2007-07-13 14:44 ID:ENm0apUH [Del]

I found out what was wrong, and I hope this helps others who wind up with the same problem. It was partly the permissions issue, and partly an FTP issue. It seems FTP clients sometimes have problems with the automatic selection of how to upload an applet, which is a binary file, especially if you've been uploading lots of ASCII files.

The fix was to manually set it to binary, then fiddle with the permissions. At first it failed to work, then after a few reloads it worked fine. Problem solved, sorry for the hassle, and I hope this helps others in some way.

Ciao~

866 Name: Anonymous : 2007-07-23 17:54 ID:BvZcwPV+ [Del]

I uploaded wakaba to my server, but i didnt see any instructions.
I am not a web guru, but do i need to set up some sort of slq database or something ?
Or should i just stick with the stupid vbulletin and phpbb that come pre installed ?
Should I read the entire thread ? because its 867 long as of this post.
If someone could point me in the right direction i will supply you with at least 1000 internets.
thanks

867 Name: Anonymous : 2007-07-24 10:56 ID:Heaven [Del]

868 Name: Anonymous : 2007-07-24 17:29 ID:BvZcwPV+ [Del]

thank you anon

869 Name: hina : 2007-07-28 10:06 ID:hIYt5dmp [Del]

how does the ban system on Kareha work, please?

I've banned an IP in the admin page that I want to now un-ban again, is this do-able?

870 Name: Anonymous : 2007-07-28 14:32 ID:Heaven [Del]

>>869
well you could just look at config.pl and see this:

#use constant ADMIN_BAN_FILE => '.htaccess';            # Name of the file to write bans to
#use constant ADMIN_BAN_TEMPLATE => "\n# Banned at <var scalar localtime> (<var \$reason>)\nDeny from <var \$ip>\n";

and then you'd know that to unban someone you just edit .htaccess...

871 Name: Anonymous : 2007-07-31 21:16 ID:oEg7yl1W [Del]

I'm having trouble making manager posts in wakaba. Whenever I make one, the post is made, but with only the picture, not the message. Any idea what the problem is?

872 Name: Anonymous : 2007-07-31 21:49 ID:Heaven [Del]

>>871 spamtrap, most likely.

873 Name: Anonymous : 2007-08-01 10:00 ID:QOlh2OP6 [Del]

Howdy Folks,

I'm wondering how to go about removing evidence of moderation (Post deleted by X) in Kareha. Taking a look at kareha.pl, the corresponding lines seem to be lines 693-698, particularly line 696 which reads:

set_post_text($thread,$postnum,DELETED_TEMPLATE->(num=>$postnum,reason=>$reason));

As I would like to eliminate deleted posts entirely, it seems editing or outright removing this line would do the trick. Is this the correct course of action, or is there something more which needs to be done?

Thanks for the help~

874 Name: !WAHa.06x36 : 2007-08-01 14:10 ID:Z0T+84ak [Del]

>>873

You can set the DELETED_TEMPLATE to an empty string. However, that invisible post will still count as one post, and the numbering will skip steps, and the number of posts displayed on the front page will be smaller than usual if there is a deleted post. There is no easy way to change that.

875 Name: Anonymous : 2007-08-01 16:38 ID:f21aLKEJ [Del]

Hi, I´m actually quite new in setting these boards up, so I was wondering if someone could please answer these questions for me:

1 - How do I get several boards like 4chan or 7chan? Do I have to copy wakabi into several folders on the server, run the setup on each and then manually add the links to the different wakabi.html files in the wakabi.html files themselves?

2 - Do the files have to be named wakabi? I want the html files to have the same name as the board it represents, but does this require major editing in several files?

Thanks in advance

876 Name: Anonymous : 2007-08-01 18:26 ID:2APSAA2g [Del]

>>875 assuming you're using the wakaba script:

    • Yes, that's the best way to do it. For example, on iiichan, all the boards are in their own folders within the /boards/ subdirectory (/boards/city/, /boards/cats/, etc)
    • change the #use constant HTML_SELF => 'wakaba.html'; setting. You can't change the other pages (1.html, 2.html, etc)

877 Name: Anonymous : 2007-08-02 08:08 ID:f21aLKEJ [Del]

>>876
But if I put the board into different subfolders, will I have to set up several databases? I mean, the table names will be the same, so if they are all using the same database, the names will be overwritten, right?

Thanks

878 Name: !WAHa.06x36 : 2007-08-02 08:12 ID:Heaven [Del]

>>877

You can change the table names. Go read through config.pl.

879 Name: Nestor : 2007-08-02 08:14 ID:L8RSQp8c [Del]

My board is not archiving posts, I have

use constant TRIM_METHOD => 1;
use constant ARCHIVE_MODE => 1;
use constant ARCHIVE_DIR => 'arch/';

in the config, the arch directory and subdirectories exist and are chmod 755 (Also tried with 775) but no archiving is taking place.

I initially set it up with archive mode 0 then changed my mind later, but it looks like the change didn't take, is there some database editing needed to change this configuration maybe?

880 Name: Anonymous : 2007-08-02 15:16 ID:f21aLKEJ [Del]

>>878
Thank you

One last question please:
What files should I delete after running wakabi.pl?
The config file, since the passwords are in there,
but what other ones?

881 Name: !WAHa.06x36 : 2007-08-02 16:20 ID:Heaven [Del]

You should not delete anything.

882 Name: !WAHa.06x36 : 2007-08-02 16:21 ID:Heaven [Del]

And to add to that, you should not run wakaba.pl. You should point your browser to it, or else it will create a broken board.

883 Name: Anonymous : 2007-08-03 02:38 ID:f21aLKEJ [Del]

>>882
Well I thought pointing my browser to wakaba.pl was running it. But couldn't anyone just open config.pl and then see the passwords?
And should i revert the execution permissions for wakaba.pl after execution or doesn't it do anything after it executes for the first time?

Thank you

884 Name: !WAHa.06x36 : 2007-08-03 11:27 ID:Z0T+84ak [Del]

>>883

Right, it does mean that, but you could also mean running it from the command line, which is what you should not do. And on most setups, you can't access .pl files which do not output the proper data when run, so it's impossible to access config.pl. If it is possible on your server for some strange reason, use .htaccess to block access to it.

Also, wakaba.pl is executed each time somebody posts, so it needs to stay as is.

885 Name: Anonymous : 2007-08-03 17:50 ID:Heaven [Del]

It's set-and-forget, buddy.

886 Name: Nestor : 2007-08-04 04:47 ID:4WXm4wp2 [Del]

No one has any ideas regarding my archiving problem? C'mon folks, I have Ghastly himself posting in my board, it deserves archiving!

FOR POSTERITY

887 Name: !WAHa.06x36 : 2007-08-04 07:04 ID:Heaven [Del]

I didn't write the archiving code, so I am not too familiar with its inner workings, sadly. If I see dmpk2k I'll point him at it.

888 Name: Diablo-D3 : 2007-08-05 23:25 ID:u1xShyHp [Del]

I'm trying to figure out why javascript added to footer.html or header.html no longer works. It is being output fine as far as I can tell, but like the rest of the html, \n are stripped.

However, I cannot figure out where Wakaba strips \n before output.

Can anyone help?

889 Name: !WAHa.06x36 : 2007-08-06 12:33 ID:Heaven [Del]

>>888

If it's Google ads, their code is incredibly paranoid. There's a config.pl option to turn off the stripping.

890 Name: Anonymous (moved from other thread) : 2007-08-06 12:34 ID:Z0T+84ak [Del]

I'm having problems with getting apache to start the kareha script configuring it the same as in the quickstart and http://www.thesitewizard.com/archive/addcgitoapache.shtml either renders just the source code or a 403 error, apache manuals have been of little help.
Running winxp

891 Name: !WAHa.06x36 : 2007-08-06 12:36 ID:Z0T+84ak [Del]

Without any further information than that, you're not likely to get much useful help. Apache is a tricky bit of software.

892 Name: Diablo-D3 : 2007-08-06 12:55 ID:u1xShyHp [Del]

Its similar to Google Ads. Apparently, this only effects Javascripts that use document.write to write a script tag to load the real script, afact.

893 Name: Diablo-D3 : 2007-08-06 13:31 ID:u1xShyHp [Del]

Doh, the \n stripping isn't breaking it. Also, there is no config.pl option for it; simply edit include() in wakautils.pl.

894 Name: Diablo-D3 : 2007-08-06 14:13 ID:u1xShyHp [Del]

Oh boy, it seems the script actually does work when called from Waka... just not in Firefox.

895 Name: Anonymous : 2007-08-06 14:24 ID:fIYxu1R6 [Del]

I mean, how do I set apache to have the script run once it's loaded in the browser

896 Name: !WAHa.06x36 : 2007-08-06 17:48 ID:Z0T+84ak [Del]

>>895

This isn't really an Apache support board. The info is out there on the net, go look for it. If you have a specific question, maybe somebody here can answer it, but that one is just too much work to answer.

897 Name: Anonymous : 2007-08-06 20:34 ID:+tG0shGP [Del]

Does someone know how to implement embeded music into the baoard? I tried adding an <embed> html string to the index.html file which sortof worked, except that I don't want it to crash the browser to show a player window

898 Name: Anonymous : 2007-08-06 22:19 ID:Heaven [Del]

>>897 Why in God's name would you want to embed music?

899 Name: Sako : 2007-08-07 05:37 ID:VTHhnkHQ [Del]

Sorry for the noob question. About admin tripcodes in Kareha: let's say I changed the line in config.pl like this

use constant CAPPED_TRIPS => ('!foo'=>' ADMIN','!bar'=>' <em>ADMIN</em>');

is it correct? Now what do I have to use as my name to have them displayed? Neither "Sako#foo" or "Sako#bar" etc seem to be working.

900 Name: Anonymous : 2007-08-07 07:42 ID:hpIoeRwp [Del]

>>898
To annoy the heck outta people! What other reason is there ;)
sry this is a littl off topic

901 Name: Nestor : 2007-08-07 08:26 ID:4WXm4wp2 [Del]

>>887
Ok I fixed it, by editing config defaults archive mode to 1. Looks like it was overriding the one set on config

902 Name: anon!21anon4H3U : 2007-08-07 09:27 ID:Heaven [Del]

>>899 it's 'result'=>'ADMIN'

for me, I'd use '21anon4H3U'=>'awesome admin'

903 Name: Jeremy : 2007-08-07 22:45 ID:K7xLRFD2 [Del]

Hi, just a question about kareha, my board refused to let me post, reply, rebuild caches, everything went to a blank page. A fresh install works fine, and the last thing I did before it went weird was try to upload an image, from the error log:

[Tue Aug 7 22:17:05 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.

[Tue Aug 7 22:04:40 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!

[Tue Aug 7 22:04:21 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdd72) in substitution iterator at wakautils.pl line 391.

[Tue Aug 7 21:48:48 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. Out of memory!

[Tue Aug 7 21:44:46 2007] [error] [client 72.8.94.119] Premature end of script headers: /home/jerblcom/public_html/b/admin.pl

[Tue Aug 7 21:35:17 2007] kareha.pl: Malformed UTF-8 character (UTF-16 surrogate 0xdad2) in substitution iterator at wakautils.pl line 391. convert: missing an image filename thumb/1186477676547s.jpg'. convert: no decode delegate for this image format src/1186477676547.png'.

The first entry seems to be the most telling, because the rest are just me trying to do things, i uploaded an image and then it crashed, everything I tried after that would just go to a blank screen. I am thinking that perhaps the image was corrupted, but I can't figure out why it wouldn't let me do anything after that. What should I do to avoid this in the future and is there a way to recover the posts from the old install and put them in the new one?

904 Name: Anonymous : 2007-08-08 16:38 ID:BsWgLWyE [Del]

How can I set kareha so that post number are contigous, not starting at 1 for each new thread? I'm under the impression to image names need a script to do this, naming them up but not orig name, are posts the same way?

905 Name: Anonymous : 2007-08-09 11:03 ID:Heaven [Del]

I fully accept that I've probably missed this somewhere, but I'm trying to modify things so that when URLs in the 'comment' field are parsed they add ' target="_top" ' into them.

I figure I need to be modifying the 'HTML Utilities' section of 'wakautils.pl', however that code looks too complex for my limited perl knowledge.

Any pointers? (or solutions even!)

906 Name: Anonymous : 2007-08-09 15:33 ID:aMlPVw0T [Del]

>>903
The same thing happened to me this May, but that was with wakaba. I didn't save the error log, but it came after tons of trials for stuff like /admin, /cgi-bin, and /phpBB from Russian IPs. My host was Dreamhost. I think they managed to delete the database of wakaba, but sadly I wasn't logging database access, so I couldn't compare and do an error report.

So WaHa, any way to avoid this happening in the future?

907 Name: !WAHa.06x36 : 2007-08-09 18:18 ID:Heaven [Del]

No idea what's going on there. I need a way to reproduce the problem if I am to debug it.

908 Name: Anonymous : 2007-08-09 21:57 ID:Heaven [Del]

>>904 Kareha does not have this feature. It required a database, like Wakaba uses.

909 Name: amaya : 2007-08-10 01:05 ID:Xl7WLnSv [Del]

i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode

what is it that i must do to force the capcode to work? what is the procedure for cap codes and such

910 Name: amaya : 2007-08-10 01:05 ID:Xl7WLnSv [Del]

i am running kareha 3.1.3 and every thing is working properly except for the cap codes, no matter what i set the cap code to it either posts my name as what i typed in or the tripcode script runs and turns my cap code into a tripcode

what is it that i must do to force the capcode to work? what is the procedure for cap codes and such

911 Name: amaya : 2007-08-10 01:06 ID:Xl7WLnSv [Del]

sorry for the double post i dont know how i pulled that one off lol XD

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

The reason this thread exists is so that you can find answers to questions by searching in it. Please do so, the last few questions here have been answered multiple times now.

913 Name: Anonymous : 2007-08-10 05:08 ID:Heaven [Del]

>>912
Does that include my post? >>905
If so, I really can't find a previous reference.
I guess I'll just go ahead and try to bodge it and hope I don't break something.

BTW, great software WAHa, especially the 'desktop', I'd be lost without that.

914 Name: !WAHa.06x36 : 2007-08-10 15:47 ID:Heaven [Del]

>>913

Ah, no, I don't think so. That'd probably just be a case of editing the templates in futaba_style.pl, though.

915 Name: Rembrant!lMHB2AKbq6 : 2007-08-10 17:17 ID:bPb9te1Y [Del]

How can I install capcodes in Wakaba?

916 Name: amaya : 2007-08-10 21:11 ID:Xl7WLnSv [Del]

>>912
wow, if that where the real reason that this thread where here then there would be nothing in it

it would be much easier to just answer the question if you know the answer, and if you dont, you could always just be quiet and keep to yourself, then we would not be having this talk, and i would have my answer and i could fix my problem

917 Name: Anonymous : 2007-08-11 01:06 ID:Heaven [Del]

>>916 You realize that WAHa wrote the script you're using, yes?

Show some Goddamn manners. Your question's been answered a few times in the last 900+ posts.

918 Name: Anonymous : 2007-08-12 07:33 ID:f21aLKEJ [Del]

Hi, I just have one question, which I didn't see in this thread:
When I reply to a thread in my wakabi board, I can't see all the posts. Is it supposed to be like this? If not, what could be possibly wrong and how do I fix it?

919 Name: Anonymous : 2007-08-12 14:21 ID:2ybucTdq [Del]

>>918
Do you mean it shows it as:

x posts and x images omitted. Click Reply to view.

and all the posts after x are shown, or are posts just disappearing from the thread list?

920 Name: Anonymous : 2007-08-13 05:03 ID:GrA8y0AK [Del]

How exactly do I turn off the CAPTCHA for Wakaba?

921 Name: Anonymous : 2007-08-13 05:17 ID:Heaven [Del]

Entire thread -> ctrl-F -> "CAPTCHA"

922 Name: Anonymous : 2007-08-13 11:27 ID:2ybucTdq [Del]

>>920
in config.pl

# Captcha
use constant ENABLE_CAPTCHA => 0;

923 Name: Anonymous : 2007-08-15 01:01 ID:f21aLKEJ [Del]

>>919
There were too few posts for any to be omittet (3 I think).
When I see the thread in the main window, I can see all the posts,
but when I press reply, only the first post shows.
If I wait a couple of minutes and then press reply, everything is fine.
Any ideas?

Thanks in advance

924 Name: !WAHa.06x36 : 2007-08-15 03:33 ID:Heaven [Del]

>>923

You don't have example.htaccess in place, or mod_headers isn't enabled, so your browser is caching old pages.

925 Name: Anonymous : 2007-08-15 06:10 ID:f21aLKEJ [Del]

>>924
example.htaccess is in the same folder as wakaba.pl (that is, the same folder in which they came).
Is it supposed to be in another folder or am I supposed to do anything with it?
How do I enable mod_headers?
Should there be any specific access to example.htaccess, as in write access?

926 Name: Anonymous : 2007-08-15 17:51 ID:3nyc1DvD [Del]

>>925
rename example.htaccess to .htaccess

927 Name: servnotif (moved from other thread) : 2007-08-19 17:01 ID:Z0T+84ak [Del]

Hi!

I just installed kareha and it's running fine except for one thing

im watching it from the server itself so i use the loopback address 127.0.0.1

so, the board is at http://127.0.0.1/kareha and it loads fine

and i go to http://127.0.0.1/kareha/admin.pl to login as an admin, but there is a problem... no matter what password i enter, even the right one, it redirects me to another page and gives me a 404 error

for example, it goes to http://127.0.0.1/kareha/admin.pl/kareha/admin.pl and it won't find it of course

and if i move it to the server root, then from http://127.0.0.1/admin.pl it tries to go to http://127.0.0.1/admin.pl/admin.pl

what is going on?

thanks in advance!

928 Name: !WAHa.06x36 : 2007-08-19 17:03 ID:Z0T+84ak [Del]

>>927

What web server software are you using?

929 Name: Anonymous : 2007-08-21 04:20 ID:J09um6dQ [Del]

>>926
I tried renaming example.htaccess to just .htaccess,
but now I get this error:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory."

Any idea what that means?

930 Name: !WAHa.06x36 : 2007-08-21 05:03 ID:Heaven [Del]

Read error_log.

931 Name: Jeremy : 2007-08-23 07:30 ID:Nnf8bFsj [Del]

Since I really don't know what happened with kareha and my previous error, I do need to know how to compile posts from multiple install attempts, is there a tutorial on how to throw a whole bunch of boards together into the same place? The basic idea is to be able to restore old posts, combine boards, backup stuff, whatever.

932 Name: !WAHa.06x36 : 2007-08-23 10:37 ID:Heaven [Del]

If you just combine the res/ (and src/ and thumb/ if you had images) directories, and rebuild caches, that should combine the posts. Old >> links may be broken if the boards lived at different URLs though.

933 Name: Anon : 2007-08-23 10:57 ID:kjem9FvR [Del]

i have this setup but it only seems to run in my CGI folder... why is this?

934 Name: !WAHa.06x36 : 2007-08-23 12:48 ID:Heaven [Del]

>>933

Because that is how your web server is set up.

935 Name: Anonymous : 2007-08-23 20:26 ID:uvcoAaKW [Del]

>>933 because welcome to 1996. maybe you should get out of the time warp and find a better host/web server.

936 Name: Anonymous : 2007-08-25 23:21 ID:Xl7WLnSv [Del]

i recently changed from the kareha script to the wakaba script and was wondering if capcodes are possible or if i have to edit some code or if i am just missing something, i cant find anything in the config.pl file or in the management tab that would

also, i couldent find any posts that explain capcodes in wakaba so, if this has been answered before, i would love to be pointed in the right direction

937 Name: !WAHa.06x36 : 2007-08-26 00:14 ID:Heaven [Del]

>>936

Sorry, no capcodes. I think some people have mentioned hacking them in, which is probably not that hard, and is anybody wants to post a patch for it, go ahead.

938 Name: Anonymous : 2007-08-26 02:32 ID:Heaven [Del]

this board needs a "wakaba hack" thread imo.

939 Name: Anonymous : 2007-08-26 07:04 ID:Xl7WLnSv [Del]

>>937
yeah, if someone has hacked them in and would care to share? all i managed to do was trash the code when i tryed.. lol

940 Name: Jeremy : 2007-08-26 21:30 ID:Nnf8bFsj [Del]

Looks like I can duplicate the real problem I've been having in both Wakaba and Kareha so it must have something to do with my host.

I install Wakaba (Kareha too)
Everything works fine
Suddenly only the previously generated html pages are accessible, can't upload, admin, rebuild caches nothing, everything goes to a blank page or generic 500 page

I am not sure, but my host might have a script that frequently changes script created files to a different owner than the one running apache.

I've changed all the permissions on the script created files that I can think of to world writeable, directories 777, files 666 but the error continues, but I might have missed a temp file, cache, something buried in the code I don't know about.

Wakaba causes this apache error when I try to upload an image or access admin.

[Sun Aug 26 20:54:45 2007] [error] [client 72.128.52.103] Premature end of script headers: /home/jerblcom/public_html/o/wakaba.pl

Most of the time it just returns a blank page, without causing any error in apache at all.

If my problem is permissions related, is there a line of code that I could insert to change the permissions of all script created files to world writeable from the start, apparently that is how wordpress does it but that is in php so...

Or is it something else that only the gods can figure out and I am just blowing air into the sky. Your scripts are totally awesome, I just wish I could get them to work on my server for longer than 2 days consecutively without a fresh install.

Any help totally appreciated.

941 Name: haiguise (moved from other thread) : 2007-08-27 04:33 ID:Heaven [Del]

I just installed wakaba but, after posting a thread, I get this error.

Software error:
Can't load '/usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib/perl5/5.8.8/x86_64-linux/auto/Fcntl/Fcntl.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib/perl5/5.8.8/x86_64-linux/XSLoader.pm line 70, <FILE> line 3.
at /usr/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 234

What is happening and how do I fix it?

942 Name: !WAHa.06x36 : 2007-08-27 04:37 ID:Z0T+84ak [Del]

>>940

You could try editing wakautils.pl and adding this line before the line return; in that:

chmod 0666,$file;

>>941

Your Perl installation is seriously broken. No idea how to fix it, try reinstalling Perl to start with.

943 Name: !WAHa.06x36 : 2007-08-27 04:38 ID:Z0T+84ak [Del]

>>940

That is, before the line return; in the function write_array.

944 Name: Jeremy : 2007-08-28 22:57 ID:Nnf8bFsj [Del]

I'm excited, because your advice sorta helped, so, for the rest:

Is there another function that handles certain files like log.txt (i manually set its permission to 666), the files in thumb, the files in src?

Will the script eventually try to delete or change any of these files and run into trouble?

I noticed that the script will try to edit .htaccess (also manually to 666 even though kinda dangerous) when it bans people, are there other files that the script expects to be writeable?

Where does the script put uploaded files before it puts them in src? Could that temporary location be interfering with the script?

The patch you recommended seems to work well, but I am still getting moments where the script dies and then hours later will resurrect itself somehow, whereas before it stayed dead, so this is definitely helping me. I apologize for not finding these things myself, thank you for your help!

945 Name: Jeremy : 2007-08-28 23:09 ID:Nnf8bFsj [Del]

>>944 refers specifically to kareha because wakaba seems to put most things in the dbase, but if wakaba has special files I need to know those too.

946 Name: !WAHa.06x36 : 2007-08-29 13:01 ID:Heaven [Del]

log.txt is written to by release_log() in kareha.pl, that should be easy enough to modify. process_file() writes the file in in src/ and thumb/. I'm not sure where the file is kept before being copied, that is outside the control of the script, and probably up to Apache or CGI.pm or something.

947 Name: Jeremy : 2007-08-29 22:52 ID:Nnf8bFsj [Del]

First, will the oekaki integration work with kareha? If its as easy as with wakaba, maybe I should just stick with what works.

I haven't tried >>946 yet because kareha is working fine with just >>942 and >>943 so I wanted to give it a while to see if it dies again.

Wakaba continues to die, seems to confuse itself a little as it changes wakaba.html in the main directory and 9.html in the res directory back to 644 and then when I manually set to 666, it still returns it back, so I am confused a little. Replies on existing posts work, but new threads give a blank page. Does >>946 apply to wakaba too? What function handles res? Is it still write_array?

948 Name: !WAHa.06x36 : 2007-08-30 06:02 ID:Heaven [Del]

Oekaki integration does not work with Kareha. You'll have to hack it up yourself if you want it.

I think wakaba writes to res through write_array(), and the stuff about process_file() should be the same.

949 Post deleted by moderator.

950 Name: Anonymous : 2007-09-02 02:43 ID:nBQUk1CV [Del]

I have an oekaki board and I got it to save the pictures finally but now they aren't being posten on the actual board, what do I need to do?

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