Re: Comments not working

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
I'm guessing one of two issues here:

1. You don't have the session plugin installed.  See the plugin registry.
2. You don't have the session plugin installed correctly so that it can
    maintain its session database.  See the top of the session and
    nospam plugins for directions on how to install and make sure you
    did everything correctly.

If you're absolutely positive you have both nospam and session installed 
and you've done everything correctly, then you'll have to give us more 
information on how you have things setup and configured.

/will

On Tue, 1 Nov 2005, gaba wrote:
> 
> I used to have the same problem and I resolved it installing again
> pyblosxom....
>
> Greg Ryman wrote:
>
>> I'm running 1.2.2
>>
>> When I try to post a comment I get a 500 page and this error in my logs.
>>
>> root@moniker:/usr/share/pyblosxom/contrib/plugins# tail
>> -f /var/log/apache/error.log
>>  File "/usr/share/pyblosxom/contrib/plugins/comments.py", line 585, in
>> cb_prepare
>>    cdict, encoding)
>>  File "/usr/share/pyblosxom/contrib/plugins/comments.py", line 316, in
>> writeComment
>>    donefunc=lambda x:x)
>>  File "/usr/lib/python2.4/site-packages/Pyblosxom/tools.py", line 438, in
>> run_callback
>>    output = mem(input)
>>  File "/usr/share/pyblosxom/contrib/plugins/nospam.py", line 271, in
>> cb_comment_reject
>>    session = request.getSession()
>> TypeError: 'NoneType' object is not callable
>> [Tue Nov  1 13:34:09 2005] [error] [client 216.158.128.30] Premature end of
>> script headers: /home/greg/cgi-bin/blog
>>
>>
>> Ive been searching online for probably half the day and can't find anything
>> similar. Any help would be appreciated.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.