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