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.
Ok, so please tell me how I can go about firstly: Setting up ImageMagik, and secondly: When I reply to one of my threads when It moves to a new page the permissions on that page change so I cant write to it. Does this mean that whenever a new page is created when the max amount of threads for a page has been reached I have to manually change the permissions?
For your first question, that's not really on-topic here. Go to http://imagemagick.org/ and read their documentation.
For the second, I still don't understand what you're saying. What do you mean by "I can't write to it"?
I mean that when you post at my Imageboard and your thread gets moved onto a new page like 1.html the permissions for 1.html are set up so all users cant write to that file. This happens everytime a new page is created by the user after the max amount of posts has been reached for that page. Does this mean that whenever a new page like this is created I have to be there to set the right permissions?
I think you're confusing users on the board and users on the web server. If the script is making files it can't write to later on, the web server is definitely messed up.
Argh and is there anyway to rectify this?
>>6 talk to the server admins, get them to relax and release the permissions for script-created files.
I contacted my hosts support people and they just told me to try a search engine and that they cant possibly fix stuff like that. I think they tried to blame the script, argh stupid! So without the help of those guys its not possible? Goddamn godaddy.
So Ive been messing about with it and I found that, just after a new thread is created you can reply to it no problem, but then after awhile when you reply it says error writing to res/199342234.html at wakautils.pl, I know this is just telling me my permissions arent set up right but in the time period that you CAN reply to this thread the permissions are exactly the same as when you cant. This is very confusing.
> the permissions are exactly the same as when you cant
What about the owner?
The permissions are 644 when a new html is ctreated by the script, the owner can read and write to the file but not execute and all others can just read, the thing that gets me is why you can write to it just after a new thread is made but cant later on.
The question was, who is the owner, before and after?
Like its the owner of the hosting I guess, which would be me I guess. I can write to the files but other people cant.
"I guess" is no help. You'll need to get an actual list of the files and the specific names of their owners.
Ive been running 2channel like BBS for couple of month and found out the spammer (robot) do not submit messages in case of the word "http://" is banned.
Is there any way Kareha can control forbidden word?
or at least, kareha do not make auto link in a message?
Anything you put in spam.txt
will be forbidden. So you can put http:// in there if you want to go so far as to forbid links entirely. I find that adding <a href="
and <a href='
helps a lot if you're dealing with bots that are dumb enough to try and use HTML everywhere.
Disabling auto-linking can't be done from the configuration, you have to edit the code to remove it.
Although this might seem like a stupid question to ask, I keep getting this error.
Software error:
Malformed multipart POST
This keeps showing up when any comment on the wakaba board is submitted WITH a picture. Could it be permissions or possibly something else?
First guess: Mis-configured Apache. How, exactly, you'd mis-configure Apache to give that kind of error is beyond me, though.
I try to post a reply on a Wakaba board and I get:
Method Not Allowed
The requested method POST is not allowed for the URL /f/wakaba.pl.
WTF?
Most likely Apache is set up to forbid POST requests. The only fix is to ask your admin to remove that limitation. If they don't, Wakaba won't work.
>>16 thanks that will help a lot. made a nessesary amendment.
One another question about management.
Is there any function Kareha keep IP address in each replyied message ?
As I need to kick out screwed people in the thread, i am hoping that I can find the function but I could not find it.
Please advise
The IPs are stored encrypted in log.txt. admin.pl
can show IPs, but isn't actually set up to do it by default. To make it do that, edit admin.pl
and change <var $masked_ip>
to <var $ip>
. I'll try to make that part a bit simpler in a future version.
Is there a way to disable tripcodes?
I can't find any license information in Wakaba. Can I use parts of the code in a GPL project?
s/Wakaba/Kareha
Thanks that worked!
If I would like to have textra area for stable size what should I do?
Does it disturb the program to change following part
<td><textarea name="comment" cols="64" rows="5" onfocus="size_field('<var $formid>',15)" onblur="size_field('<var $formid>',5)"></textarea></td>
to
<td><textarea name="comment" cols="64" rows="5"></textarea></td> ?
>>28
That should be fine. I can't think of any reason it wouldn't work.
Yes, that should work fine.
Thanks for many kind advise.
Well, it's about manage problem but someone knows how to change
moderators name colour in BBS ?
I've changed config.cgi
use constant CAPPED_TRIPS => ('!hogehoge'=>'<font color=#FF0000>★webmaster</font>');
but after I made a change, it turned out rest of all messages
changed to red color which I did not meant to.
All I need to change is webmaster and moderators name color as to
show users know I am the real manageing person.
If someone knows how to modifiy the program please advise.
Thank you so much.
That looks about right, as long as the '!hogehoge' is replaced with the actual output from the trip (like '!WAHa.06x36' for me). I'd put quote marks around the color argument to be valid XML, though: <font color="#FF0000">. Otherwise I can't think of why it wouldn't work, unless you forgot </font> or something...
On my FreeBSD box, regular tripcodes (#) don't work, but secure tripcodes (##) always stay the same. What the heck is up with that? If I have to install perl libraries, that would be fine with me.
Oh, right, I've heard of that... Some of the BSDs use a more secure algorithm for crypt() by default, meaning they won't produce the expected output. There is some flag somewhere that will turn this off, but don't ask me what it is. Try Googling for problems with crypt() under FreeBSD.
>>33 it was simple mistake. quote marks worked ! Thank you : )
I see text laying on top of of the background on IE with 2-channel design.
Is there any way I can fix this problem?
Firefox looks better but still the page is slightly crooked to the right.
It's really strange but sometimes happen and sometime doesn't
Screenshot as follows
http://www.no1game.net/images/bbs.gif
Thank you
Ive found
1) access http://www.no1game.net and then Click the BBS URL
it get screwed. However it get fixed after reloading the page.
2) but if I access directly to http://www.no1game.net/bbs/
the page looks fine.
Hmm, that is very weird. It seems a lot like it's a bug in IE... I've never seen it before, but I don't use IE either.
Also, if you find any errors in the Japanese strings I used, tell me about them, and I'll put in fixed versions.
It works fine in my IE, though...
>>38-42 Thanks for taking a look at my problem.
yes, I bet it's depend on each person's enviroment but
majority of Japanese people uses IE5-6.0...
Sometimes it's ok but sometime doesnt't its really strange.
So I need to take a look at it little more closely.
By the way, if you have plan to update the script
it would be nice to put function that refuse posting from certain IP address control and delete function using the check box form.
It would greatly decrease management time for website.
Anyway thanks mate!
If you can figure out what causes it, I'll try to include a fix. Right now I can't test it, though, since I use a Mac and can't run IE.
There is a script for deleting posts and such. Copy admin.pl
out of the extras/
directory. If your webhost uses Apache as a server, you can ban people by hand by adding lines like Deny from 123.123.123.123
to a .htaccess
file. I might add some code to do that automatically from inside the script in the next version.
>>35
There isn't a way to make the bsd trips the same as other unix trips, because bsd uses MD5 for their crypt and *nix uses DES. If you change it, your user's passwords will then be DES'd and not MD5'd.
>>45
crypt_default in auth.conf sets the default for crypt().
passwd_format in login.conf sets what is used for user's passwords.
my bad, I guess searching google and the handbook failed-x me XD
in wakaba 3.0.4, i don't see any css, any ideas?
>>48 link to the board; and did you copy over all the files, including the folder called "css"?
Did you run wakaba.pl from the command line at any point? Or did you move it without rebuilding caches? In either case, you need to manually go to http://.../wakaba.pl?task=admin and rebuild caches.
>>49
>>50
http://kompak.mine.nu/wakaba
WARNING NSFW
Yeah, it's set up right, i copied everything over and made sure it's all 755, and have tried rebuilding caches several times.
Just a big FYI for everyone in this thread:
I was having some 500 Internal Server Error issues, and I was sure everything was right. However, in apache.conf I had to change cgi-handler to cgi-script in the <Directory > config for that particular directory. This is on Apache 2.0.55, and probably just some change in config-file syntax. If you're in dire straights, do everything the wiki says, substituting cgi-script for cgi-handler.
Hope that helps someone.
Testing in Firefox, I get the error:
> Error: The stylesheet http://kompak.mine.nu/wakaba/css/gurochan.css was not loaded because its MIME type, "text/plain", is not "text/css".
> Source File: http://kompak.mine.nu/wakaba/
> Line: 0
Apparently it won't load stylesheets with the wrong MIME type in ultra-strict mode. I guess you should either add that MIME type, or turn off the XHTML stuff (in both config.pl and .htaccess).
Okay, I'll configure a new mime type when I get around to it then, thanks.
Well, it doesn't seem to want to let me into my own management panel, even though I type the exact password from config.pl
It gives me Error: Management password incorrect.
How can wakaba be configured to run a flash upload board ala 4chan /f/?
Usually people just enable the SWF filetype and leave it at that.
I am trying to set up Kareha and I want to have multiple boards. Am I supposed to just duplicate the kareha directory for each board I want, or is there a more logical way of doing it?
Pretty much. If you want to be fancy, you symlink most of the files except config.pl
and anything else you've edited, to make updating easier.
hmm, might be a css arror...
firefox 1.5, karaha; permasaged threads's [del] butons are apprearing too far to the right, off the gray part of the thread.
Ive been using kareha 3.0.9 about a month and found some problem.
As it seems some people do not reload the page after posting a message, they tend to post duplicate messages again.
If we can force them to wait few minutes to post another message
I think it would be okay.
Does anyone knows how to cope with this ?
How do I ban people in Kareha exactly?
You don't. You can, however, ban them with Apache by adding lines of the format Deny from xx.xx.xx.xx
to your .htaccess file. Or you can try applying the changes listed in http://wakaba.c3.cx/sup/kareha.pl/1124340406/ to add banning functionality. I'll probably try to roll some of that into the next version, whenever I get some spare time to work on it.
Can you ban them from posting but still let them browse the board?
I'm getting this.
This board has not been configured yet.
Things you need to do to get the board running:
Can I've done the first. Can someone please tell me exactly what I change on config.pl and what do I change it to?
If you're getting that, you haven't done the first. Otherwise, you'd be getting a different error.
But I did do the first. Unless I did it incorrectly. The folder looks like this now.
The threads show up on the main page, but not the actual post itself. Whats going on?
If you mean REPLIES_PER_THREAD, no, its at its default of 10.
Did you modify the templates at all?
The front page is being generated with the correct number of posts, but the posts only consist of a bunch of spaces. What exact changes did you make from the base install?
I copied the mode_message stuff into the folder and edited the config.pl file.
Its something in the config file, I copied it again and its working.
Weeeeird. Well, as long as it works...
Software error:
Bareword "SECRET" not allowed while "strict subs" in use at captcha.pl line 115, <FILE> line 4.
BEGIN not safe after errors--compilation aborted at captcha.pl line 148, <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.
What's this?
Your installation is still broken.
2 Kareha Questions:
1) Is it possible to remove the Board Look section and just make it use Futaba style?
2) Is there a place I can define what html tags are allowed? It would be cool if I could allow people to post things like google or youtube videos directly on the board.
Your installation is still broken.
Obviously. Any idea how or why, or how to fix it?
>>82
1) remove this from templates.pl:
<div class="adminbar">
<loop $stylesheets>
[<a href="javascript:set_stylesheet('<var $title>')"><var $title></a>]
</loop>
-
2) set ALLOWED_HTML in config.pl:
use constant ALLOWED_HTML => (
'a'=>{args=>{'href'=>'url'}},
'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
'em'=>{},'strong'=>{},
'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
'p'=>{},'br'=>{empty=>1},'blockquote'=>{},
)
>>84
oops, i was a little careless with my copypasta... leave the <div class="adminbar">
line in.
Do it over. You've obviously got files all mixed up.
Hi, everytime I run wakaba.pl I get Error: Could not write to directory.
I asume it means it cant make wakaba.html can anyone help me fix this?
Fix permissions. See the docs at http://wakaba.c3.cx/docs/docs.html for more info.
Short version: set the directory permissions to 777.
I tried kareha message and image mode versions.
I liked message mode better, but:
I would like to have some functionalities of image mode in the message mode board. For example: password for user post deletion.
in the message mode board, all posts have a [del] link, and i guess you can delete your own messages based on a cookie? I prefer the password because of users that connect from different machines...
Also, I can't see any admin link in my site. check it out: http://www.pixelorama.com.ar/messk/ and if I type kareha.pl?task=admin I get a "Script error; no task speficied."
For Kareha, the admin script is a separate script that you can copy out of the extras
folder. If you want passwords, you can hack them yourself, but I most probably won't do it for the main distro because it's a bit too inelegant. (You basically need to change the password form fields in the template from type="hidden"
to type="password"
.
Software error:
Insecure dependency in `` while running with -T switch at wakautils.pl line 1073.
I am getting this error when attempting to post in my Imageboard
Uh, you should set up your server to stop running perl with the -T switch.
I have no idea why it'd do that in the first place, so don't ask me.
How hard would it be to make Kareha run with Perls taint checks?
Dunno, I never actually bothered to learn how to deal with taint checks properly, so I never bothered. I did try to read up on it and it sounded like more annoyance than it was worth, so I never did anything about it.
I have some kareha boards set up on my site, and there is something about it thats really annoying me, and I'm not sure where the problem lies. I keep seeing old, outdated versions of the board, unless I hit the refresh button in firefox.
For example, I can go and make a post on my board, close firefox, then open it back up and load my board, and i wont see the post I just made unless I refresh. I've never noticed this problem on any other sites or boards.
You need to set up Apache to tell browsers not to cache pages. Rename example.htaccess
to .htaccess
to do this - however, it will only work if mod_headers is loaded on the server.
>>95
you could try changing the #! line to:
#!/usr/bin/perl -t
and then adding this line after it:
no warnings qw(taint);
lol it works now, the problem was that the -t in the hash bang was a capped T, after I made it lowercase it worked.
There is now another problem. The script is not creating the reply pages needed. e.g /res/1.html does not exist.
I can't get my kareha or wakaba boards to convert images to thumbnail, so I'm currently using stupid_thumbnailing
I have ImageMagick installed and it works fine from cmd.
Any suggestions?
Yes, post in the right thread.
Apart from that, what OS?
>>106
Sorry :(
Windows server (WAMP5
+ActivePerl
+ImageMagick
)
:-/
btw, "install linux" is not a very good asnwer for me...I've heard it a hundred times already T_T
...I know there is a way to get this to work on windows...I'm just an internet noob I guess :-/
Any healp greatly apprecieted :3
Running on Windows seems to lead to random and difficult to track down problems. Good luck with that.
http://wakaba.c3.cx/docs/docs.html#RunningOnWindows has some hints, and maybe there are some others if you dig through the board, but beyond that, I can't really say.
I would like to place ads on my kareha board. They are text ads and are generated from some javascript code. If I put it in one of the include files though, it doesnt appear on the board. Normal text that I place in there shows, but the text from the javascript doesn't.
This is probably because they are google ads, and don't allow stripping out newlines, which the template code does by default. There's an option in config.pl to turn this off, but I forget the name. STRIP_NEWLINES
or something.
Why it strips them, or why Google ads won't work? I don't know about the latter, but the former is because Kareha needs posts on a single line, so I designed the template engine to strip them (because I did not exactly feel like writing templates on a single line), and so that behavior carried over into other places where it wasn't strictly necessary, but didn't really hurt either (except for breaking the Google ads).
Using debian, I get the following after trying to create a new database using sqlite.
hanzo# ./wakaba.pl
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: admin(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: admin(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: proxy(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: proxy(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: comments(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
[Thu Apr 20 23:59:12 2006] wakaba.pl: DBD::SQLite::db prepare failed: no such table: comments(1) at dbdimp.c line 269 at ./wakaba.pl line 1802, <FILE> line 3.
Status: 303 Go West
Location: wakaba.html
Content-Type: text/html
Do you get that repeatedly, or only the first time? If the latter, that's perfectly normal. If the former, try running the command-line sqlite tool to see what's actually in the database.
PS: This thread exists.
So...is there anyone running on windows that might be able to help me with thumbnailing?
I've tried looking at the problem myself, but to be honest, I don't really know a lot about perl. I can get convert
to execute, so ImageMagic isn't the problem. I'm just so confused :-/
Any help at all would be greatly appreciated.
(I read #RunningOnWindows over a few times...it doesn't help me, since perl is in the right dir and imagemagick works.)
>>115
If you got Q8 like "RunningOnWindows" recommended, try getting Q16. I /think/ that's how mine started working, but to be honest, I have no idea why anything at the beginning of the entire setup process was as difficult as it was or even started working.
I have made several other wakaba and kareha boards without any problem on Linux systems. However, I recently moved to a new server that uses Windows Server. I had several issues that I already sorted out (DBI wasn't installed), and now there's only one left. When I try to access the management panel, it hangs for about 2 minutes and then says:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
I don't have administrator access, so I can't easily get more information, but I will try.
Any clues?
Can you post to the board? Sounds a bit like it locks up at some point and then times out, probably when trying to access the database.
Man, I have no idea what's going on there. I suggest you follow the program flow for the login procedure, and put in die
statements along the way to see how far it gets before it locks up.
What is it in wakaba's .htaccess that causes this to happen:
http://imgboard.eleochan.org/statistics/
I noticed that when I removed wakaba's .htaccess this didn't occur when static stats pages were generated (with both awstats and webalizer). Since I suck at .htaccess I figured you'd be able to tell me what I can remove/edit without messing everything up.
Wakaba is currently installed to the root folder so it's imgboard.eleochan.org/ so don't really have options as to where to put /statistics instead.
I'm so sleepy.
>>120
I did as you suggested, here's the line of code that is causing it:
print "Status: 303 Go West\n";
in wakautils.pl
when I told it to die just before this, it died properly
when I told it to die just after, it gave the original error, but no long pause
It's fixed
but I had an odd little problem
I changed ALTERNATE_REDIRECT to 1 in config, but it didn't actually use the alternate redirect
so I changed the code in wakautils.pl to force it to use it, and now it works
Thanks for pointing me in the right direction
.htaccess is set up to send files as application/xml+xhtml
when the browser supports it, which causes the browser to parse it much stricter. It looks like you edited the template and broke the <!DOCTYPE
statement.
Oh yeah, I remember now that ALTERNATE_REDIRECT
is sometimes needed on Windows machines. But I'm not sure why it won't use it properly. I'll look into it.
>>124
Nuh uh, I didn't do anything to the template.
I had to comment out the last block from wakaba's .htaccess
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
Oh wait, I misunderstood what was happening. The web statistics tools don't generate valid XHTML, so when Apache tries to send them as application/xhtml+xml
, Firefox activates the strict parser and breaks.
I guess the simplest solution is to just comment those lines out like you did.
Oh okay I get what's going on.
I have two questions. How much does bandwidth does kareha use during peak usage? And also, is there any way for me to change the thread list at the top of each page so that it displays in a table, like on world4ch?
>>128
4-ch goes through about 5-15kb/s, that's anywhere from 240MiB to several Gb per day. We average it out to be close to 1GiB a day*.
If you just want a to put each entry on its own line, you can add a display:block
to the a
elements in the thread list in the CSS files. I forget where exactly... threadbox a { display:block }
maybe.
If you want an actual table with with more data, you'll have to edit template.pl
to do that.
>>129
How many unique users do you have? I'm betting I won't have as many unique users as 4-ch for quite awhile, so the best way I could approximate how much bandwidth my board would use is if I knew the average bandwidth used by each user, or maybe per hit.
>>130
Thanks, now I understand. By the way, congrats on the new version!
Thanks for answering these questions for me!
is there a way to make a link to web pages that have some name in front of it like:
<a href="example.com" >example sight</a >
that results in a the text "example sight" to be linked to example.com?
Click "More options..." and pick HTML formatting.
I've done everything, installing Perl and Apache, fixing the Hashbangs (though I don't get how you're supposed to set permissions to 755, as I can't understand anything on the Kareha Quickstart page). Still, it does not work, nothing does. I've read through the documentation time and time again and I personally don't find it detailed enough; it's confusing and I think I'm placing the wrong files in the wrong directories. I've been at this for a week now, as I'd like to get a Kareha-site up and running for a few mates of mine.
So, is there a more detailed walkthrough on setting up your own Kareha image board? Or am I to keep trying to decipher the documentation? Thanks.
First off, use this thread for support requests.
Second, unless you tell us what problems you have, there's not much we can do to help. Setting up Kareha itself is a very simple task, and there's not much need for a walkthrough. The trick part is usually getting CGI scripts working in the first place, if you're installing a server from scratch. Guides for how to do that are available elsewhere on the net. I don't have any good links at hand, though, but Google will help, and maybe somebody else could mention a good guide?
Also read the 500 Internal Server error thread for hints: http://wakaba.c3.cx/sup/kareha.pl/1109033191/ - especially post 4. Try to get the test program working first. Only when that works should you start installing Kareha.
Ok, I know that to install wakaba i need either a server or a host. Only problem is I have a server and i dont know how to go about installing wakaba. Im new to this and need some help.
wakaba.zip
.config.pl
(The SQL_
options and ADMIN_PASS
at the very least).wakaba.pl
(and maybe captcha.pl
) to 755, and the permissions on the directories to 777.i need an over all better description on how to do this exactly. Very precise cuz i have no idea what im doing but i want this to work its causing me to lose sleep.
Then I think you'll be better off looking for a general tutorial on how to run CGI scripts. When you've got that down, the rest is easy.
Ok, I'm having a problem in my wakaba. I have uploaded it to my host but whenever I post anything I have to hit F5 to refresh to see my post. I tried uploading and renaming example.htaccess to .htaccess but it still doesnt works, any ideas?
Forgot to say, Im using Firefox
Im sure it has to be something about Firefox keeping info on its cache, because when I delete all the info thats there I see all the messages I posted without problems...
Well, it caused an 500 Internal Server Error... I guess i'll have to change my host or ask them to install that mod...
Anyways, thanks for your help!!
>>144 is already in example.htaccess, but wrapped in <IfModule> so it won't 500 when the module isn't installed. And yes, what you need to do is ask the host to enable mod_headers.
Why can't you just use "Cache-Control: must-revalidate"? The rest are just repetition of that and won't even use If-Modified-Since.
likely just backups to make sure it works on all browsers?
>>149 is close to the truth. It's there to ensure it works on all browsers and all proxies.
RFC2616 is nice, but we're dealing with numerous different products here.
any good sources related on learning cgi scripts?
I'm having an odd problem with Kareha 3.1.0's captcha system: I keep getting the same captcha image repeated, but after the first time, entering it returns "wrong verification code entered". Reloading the image, clearing the browser cache, or disabling caching does not solve this--but deleting the captcha cookie does. Any ideas?
That is very strange. I really don't have any idea what's going on. After deleting the cookie, does it work once, or several times?
I had wakaba running on one server and worked perfect, but now i'm migrating to another server and when execute the wakaba.pl in the server log I get errors like:
ModPerl::Registry: Bareword "SQL_TABLE" not allowed while "strict subs" in use at
And the output of the code, the page, says that can't connect to the sql database (I'm using sqlite).
Any clues of what can be happening? Thanks.
You're using mod_perl, which isn't supported yet.
So what i must use in the server for handle this perl scripts?
I can change the configuration of the server.
Just the usual Options +ExecCGI
and AddHandler cgi-script pl
. Somebody correct me if I misremembered those lines as usual.
Thanks :)
Now the board, the execution of wakaba.pl, works fine, but when i try to upload a new picture i get this error :S
Constant subroutine main::S_HOME redefined at /usr/lib/perl5/5.8.3/constant.pm line 108, <FILE> line 5.,
I need to change something more?
Sorry for double posting but i can't edit the anterior message, and the end of this types of error also say:
wakaba.pl: CGI.pm: Server closed socket during multipart read (client aborted?)
>>154
Just once.
I don't get it either. As I understand how the captcha script works, it sounds like the cookie for a new image is being set, but the old image is still being cached and displayed. But that doesn't explain why clearing the cache does nothing, nor why clearing the cookie allows a new image to load.
Maybe my ISP or webhost is doing some sort of stealth caching. I'll look into that.
You have a wonky Apache setup, it sounds like, but I'm not enough of an Apache hacker to say what's wrong.
I've searching and seems to be that the GCI module has a bug since the version 3.15, someone can say me what verion of the module you're using.
The bug report is this http://rt.cpan.org/Public/Bug/Display.html?id=18677
You should rebuild caches.
Note the use encoding "shift-jis";
at the top of strings_jp.pl
. You should change that to whatever encoding you used for that file, which may be different from what you use on the actual board!
Oh, and also note the no encoding;
at the end.
Hi, getting a problem with installation; I get a 'forbidden' error, and when checking logs get this:
[Thu Jun 15 18:37:01 2006] [error] [Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] INET.pm: Can't locate IO/Socket/INET.pm in @INC (@INC contains: . /usr/home/builder/pb_work_dir/plesk7.5.4_hotfix4_7.5.4/psa/release/dist/usr/local/psa/apache//site_perl/5.00503/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/psa/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/psa/apache/ /usr/local/psa/apache/lib/perl) at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: [Thu Jun 15 18:37:01 2006] wakautils.pl: BEGIN failed--compilation aborted at wakautils.pl line 461.\n[Thu Jun 15 18:37:01 2006] kareha.pl: [Thu Jun 15 18:37:01 2006] templates.pl: [Thu Jun 15 18:37:01 2006] templates.pl: BEGIN failed--compilation aborted at templates.pl line 3.\n[Thu Jun 15 18:37:01 2006] kareha.pl: BEGIN failed--compilation aborted at /usr/local/psa/home/vhosts/xxxx.net/httpdocs/kareha/kareha.pl line 14.\n
(host edited out).
I have no access to /kareha/ as it says it's "blocked by rule." unsure as to how to change this :x.
:( ty
That's very strange. I have no idea what would cause that. For rules.html, hmm... That might actually be slightly broken. I'd have to investigate that too. If you have a program to convert a file to use HTML entities instead, that should work, though.
Your Perl version is ancient. Wakaba used to work on 5.005, but recent developments have apparently broken it (I don't have anywhere to test it on old versions any longer).
Either upgrade your Perl, comment out the function that uses Socket::INET (it's not important), or wait until I fix it. That might take a while, though, as I'm pretty busy with several things.
Nobody else have problems with CGI.pm?
Can't locate Encode/ConfigLocal.pm in @INC (@INC contains: . /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at /usr/local/lib/perl5/5.8.6/mach/Encode.pm line 52.
Please send mail to this site's webmaster for help. Content-Type: application/xhtml+xml; charset=utf-8
Is the error I get whenever I create a new post or a new topic.
Thanks in advance. :)
looks like your perl installation is broken.
What >>177 said.
I have a bit of a baffling problem: I've used Wakaba successfully with oekaki, but now I need to move it to a different directory. Upon doing this, I receive "File does not exist" errors in the error log, and the paint applet refuses to load. Is there a path somewhere in the configuration files I'm forgetting to set? Nothing of relevance seems to be in the oekaki config files.
Moving the folder back to where it was fixes the problem. The simplest "move" - renaming the directory and rebuilding caches doesn't work either. Thanks for reading.
You probably just need to rebuild caches. The Manage link will point to the wrong place too, so fix it manually.
I'm sorry I wasn't clear - rebuilding caches fixes everything but the applet loading. The error log looks for the jar file in the right place, but reports as not being able to find it.
Most mysterious. Link?
hi, i am running wakaba from the last version under lighttpd 1.4.4 perl 5.8.8.
when i'm trying to post a new thread via the wakaba.html form, it forwards me back to the wakaba.html page, without including the new thread.
tried to delete the wakaba.html to see if the wakaba.pl will create a new one, no success.
thx :]
You need to get lighttpd to tell the browser not to cache the pages. Also, a reload should show the new thread.
ok, i have switched to apache 2.2, and still the post i tried to submit refuses to appear in the wakaba.html page. maybe i should change the wakaba.html permissions to 777 so the webserver could write the new topic into that page?
Did you try just reloading the page? If the script can't write to the file, it will complain.
i tried, no change. it seems like the HTML page sends the POST details to / (or /wakaba.html) instead of /wakaba.pl.
another thing I've paid attention to (a bug?), is the need to write your admin password in the url bar (the form sends a rhandom password)... not so secure imo :S
you can see the problem at http://69chan.ath.cx ...
thanks again :]
The page isn't built right - did you run wakaba.pl from the command line? That will break the page. Also, going to http://69chan.ath.cx/wakaba.pl gets you an SQL connection failure so it wouldn't work anyway. First, fix your SQL settings, then go to http://69chan.ath.cx/wakaba.pl?task=admin and log in and rebuild caches. Also, the admin password is encrypted in the URL bar. This is normal.
okay, i changed the permissions so the webserver can create the wakaba.html and i have fixed the sql settings... everything works now, thanks alot! ^_^
I tried to rebuild cash but I got the message like this.
Untile today it did not happen to us.
Out of memory during "large" request for 1052672 bytes, total sbrk() is 28467200 bytes at wakautils.cgi line 973.
I am using kareha 3.1.0 at http://www.no1game.net/bbs/index.html
Is this something to do with setting ?or do I have to try other
method to cope with ?
Wow, that's a weird error message. The line it occurs on does nothing that I can image would cause that kind of error.
Lacking any other clues, I'm assuming something is very broken on your server.
Thank you very much !WAHa.06x36
well,,, I see file like _Xafeafavae.dat in the same directory of kareha.cgi which I've never seen before....
I bet the html files in res directory is broken but dun know how to tel which is bad res and which is not...
It seems the strange name .dat file comes up when I click the Rebuild cash. sorry multiple reply
When Kareha saves files, it writes them to a file with a random name ending in ".dat", and then renames it to the real name, to avoid destroying files if it runs out of space while writing. However, on your system, the rename function crashes with that error. There is nothing in Kareha that could make that happen. It's not your config or the res files. Something much more serious is wrong with the server.
ok thanks for the advise.
So far, I dont have problem beside that and as the server is not my own I guess there is not much I can do for it.
Well I appriciate your kind advise, your adivse released my from mining the res files. (^^;
Hello, I seem to be having a problem getting the title image to display on my imageboard, i am pointing to the right file on my server but no title image appears only the actualy title.
Did you set both the title image URL and the title mode? It's been ages since I used that, I can't remember what exactly it should be, but the config.pl comments should say something.
I'm having difficulty running Wakaba, specifically getting wakaba.pl to follow through properly. specific error is:
Invalid [] range "}-\x" before HERE mark in regex m/([\x{100}-\x << HERE {ffff}])/
Compilation failed in require at futaba_style.pl line 3.
BEGIN failed--compilation aborted at futaba_style.pl line 3.
Compilation failed in require at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.
BEGIN failed--compilation aborted at /kunden/homepages/12/d160583925/htdocs/wakaba/wakaba.pl line 19.
Hmm. Your could try copying wakautil.pl from Kareha, and see if that works better.
o shi-
it worked, thx ( ^_^)
I changed the text in include/rules.html, but the board still say
"You should probably put some board guidelines in this file - include/rules.html."
What can I do?
Did you rebuild caches?
The average thread length is a lot higher on first board. Same number of posts, but fewer threads.
Hello,
I need to be able to display a picture when someone has been banned from a board, is it possible to redirect the banned person to a new page or just put an image up in the place of the Banned string?
You should be able to put any HTML you want in the banned string.
I am having problems setting up the oekaki script with wakaba, im not quite sure what you mean by "set the URL settings in oekaki_config.pl" i get a 500 internet server error btw.
500 Internal Server errors are never caused by scripts themselves (except for the hashbang on the first line), but by configuration errors. See http://wakaba.c3.cx/sup/kareha.pl/1109033191/.
So, I've never done anything like this before, but got a Dreamhost account for super-cheap recently, and figured it might be fun to but Wakaba on there. Things seem to be going fine, if somewhat still over my head, but when I tried to load wakaba.pl in my browser I get this software error:
No ADMIN_PASS or NUKE_PASS defined in the configuration at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at config_defaults.pl line 120.
Compilation failed in require at wakaba.pl line 17.
BEGIN failed--compilation aborted at wakaba.pl line 17.
Any advice?
You need to edit config.pl to actually configure the script.
I got the same error, and my config file is configured!
did you remove the # in front of the changed lines?
There is no easy way to do this.
>>218 Besides just being safe and making all boards have different passwords, which is more secure anyway.
There are a couple of options for the banning that you can edit. Something like ADMIN_BAN_FILE
, I forget exactly.
I get a 404 Forbidden error when opening wakaba.pl directly
I don't know if i'm supposed to do something like make a html file, or anything. i've already created the mysql databases and set up config.pl
anything i can do?
>>224, you mean 403?
Check out your .htaccess to make sure you're not killing referrers, and make sure permissions are correct (775)
Actually, I got everything working somehow. Thank you though :D
I'm trying to set up wakaba on a home test server before going live on the web. My problem: When I access wakaba.pl through Firefox, It pops up the download manager asking to save or open it.
Using:
Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_perl/2.0.2 Perl/v5.8.7
I have permissions for .pl files set to 755, along with directories as needed.
I have a simple Hello World in the same dir as wakaba.pl that runs fine from a browser with proper headers and everything.
Suggestions?
What's in the Hello World script? Also, what's its name?
>>229
My file is hello.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";
I can't get archive mode to work.
My config file says
use constant TRIM_METHOD => 1;
use constant ARCHIVE_MODE => 1;
use constant ARCHIVE_DIR => 'arch/';
But, even though old threads are being cleaned up, there is nothing in my arch/ directory. I double checked permissions and they are 755. What am I doing wrong?
I can't seem to figure out what the "link" and "parent" fields do. Can anyone tell me?
>>231
Does you arch dir contain res, src, thumb? Are all of them set 755?
If that is all true, have you tried with mode 775 on arch and all subdirs?
Man, I really have no idea. As >>232 suggests, sometimes Apache might be setup to run .cgi files but not .pl, but if your test file is named .pl, I really have no idea what's going on. What's in the file you end up downloading if you go to wakaba.pl? If it's the Wakaba Perl source, it's an Apache issue...
Link should be obvious, no? Parent is only for admin posts. You put the number of the first post in a thread there if you want to make an admin reply in a thread.
>>235
Those were both me.
1) It is the source, so I'll have to mess with Apache sometime.
2) Yeah, I figured links out shortly after I posted that. Thanks for the explanation of parent though.
>>234
No :( Manually created my arch folder when I decided I wanted to archive. Didn't remember they were in there and didn't think it would be necessary to recreate them. I'll see if it works now.
Hey guys.
I'm having difficulties with Wakaba. I had some problems with using the wakaba.pl(because of misconfigured httpd.conf), but it works now. When I access it through a web-browser, it loads a bit and adds stuff to the MySQL database. Then it says:
"Not Found
The requested URL /wakaba/wakaba.html was not found on this server."
Could someone tell me what am I doing wrong, or is it just a bug?
Go to http://.../wakaba.pl?task=admin and rebuild caches.
Hello, just want to know how do i change or remove the style list at the top right of the page. And also how do I stop the "mailto:" email link from appearing after a poster puts an address in the Link field, i just want it to display the link to a webpage. Thanks
So, could someone tell me what is the admin password for that http://.../wakaba.pl?task=admin page? I've tried the password that I wrote to the config.pl, but it didn't work. I've also tried a blank password, and it loaded the page but didn't make any difference to the situation.
Thanks in advance.
Oh, I got the rebuild caches thing working, but it still says the same:
"Not Found
The requested URL /wakaba/wakaba.html was not found on this server."
Management panel works, so the only thing that doesn't work is this. Any ideas how to fix this?
To remove the style list, edit the template to take it out. Alternatively, deleting files from css/
will get you a list with just one entry. Also, mailto: is only added if the link field has no other protocol prefix. If you put in a link correctly as "http://...", it will link just fine.
Can you check if the file really does exist? Also, is there no error when running Rebuild Caches?
Alrgiht here's my problem. I followed the documentation of installing and configuring wakaba to the letter, and I'm still having issues.
I'm running Apache+PHP+MySQL through wampserver5 and that's all well and good.
I've installed ActivePerl and ImageMagic Q8 Static.
I've modified my httpd.conf to have
Options +ExecCGI
AddHandler cgi-handler .cgi .pl
for the / directory and restarted Apache.
I've changed the hashbang to #!perl as I'm running windows.
And it seems that when I navigate to http://localhost/wakaba/wakaba.pl it treats it as a text file.
I tried the following instead, for httpd.conf:
Alias /b/ "e:/misc/site/wakaba/"
AddHandler cgi-handler .cgi .pl
<Directory "e:/misc/site/wakaba">
<Files *.pl>
SetHandler cgi-handler
</Files>
Options -Indexes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
And then navigate to http://localhost/b/wakaba.pl and still it treats it like a text file... Is there anything I'm missing or failing to see here?
I just tried modifying the httpd.conf again, this time to
AddHandler cgi-handler .cgi .pl
<Directory "/wakaba">
Options -Indexes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
and it is still a no go.
I also tried creating an .htaccess with
AddHandler cgi-handler .pl .cgi
Options +ExecCGI
And it is the same result.
In order for .htaccess to work, you need "AllowOverride All".
Well I moved everything to my web hosting, and now it says 500 Internal Error no matter what I do.
I've CHMOD'd wakaba.pl to 755, uploaded in ASCII and my .htaccess now looks like:
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI
DirectoryIndex wakaba.html index.html
That should probably be "+ExecCGI", but first of all, look at your error_log to see what it's complaining about.
The HTML file was made properly, but I can't save any threads.
Is it possible to pin threads in Kareha? i'm looking around in admin.pl and haven't seen that option.
Is it possible to modify the script so i can post as ##mod???
Alright. So I gave up on Wakaba. I don't know why but it apparently hates me. I got Kareha working, but I am wondering if I can revert it's reply styles to Futaba/Futallaby type, where even when a new thread is made, it will make the RES number as the last post on the board, like 4chan.
ie.
Someone starts >>4
A reply is made, it is >>5
Someone starts another topic, and it will be >>6, not >>1
No, there's no such option. It'd take extra code to implement, and it's really just a cosmetic feature, so I didn't think it was worth bloating the code for. It's very strange that you can get Kareha working and not Wakaba, though, because they are very, very similar, except for the use of a database, which shouldn't affect any of what you do. I can't think of any problems that would affect just one.
Maybe you should try Wakaba again from scratch?
Set it to all the ones in the same directory, nothing.
Eh, whatever. I got Wakaba working fine. How can I make every HTML file generated contain the javascript for my StatCounter?
Use the files in include/
, or edit futaba_template.pl
.
I have a question but I am afraid it is not completely simple. I apologise if this is the wrong place to ask.
I use Wakaba 3.0.4 and am trying to figure something out.
On my board a user posted an image with no comments but every post after his, all the text of the page, except the comments of each posts is reversed. All the HTML after the image is reversed too when you click view source. If this is hard to understand take a look at the page.
http://www.ko-chan.org/b/1.html Post #2181
It's due to the wonders of Unicode. There is a character that changes the text direction. It's not obvious what to do to prevent people from abusing it.
I recommend just deleting posts that do, for now.
>>263
Thanks, I edited it out of the post in the database.
Not that the post was worth saving, but I wanted to see if it was possible.
I don't know why my server was freaking out before, but Wakaba is working now. Is there any way rib myself of the image verification to post?
>>265 Sure, there's a line in the config.pl file (actually a whole section) called "CAPTCHA". Just disable it there.
Software error:
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/warsworldchan.awardspace.com/wakaba/wakaba.pl line 16.
BEGIN failed--compilation aborted at /home/www/warsworldchan.awardspace.com/wakaba/wakaba.pl line 16.
What does this mean? Thankss
You didn't upload all the files.
Basic problem: When i submit a picture to my wakaba image board i want the site to be redirected to a URL that i specify. And not back to its original URL.
Example, If I have my imagine board on the URL http://somesite.com/bubblegum/wakaba.html and after i click the submit button, i want the picture posted (duh) but i want the site to go to http://somesite.com/home/index.html
Can anyone let me know what files i need to edit to make this so?
The forwarding statement is at the end of the post_stuff
function in wakaba.pl
.
Also, please use http://wakaba.c3.cx/sup/kareha.pl/1141929669/.
I don't know how, but it seems like http://shanachan.konosutekinabasho.net/cosplay/res/2267.html#i2746 temporarily broke the cosplay board. All of the html pages that are usually in the folder had 0 file size afterwards.
I took the opportunity to upgrade, but still... I'm curious as to what caused it.
I have just installed Kareha on my Linux box to /cgi-bin/k/ and have pearl working fine. I set the permissions in ALL my directories to 777 and yet, when I try to run http://127.0.0.1/cgi-bin/k/kareha.pl I get:
Software error:
Couldn't write to file "index.html" at wakautils.pl line 985.
what's the deal?
Yeah. I have plenty of disk space. And I set 777 permissions to all folders and files.
>Sure you didn't just run out of disk space?
First thing I considered when I saw it... but it's dreamhost, man. It's near impossible to run out of disk space. (Control panel says 368.684/25120 MB (1.5%) )
Though, I suppose it's possible that dreamhost themselves could have ran out of space... but it's odd that none of the other boards on the domain were affected.
You mean, numbering each post in a thread starting from 1? No, but you can run Kareha in mode_image and it'll do that.
Sorry, what I meant were the user ids, like ID:VqDGzUzh.
In Kareha, they can be set to change by thread, but I think I never enabled that feature in Wakaba because it wouldn't work on the first post (because when creating the first post, the script does not yet know what post number it will have).
zOMG! AAARGGHH!!~
Ok, I just spent allot of time bangging my head against my linux box, and finally found the problem.
I didnt have the src/ res/ and thumb/ directories.
Dosnt Kareha/Wakaba make thoes directories it self? Seems like i could...
PHP anyways can run command lines (through exec() for example), and do chmod command on files.
You really need to specify which script you are referring to before that can be answered.
Yours is the only recent one.
You don't need to edit anything in config.pl, just click "More options...". Blinking is done with capped names, and there's no way to do it normally.
mode_image doesn't support this stuff, only mode_message.
There is no option in Wakaba to allow HTML as it is now. If you used Kareha, you could set the markup type to HTML and list embed and the required attributes as allowed (and add a forced attribute to disable the script injection), but Wakaba doesn't support that.
You can try hacking it yourself, but this is not recommended unless you know what you are doing (because you'll probably get XSS vulnerabilities).
Whenever i'm in ie and do more potions it allways shows "undefined" on the dropdown (even on this board) which causes the preview thing to fuck up when you press Preview post (saying: Abnormal reply.)
Is there any way to fix this?
Uh, 3.1.1 should fix the Abnormal reply error, I've just been too lazy to install it here. IE will probanly still say "undefined", but I don't have a machine to bugfix this on, so somebody else will have to figure that out.
Do I need a separate install (config file & mysql database) for each image board?
Yes and no. You need a separate install of the files, but you can use the same database if you change the names of the tables in the config file.
300GET
Okay, short problem. Thumbnails won't show, any ideas?
http://img78.imageshack.us/img78/6343/wakabathumbnailsdy8.png
http://penischan.110mb.com/wakaba/thumb/ <-- They are being created as 0-byte files. This is wrong.
In other words, I haven't a clue. Something with the thumbnailer is fucked up. A first step to figuring out what's wrong might be to dig into the thumbnailing function in wakautils.pl
and putting in die
statements to see which thumbnailer it tries to use.
I see, thanks for your help. It's odd, since I didn't mess with anything except for config.pl.
I suspect it's a problem with the host, somehow.
>>303 It's a free host; I doubt they've got anything installed correctly.
I'm trying to change the file types that users are allowed to upload. using the latest of wakaba. I was told it was at the bottom of the config and all i see is the icons config. I really just need a example of where its at and how to change it, i was on a olf futaba befor this and this is all new to me.
If you add an icon for a filetype, it will be allowed. But earlier you talked about gif, png and jpg, which are always allowed so I don't think you are asking the right question.
I was using that as a example of what i was looking at. In hope that i could get a general direction of where i'm suppost to be at. The file type i want is already in the list under "other files". I tryed uncommenting them but that didnt work, also tryed adding it to the part i showed a example to earlyer and still didnt work. Yes i tryed rebuilding the cache a couple times to
In laymens "I want to add other files to the list of supported files, but i dont know how to go about that, hence why i asked for a example on how"
Well, what exactly happens?
You need to uncomment the lines you want, and you also need to uncomment the initial use constant
line and the { }
block around it.
Ahh see i didnt even notice that the constant was commented out. Now it works. 2nd question, is there a way to turn off the verification? It gets annoying when the pace of the board gets going. Specialy those long ones
Ahh okay, thanks.
I need some help my wakaba giving me this error whenever i click Manage.
XML Parsing Error: mismatched tag. Expected: </meta>.
Location: http://www.xxxx.com/imageboards/b/wakaba.pl?task=mpanel&admin=c1L9l/VznFIM
Line Number 1, Column 1427:
And then it points to the "h" in the </head> tag
I didnt mean to post three times, it said timed out and i just clicked refresh, sorry.
You've added code that is not well-formed XHTML. You need to close all tags, either explictly, or by implicitly by ending them in />.
Also, just click "[Del]" to delete posts.
Yeah i figured out what i did, it was more of a typo then anything. Thanxs again. Also i tryed deleting them i get wrong pass everytime, not that i remember entering a pass
Can you base it on the timestamp? I forget whether you can access the parent's timestamp easily.
No, you can't, because it's not stored in the database as such. Although, well... Technically the format doesn't really matter so I guess you could use the textual time stamp... Hmm.
Hello, i continually get an SQL connection error, and all my MySQL settings are set up perfectly in config.pl and server side.
I can only guess that they are not, in fact, set up perfectly.
I used the Futaba style sheet and edited it completley into my own personal style, i just want to konw how do i go about renaming the futaba style sheet link at the top of the page to what i want?
Just rename the file and rebuild caches. And do your users a favour and copy in the original futaba.css too.
I keep getting this error:
Can't modify constant item in scalar assignment at config.pl line 14, near "'blahblah';"
BEGIN not safe after errors--compilation aborted at config.pl line 14.
Compilation failed in require at /public_html/wakaba.pl line 16.
BEGIN failed--compilation aborted at /public_html/wakaba.pl line 16.
I have no idea what that means or what to do...help! :(
It means you messed up something in the config file.
I have Kareha all set up and working and everything but I have one question. Is there any way to get it to have each new thread/reply get a unique number instead of saying 1 for the first reply and then 2 for the second and so on.
As has been stated at least once already in this thread, Kareha doesn't do this. It's only possible with a database, like what Wakaba uses.
How would I go about making a custom ban page, where it would show your ip and what you were banned for?
This is what i've done so far.
futaba_style.pl
use constant BAN_PAGE => q{
<p>Ban ;_; (insert more text later)</p><br />
The IP you were posting with was: <var $ip><br />
<if $comment>Reason for your ban: <var $comment></if><br />
<if !$comment>Reason for your ban: None</if>
};
wakaba.pl (under sub ban_check($$$$)
make_http_header();
print encode_string(BAN_PAGE);
} else {
make_error(S_BADHOST);
}
Should this work? Is there something I need to change?
Disregard that, I just realized that ban_check is for when you post, not view.
I'm gonna have to look into this more =/
Any help before I butcher 20+ Wakaba installations is appreciated.
Thanks.
If you want to prevent banned IPs from viewing the pages, you'll need to resort to .htaccess hackery.
Is it possible to enable my users to be able to use HTML tags in their posts?
Not easily. You could copy some code from Kareha's format_post()
function to Wakaba's, though. It has an automatic HTML sanitizer and filter. I very very strongly recommend using this if you want to hack this, because adding support for HTML safely is very, very hard.
>>335
Thanks, tho my motive for this, is to allow my users to embed video into the board from Youtube or dailymotion and such, would you advise against this?
>>336 <embed> is abusable to no end.
Shii killed a board through css and embed, I recall. All you saw when you visited was the waha-supergirl flash.
Anyway, not recommended.
<embed> can be used as long as you make sure to force a certain attribute that disable scripting from inside the swf file.
I forget what exactly it is, though. You know you've got it right if you can embed http://wakaba.c3.cx/bee.swf without getting a bee all over your page, though.
Speaking of which, no, >>338 is not supposed to happen. I'll have to fix that at some point.
Dumb question: how many ways are there to display posts via the URL?
The ones I know of are: multiple selections separated by commas, normal and reverse-order ranges (including open ended ranges), last X posts in thread, and X random post selections. Anything else?
And why do some of these methods display the first post at the top even when it's not specified?
I am creating a japanese imageboard for a small commnity i am a part of. everything has translated perfectly except for the rules.html file, and also when i add any japanese characters into the .pl scripts like config.pl they come out as alot of mumbo jumbo.
This is how it appears:
ûmØNïSý€Õ0¡0¤0ë0ÿ Ö0é0¦0¶0k0ˆ0c0f0o0ck8^k0ûmØNg0M0j0D0S0h0L0B0Š0~0Y00
g'Y•b?zÇ0ü0¿0Ï‘o0 KB ~0g0g0Y00sage_jý€ØNM00
;uÏPo0*j Ô0¯0»0ë00&~ Ô0¯0»0ë0’0…H0‹0h0.~\hˆ:yU0Œ0~0Y00
etc. etc., how can i translate this properly, thanks.
On a side note, i have a Japanese friend who is reviewing the translation and will correct any errors if you wold like the corrected japanese?
That's about it. The first post is displayed for simple ranges, to match the behaviour of 0ch.
You need to make sure your files use the right encodings. The include files have to use the same encoding you've specified as CHARSET, and any .pl files need to have a "use encoding" statement at the top that specifies what encoding they use.
Hey.
I'm helping the owner of the new not4chan.us try to get the "Original Filenames" feature in wakaba, but so far I've had no luck.
Basically, when a user goes into the reply page, after the (size, resolution) it would display the filename that the image had before wakaba converted it. This is very nice for organizing manga/doujinshi/etc.
Question is, is there any way to do this through Wakaba?
Thanks!
>>344
uncomment the following lines in config.pl:
#use constant FILETYPES => (
# gif => '.',
# jpg => '.',
# png => '.',
#);
>>346 Not quite. All that does is not rename the files to unix timestamps. What he's looking for is shown in the picture attached.
Hello all. I'm having problems installing wakaba. On apache, no matter what perl script I run, I get the same damn 403 error. All the files/folder are 755 and my httpd.conf for the directories is:
<Directory />
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
AllowOverride All
Order deny,allow
Deny from none
</Directory>
<Directory /wakaba/>
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
AllowOverride All
Order deny,allow
Deny from none
</Directory>
Does anyone have any ideas as to what I should do? I'm using SuSE, if that helps.
AddHandler cgi-script .cgi .pl
I used to have apache and wakaba created nice little thumbnails but now when i changed to lighttpd it won't create any thumbnails and it just echo out "no thumbnail available".
How do i fix so the thumbnails work in lighttpd?
I've never used lighthttpd so I have no idea, really. Is the switch of web server software the ONLY change you made to the system? If so, I guess lighthttpd is failing to run external commands from CGI scripts for some reason.
>>352
But doesnt browsers just send the script to the perl folder and let perl do all the stuff? I haven't changed any perl settings though.
i meant http servers not browsers
Yes, but if the web server process doesn't have permissions to run the command, or if the PATH is messed up, it's gonna break.
If the path is messed up, try running which convert
in a shell, and then putting the result in CONVERT_COMMAND
.
You hack the source to add it. There's no support for it, and I won't be adding it anytime soon.
How do i allow additional file types, thanks.
Look at the end of config.pl.
Hi I'm having some trouble setting up a Kareha image board
http://img.gig4free.com/kareha.pl
One problem is that one thread will have a url like
http://img.gig4free.com/kareha.pl/1160013863/
and the second will be
http://img.gig4free.com/kareha.pl/1160013863//1160014721/
and the third will be
http://img.gig4free.com/kareha.pl/1160013863//1160014721//1160015427/
etc
Everything appears to work correctly, permissions etc but is this because the subdomain is trying to add banner ads to the page so it concatenates the thread reply numbers?
Any help is appreciated thanks.
On the other hand, I just set a Kareha image board up at
and it works fine. The difference is that I used the mode_message folder and enabled image replies in config.pl
I don't see how using mode_image would be any different though?
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
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.
Try going to http://.../wakaba.pl?task=admin and rebuild caches.
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. ,
;_;
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
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?
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.
so is there no way to ban proxies through htaccess or other?
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.
>>368
By broken installation, do you mean Wakaba or Apache/MySQL/Perl?
Wakaba. All those constants should be defined by config_defaults.pl, and if they are not, something's broken or missing.
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
> 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.
>>377
Ok thanks ill look into that,
any ideas on the custom ban page tho?
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.
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?
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.
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?
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.
can someone please give me a basic step by step way to install wakaba?
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?
Change the SQL_TABLE option for every board, and possibly also the SQL_ADMIN_TABLE.
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?
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.
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 ~
>>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!
Hi -_-
[Forbidden][You don't have permission to access /~colorfull-wallies/kareha.pl on this server.]
futallaby [http://www.oranet.sk/~colorfull-wallies/imgboard.php]
wakaba [http://www.oranet.sk/~colorfull-wallies/wakaba.pl]
Any ideas ?
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 ^_^~
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.
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.
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
Is there an easy way to add filename retention (like the way either 4chan or fchan does) to Wakaba?
If so, how?
If you add gif, jpg and png as filetypes in the FILETYPES list, they will not be renamed.
I got his error, everything in my config is correct but it still don't work.
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.
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.
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.
How to remove the verification code when we post and the
excesses style (or only the link on top of the page) on Wakaba?
> 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.
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.
Maybe you should start by making sure it's spelled right?
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.
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.
>>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.
I still don't know what you mean by "name". Path?
And what happens if you rebuild caches?
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.
You've either messed up your SQL settings, or you need to rebuild caches.
Is there a way to get rid of this annoying thing that doesn't involve extensive reprogramming of stuff?
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.
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?
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()
)
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?)
Why?
>>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.
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.
>That board is using an old version and is not running the filters.
Oh okay.
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.
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?
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.
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.
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 :(
Now i cant login at ALL! :( Thats getting really annoying..
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.
> 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.
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 = )
>>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.
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
.
I really have no idea what's going on there. It really makes very little sense.
After like 16-17 pages wakaba removed some images. how do I remove that limitation?
thanks
>>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.
>>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.
is it possible to setup a kareha board using the webspace my ISP gives me?
I dunno, does your ISP let you run Perl scripts and have a suitable thumbnailer installed?
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. :)
Without knowing what exactly it is you're doing with the EXIF data, it's impossible to say what's going on.
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.
"!!example1" is the result of the tripcode, not what is typed in. Note that it says "!" and not "#".
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.
Re-read what I said. You're not supposed to put in "code", you're supposed to put in "!!MIVjB2tk".
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.
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
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?
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?
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.
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.
Edit config.pl for enabling youtube embed code to be pasted in Formatting:HTML mode
use constant ALLOWED_HTML => (
'a'=>{args=>{'href'=>'url'},forced=>{'rel'=>'nofollow'}},
'object'=>{forced=>{'width'=>'425','height'=>'350'}},
'param'=>{args=>{'value'=>'url'},forced=>{'name'=>'movie'}},
'embed'=>{args=>{'src'=>'url'},forced=>{'type'=>'application/x-shockwave-flash','wmode'=>'transparent','width'=>'425','height'=>'350'}},
'b'=>{},'i'=>{},'u'=>{},'sub'=>{},'sup'=>{},
'em'=>{},'strong'=>{},
'ul'=>{},'ol'=>{},'li'=>{},'dl'=>{},'dt'=>{},'dd'=>{},
'p'=>{},'br'=>{empty=>1},'blockquote'=>{},
);
>>463
<embed type="application/x-shockwave-flash" src="http://hotaru.thinkindifferent.net/bee.swf"/>
Left-hand side, see where the border is cut off along the thumbnail? What's up with that?
cgi-handler is part of the base Apache. You just need to change the config to use that instead of mod_perl.
Is there a way to force long one string comments to wrap in wakaba (so that they don't mess up the page design, causing the horizontal scrollbar to appear - damn those malicious people)? I have tried looking at CSS, but that solution seems to work only for IE.
No. I find the solution more annoying than the problem (for instance, long links being broken by putting space in them, making cut-and-paste much harder than it should be), so I've never implemented it.
i'd like to recommend that q
be added to the default list of allowed tags in html formatted posts.
oh, and support for svg images would be nice, too.
Too many arguments for main::clean_string at wakaba.pl line 1324, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1345, near "1) "
Too many arguments for main::clean_string at wakaba.pl line 1378, near "1) "
Execution of wakaba.pl aborted due to compilation errors.
help help help
atm when i press del all in the management panel w/wakaba I get the following: Error: Management password incorrect.
I have messed with a lot of the board look, and even a bit of the management panel look, but I am confused as to what would be causing this problem. The del all button seems to be formed correctly still. :(
also, i have replaced the edited management post loop with the original and am still experiencing the problem. i can select individual threads to delete and they go through no problem.
<td><var dec_to_dot($ip)>
[<a href="<var $self>?admin=<var $admin>&task=deleteall&ip=<var $ip>"><const S_MPDELETEALL></a>]
[<a href="<var $self>?admin=<var $admin>&task=addip&type=ipban&ip=<var $ip>" onclick="return do_ban(this)"><const S_MPBAN></a>]
</td>
A known bug, I hope I'll find some time to fix that and a couple of other issues soon. Haven't checked what causes it.
>>481
oshi... well until then i hope i don't get spammed to hell.. which has already happened once in the past three days that i've had the board up. is there any other way to remove all IPs from a board other than the management panel?
>>481
Just weren't enough parameters to delete_stuff as it was called from delete_all. ;)
Since there's no easy way to specify whether to archive the posts that [Del All] will remove, I chose not to archive them.
Line 1479 of wakaba.pl now reads
delete_stuff('',0,0,$admin,@posts);
Ah, I suspected something like that. Thanks!
>>485
we are making a lot of changes to wakaba, like i said. are you interested in any of the changes? so far we haven't had any problems whatsoever with any. things we are looking to add are sticky threads (just because... people whine about not having it) and a multi-board management panel.
does anyone know how i could get our collapsible thread option to store a cookie that says whether it was opened or closed and make the thread collapse/stay open to reflect the cookie?
Look at the iichan sidebar.
I've had the collapsible thread idea in the back of my head for a long while (I made a Firefox plugin that did the same for 4chan waaay back in the day), but I never got around to doing anything about it. It's probably a good idea, although there are some problems to take care of, such as: if you use cookies to store the state, you have to make sure you're not making the client send a ton of old useless cookies to the server.
Still not going to add sticky threads, though. They reinforce the idea that a board is run by the moderators and the users are an audience, instead of a board being run by the users with the moderators being there to keep the place clean. That is to say, moderators should never, ever control the content of a board beyond removing abuse.
>>487
what about, hypothetically, if you had user voted stickies? ie a thread gets so many votes so it stays at the top for a set amount of time?
in the end someone controls what's happening on the boards, whether it's the admin, the moderators, or the people posting.
That's a better idea, I think, but then you have changed the dynamics of the board to something new and different. Whether it would be something good or bad, I can't quite say.
>>489
yeah.. i was just tossing that out there. creating stickies is a step closer to having user chosen stickies.
>>487
Aha! Huge thanks for the clarification of the western imageboard philosophy. :)
is there any way to link directly to a post in a thread like in kareha? ie http://clownpenis.fart/wakaba/4323.html/666
http://bad-end.org/stuff/spam.jpg
or http://www.pooshlmer.com/wakaba/res/28275.html if it isn't deleted
It dodged the spam trap on a wakaba 3.0.6 board and also posted an image. Have the spambots been tailored to wakaba?
I'm trying to set up Kareha (check with my host and they are configured for running perl), but after following the quickstart guide, I keep getting an error 500 when I try to access kareha.pl. Is there something I'm missing or still have to do before running the software?
See if anything in here helps, first of all: http://wakaba.c3.cx/sup/kareha.pl/1109033191/
>>497
Thanks, that took care of it! I just noticed that was linked at the top too, sorry for not seeing it earlier.
Is there a way to make certain users' names show up in a different color? For example, I want the name "The admin" to show up in red and the name "Mod" to show up in blue, while other users still continue with the normal colors.
500GET!
the thing to choose the formatting doesn't work in opera mini... the "more options link works, but it doesn't show the dropdown thing to select which formatting mode to use ;;
This is probably a really silly question, but how do I post with a capcode? When I enter my name in as just that, it posts as some tripcoded(?) version of what I entered as the capcode in config.pl
You're supposed to put the tripcoded version in config.pl.
I guess I assumed we were talking about Kareha?
Furhter investigation of this mysterious spammer indicates that it is actually a human posting from a regular browser.
Not much to do about that, except to update spam.txt
, I added a couple of entries that should give him trouble.
(I was going to post those entries here too but of course I got caught by the spam filter.)
>>506
the OP may have been, but I was wondering it it works with wakaba. doesn't seem like it would be hard to implement. or am i just assuming wrongfully?
>>504
Thanks, that cleared it up. I had it coded in backwards per se. Oh and I did mean in Kareha, I forgot that this thread is for both Wakaba and Kareha help when I posted that question.
i don't think your new spam definitions are stopping the spam... is there anything "special" you need to do in order for the new spam.txt to take effect or is it good to go as soon as you upload it?
I get a "403 Forbidden" error after installation.
I checked the HashBang and Permissions.
why don't icons work :( they are not working for swf. have not tried others. they are in /icons/ in the same directory as wakaba.pl etc chmod 755 for the dir and the flash.png.
Can kareha ban IP addresses when running under lighttpd, or does it have to be done manually?
I couldn't say without knowing more of what you did and what happens. Did you set them up correctly in config.pl?
Well, you can configure what kind of format Kareha writes the bans in to some extent. But I know nothing of lighttpd, so you'll have to figure out for yourself what to configure it to.
Well it's definitely not correct to have both. Drop the '.' one.
>>518
icon still isn't showing after commenting out swf => '.', also the swf filenames are still not being renamed when posted. is that normal for filetypes that are not images?
Yes, anything in the FILETYPES list will not be renamed. Make sure the icon files are readable by the webserver process. Making them 644 should be enough.
>>520
I had it @ 755 and now it is @ 644. Still not working. example: http://wtfux.org/temp/res/1154.html
to recap:
config.pl @ /temp/ (755)
icon @ /temp/icons/flash.png directory (755) file (644)
use constant FILETYPES => (
swf => 'icons/flash.png',
);
We can post files of type 'swf' and the filenames are not altered when posted. BUT icon 'flash.png' does not show as the thumbnail for the post. It simply says "No Thumbnail."
That's also very weird. I just tried doing the exact same thing, and it worked just fine.
Wait, is your /thumb/ directory writable?
made no difference, as was expected. see: http://wtfux.org/temp/res/1154.html#1167
also, i have commented out the portion of wakautils.pl that does the spam check as you suggested. i have yet to get the spam error but i hope to find a better solution sometime soon.
i am wondering if it is something strange with the dreamhost account, but this doesn't seem right because i have had wakaba boards on dreamhost in the past with no problem.
our files are edited to add custom features as i've said before, but my friend used our files on his home server and everything ran fine.
also, do you or anyone else have any suggestions for getting adbrite ad codes to work with wakaba? adbrite code creates an "xml parsing error: not well formed" when I try to implement it. The arrow in the xml error always points to the second equal sign in the adbrite script URL.
Writable would be 777, probably.
If it's "<script src=http://whatever>", change it to <script src="http://whatever">. If nothing else works, set USE_XHTML to 0 and remove the lines about xhtml from .htaccess.
>>527
777 and still no icon.
I've had UXE_XHTML set to 0 for some time, didn't realize I had to remove something from the htaccess for it to work.
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
correct?
ads are working now, but i think it will take 24 hours before adbrite network ads start showing.
I implemented a topbar nav menu on http://wtfux.org/ i believe it will be a good and easy way to provide a cross-browser friendly menu across every board by using one header.html (using either symlinks or changing the location/to/header.html in wakaba.)
just wanted some criticism from the society ;D
p.s. this site was just down or really really bogged down for the past half hour or more.
Why every time i try, i have this?
I hope anyone can helpme, its a problem with the perl scripts?
No ADMIN_PASS defined in the configuration at /usr/share/perl/5.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.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
Thanks.
>>529
did you uncomment and change the ADMIN_PASS line in config.pl? carefully look through config.pl to make sure you have filled in and uncommented the required lines.
hint: read the comments next to the variables
Thank you very much! I new on this, and i a little emm... dumb jeje, but with your explanation i have my imageboard =3
But i have another question, how i do to have many seccion, you know like 4chan, i mean, how i do to have a frame with the sections. I have to do a directory for every section?
>>531
you need to setup a seperate directory for each board you want to run. also you will need one mysql databse per imageboard.
if you want to have a list of the boards on one side and the actual board to the right you need to setup a framed index.html that calls two html files for 2 separate sections.
> you will need one mysql databse per imageboard.
Actually, no, you don't. You can do it that way if you want, but you can also change the SQL_TABLE option to use differently-named tables in the same database for each board.
>>533
aso aso. any idea on swf icons? it wouldn't be a problem but i want a /random/ board that allows SWF posting as well. if I were to setup a seperate flash board then it would be as simple as coding the icons into futaba_style.pl
No, I really have no idea what's going on there. If you have the Perl skills, you can dig into the code and try to find what function call fails or something... Add die
statements in strategic locations or some such.
>>535
my perl skills are limited. Not a problem, though. I will just have a seperate flash board. ^_^
p.s. how hard would it be to make the management panel create multiple pages rather than parse all of the post data to one page? the load time is horrible on boards with many posts.
I've run into a formatting bug that shows up in IE with kareha in messageboard mode where if the thumbnail of an image posted is taller than the post text, the image extends beyond the end of the post body and the style is generally broken. It looks like it's restricted to the Blue Moon theme (which I rather like...) as well as Toothpaste (basically where the post body has a different color background).
I set up an example at http://damagedgoodz.net/boardtmp/
Any suggestions?
None more useful than "don't use IE" or "figure out how to fix the CSS", because I don't know how.
Hi again!, i have another question.
When i try put the name "Berryz Kobo" i obtain this error
Can't locate object method "Berryz" via package "kobo" (perhaps you forgot to load "kobo"?) at config.pl line 14.
BEGIN failed--compilation aborted at config.pl line 14.
Compilation failed in require at kareha.pl line 12.
BEGIN failed--compilation aborted at kareha.pl line 12.
But if i put just "Berryz" all working :S
i apreciated if anyone can help me. C-ya
"Try put the name"? You need to explain in a bit more detail what you are doing.
If you are trying to set the name of your imageboard to Berryz Kobo then it should look like this:
use constant TITLE => 'Berryz Kobo'; # Name of this image board
i've installed proxycheck into /proxycheck/ in a particular wakaba directory and set it to:
use constant PROXY_COMMAND => 'proxycheck/proxycheck -s -d achaea.com:23 -c chat::"Multi-User License: 100-0000-000" -aaaa';
I enabled proxy check and there is an obvious pause between the time you press submit and when your post actually goes through, but when I post with Tor it does not catch the proxy. Am I doing something wrong?
I didn't write the proxy check code (dmpk2k did), so I can't tell for sure but Tor is not really any kind of normal proxy, so I'd imagine proxycheck doesn't notice it.
Do you have any leads on the cause of the spam filter blocking image posts? It's getting really annoying.
No, sorry, it's damn hard to debug when you can't reproduce it. Well, maybe I should try that trick I was thinking of earlier and give it to you to test... I'll try to remember.
>>545
If you are still experiencing it (as I'm sure my board would be too) you should comment out the block of code that handles the spam stuff. WAHa had me do that until further notice.
open wakautils.pl in your prefered editor and find sub spam_engine. comment out everything from my $spam_checker to spam_screen($query), like this:
sub spam_engine(%)
{
my %args=@_;
my @spam_files=@{$args{spam_files}||[]};
my @trap_fields=@{$args{trap_fields}||[]};
my %excluded_fields=map ($_=>1),@{$args{excluded_fields}||[]};
my $query=$args{query}||new CGI;
my $charset=$args{charset};
for(@trap_fields) { spam_screen($query) if $query->param($_) }
######################COMMENTED OUT TO STOP SPAM ERROR##########################
#my $spam_checker=compile_spam_checker(@spam_files); #
#my @fields=$query->param; #
#@fields=grep !$excluded_fields{$_},@fields if %excluded_fields; #
#my $fulltext=join "\n",map decode_string($query->param($_),$charset),@fields; #
#study $fulltext; #
# #
#spam_screen($query) if $spam_checker->($fulltext); #
################################################################################
}
Also, will Wakaba get fancy DISPLAY_ID support anytime soon (i.e. ability to make IDs not persist between threads, change daily, and such?) At least the board oper I was talking to said that lack of that was his reason for not using it.
>>548
you can make IDs change by day.
use constant DISPLAY_ID => 'mask,sage'; # How to display user IDs (0 or '': don't display,
# 'day' and 'board' in any combination: make IDs change for each day or board,
# 'mask': display masked IP address (similar IPs look similar, but are still encrypted)
# 'sage': don't display ID when user sages, 'link': don't display ID when the user fills out the link field,
# 'ip': display user's IP, 'host': display user's host)
The way I have it setup it shows a masked version of the users IP and shows ID:HEAVEN when a user sages.
Hmm. His exact words were "IDs on wakaba are broken in that they persist between threads." Guess he was wrong.
>>550
Oh does he mean that IDs stay the same thread to thread? that's... i dunno. sounds like a dumb idea imho. what would be the point of having IDs? other than showing if one person was posting multiple times in one thread.
in the end we all want different things. i guess it wouldn't be hard to add it. i'm not the expert, though.
Also, yo WAHa I added the email link protocols to wakaba.pl and it's working as you said it would. thanks. :)
my $protocol_re=qr/(?:http|https|ftp|mailto|nntp|news|ventrilo|aim|irc|steam)/;
>>551
It's because, in an extended discussion, certain people apparently have trouble keeping straight which Anonymous made which posts. I suggested SILLY_ANONYMOUS as an alternative but he thought that was, well, silly.
Persistent IDs in Wakaba are sort of impossible to do, as generating the ID requires knowing some fact that will stay constant throughout the thread, and that would most conveniently be the thread number, but the thread number is not known until the post is actually written to the database. So the ID of the first post would be wrong. I guess it could be added, with that caveat, if it's really wanted, though.
>>553
Why not the timestamp of the first post in the thread? Unless that's what the thread number is.
That's what Kareha uses, but the timestamp is not actually stored in the Wakaba database, only the textual date string. One could use that instead, but in either case it would require an extra database lookup for every post, and that seems sort of silly.
I made my wakaba display file sizes in KB rather than Bytes like so:
<var $size/1024> KB
Very easy, obviously. But it displays with lots of trailing decimals. A few wakaba versions ago I remember that I had this working without any decimal places but I don't quite remember how I did this. Is there some easy way to do it?
>>556
nevermind, i figured it out. sorry I'm dumb.
<var int($size/1024)> KB
I don't mind that the rounding isn't perfect. 1KB give or take isn't a big deal.
You can just add 0.5 to get the common rounding.
If you want, try this and see if it helps:
http://wakaba.c3.cx/stuff/wakatest.zip
>>558
add it to 1024? or add it to $size? orrrrrrrr add it to the product?
why not do ($size>>9)+1>>1
instead?
>>562
shift right 9, add 1, shift right 1...
it's slightly faster than doing int($size/1024+.5)
(about .25 seconds of cpu time for 1000000 iterations on my machine), and, at least to me, a more straightforward way to do it...
This is Perl. The parsing cost for >> is higher than switching / out for it!
This is a totally pointless discussion, but I'll point out that parsing cost is nearly non-existent, and always O(1), as Perl compiles to bytecode before running anyway.
would it be possible to add some <if $admin></if> statements into the futaba_style.pl $threads loop (and actually work?) I can't figure out what I need to add in wakaba.pl/wakautils.pl for this to work. The idea is to have management buttons in the threads that don't show unless you have the wakaadmin cookies.
Remember, the threads are static HTML files. You can't affect the contents at any other point than when somebody is posting.
What you could do is always add buttons, and use CSS to hide them and some Javascript to check for cookies and un-hide the buttons as needed.
>>569
lol so i should just steal the shit from the iichan sidebar and edit it to my needs then? <3~
How do I update the settings of a wakaba board after the board has been created?
for example, if I want to change the max file size, or the title of the board? I know where to change it in the config file, but I dont know how to ask the board to update its settings.
If the setting does not affect the look of the board, editing the config is sufficient. If it does, select "rebuild caches" in the admin panel.
Thank you
I think I found a bug in kareha... When you set the MAX_LINES_SHOWN to 0 (which should stand for 'no limit'), it actually does display nothing. A feature not implemented, perhaps? :)
I hope this is a "simple question." (sorry if it's not)
Well, my host doesn't allow running cgi out of cgi-bin, so I installed kareha there. Once I did that, it seemed I still had a problem. All the links formed as something along the lines of:
/cgi-bin/MYSITE/kareha.pl
What I eventually did to "fix" it is replace SCRIPT_NAME with SCRIPT_URL throughout the pl files.
Now everything seems to be working, except for in the full thread view: http://rabi.memebot.com/cgi-bin/a/kareha.pl/1171530470/l50
the "return" link is like this:
~/kareha.pl/1171530470/index.html
and the other links (entire thread, last 50 posts) add on after the thread number as well.
>>574 No, that's a feature! :) Just set it to something absurdly high.
I can actually see "0" being a useful setting for that, in some instances.
You probably need to edit the expand_filename() function to do something smarter.
>>577
ah, that sounds like it's over my head ATM, :x and I think I'll just try what >96 suggested in the 500 error thread
thanks
When I go to wakaba.pl, it redirects me to wakaba.html but does not create the file, so I get a filenotfound error. How do I fix this?
Go to wakaba.pl?task=admin
and rebuild caches.
When I go to the admin panel and click "rebuild caches", it does something and then redirects me to wakaba.html again, which still isn't there.
Then something is seriously broken. Are you running on some weird webserver?
Running apache. I redownloaded wakaba and put it in a different directory, and now I'm not getting that particular error, so I probably corrupted some of the files or something.
Nevermind. I got mysql working on the new one and I'm now back to having this same error. This is really annoying.
Try searching your filesystem to see if it's putting wakaba.html somewhere else.
I tried that and no, it's not anywhere.
lol...I feel stupid. I changed the permissions for all the directories except for the root directory. I just set it to 777 and now it's working fine. Sorry for the trouble.
Hello,
I've been looking for a way to have smaller thumbnails in wakaba lately. Is that even possible? I located the lines responsible for the convert in wakautils.pl but I couldn't figure out how to change the width and height. I'm using imagemagick.
It's no big deal anyway, just curious to know whether that is tweakable or not. :)
Love ya WAHa.06x36!
>>589
Look in config.pl and find the following two lines:
use constant MAX_W => 285; # Images exceeding this width will be thumbnailed
use constant MAX_H => 285; # Images exceeding this height will be thumbnailed
Images larger than what you set there will be thumbnailed to the dimensions specified.
when i press preview post on the kareha boards i have setup they just say loading and do nothing else. any idea what the problem could be?
Do you have the right version of kareha.js installed?
>>594
it was a fresh install of kareha (i think).. lemme check
Any messages on the Javascript console?
>>597
no, but firebug pops up and shows this..........
NEVERMIND. I just tried to upload a screenshot but I got the anti spam message!
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.
Uh ohhhhhhhhhhhhh, looks like you've got something to work out maybe?
Anywy, here is the screenshot: http://wtfux.org/misc/what.JPG
Found a problem close to mine (http://wakaba.c3.cx/sup/kareha.pl/1120353264/l50), but thought I would ask before I dismiss it as fixed. My host will not install mod_header, want me to pay extra, blah blah. Do I lose any functionality not fixed by adding <meta http-equiv="Pragma" content="no-cache" /> to the futaba_style.pl script?
My symptom before I added this line was that I would post a thread, and then attempt to reply to the thread and it would hang on waiting for host and then eventually display a blank page. Reloading showed no post, but then adding this line fixed it all.
IE is no concern of mine, but does this line fix all functionality lost by not having mod_header?
That certainly sounds like a browser bug, or unintended behaviour. You should really not be getting an error inside a try
statement, as that is used to allow and catch errors in code! Is anyone else having the same problem?
Also, I tried putting out a fix for the spam bug for people to test, but nobody ever reported back whether it worked or not, so I still have no idea if that did anything.
It should be approximately the same, although I am sure there are cases where it does something different (because there always is), but if it looks like it's working, that should be good enough.
Hello
I understand that the futaba_style.pl script handles the pages when they are refreshed or whatever, but what i dont get is this
i added my code, then i reinstalled the script on the server, and it made no changes, i didnt see the ad anywhere. I just want to know what file and where i place my google ad code, becasue this doesent seem to be working here. again if anyone has done ads with the wakaba script please pass some info over on how to do it, im just not seeing it rite now, thanks!
You need to tell the script to actually write a new copy of wakaba.html before you see any changes. Go to the admin panel and pick Rebuild caches.
>>601
Do you have xhtml disabled? What sort of ad are you trying to run? Letterboard? Tower? Box? What's the dimensions and where do you want them to go?
You can see the way I have mine setup @ wtfux.org/random/
>>600
Could you try and use the preview feature @ wtfux.org/dis/ ?
would it be possible to somehow ban the MD5 hash of an image on a wakaba board?
>>606
alright so it must be my browser.
about the md5 hashes: i'm being sued (have been for a long while) by a particular artist over copyright infringement. all because people posted his works on some of my imageboards. my plan is to take every image of his that i can find, round up the MD5 hashes and only those ones, and ban these from being posted. it's very troublesome to wake up to see that some spammer posted a bunch of his images while all of our mods are away. this almost always leads to more DMCAs. I've had over FORTY in the last two years just from this one artist. You don't want to know the actual total..
Case in point.. it would be really really helpful. I know that people can simply alter the tiniest part of the image to change the MD5, but at least it would stop the people that are too lazy to do that. (most spammers are)
I can understand that this might not be a feature that most people would require. All things aside, I don't know how to do it myself. If you could point me in the right direction I would be most grateful.
In that case, dig into wakaba.pl
's process_file
function, and look for if($md5)
, where the existing MD5 checks are. If you want a quick hack, add something like this:
my %banned=(
"12345abcd67890..." => 1,
"44332211fedcba..." => 1,
);
if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error("Enough of THAT");
}
>>608
Works well, thanks. Is there any way that I could put the MD5 hashes into a text list and have it read them from there? There are a loooot of them and I don't really want a huge list in wakaba.pl.
I'm having the same problem. Running ubuntu edgy. My perl testfile named test.pl works fine, while i get download dialog if i try to run wakaba.pl.
This may or may not work, I have not tested it:
my %banned=map ($_=>1),read_array("filename");
More elegant would be to implement an SQL query that gets the values from the admin table, but that would take actual work.
my %banned=map { ($_,1) } read_array("filename");
Maybe?
>>615
works awesomely... :D doesn't even noticeably slow down posting.
Quick question: If i wanted to show the users IP address (as a sort of scare tactic) in the error message that shows when they try and post one of the "blacklisted" images, how would I do this?
Right now I have:
in strings_en.pl -
use constant S_MD5BAN => 'You are not allowed to post this here!<br />'.
'Your IP has been logged for legal purposes.<br />'.
'<var dec_to_dot($ip)>';
in wakaba.pl -
if($banned{$md5})
{
unlink $filename; # make sure to remove the file
make_error(sprintf(S_MD5BAN));
}
Change the <var...>
to %s
and add ,$ENV{REMOTE_ADDR}
to the sprintf
statement.
Is it possible to restore archived threads?
One of my threads was accidentally sent to the archive. Is there a way to get it back?
In Wakaba? No, not really. It is theoretically possible if you made a tool to do it, but I haven't made any such tool.
hmm, has anyone else noticed that "sage" in the email field is turning into "mailto://sage/"?
bumping because it still sages the thread correctly
So, how would I add admin features that work to the normal post interface for a board? I understand that I will have to use javascript to check for the admin cookies, but how do I add a delete button and ban button that passes $admin along without having it show in the html for the board?
>>623
no it doesn't. it turns into mailto:sage, which is what it's supposed to do.
For which script? Well, either way, the answer would be that you have to use Javascript to either inject the buttons into the page once it's finished loading, or else put the links into futaba_style.pl, make them style="display:none", and then use javascript to find them, make them visible again, and inject the admin pass into their hrefs.
>>627
Yeah, that makes sense. For wakaba btw. Now I just gotta learn me some more javascript. aka go steal some
fuck.. i had another question to ask and it was really good. i don't remember it. :(
p.s. i got the anti-spam filter error message again. i just renamed the image, let's see if it uploads.
ARGH, got it again.. wtf. k i deleted the 'f' at the beginning of the filename. asdfas.JPG
ooh ooh ooh, what about a thread close feature for wakaba? nothing says "shutup, you're dumb" like:
This thread has been closed. You cannot post in this thread any longer.
..why is my oekaki saving images as peoples IP addresses? http://lulz.net/oekaki/wakaba.html You can only create and upload one image, after that it says that a file with that name has already been uploaded.
>>630
Insert a new line at line 87 of extras/oekaki/finish.pl and enter
my $filename = time().sprintf("%03d",int(rand(1000))).'.png';
Then, change line 88 (the call to post_stuff) to read
post_stuff($parent,$name,$email,$subject,$comment,\*TMPFILE,$filename,$password,
0,$captcha,ADMIN_PASS,0,0,OEKAKI_INFO_TEMPLATE->(decode_srcinfo($srcinfo)));
That way, even if you have images set to keep the poster's filename for them (as per your config.pl), oekaki posts will use a timestamp-style filename.
>>626 Ohh, I bet it's Google toolbar editing the links so that it catches them for gmail when I click on them. Nevermind.
Does anyone else get the spam error message when they try and use the manager post feature in wakaba? Maybe it's just something I changed in my script..
>>634
Ah, we fixed it. Is everyone else not getting the spam message when they use the manager post? The problem was that the names of the fields hadn't been changed from the older versions and the spam trap fields hadn't been added. Why does the manager post even get put through the spam check anyway?
Hello
I really urgentally need some help here guys. I have a horizontal google ad code i need to put on my site (on the wakaba.html page). But everytime i do it and i post somethign the ad disapears. can someone tell me where to put my google ad code so i can have it either on top of the post form or below it without the ad being removed everytime someone makes a new post? let me know, thanks guys.
(if someone can give me a psecific file and place to add it that would be very sweet).
>>636
You want to put it into futaba_style.pl.
Place it between:
<if $postform>
<-------AD GOES HERE------->
<div class="postarea">
This will put the ad right above the post form.
Also, you will need to set USE_XHTML => 0; in config.pl.
If you are using the .htaccess that is provided with wakaba, then you will also need to comment out the following lines as I have:
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
Hope that helps. ;)
THANK YOU THANK YOU THANX!!
u guyz r the best!
lol actually shits...hmm for some reason its not working :( hmm very weird i tried everything you posted here...is there any way that i could of done something wrong here....hmm
it says the google ad code is js does that change anything....just trying to eliminate all possibilities here.
ok hmm
for some reason (its not the code thats the problem here) its that whenever i reload wakaba.pl it doesent change and for some reason read the new changes i put on the futaba_style.pl file
what cold be wrong here.
>>641 Did you rebuild caches?
Also, check the source (of wakaba.html). Is it all on one line? Then you need to turn off that function as well.
>>641
go to the management panel: yoursite.com/wakababoard/wakaba.pl?task=admin
and press Rebuild Caches.
Can you provide a URL to your board so I can check your html?
Good idea or bad idea: checkbox for returning to the same thread rather than wakaba.html after posting
maybe this can be the prob...
the google ad code is in green so maybe its commented out for some reason. i have google ads on antoher sit and its not greened out so is that the problem, and how do i fix dat??
>>645
Btw man.. you might not want to have all that CP on your site. It's definitely not good to tell people to post it.
Calvin August ([email protected])
+1.5133156092
6978 deddy road
cincinnati, OH 45243
US
The FBI will enjoy busting in your door. Just letting you know..
yea im aware of that, thanks.
ive aloready encouraged them not to.
the cp txt board is there b.c poeple like talking about it, thats fine in my mind. you wont find ne cp pics there aloready deleted.
thanks all for your help you guys own!
>>650
lol there was plenty of cp, especially on your upload thing.
REPORTED.
oh man this is gonna be fun. talk to you when i wake up.
I never liked that idea, because I don't think image boards should just be about endless posting of images by one person. Also, posting scans of whole volumes of stuff is pretty immoral.
>I never liked that idea, because I don't think image boards should just be about endless posting of images by one person.
As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(
No one said anything about posting scans of whole volumes, and not having a checkbox that returns you to the thread isn't going to stop it from happening.
It works for discussion and the posting of images. I see it as a way to simply make things easier for the users. Of course, it's not exactly strenuous to scroll and click back onto a thread after you've posted to it, but you'd be surprised how often a post misses its mark.
A user can always delete their post if they miss a thread, but:
a) a good deal of users don't even know they can do that
b) it adds more bandwidth usage (however small it may be) and
c) the checkbox could circumvent misposting altogether.
That is... if the users understand it better than using the password to delete it!
In the end it's all personal preference.
By the way, we should have our sticky thread feature working by tonight and we will be reworking the moderation panel to look like the normal post interface. That's a whole different discussion though, aye?
> As cool as you are, you shoot down a lot of decent ideas for the simple fact that you don't like it. :(
Well, in my mind, that's what design is all about. Figuring out what to add, and what to leave out. The issues at hand here are the additional complexity from adding the control versus the usefulness of it. I kind of think the post form is far too complex already, and if I wasn't trying to be faithful to the original Futaba layout I would cut down on the number of inputs in it even more. I think the usefulness really is limited to mostly cases where you post multiple images to a thread, and although I don't think this should be prevented, I think it should be encouraged either, especially not at the expense of clarity.
>>654
I'm interested to know what you would remove from the post form.
The subject field is mostly useless. Few people use it, and when it's used it's often annoying. The password field is just confusing and nobody really uses it anyway. In Kareha, it's hidden and auto-generated, but I guess this could be further refined, for instance so that a post with an empty password (in case Javascript is off) can be deleted from the same IP only. I am a bit torn on the "No file" checkbox. On the one hand, it serves a purpose by warning people when they try to reply without pressing Reply, but on the other hand people still manage to do that.
If it wasn't for sage, the link field would also be mostly useless. If I was starting from scratch, replacing it with a checkbox for sage might be a better choice. Not to worry, though, I know lots of people don't like that, and I'm not about to do it.
>The subject field is mostly useless. Few people use it, and when it's used it's often annoying.
True. I was thinking that maybe having a subject field only for the first post in a thread might be better.
>deleted from the same IP
Might cause problems when proxies are used. I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP? I haven't checked out the code.
>I am a bit torn on the "No file" checkbox.
Yeah.. I've never really seen a need for it.
>If I was starting from scratch, replacing it with a checkbox for sage might be a better choice
The sage checkbox is a great idea, and the people that don't like it protest it because it's not traditional. It does, however, make things a lot less confusing.
I believe that if there's enough people that want a feature then it should be added. It can't be that hard to add features that can be enabled/disabled in config.pl to keep everyone happy.
omgg!!1111111 i think all imageboards should be in japanese cause that's how it should be kawaii desu ne nyoro~n etc
> I like the way Kareha's password is auto-generated. Is it saved as a cookie or does it go by IP?
It is generated client-side by Javascript, and saved in a cookie. This means it breaks if somebody disables either Javascript or cookies, which is a bit of a problem.
I'm trying to customize my silly anonymous, and I did the following:
return cfg_expand("%G% %I%",
G => ["Abdul Shaheed","Abdulwahab","Al-basir","Anayatullah","Arshad","Bakhtiyar","Bashir","Ehteshaam","Fajyaz","Fakhr-al-din","Fareed","Fazil","Habib","Haidar","Hakeem","Hasim","Hayatullah","Jakeem","Jalal","Jannuh","Jawhar","Jibraill","Kaleem","Kamran","Kareem","Katerah","Laeeque","Maaheem","Mahmud","Mahrukh","Muammar","Muhaymin","Mujahiddin","Musad","Nadeem","Nadir","Naveed","Nisar","Nur-al-din","Osman","Qaiser","Rafiq","Rashid","Riyad","Rizwan","Roshan","Saad","Sadiq","Sadaqat","Saeed","Salah-al-din","Salim","Sarmad","Seemaab","Shabbir","Shahmeer","Tayib","Tufail","Usama","Wajahat","Waseem","Xavier","Yahya","Yasin","Yusua","Zaheer","Zaid","Zeeshan","Zuhaib","Zuhra"],
I => ["A'men","Akir","Aarez","Aasir","Aayan","Abdiwahad","Abdullah","Abyan","Akhtar","Akhyar","Aziz","Badi","Bahij","Bahadur","Bakht","Bashar","Didar","Din","Enaan","Fadil","Faizan","Faruk","Fawzi","Gamal","Ghalib","Ghassan","Gulzar","Hadja","Hafiz","Harith","Hatim","Jawwad","Jihad","Kalil","Mahad","Majid","Momin","Mudassar","Murtaza","Naim","Najir","Obaid","Ovais","Owbada","Qaiser","Qasim","Rafat","Raghid","Redouane","Rohail","Sabir","Saeed","Sahul","Salih","Samien","Sayyid","Seki","Shahwaiz","Tawil","Tayib","Thahseen","Thufail","Waleed","Yasir","Zahir","Zaid","Ziyad","Zubair"],
);
But I get a 500 Internal Server Error when I try and run wakaba.pl. :( What did I mess up in there?
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] failed to open log file
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] fopen: Permission denied
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] Premature end of script headers: wakaba.pl
[Sat Mar 10 21:34:16 2007] [error] [client 75.36.85.246] File does not exist: /home/cho0b/wtfux.org/internal_error.html
Few questions
What is the manager post?
Can you sticky threads in wakaba?
How do you register and use tripcodes?
What about admin/mod shit like shown on 4chan?
>>664
Manager post is a way for managers to make posts (go figure.) They allow for html usage in the post.
There is no sticky feature in stock Wakaba. Mine can sticky :D
You cannot register tripcodes. There is no registration on anonymous imageboards. To quote the wakabawiki "Tripcodes are used as a proof of identity, while still remaining anonymous. If you enter your name as Name#tripcode, it will be shown as Name!3GqYIJ3Obs, the idea being that only you know the code word used to generate the tripcode."
What kind of admin/mod shit shown on 4chan? There is only a moderator interface wherein you can delete individual posts/images, delete every post made by a specific user, ban an IP, and some various other things.
nvm i fixed it.. stupid mistake. (the silly anonymous thing)
How do I disable users from being able to change the board look? Or am I just being a nazi?
Read earlier posts in the thread.
>>635
Could you please list for those of us more dense specifically how to fix this?
>>672
Deleted admin bar div from futaba_style.pl, added allowed html to config.pl and still get the error. Does it make a difference if I'm using wakaba 3.0.7 (forgot to mention it last post.)
I'm having a weird problem.
Sometimes Wakaba goes into a state where no one can post images - the server just hangs indefinitely if this is tried. However, posting comments is never a problem.
One solution for this bug, when it happens, is to simply overwrite wakaba.pl with a clean copy. Could it be that wakaba.pl is getting corrupted somehow?
That seems unlikely, corruption would be a fairly severe problem and it would most likely cause actual errors. I wonder if you're not running some kind of Apache module that is doing something too clever for its own good, and that resets itself when the timestamp on the script file updates. You could try just touching the file to update the timestamp and see if that also helps.
I am running Apache, but haven't installed any weird modules. Could have some pre-installed though. I'll lok into that, and maybe just set up a cron job to touch the file from time to time. Guess it can't hurt. Thanks.
>>674
Glad I ran it on a test board first haha. (Actually doing so didn't change anything anyhow, but whatever lol.)
A secondary question though. Posts often don't show up due to wakaba.html not refreshing. What's the best way to force a refresh?
>>678
Ignore second question, thought I searched the whole thread but didn't.
WAHa, would you be interested in possibly retooling the existing Wakaba codebase for an anon-only 2ch variation with tagging, comment ratings, searching, sorting and an original layout?
>>681
I'm guessing the "tagging" part set off your prehensile anti-Web 2.0 sense, eh?
>>682
i was loling at your entire request. unless you plan on offering some sort of payment to Waha then I'd say your request isn't gonna be fulfilled. maybe you should make one yourself?
>>683
I'm only proposing it if he has any latent interest in developing such a project in his free time. It's not like I'm storming through the door and demanding that he do it.
▓██████████▓░▒▒▒░░░░░░░░░░░░░▒█
▓██████████▓███████▒▒▒░░░▒▓██▒▓█▒
▒████████████▓▒▒▓████▓░▒███▓▓░▒█▓
▒██████████████▓▒▓███▓░▓██▓▓▓▓▒▓▓
▒█████████████▒░▒████▓░░▓▓░░░▒░▒▓
▒██████████▒░░░░▒▒██▓░░░░░░░░░░▓
▒███████████▓▒░░░▒▓▒▓░░░░░░░░░▒█
▒████████████▓░▒▓██▒▓▓▒░░▒▒░░░░▓
░▓███████████▓░▒███████▓▒▒█▓░░░░░
░▓███████████▒▒█████████████▓░░░▒
░▒███████████▒█████▓▓▒░░▓▓██▒░░░▒
░▒████████████████▒░░░░░░░▓█▒░░▒
░░▒██████████████████████████▒░▓▒
░░░▓████████████▒▒▓█████████▓▓█▒
░░░░░▓████████▒█▒░░▓██▓▒█▓████▒
░░░░░▓████████▓▒██▒░▒▒░█▒▓████
░░░░░▒█████████▓░▒▓▓░░░▒▒▓███▒
░░░░░▒███████████▒░░░░░░▒████▓
░░░░░░▓███████████▓▓▒▒░░▓████▓
░░░░░░▓████████████████▓█████▓
Well, the idea has run through my head once or twice, but I've dismissed it in the past due to a lack of time for it, and I have even less of that now, so it is not likely.
Also, my inability to figure out a good set of basic mechanics that would not degenerate into groupthink and popularity contests has also prevented me from bothering furhter with the idea. Stuff like "comment ratings" especially are horrible.
The web 2.0 world is already filled with these horrible failures of community building, and I have no wish to add to their numbers.
> that would not degenerate into groupthink and popularity contests
but that's what web 2.0 is all about!
Perhaps I'll wait for the 2.1 update.
While I agree that a WEB 2.0 feature rich version of Wakaba would be awesome, I can understand that not enough administrators in the community would appreciate it like the few of us would.
Why the square and two triangles links displays with slightly diffent shape in Firefox? The square particularly is even smaller in size.
Strange that I browsed similar forums and all of them uses the same chars (■, ▲ and ▼) and all display ok in any browser.
It is a mystery.
Ok I found why. Needs just to set a mona font for these links styles.
>>693
Or you could use a font with decent unicode coverage as your default font...
I'd suggest the DejaVu fonts (Sans, Serif, and Mono Sans). They're free and, unlike Mona, actually look pretty nice.
>>270 where is this exact section of the function? And what would be put in to make it forward to the post?
http://lulz.net/furi/wakaba.html
We just started using our new wakaba.pl and futaba.pl files. We now have working sticky threads and a reworked management panel.
The management panel is now paged and made to look more like the actual main board.
There is also a janitor login area. Janitors cannot ban users or make threads sticky/unsticky. They can only delete files/posts.
(8 just braggggggging :X
>>696
you know you're making a pretty convincing argument that stickies are a bad thing, right?
>>697
1) Please give information as to how I am doing that.
2) Like it matters. No one else thought it was a good idea so we added it ourselves.
3) you know you're making a pretty convincing argument that stickies are a good thing, right?
>>698
1) furries.
2) FURRIES.
3) FURRIES.
now go die in a fire kthxbai
>>699
lol, the fact that we are testing all the features you hate with a niche that you hate is.. bad?
when we finish bug testing and tweaking our addons i will add them to our main boards/site. lulz.net is both our testing area and our trolling ground. if you do not see the obvious bonuses to controlling a furry community while not being a furry yourself, then you are blinded by your own e-peen.
>>701
It doesn't matter. Your opinion has no reflection on our decisions.
If you would like to read up on the arguments for and against sticky threads, then just screen through some of the threads on this board. You'll find people giving obvious reasons why sticky threads would be helpful and then you'll find other people responding with "That's stupid. You're stupid. Stickies are blasphemy and no one will use them in my presence!"
Oh, and don't forget the ever popular "If you have something so important that every user must see it, then add it to the rules.html (and then reupload the .html file and then rebuild thread caches after waiting a minute for the management panel to load because your board has 20 pages of huge threads.)"
To which someone would reply "But what if I don't want to make my post form look bogged down and retarded? Perhaps there is a lot of information I need to pass on to the users and simply making a thread (that can be collapsed forever if you wish) would be the easiest route."
I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.
The disadvantage of this form of forum is that I know more about this than you do, and making that post more than one paragraph is useless information.
It sounds like an opportunity for another field that only shows on front pages. Also, your SQL server is really slow.
>>703
I spread it all out real neat like just for you.
I even left cute little "in short" messages like this:
>>I will say this: It is a matter of opinion, and it just so happens that we believe sticky threads are helpful. The best part about a feature is you don't have to use it but you can if you want to.
p.s. gj on knowing more than me about anonymous imageboards.. i guess. did you get a PHD on japanese subculture or something?
It was awarded by the university of kamiyama mangetu-chan.
Im installing a wakaba board, and its going just fine. the only problem is the verification code section doesnt go away.
I have set use constant ENABLE_CAPTCHA => 0; but its still there. I deleted my browser cache, still there. any suggestions on how to get rid of the verification section beyond this?
>>707
did you rebuild caches after making the change? go into your moderation panel and click the "rebuild cache" link.
Alright, im a dork, I uploaded the wakaba.pl file again before doing the captcha change and forgot to set its CHMOD to 755.
this is probably a really, really stupid question, and I'm sorry if it's been asked and answered multiple times, but I'm growing frustrated. I'm using PHPMyAdmin, and I've created the database, and every time I try to upload the config.php file, it says that I'm not using proper syntax, but I've tried editing it every way I know how. Does anyone have an idea as to what's going on?
> every time I try to upload the config.php file, it says that I'm not using proper syntax,
what is "it"?
Also, there is no "config.php" file.
Hey, I've installed wakaba but I'm having trouble getting it running. It first refused to run at all and output the wakaba.pl file as ascii text. Changing the extension to .cgi fixed that. Now all the pages load, but it seems like it doesn't want to write to the database. It is connecting fine and is able to create new tables as after running it for the first time (through sh, mind you) it created the wakaba_admin, wakaba_comments and wakaba_proxy tables. No posts can be made, however, as no rows are ever inserted into the db. The SQL interface in the management panel can successfully exec commands on the db, however. I'm stumped...
You're not supposed to run it through sh, that creates broken HTML. Manually go to the admin page and rebuild caches.
>>716
Already done that, several times. It rebuilds fine, but still can never enter new posts into the database.
Are you entirely sure you're doing that the right way? Because it's showing every sign of not being done.
Note that on the front page, the "Manage" link goes to "http://www.reknet.ca/img/?task=admin", but if you go to the right location by hand, it is "http://www.reknet.ca/img/wakaba.cgi?task=admin" as it should be. This means that the script couldn't find its SCRIPT_NAME variable when it built the pages, but that it can find it when you access it through the web.
Hi there, i tried to install Wakaba 3.0.7 on FreeBSD with Apache 1.3.x
I don't get an error 500, Perl execute and all but it seems unable to connect to mysql o_O (says fetch error)
If i go with SQLite, then i get a 500 error + this log from apache:
[Fri Mar 30 00:59:00 2007] config.pl: Constant subroutine main::CONVERT_COMMAND redefined at /usr/local/lib/perl5/5.8.8/constant.pm line 103.
/libexec/ld-elf.so.1: /usr/local/lib/libsqlite3.so.8: Undefined symbol "pthread_create"
[Fri Mar 30 00:59:00 2007] [error] [client 192.168.1.90] Premature end of script headers: /home/www/xchan/wakaba.pl
Any ideas?
>>718
Thanks, I wiped the caches, tooled the .htaccess (used cgi-script instead of cgi-handler, now .pl works, this on apache 2.0.54) and re-ran through a browser. Works now, thanks.
Yes. The server is on another (working) internal host.
The client is also installed.
>>721
me again. it is working, but the file size limit seems to be wrong. It won't allow any file, of any type, that is over 1 mb.
I've tried setting MAX_MEGABYTES as high as 100, but it didn't change anything
>>724
I'll check, but I'm pretty certain it's not. Especially since the error returned is a wakaba page, not an apache error.
>>723
MAX_MEGABYTES sets the maximum space that the board will take up in TOTAL space. You want to edit MAX_KB to change the maximum allowed size for files.
>>724
You are right, dunno why just recompiled without thread support and now works like a charm o_O Still dunno why it won't work with mysql but whatever, as long as posts are working i don't mind.
Thanks!
Oh, yes, you are right. I was not paying attention.
Ok so, (im 728, 719)
SQLite work perfectly. I reinstalled the perl mysql module just to make sure but the same error still trigger:
[Fri Mar 30 16:15:46 2007] wakaba.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at wakaba.pl line 1835, <FILE> line 3.
Wakaba fails to make the tables in the database. The installed mysql client is version 5 connecting to a v4.1 server (and this is working with a php script).
Any idea?
>>730
Ah im a moron X_X didnt install the right perl module.
sorry to have taken your time.
>>152
Was a solution for this ever found? Because not even deleting the cookie is working for me.
There's really no way to solve an unreproducible problem, so no. For you, though, it sounds like you might be stuck behind a buggy transparent proxy.
hi, i'm trying install kareha, and i get this error:
[Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] wakautils.pl: Too many arguments for open at wakautils.pl line 500, near "$cachefile) # get modified date and cache contents [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] wakautils.pl: " [Fri Apr 6 19:18:52 2007] templates.pl: [Fri Apr 6 19:18:52 2007] templates.pl: BEGIN failed--compilation aborted at templates.pl line 3. BEGIN failed--compilation aborted at kareha.cgi line 14.
any idea?
I'm trying to use FORCED_ANON => 0 on my wakaba but the changes don't seem to go through. Is this setting supposed to remove the name field and set all future posts to Anonymous or not show the name field at all? That is exactly what i want to do but so far it's not working well.
Nevermind, it works now, i had it on 0 for some reason.
That error seems messed up and unreadable. Also, it's very confusing. Are you using some ancient version of Perl or something? Or did the files get messed up?
There's a minor problem with Wakaba's strikeout code in do_spans()
. Malicious poster can create constructs like <!--0-<del>->
, which may block others from viewing the board.
Patch (probably kinda ugly, but...): http://www.pastebin.cz/show/668
I've always said there should be a function to rebuild all the html files wakaba has output, the threads. Is that what rebuild cache does? I'm afraid to try it on my live board.
I'm using kareha now which i find is really nice but i've made some modifications to make it fit into the design of my webpage and pretty much all of this fails because kareha calls kareha.pl directly when showing threads. If it were to just call res/thread-id.shtml as the file is called all would be well for me. How can i make it do this?
I'm running it on a university server that has silly restrictions that say that the the scripts have to be .cgi, they have to be not writable by anyone by the owner, and cannot set uid or gid.
I had to change kareha.pl to kareha.cgi, and I did change the name in the source files. I tried the same thing again with a fresh install, and I got the same error.
And it's running perl 5.8.7 on linux.
Thanks.
I had to change kareha.pl to kareha.cgi, and I did change the name in the source files.
which files? the only one i see 'kareha.pl' in is admin.pl...
if you changed anything anywhere else, that's probably what caused the problem.
I'm sorry if I didn't lurked enough, though I tried. But I'm almost complete noob and I need some help installing Kareha.
I gave up on trying to make kareha ssi and just run it as is. I've translated the template file to swedish though if anyone cares i have a link to it here.
http://swehack.se/pub/code/template_se.pls
Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.
> Swedish characters are corrupted somewhere in kareha.pl when building cache. I'll try and find out where but it would be great if someone with more knowledge of the script could fix it. Example below.
your kareha.pl is sending utf-8 pages as iso-8859-1 instead of utf-8. setting the encoding to utf-8 causes the page you linked to to display correctly. i'm guessing you changed CHARSET in config.pl to iso-8859-1 instead of utf-8. if you did, all you need to do to fix the problem is just change it back (or just comment out that line, as utf-8 is the default).
Thank you! That sure helped, i changed the charset because i was afraid swedish characters would not be displayed properly if i had utf-8 but i guess i was wrong.
A spam bot was able to create anchor tags linking to the usual random pill sites in a post on one of our boards. How is this possible? It only scares me because if spammers can do it then what's stopping malicious people from.. being malicious?
>>751
if you select html formatting it only allows certain tags.
>>758 Wakakakakakakaba~
I deleted the post before realizing that perhaps I should check the mysql and see what was in the comment section. I'm at a loss for how they did it.
I have installed the new version of wakaba and almost everything is running well, except the wakaba board that uses oekaki, that gives me plenty of errors.
First one is that seems not to recive the comment field, if i only writte the comment field it says that i must writte something...
Another error i get is that if i reply one image inserted with oekaki, of course, as it doesn-t takes the comments i must insert a image, when i use a nickname i get the spam error, if i post it without nickname i post correctly the image.
I have done this to try to prevent the spam filter, i have also tried to leave spam.txt empty, but without success in any case.
Can you give-me some tips to solve this?
Thanks
Maybe oekaki_style.pl is not updated for the spam trap? You could try copying the right names over from futaba_style.pl... It's been a long time since I did anything with oekaki.
Well guys, I'm here to ask a question that quite a few of my friends aretoo timid to ask:
I need a clear rundown with installation. A REAL clear walkthrough. Existing instructions are made by coders for coders, I feel like an Italian kid trying to read Portugeese.
I am not a coder by any stretch of the imagination. I can screw around in HTLM in the most basic fashion. That's about it.
I download the files and I have no idea where to place them. I have this folder full of... stuff. Do I simply upload the folder via FTP and viola, instant wakaba page?
I have a Mac running OSX 10.8 and the '.pl' files do not open in browsers like the instructions say. I can open them in a txt reader and dick with it there.. but then what?.
Oh, I've already been to the Wakaba 'quick start' page.
I get instructions like "Start a database", "install thumbnailer" and "config Wakaba". I click to get details only to be told that 'text does not exist yet'. Not much help at all.
The server side of things is all clear, I know this because a friend of mine is letting me bum space from his domain and he already has a wakaba page... (which he forgot how to install also.)
There are a multitude of others that share my frustration.
This is my plea for getting the secret to getting this thing to work! Help me and I will erect a statue bearing your likeness.
Many Thanks!!!!!!
>>763
create a mysql database
upload the files and required directories (/src, /res, /thumb, /css, and /include)
CHMOD 755 wakaba.pl and captcha.pl
edit config.pl to reflect your mysql information and preferred board settings.
goto yoursite.com/wakaba/wakaba.pl and hope you didn't mess anything up
and that's about it.
Thanks for the info ;)
I'm afraid that i don't have the enought time to do this, so i'll disable it, thanks again.
I'm absolutely confused. I cannot install kareha.
Exactly what do I have to do? It'd be really, really nice if someone were to write a simple, step-by-step guide to installing it for those of us who are terribly confused by all of this.
For one, do you have to download MySQL, because I have MySQL databases provided by my webhost?
I don't understand any of what you all are saying, and I guess I should look into it more, but man...
And this is for kareha, not wakaba.
I'm having a weird problem with oekaki.. it seem that it save all drawing using the user ip.. so when the user want to draw another pic, it say can't save file because the filename already exist..
Maybe I misconfigured something?
nevermind, i found the solution.. let wakaba rename the png file..
How can I add an area in Wakaba which lists thread subjects, like Fchan has? Something similar to what's happening in div id="threadbox" on this board? Thanks in advance
You implement it yourself, I guess. There is no such feature in the base version.
...Yeah, I realize that, but could you give me any guidelines like what files, functions, whatever would I be working with within this script? I don't expect anyone to write out a bunch of code for me, I'm just not familiar with the inner-workings of this script, so I would like to know what I would be focusing on. Thanks.
>>772
Don't alter things if you're not able to read the "code." If you do, remember to keep backups of your original file.
I'm not trying to be mean or anything, but maybe you should learn up on some perl and then start tinkering with the imageboard.
If you wanted to add something like you're asking for you would only need to add a section to futaba_style.pl. Basically the thread list on fchan is a stripped down clone of the threads themselves. All you need to do is copy the thread list code and strip out everything except the thread subjects then add it below the post form.
I have a problem with wakaba and I hope you can help me.
When I make a post I get this:
Method Not Allowed
The requested method POST is not allowed for the URL /wakaba/wakaba.html.
Ok, so I read somewhere that if a web host does not support POST then it is pretty stupid. I looked it up and my web host does support POST. The support forum also told me that you can't send POST-data to an HTML-file.
I really don't get it. Isn't the wakaba.html supposed to redirect me to some data-processing perl-file and then send me back to the html-file?
Anyway, thanks for your help!
Is the POST content somehow getting redirected to the html file when the script forwards? That's kind of strange.
Does anything get posted? Does setting ALTERNATIVE_REDIRECT to 1 in the config help?
How can i make wakaba show the original filename in the thread layout?
You can't, unless you implement that feature yourself.
I see, thanks.
So how can i allow people to upload duplicates of pictures in different threads? I couldn't find it in the config file so maybe that has to be implemented to.
I just mean that when you don't have a fast moving board sometimes someone wants to post the same pic that has already been posted in another thread, he can't. I would like to have that protection for threads only, not whole boards.
Same deal.
Whenever I try to post anything from the manager post section, I get this error:
"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."
It doesn't happen when posting normaly.
>>785
search the threads here more, i believe that particular problem relates to the names of the fields for the moderator post panel being out dated.
Perhaps it's just me being clueless, but I can't find any mention of this problem.
>>788
http://wakaba.c3.cx/sup/kareha.pl/1141929669/634,635
It doesn't explain how to fix the problem in detail but if you know your way around futaba_style.pl it shouldn't be too hard to fix.
Typical, I spent ages checking every other thread on the board and diddnt look through this one well enough.
I have no idea of my way around there, but I can hack at it for a while and find my way around, at least I know what file now. Thank you. =-)
Waha, I know you're not so keen on stickies, but over at 420chan our users keep demanding it, I'm not asking you to implement it into wakaba but if you could point me in the right direction of how to implement it myself that would be great. Link is where I can be reached if you have any time you could spare.
Awesome software man, we've been running it for years with no real problems.
>>791
How about he justs posts the info here? All of us keep demanding it on this board, too :D
>>791
It's not that hard. Perhaps it's time to get moderators/admin that aren't 15/16 years old.
>>791-792
if you want that type of board, why not just use phpbb?
I added an oekaki to my board, and it seems to work well, except that the captchas you get after you draw are outdated, you either have to remember the captcha in the post before you enter the applet or open another window with the thread so you get a fresh captcha.
I've removed captchas from the board altogether for the time being but I'd rather keep them if I can fix this glitch. Anyone have similar problems?
I'm an administrator of a fairly large new *chan (http://11chan.net/b/) and our /b/ and /i/ boards use Wakaba 3.0.7. We have a lot of bugs regarding admin features, mainly due to the fact that the owner (f0rt) isn't fixing it.
The manager post form is the most important feature for me, yet the most broken. First, the manager post form always triggered the anti-spam filters. I found a thread on here that fixed that and f0rt fixed it for me. I'm able to post with it now. However, there remain two major problems:
Another major problem is the banning system. Whenever I ban someone, I have no control over how long I want the ban to be, and so whenever I ban someone, their IP is unbanned automatically in three hours because that is, apparently, the default ban length.
How do I fix these three problems? They're very important.
>>796
Forced anonymous can be turned on/off via editing the config.pl. If you do not have ftp access to the imageboard directory then you will need to get f0rt to do it.
With regards to the html... I don't really know. What you can do is set:
use constant USE_XHTML => 0;
and to uncomment the following lines in the .htaccess file like so:
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
#RewriteRule \.html$ - [T=application/xhtml+xml;charset=utf-8]
#</IfModule>
That should get rid of the parsing error because it forces the board to display its contents whether or not it is 100% compliant XML.
By the way, there's no such thing as a fairly large and new *chan. You've got to survive longer than a couple years, fight off constant child pornography floods, deal with endless /b/ trolls, and the occasional legal dispute before you can sit down and tell yourself anyone cares about your dime a dozen imageboard. No offense.. that's just the reality of it. There's new (unneeded) public futaba style imageboards opening every other day.
Sometimes I think our communities would fair better if we worked together.
First, please read the big bold text at the top of the board and don't start new threads that I have to clean up. There is a point why there are single threads for these things, which is to make it easier for people to find information, like you already did.
Second, HTML input in the manager for is dumped straight into the page, and by default it is sent as xhtml, meaning it has to be well-formed XML. >>797 tells you how to turn of the usage of XHTML, though, after which you can use good old tag soup.
Also, forced anonymous applies to everyone, even admins.
Finally, there is no automatic timeout for bans. They stay until you remove them. They most definitely do not disappear after three hours, I have no idea why you think they would.
why does http://wakaba.c3.cx/antispam/spam.txt have >
>
in it?
>>799
also, i had to use OMG HAX to put >
>
in that post.
also, 800GET~
>>800
it's two greater than signs.... zomg hax. perhaps it's used so people can't insert URLs into >> reply links.
>>801
how can people insert urls into >> links if that's not in spam.txt?
It's because there was a horribly, horribly broken spam bot at one point that would post lots of posts with nothing but >> links except it was so broken it posted them as >>.
I'm getting "Premature end of script headers: wakaba.pl" errors in my error_log and wakaba.pl just displays a blank page. I'm trying to run the latest Wakaba version through CGI, on Apache 2.2. What might be causing this?
I had to put kareha in my /usr/lib/cgi-bin/ directory, and then edited the config file to put the imageboard in /var/www/imgboard which is the webserver root.
the path to the imageboard from the web would be "mydomain.com/imgboard"
but kareha is trying to do "mydomain.com/var/www/imgboard"
any ideas how to fix this?
There is no real support for having the script and data files in different directories. You'd have to hack the source to make it figure these things out more intellgently, or else get a real host.
Because signed arithmetic is bounded in MySQL, I think it was. There might be some better workaround than that, but it was a quick fix.
Also, if Formatting is not set to anything, I'm just going to blame browser bugs, unless someone can prove me wrong on that.
hello, me again. I figured out my fail apache configuration.
I am having trouble with post numbering though. It starts over with each thread. Is this a configuration issue? I can't find an opiton for it.
>I am having trouble with post numbering though. It starts over with each thread.
lol
never seen this
>>812
i think he meant it's something he's never seen before. not being sarcastic. (i haven't seen/heard of this either) are you running stock wakaba or what?
>>810 if you're running kareha, that's how it works. Even in mode_image. You have to use wakaba if you want the numbering style you're thinking of.
Does anyone know how to edit the perl script or w/e to add modify the generated code for the board? I was wanting to add in some Javascript shiny-ness for when you click to view the photos on my image board, but am at a loss as I dont know perl. Though I can follow instructions if someone might provide them. all i need is the <script> to go in the header and a rel="" to go into <img> tag things.
>>815
just edit the html in templates.pl (for kareha) or futaba_style.pl (for wakaba).
spam trap
I've got Kareha up and running, everything seems fine except I'm getting the 0-byte thumbnail problem as per >>301
I can't do any logchecking or anything like that, as I don't control the server it's on. Any suggestions? Is wakautils supposed to be set executable or something?
hi,
does anyone know how to do the multi file submission on wakaba?
like users can upload more then one file?? thanks!!
You can't.
ok well then is it a possible to make a post a sticky whenever you submit it?
No.
Posting non-image files (in my case .rar files; didn't test other filetypes) in Wakaba with Japanese filenames results in a 404 error when attempting to download the file. The file is still in the /src folder, but for some reason, it's impossible to download it through Wakaba. Is there any way to get around this?
Hmm, most likely some kind of character set mismatch between server and client. I don't think I try to normalize the character sets of filenames, and I'm not sure if browsers send the filename in native charset or in the charset specified for the page.
What browser, OS version, and locale setting are you using to upload?
>>824
Firefox, Windows XP SP2. My locale setting is set to Japanese.
Sounds like it's being sent in Shift_JIS or something and things break down... Unfortunately, I don't have a good idea for fix right now.
Getting Kareha (latest version, whatever it is right now, too lazy to look) to run under apache2 and mod_perl2 was quite a pain, so to speak... in the end, beyond what is extensively described on the internet, I had to do the following:
Any possibility to get cleaner, "official" workarounds to the problem that made these necessary in the first place?
Regards,
Anonymous.
>>827
I meant setting $self in templates.pl, not wakautils.pl. Sorry.
For Kareha's auto-generated password, how often would the same password show up for 2 unique people or 5+ unique people. Also, why would it not be unique (other than sharing the same computer)?
Is there some sort of default password that is used when JS/Cookies are off?
And by default I mean no password.
The default password is empty, but the "password" shown in the admin panel is hashed, meaning that an empty password shows up as some random string, which is probably what is confusing you.
Considering the problems, I am not sure if it is even possible to make a version that will work cleanly on both CGI and mod_perl. For now, mod_perl is unsupported.
I'm having trouble with making manager posts. First of all I get "Error: No comment entered." when I just enter a commment, and the spam filter is triggered when I try to include a file.
I have read all relevant posts in detail, and tried commenting out code as in >>545, to no avail and taken a look at >>634 and >>635, which is where I think the problem lies.
Can someone please expand on >>634 and >>635 as at present there is no way of making a manager post at all.
>>831 Yeah, it seems that's the case. I know the string well.
I am having an issue with Wakaba.
It configures fine, but when an image is posted, it shows up and when the pages reloads, the post disappears.
The tables were created,
captcha.pl and wakaba.pl are set to 755
I did change the wakaba.html file to index.html if it matters
What do you mean by "it shows up"?
Ok, I figure out the problem, it had to do with renaming wakaba.html
I think he meant the thread exists but the main page doesn't update due to him renaming the index page.
I've been wondering, has the issue with the spamtrap been fixed in the current Kareha 3.1.3 download?
Will there be a 3.1.4 with the fixes from the unicode issue in the other thread and anything else that's come up soon?
What is a Manager Post in Wakaba?
I have a thread on my board that is not bumping anymore but it has only like 11 image posts and maybe 33 posts. Which setting controls this sage thing?
I have a bug to report in Kareha, Where should i send it, or just post it here?
line 253 (kareha.js) if(match=/#i(.+)/.exec(document.location.toString()))
error: Test for equality (==) mistyped as assignment(=)
as well as the function get_active_stylesheet may not always return a value also Kareha.js
Firebug pulled this up, I dunno if its right or not, but i thought id let ya know anyway.
Hopefully there will be, as soon as I can find some spare time and energy to put it together. I haven't committed to a fix for that issue though because nobody who complained ever reported back if the fix worked.
That's not a test for equality, it's an assigment and a test for non-null. It's correct as written.
>>844
We've reported here that our spam stuff is all fixed up. I'm not 100% sure if it was fixed using code provided here or by our coding team. I will ask them and if I can put together the code I will post it here for you.
I'm totally lost when it come to cgi scripts. All my expertise lies in PHP and Html. Can you please tell me how to install Kareha? It would be greatly, greatly appreciated.
In Wakaba, is it possible to turn off the verify code when posting.
>>847 in the config file...
enable_captcha needs to be set to 0.
How come if I put my name as fusianasan my name turns into my hostmask?
internets?
>>851
Yeah I didn't know it was a feature
How do I stop Wakaba from detecting duplicate pictures?
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?
Oh wow.
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.
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... <_<;
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.
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.
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.
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~
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
thank you anon
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?
>>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...
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?
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~
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.
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
>>875 assuming you're using the wakaba script:
#use constant HTML_SELF => 'wakaba.html';
setting. You can't change the other pages (1.html, 2.html, etc)>>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
You can change the table names. Go read through config.pl
.
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?
>>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?
You should not delete anything.
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.
>>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
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.
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
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.
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?
If it's Google ads, their code is incredibly paranoid. There's a config.pl option to turn off the stripping.
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
Without any further information than that, you're not likely to get much useful help. Apache is a tricky bit of software.
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.
Doh, the \n stripping isn't breaking it. Also, there is no config.pl option for it; simply edit include() in wakautils.pl.
Oh boy, it seems the script actually does work when called from Waka... just not in Firefox.
I mean, how do I set apache to have the script run once it's loaded in the browser
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.
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
>>897 Why in God's name would you want to embed music?
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.
>>898
To annoy the heck outta people! What other reason is there ;)
sry this is a littl off topic
>>887
Ok I fixed it, by editing config defaults archive mode to 1. Looks like it was overriding the one set on config
>>899 it's 'result'=>'ADMIN'
for me, I'd use '21anon4H3U'=>'awesome admin'
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?
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?
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!)
>>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?
No idea what's going on there. I need a way to reproduce the problem if I am to debug it.
>>904 Kareha does not have this feature. It required a database, like Wakaba uses.
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
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
sorry for the double post i dont know how i pulled that one off lol XD
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.
Ah, no, I don't think so. That'd probably just be a case of editing the templates in futaba_style.pl
, though.
How can I install capcodes in Wakaba?
>>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
>>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.
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?
>>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?
How exactly do I turn off the CAPTCHA for Wakaba?
>>920
in config.pl
# Captcha
use constant ENABLE_CAPTCHA => 0;
>>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
You don't have example.htaccess in place, or mod_headers isn't enabled, so your browser is caching old pages.
>>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?
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!
>>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?
Read error_log.
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.
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.
i have this setup but it only seems to run in my CGI folder... why is this?
Because that is how your web server is set up.
>>933 because welcome to 1996. maybe you should get out of the time warp and find a better host/web server.
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
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.
>>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
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.
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?
That is, before the line return;
in the function write_array
.
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!
>>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.
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.
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?
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.
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?
Will we ever get new releases of Wakaba and Kareha, even if they're only maintenance/bugfixes?
On a related note, what's the likelihood of that modularized Kareha re-write ever happening?
Hi,
What am I doing wrong if the generated pages stick all the HTML on a line? It was mentioned earlier in the thread (search for "one line") but the reference is vague.
Thanks.
Forbidden
You don't have permission to access .../wakaba.pl on this server.
wth is goin' on?
>>955 That's how the pages are generated. Nothing wrong with it.
Hi there
I downloaded kareha.
How can I set the permissions of the script (kareha.pl and captcha.pl) to 755?
Thank you for reply.
I'm using a Kareha text board and I can't seem to get the Shift_JIS to work. I've changed the setting in the conf and the .htaccess but after it loads the board it stops loading after the first post in the first thread.
Anything I'm missing?
>>961 well, it depends on what you're doing. If you're trying to get some text that needs to be on separate lines to work (say, AdWords or somesuch), try saving your include files with windows line endings (open and save them in Notepad or something). If you're doing something more complicated, there's a few lines in waka_utils.pl that you can comment out, but I can't remember where exactly they are. Waha, you recall the exact lines?
last time i checked the option to not collapse all the HTML it sends is in the config file..
Yeah, there's a STRIP_NEWLINES option (or something like that) these days.
I've tried Googling this, to no avail... I can't think of any more search terms to use, so I decided to ask here(I really hate bugging this board with my stupid questions if I can help it...).
I would like to allow people to create their own board(s) on my site, I'm not sure how feasible this is with Wakaba(the MySQL thing might be a hassle), but perhaps it is possible with Kareha?
If anyone can help me find information on automating script installation/remotely hosting user-created boards I would be most grateful, I am no expert with scripting but wish to offer this to users of my site.
If you are not entirely, 100% sure what you are doing, I would strongly recommend against this. There are many, many ways you could fuck up and make it possible for somebody to take over your entire server this way.
fusianasan
what
mokorikomo
I'm going to trust you, I know you have more experience than just about anyone here, so thank you for the warning.
I've never heard of this security issue, it must be why it's so hard to find information on this subject.
Thanks for telling me.
Are there any really simple step by step guides for installing wakaba?
That is too bad.
Noob's guide for setting a MysqlDatabase to work with Wakaba? I have made a database and linked the config.pl file to it but I still get a "SQL connection failure".
Then your config.pl settings are not correct.
[Thu Oct 04 21:50:04 2007] [error] [client xx.xx.xx.xx] [Thu Oct 4 21:50:04 2007] wakaba.pl: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''0', '10'' at line 1 at wakaba.pl line 1599., referer: http://domain.net/board/wakaba.pl?task=admin
This is happening on a board that has been up and working properly for quite some time now.
Line 1599 of our wakaba.pl is this:
$sth->execute($page * $threadsperpage, $threadsperpage) or make_error(S_SQLFAIL);
The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
Please try the following:
* Contact the Web site administrator if you believe that this request should be allowed.
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
get this whenever i try to post or use [manage] button.
I have no idea whats going wrong, help is appreciated.
>>980
I think I can fix the problem, I just need to know what windows .dll processes html files. Anybody know off the top of your head, Google searches so far all want me to download shit I don't need.
Alright, i got it to process my html with a http.dll whatever, but now I get a
HTTP/1.1 501 Not Implemented
Whenever I try to post. When I executed wakaba.pl only 1 file came out of it, wakaba.html. Is there supposed to be more?
Finally got all the verbs to enable using URLscan, but now theres a
Bad request
The page that you are looking for might have been removed, had its name changed, had its content expired, or is temporarily unavailable.
Please try the following:
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button or open the home page for this Web site and look for other links to the information that you want.
HTTP Error 400 - Request is badly formed.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 400.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Web Site Administration, and About Custom Error Messages.
error everytime
>>981-983 the solution is to install apache. It's free. It's better than IIS.
Try asking the Dreamhost people about it, first.
>>986
Well, I'll just not and tell you what their response would be. "We do not give support for any third party software."
Is there a changelog for wakaba? I have an older version of wakaba, and I'm wondering if it's really worth my while upgrading.
I've been messing with Kareha for use as a blog, and well, I'd like to hide all replies to a thread.
Unfortunately setting REPLIES_PER_THREAD to 0, just gives no limit to the amount of replies shown.
Any suggestions?
>>991
I tried that. It seems that the first post is considered a reply as well. (unless I screwed something up...)
>>992
crazy. i'm kinda busy atm and i haven't hacked up kareha as much as i have wakaba so i don't have an answer for ya off hand.
I had a setup like that once, but I've totally forgotten how I did it. You could just use a big <if> statement in the replies loop to only display reply 1, I guess.
Since there's almost one thousand posts in here, HOW do I configure the options in config.pl when there are NONE IN IT? \o.o/ All it contains is below:
print <<END
Content-Type: text/html
<html>
<head><title>Unconfigured board</title></head>
<body>
<h1>This board has not been configured yet.</h1>
<h3>Things you need to do to get the board running:</h3>
<ul>
<li>Choose what kind of board this should be, and copy the files out of the corresponding
<code>mode_*</code> directory into the board directory.</li>
<li>Edit <code>config.pl</code> to suit your needs - remember to uncomment the lines
you change.</li>
<li>Access <code>kareha.pl</code> again (or just reload this page).</li>
</ul>
</body>
</html>
END
;
exit 0;
1;
(P.S.: I have never used Perl before, and I have also never used this script before. <.<)
Perhaps you should read the instructions you just posted again.
…
OHHHHH. smacks head Okay, I get it now, thanks. :D I guess I just misunderstood it a bit. I get it now! :)
Okay I am stuck at SQL connection failure, what do I do? It looks like its working but it just says SQL connection failure on the webpage?