Kareha problem (31)

1 Name: Anonymous : 2006-02-25 10:06 ID:IMXuG6yI [Del]

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.

2 Name: Anonymous : 2006-02-25 13:16 ID:ZDrpYP3a [Del]

3 Name: Anonymous : 2006-02-25 13:53 ID:IMXuG6yI [Del]

yeah that works. Its not a real error as such, its just the Kareha.pl script displays in txt form.

4 Name: !WAHa.06x36 : 2006-02-25 14:26 ID:Jv+bOVuI [Del]

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.

5 Name: Anonymous : 2006-02-25 15:07 ID:IMXuG6yI [Del]

Im tellin you it worked. I got Pearl is working! In big bold letters displeyed.

6 Name: !WAHa.06x36 : 2006-02-25 17:00 ID:Heaven [Del]

In the same directory as kareha.pl?

7 Name: Anonymous : 2006-02-25 20:23 ID:IMXuG6yI [Del]

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.

8 Name: dmpk2k!hinhT6kz2E : 2006-02-25 20:56 ID:Heaven [Del]

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

9 Name: Anonymous : 2006-02-27 17:06 ID:IMXuG6yI [Del]

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.

10 Name: dmpk2k!hinhT6kz2E : 2006-02-27 18:05 ID:Heaven [Del]

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.

11 Name: dmpk2k!hinhT6kz2E : 2006-02-27 18:06 ID:Heaven [Del]

BTW, what is your http daemon? Lighttpd?

12 Name: Anonymous : 2006-02-27 22:59 ID:Heaven [Del]

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

13 Name: Anonymous : 2006-02-28 05:29 ID:vX2R2fan [Del]

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.

14 Name: dmpk2k!hinhT6kz2E : 2006-02-28 06:32 ID:Heaven [Del]

Does >>7 work if you rename it to .cgi?

15 Name: Anonymous : 2006-02-28 12:27 ID:vX2R2fan [Del]

No it doesnt, it just displays the source of the test script. And Perl is working! as the largest header

16 Name: Anonymous : 2006-02-28 12:33 ID:vX2R2fan [Del]

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

17 Name: dmpk2k!hinhT6kz2E : 2006-02-28 17:51 ID:Heaven [Del]

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.

18 Name: Anonymous : 2006-03-01 11:04 ID:bP+4VjdN [Del]

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?

19 Name: dmpk2k!hinhT6kz2E : 2006-03-02 07:49 ID:Heaven [Del]

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.

20 Name: dmpk2k!hinhT6kz2E : 2006-03-02 07:50 ID:Heaven [Del]

Instead of rename, make that copy.

21 Name: Anonymous : 2006-03-02 10:00 ID:bP+4VjdN [Del]

Thanks guys I got it working now. How do I add multiple boards??

22 Name: Anonymous : 2006-03-02 10:38 ID:r3fNNWZU [Del]

>>21 another install of kareha in another folder.

23 Name: Anonymous : 2006-03-02 15:10 ID:vX2R2fan [Del]

Ok thanks alot guys, one last thing I cant seem to get the ImageMagick thumbnailer to work, how exactly do I set it up?

24 Name: dmpk2k!hinhT6kz2E : 2006-03-03 07:59 ID:Heaven [Del]

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.

25 Name: Anonymous : 2006-03-04 03:04 ID:m18ysK4i [Del]

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?

26 Name: dmpk2k!hinhT6kz2E : 2006-03-04 04:17 ID:Heaven [Del]

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)?

27 Name: Anonymous : 2006-03-04 15:45 ID:pMt/gQ9Z [Del]

My server is running on a Linux operating system but my personal operating system is WinXP, does this change anythin?

28 Name: dmpk2k!hinhT6kz2E : 2006-03-04 16:31 ID:Heaven [Del]

It only matters what OS kareha is running on, and you say the server is linux. So it doesn't change anything.

29 Name: Anonymous : 2006-03-05 13:32 ID:77UaQFJB [Del]

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?

30 Name: Anonymous : 2006-03-05 16:52 ID:Heaven [Del]

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

31 Name: Anonymous : 2006-03-07 13:34 ID:Mm1yIMFT [Del]

Hmm I still cant get it to work, please explain step by step how to set up ImageMagik on my server please.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: