Message Board

Installing Honey Pots

Older Posts ]   [ Newer Posts ]
 HPot on FreeBSD - I am unable to persist my HPot settings
Author: D.Haischt3   (29 Jan 05 9:23am)
Hello,

I am using Project Honey Port on FreeBSD 5.3 with Perl v5.8.5 and Movable Type 3.14. Actually Movable Type is accelerated using mod_perl which runs inside Apache 2.

I did successfully setup the Honey Port plugin for MT. Currently I am trying to persist my 'General Settings' changes - Unfortunatly without any luck.

If entering the General Settings page I am getting an error message at the bottom of the page:

+++

Use of uninitialized value in string eq at /usr/local/www/vhosts/dsh.name/mt-system/plugins/projecthoneypot/admin.pm line 250.
Use of uninitialized value in hash element at /usr/local/www/vhosts/dsh.name/mt-system/plugins/projecthoneypot/admin.pm line 255.
Use of uninitialized value in hash element at /usr/local/www/vhosts/dsh.name/mt-system/plugins/projecthoneypot/admin.pm line 257.

+++

Trying to save the just changed settings has no effect - Means it is just impossible.

Any hints on how to fix this issue would be appreciated.

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt

Want a complete signature??? Type at a shell prompt:
$ > finger -l haischt@daniel.stefan.haischt.name
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: M.Prince   (29 Jan 05 11:36am)
Ooh... that's an error we haven't seen before.... you may win the prize for bug of the day.

I haven't thought about the MT Plugin for a while now. I'll pull up its old code and go through it. Looks like there are some values that aren't getting set initialized, which would likely cause problems with a persistent Perl interpreter like mod_perl.

I'll post back here if I figure it out. Anyone who wants to monkey around with the MT Plugin code is welcome as well. Not only am I sure there are a thousand ways to make it better, but we don't lock it down like the actual honey pot code, so you're free to modify it as you see fit.
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: D.Haischt3   (3 Feb 05 7:13am)
I just want to mention, that I am getting the same error message even if having disabled mod_perl.
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: D.Haischt3   (4 Feb 05 1:03pm)
Can you tell me how many 'mt-projecthoneypot' entries should normaly be found in the table 'mt_plugindata'?

I am asking this because I do have about 10 'mt-projecthoneypot' entries in the just mentioned table. Is this correct?
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: M.Prince   (4 Feb 05 1:20pm)
That sounds about right. The table stores all the persistent variables used by the plugin. I just looked in our dev MT installation DB and it had 12 entries, but some of those may be left overs.

Still looking into the other problem, by the way. Haven't had time to track down the MT errors. Hopefully will figure it out over the weekend.

The MT code is pretty mish-mashed together. (I can criticize it because I wrote it.) If anyone's got more MT plugin experience and has the time to make the MT plugin more robust, we'd (I'd) love the help!!

Post Edited (4 Feb 05 1:27pm)
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: D.Haischt3   (6 Feb 05 5:35am)
.::| FOUND THE SOLUTION |::.

The problem isn't a bug in the plugin it is a a bug in Movable Type's data persisting code.

Take a look at ...

PostgreSQL does not allow binary data in text fields:
http://www.rayners.org/2004/06/getting_postgre.php

At least the above fix did work for me.
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: M.Prince   (6 Feb 05 6:20am)
Thank goodness. I have to confess I was having a devil of a time tracking this one down. Thanks for taking the time and for letting us know the answer!!!
 
 Re: HPot on FreeBSD - I am unable to persist my HPot settings
Author: D.Haischt3   (6 Feb 05 1:28pm)
Shame on Six Apart, why don't they support real RDBM systems (e.g. PostgreSQL) the same way as they are supporting MySQL???



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–24, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email