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