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/

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?

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