Vericode (24)

1 Name: Reuben Clayhood 2004-10-07 22:14 ID:g/K4nYcg [Del]

how about adding vericode to kareha for anti-spambot? Also I noticed that alot of ppl on iichan are ID:Heaven who aren't mods or anything. BTW, is the 2ch script available anywhere? I've seen derivatives, but not the actual script that they use themselves. THX & GJ.

2 Name: Reuben Clayhood 2004-10-07 23:34 ID:g/K4nYcg [Del]

perhaps you can help me with this too. Everything ok i think, mysql, apache, mod_perl, perl, perlmagick and imagemagick (all latest versions). I get the following:

Software Error:
Can't call method "prepare" on unblessed reference at (eval 5) line 1497. thx

3 Name: !WAHa.06x36 2004-10-07 23:46 ID:uBDr101A [Del]

I already added vericodes to kareha in the latest version. They're not turned on on iichan though except in

ID:Heaven is given to anyone who puts in an email address. I copied that behaviour directly from futaba, and I'm not quite sure what the justfication is, but that's how it works for now. It can be set to always show an ID if one prefers.

And no, I haven't been able to find the 2ch script. I'm not sure if it's available or not.

And finally, which version of which script is that for? A quick guess would be that there might not be a DBD driver for mysql installed.

4 Name: Reuben Clayhood 2004-10-08 03:48 ID:g/K4nYcg [Del]

OK I get it. Its fixed, you were right, database config was messed up. I reinstalled DBI and the DBD mysql driver it fixed that. Still getting some errors though. Have to check somemore stuff first. thx.

5 Name: Reuben Clayhood 2004-10-08 04:38 ID:g/K4nYcg [Del]

Heres where I am stuck, with kareha, I put it in a directory and it works fine, the problem is i get the index.html file 2 directory in front of where it should go. ie, apache2/htdocs/kareha/ then index.html is written in the apache2 directory for some reason. The script forwards me to the index.html in the kareha directory, but its not there.

With wakaba, I have the problem that the stuff in the is completely ignored by All the 'use constents' seem to not be recognized, because I get a ton of 'bareword not allowed' unless I paste the contents of into Even then it seems forwards to wakaba.html, except I can't find that file anywhere.

I'll try a fresh install of everything since I have some other utils I need to install too. its a cool script, now to get it working o_O

6 Name: !WAHa.06x36 2004-10-08 12:18 ID:uBDr101A [Del]

That's a problem I haven't heard of before... It seems a bit like the web server starts the script but sets the working directory wrong. Very mysterious.

7 Name: hotaru!hoTarufiRE!!YMy/5ZNE 2004-10-09 10:36 ID:Fu+9rp/Q [Del]

how about having the vericode refresh when you change the style so the colors match?

8 Name: !WAHa.06x36 2004-10-09 15:37 ID:TfvDVmuA [Del]

It'd be more work than it was worth, I thought. I'd have to scan through the document and change all the URLs.

9 Name: hotaru!hoTarufiRE!!YMy/5ZNE 2004-10-09 16:49 ID:UOPsDlKA [Del]

i did it on ...
it only took one line of javascript...

10 Name: !WAHa.06x36 2004-10-09 19:07 ID:cJ2kHYng [Del]

Quite a line, though.

But I might just steal that.

11 Name: Reuben Clayhood 2004-10-10 05:29 ID:Z6g5NTvg [Del]

fixed with reinstall of everything. I was going to update apache anyway. No clue what was going on before though. Problems with wakaba were due to misconfigured mod_perl stuff in httpd.conf. thx.

12 Name: Reuben Clayhood 2004-10-13 03:59 ID:ZJAGZ5GQ [Del]

just a note, neither script works with mod_perl, I disabled it. On a seperate windows test box, I get kareha working, but wakaba seems to work, but doesn't generate wakaba.html (it forwards to it, but the file is nowhere to be found) any clue to debug? thx.

13 Name: !WAHa.06x36 2004-10-13 18:43 ID:GjHDCFOg [Del]

Hmm. If the script can't write the file, it should throw an error. Might the working directory end up wrong so the file gets written somewhere else entirely?

Try putting in a make_error(glob("*")); near the start of the script to show a list of the files it sees in the current directory, maybe?

14 Name: Reuben Clayhood 2004-10-14 07:51 ID:bJi80aYQ [Del]

when I do that I get:
Software error:
Can't call method "disconnect" on unblessed reference at / line 1197.

I also tried searching for wakaba.html, but didn't find it it. mysterious, I am going to put in more debug stuff and see if i can't figure it out.

15 Name: hotaru!hoTarufiRE!!YMy/5ZNE 2004-10-14 20:12 ID:bDQG23sA [Del]

i've gotten the "Can't call method "disconnect" on unblessed reference" error before... checking to make sure the sql stuff in is correct and your sql server is up might help... that solved the problem for me...

16 Name: Reuben Clayhood 2004-10-14 23:03 ID:GD1cJnXg [Del]

yuppers, that was it. thx.

17 Name: Reuben Clayhood 2004-10-15 00:41 ID:GD1cJnXg [Del]

what ver. of image magick do I need? I am using 6.1.0 Q16 dll windows version. Convert does run, but I get no thumbnail just a broken picture. The big image is upload OK though.

18 Name: !WAHa.06x36 2004-10-15 03:13 ID:myN/h3IA [Del]

I've used the static Q8 version. Q16 just wastes memory, and the DLL version might not find its DLLs.

Maybe I should add a note about that to the docs.

19 Name: !WAHa.06x36 2004-10-15 03:21 ID:myN/h3IA [Del]

I also wonder why the script doesn't notice an incorrect SQL setup and throw a proper S_SQLCONF error such as we've come to know and love from 4chan.

No, wait, I don't wonder why, I know exactly why. Because it tries to close the database connection that was never opened when it throws the error. Sigh. Gotta fix that.

20 Name: Reuben Clayhood 2004-10-15 04:57 ID:GD1cJnXg [Del]

OK, i installed static 6.1.1 Q8 and it crashes when I run convert :(. I then installed 6.1.1 Q16 and it works if I type in 'convert -resize 200x200 a.jpg as.jpg', and when wakaba runs it doesn't crash.

Now, in the wakaba dir, there are 2 files '&1' which is 0 bytes and '2' which is the thumbnailed image minus .jpg extension. I assume these are temp files that didn't get deleted. Anyway, the /src and /res dirs have the correct stuff, but I'm guessing the '2' file didn't get renamed and put in /thumb and that '1' and '&2' didn't get deleted for some reason.
Wierd stuff, but looking at the managment stuff, this is so much nicer than futaba's admin functionality.

21 Name: !WAHa.06x36 2004-10-15 12:43 ID:myN/h3IA [Del]

Hmm, those come from the command line used for convert, and are obviously not being parsed right. Try searching the source for "2>&1", and just remove it. I think it should work without that too. What exactly are you running on?

22 Name: !WAHa.06x36 2004-10-15 12:45 ID:myN/h3IA [Del]

Actually I don't even know why I have that in there. I'll probably remove it myself in the next release. Just kill it and see if things work better.

23 Name: Reuben Clayhood 2004-10-15 21:09 ID:EmTb+utQ [Del]

yeah that was it. Works 100% now on win98 and linux with the above fixes. thx alot.

24 Name: !WAHa.06x36 2004-10-16 02:00 ID:3uz34YHg [Del]

All right. So out of curiousity, where are you running this?
Name: Link:
Leave these fields empty (spam trap):
More options...