[Zope] zForum problem
Cliff Ford
Cliff.Ford at ed.ac.uk
Wed Mar 23 09:05:59 EST 2005
Forgot to cc the list in the last reply. Line 142 of zForum.py says:
CookieCrumbler.manage_addCC('cookie_authentication')
and the error message is saying that it can't find manage_addCC in
CookieCrumbler (I have taken out the rest of the Error log from this
reply because it contained a plain text database connection string).
Check that your Add dropdown list has Cookie Crumbler (Standalone) in
its list and that the Zope user has read/write access to the
CookieCrumbler and zForum folders.
I have a test zForum installed and it just worked! If I create another
with a dud database connection string I get a database error when trying
to View (the installation appeared to work OK).
Cliff
H Jansen wrote:
> Yep, that works. Here we go:
>
> Exception traceback
>
> Time
> 2005/03/23 14:08:12.432 GMT+1
> User Name (User Id)
> zope (zope)
> Request URL
> http://localhost:8080/mfts.nl/manage_addProduct/zForum/manage_addZForum
> Exception Type
> AttributeError
> Exception Value
> manage_addCC
>
> Traceback (innermost last):
>
> * Module ZPublisher.Publish, line 101, in publish
> * Module ZPublisher.mapply, line 88, in mapply
> * Module ZPublisher.Publish, line 39, in call_object
> * Module Products.zForum.zForum, line 87, in manage_addZForum
> * Module Products.zForum.zForum, line 116, in __init__
> * Module Products.zForum.zForum, line 142, in zfSetupSystem
> AttributeError: manage_addCC
>
>
... snip ...
>
> On Wed, 2005-03-23 at 12:04, Cliff Ford wrote:
>
>>Look at the Error Log for the Traceback, which tells you exactly where
>>the error occurred. That can often help pinpoint the problem by module
>>and line number - look at the Product code if necessary. Include the
>>Traceback in any question to the mailing list.
>>
>>Cliff
>>
>>burley at zonnet.nl wrote:
>>
>>>I've problems getting the zForum product working. When I try to create azForum
>>>instance somewhere in my Zope site, I invariably obtain the errormessage:
>>>
>>>"""
>>>Site ErrorAn error was encountered while publishing this resource.
>>>
>>>Error Type: AttributeError
>>>Error Value: manage_addCC
>>>"""
>>>Looking for a solution on the internet, the closest I could get was
>>>asdescribed in http://www.pcfltd.co.uk/docs/zforum.html (which is
>>>aboutinstallation on a Windows machine; I'm working on Linux box).
>>>
>>>In the directory where I want to create the zForum:
>>>1) I do have a database connection which is open en tested (works).
>>>2) I do have a CookieCrumbler instance (which I'm not sure of whetherit's
>>>essential or not...); the CookieCrubler properties are unchanged... (i.e.
>>>__ac, __ac_name, __ac_password, etc)
>>>3) In the zForum instance form I use the same connection string asdefined in
>>>the database connection.
>>>
>>>The Site Error message keeps popping up all the time (...sigh).
>>>Anyone some idea what's wrong...?
>>>
>>>
More information about the Zope
mailing list