Hi Bill, i changed into itemAdd.dtml from <form action="manage_addSamplePollItem" method="POST"> to <form action="manage_addItem" method="POST"> but i get the same error like this: Cannot locate object at: http://192.168.190.238:23456/Test_Folder/manage_addProduct/Poll/manage_addIt em how can i use Hotfix_2000-12-8? i untared it into Products directory and restart zope. how can i have to do it correct? bye Shahram -----Ursprüngliche Nachricht----- Von: Bill Welch [mailto:bill@carbonecho.com] Gesendet: Freitag, 15. Dezember 2000 16:36 An: zope@zope.org Betreff: Re: [Zope] error by adding Poll Manage_addSamplePollItem is a 'legacy' mapped to addItem (see Poll/__init__.py) and Hotfix_2000-12-8 shuts down the legacy mechanism. I went into itemAdd.dtml changed it to use addItem directly. Bill. On Fri, 15 Dec 2000, Kaeidinejad, Shahram wrote:
Hi i install Poll-0.7.1 and try to add it. but i get an erro like this:
Cannot locate object at:
http://192.168.190.238:23456/Test_Folder/manage_addProduct/Poll/manage_addSa
mplePollItem ....
Traceback (innermost last): File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/Publish.py, line 187, in publish File /dgn-devel01/opt/Zope-2.2.4/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/Publish.py, line 162, in publish File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/BaseRequest.py, line 366, in traverse File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/HTTPResponse.py, line 539, in debugError NotFound: (see above)
what do i false?
bye
shahram
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Please note that the method is addItem, not manage_addItem. The current convention is to untar in the zope installation directory. For example, /usr/bin/zope. The files in the tar have a relative path - lib/python/Products. Other than that, yes - untar and restart. Bill. On Mon, 18 Dec 2000, Kaeidinejad, Shahram wrote:
Hi Bill,
i changed into itemAdd.dtml from <form action="manage_addSamplePollItem" method="POST"> to <form action="manage_addItem" method="POST">
but i get the same error like this: Cannot locate object at: http://192.168.190.238:23456/Test_Folder/manage_addProduct/Poll/manage_addIt em
how can i use Hotfix_2000-12-8? i untared it into Products directory and restart zope. how can i have to do it correct?
participants (2)
-
Bill Welch -
Kaeidinejad, Shahram