[Zope-PTK] Problem adding News (was: Problem adding member)
Magnus Heino
magnus@vuab.net
Mon, 14 Feb 2000 09:03:30 +0100
Did you delete and reimport DemoPortal.zexp
It does work for me now.
You can fix it manually however, just go to the wizards property and
change from '/manage_addProduct/PTKBase/addDocument' to 'addDocument'.
I can only find one bug now: document.gif, newsitem.gif and link.gif are
not displayed, since this code was commented out from __init__.py.
Mike?
/Magnus Heino
> Sorry Mike, but I'm still getting similar results:
> (Total restart with fresh cvs chkout and new portal created)
>
> Zope Error
> Zope has encountered an error while publishing this resource.
>
> Debugging Notice
>
> Zope has encountered a problem publishing your object.
> Cannot locate object at:
> http://dale1:8080/MyPortal/Members/myportalmember/manage_addProduct/PTKBase/
> addDocument
>
> ----------------------------------------------------------------------------
> ----
>
> Traceback (innermost last):
> File C:\Program Files\VHG\lib\python\ZPublisher\Publish.py, line 214, in
> publish_module
> File C:\Program Files\VHG\lib\python\ZPublisher\Publish.py, line 179, in
> publish
> File C:\Program Files\VHG\lib\python\Zope\__init__.py, line 202, in
> zpublisher_exception_hook
> File C:\Program Files\VHG\lib\python\ZPublisher\Publish.py, line 151, in
> publish
> File C:\Program Files\VHG\lib\python\ZPublisher\BaseRequest.py, line 338,
> in traverse
> File C:\Program Files\VHG\lib\python\ZPublisher\HTTPResponse.py, line 521,
> in debugError
> NotFound: (see above)
>
> Dale
>
> ----- Original Message -----
> From: Mike Pelletier <mike@digicool.com>
> To: Stefan Langerman <lfalse@cs.rutgers.edu>
> Cc: <zope-ptk@zope.org>
> Sent: Sunday, February 13, 2000 2:13 PM
> Subject: Re: [Zope-PTK] Problem adding News (was: Problem adding member)
>
> > On Fri, 11 Feb 2000, Stefan Langerman wrote:
> >
> > > Cool! it's working! I can now add new members, but...
> > >
> > > The member cannot create anything. I try to create a News item
> > > (or a link), follow the two steps, and get:
> >
> > > But we're slowly getting somewhere... I feel it...
> >
> > Another bonehead move on my part. When I stoped registering all the
> > portal classes with Zope, the constructors became unavailable. I now have
> > all these classes adding their constructor methods to the PortalFolder
> > class. Sorry!
> >
> > Since the Wizards changed, you will have to delete and re-import the
> > DemoPortal.zexp file. If you wish to preserve existing portals, you will
> > have to refresh their interface from the template. This is done by
> > logging into the portal as the manager, clicking on "Reconfigure
> > Portal". The second paragraph on the reconfigure page offers a link to a
> > page which will re-copy the interface files out of the ZClass and into the
> > instance. If you've edited any of these files, your changes will be lost
> > if you use this method. You can instead edit the wizards by hand, there's
> > only three. See the 'Properties' tab of the template wizards, and compare
> > it with your portal instances'.
> >
> > > Thanks a lot,
> > > Stefan.
> >
> > NP!
> >
> > Mike.
> >
> > --
> > Mike Pelletier email: mike@digicool.com
> > Mild mannered software developer icq: 7127228
> > by day, super villain by night. phone: 519-884-2434
> >
> >
> > _______________________________________________
> > Zope-PTK maillist - Zope-PTK@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-ptk
> >
> >
>
> _______________________________________________
> Zope-PTK maillist - Zope-PTK@zope.org
> http://lists.zope.org/mailman/listinfo/zope-ptk