When I navigate to Kareha.pl all I get is the script coming up on screen, it doesnt set it up at all. I have set it up as described.
does the test script in http://wakaba.c3.cx/sup/kareha.pl/1109033191/4 work?
yeah that works. Its not a real error as such, its just the Kareha.pl script displays in txt form.
That script can not work, if you're just getting the source code, because that means your web server is not even set up to run CGI scripts. I don't think you quite understood what the test in http://wakaba.c3.cx/sup/kareha.pl/1109033191/4 meant.
Start off by reading http://wakaba.c3.cx/docs/docs.html#RunningPerlScripts and look for information about how to get scripts running.
Im tellin you it worked. I got Pearl is working! In big bold letters displeyed.
In the same directory as kareha.pl?
Yup in the same directory as kareha.pl:
#!/usr/bin/perlprint "Content-Type: text/html\n\n";print "
Perl is working!(In large bold print)
";
This is what I get, is it supposed to display the hashbang and the code at the begining tho.
>>7
The only thing your should see in your browser is the single line:
Perl is working!
All that other stuff indicates that your server is not treating perl scripts as CGI. If your server is apache, try putting the following two lines in a .htaccess:
Options +ExecCGI
AddHandler cgi-script cgi pl
My server is actually not apache. The only CGI related file I have is a file called gdform.cgi, I am registered with Godaddy on a linux operating system, the premium hosting service to be exact.
If your CGI scripts work, then you could try renaming all the executable perl files to .cgi, and doing a search and replace in the code.
Ugly, but it'll probably work if you do it right.
BTW, what is your http daemon? Lighttpd?
>>10 actually, all you need to rename (if not using captcha) is the main wakaba.pl file to wakaba.cgi. I did that for a while on another host.
I tried firstly to rename just wakaba.pl and then all the .pl scripts but I still get the damn source when I run the wakaba.pl file. I think If I just got my perl scripts working id be good to go.
Does >>7 work if you rename it to .cgi?
No it doesnt, it just displays the source of the test script. And Perl is working! as the largest header
Ok so I changed my server to Apache 1.3, and I get the same problem. Now please explain what I do with the Options +ExecCGIAddHandler cgi-script cgi pl thing. Thanks
In the www root (or in the same folder as kareha), create a file named ".htaccess" and put those two lines in there.
You can also put them in httpd.conf, but it's probably better you don't touch that if you're not familiar with it.
I did that, and I got the same problem. Would I be able to give one of you guys my ftp username and password so you can check it out for yourselves and see what the problem is?
You'd probably have better luck putting it all up on a website where we can read what's going on. Ie, rename .htaccess to htaccess.txt, and link here.
Instead of rename, make that copy.
Thanks guys I got it working now. How do I add multiple boards??
Ok thanks alot guys, one last thing I cant seem to get the ImageMagick thumbnailer to work, how exactly do I set it up?
What OS is your server running on?
If it's something like Linux/FreeBSD/UNIXish, then installing it on your system is all that's needed.
Try typing "convert" at the command line and see what happens. If it's a bad command, ImageMagick probably isn't installed.
Yes Ive done that and the "convert" works, I get all these stuff like: "Where options include:
addjoin - join images into a single large image file"
So what comes now?
That should be sufficient. If you're using some form of UNIX, kareha automagically starts using it.
If you're using the message mode of Kareha, have you changed the values of ALLOW_IMAGE_THREADS and ALLOW_IMAGE_REPLIES in config.pl to 1 (don't forget to remove the # at the beginning of the line)?
My server is running on a Linux operating system but my personal operating system is WinXP, does this change anythin?
It only matters what OS kareha is running on, and you say the server is linux. So it doesn't change anything.
Nope it doesnt work. Is there anything I have to put into my imageboard directory, or do I just put "convert" into my cmd.exe and it should work?
>>29 say what?
Everything takes place on the server. That's where imagemagick needs to be, thats where the perl needs to be, that's whereapache needs to be.
Nothing happens on your personal computer besides the editing of preferences in config.pl.
Hmm I still cant get it to work, please explain step by step how to set up ImageMagik on my server please.