SiteRoot fun and games
I suppose this is just a bug report..... I added a SiteRoot to a Folder (one down from root) in Zope 2.5.0 and when ever I click on that Folder in "manage", all I get is this following. However if I go to ...8080:/Folder/manage_main it displays OK. And of course from THAT screen, I can't delete the SiteRoot entry. This 2.5.0 is great fun eh? So far, ZSync won't Sync, SiteRoot gives this pain, and VirtualHostMonster is being a monster too. And we go live tomorrow. I whacked in 2.5.0 real quick because the 2.4.3 site kept crashing when in QA... cheers Graham Site Error An error was encountered while publishing this resource. NameError Sorry, a site error occurred. Traceback (innermost last): File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 114, in publish File /home/Zope-2.5.0/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: PowerUp) File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 98, in publish File /home/Zope-2.5.0/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: login_form) File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: login_form) File /home/Zope-2.5.0/lib/python/Products/CMFCore/FSDTMLMethod.py, line 110, in __call__ (Object: login_form) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: login_form) File /home/Zope-2.5.0/lib/python/Products/CMFCore/FSDTMLMethod.py, line 105, in __call__ (Object: standard_html_header) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: standard_html_header) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: _.hasattr(this(),'isEffective') and not isEffective( ZopeTime() )) (Info: this) File <string>, line 2, in f NameError
Visit http://yoursite/_SUPPRESS_SITEROOT/Folder/manage and delete the SiteRoot. - C Graham King wrote:
I suppose this is just a bug report.....
I added a SiteRoot to a Folder (one down from root) in Zope 2.5.0 and when ever I click on that Folder in "manage", all I get is this following. However if I go to ...8080:/Folder/manage_main it displays OK. And of course from THAT screen, I can't delete the SiteRoot entry.
This 2.5.0 is great fun eh? So far, ZSync won't Sync, SiteRoot gives this pain, and VirtualHostMonster is being a monster too. And we go live tomorrow. I whacked in 2.5.0 real quick because the 2.4.3 site kept crashing when in QA...
cheers Graham
Site Error An error was encountered while publishing this resource. NameError Sorry, a site error occurred. Traceback (innermost last): File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 114, in publish File /home/Zope-2.5.0/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: PowerUp) File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 98, in publish File /home/Zope-2.5.0/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: login_form) File /home/Zope-2.5.0/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: login_form) File /home/Zope-2.5.0/lib/python/Products/CMFCore/FSDTMLMethod.py, line 110, in __call__ (Object: login_form) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: login_form) File /home/Zope-2.5.0/lib/python/Products/CMFCore/FSDTMLMethod.py, line 105, in __call__ (Object: standard_html_header) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: standard_html_header) File /home/Zope-2.5.0/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: _.hasattr(this(),'isEffective') and not isEffective( ZopeTime() )) (Info: this) File <string>, line 2, in f NameError
_______________________________________________ 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 )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
On Tuesday 2002-02-26 at 23:03:01 -0500, Chris McDonough wrote:
Visit http://yoursite/_SUPPRESS_SITEROOT/Folder/manage and delete the SiteRoot.
When I try this on my Zope 2.5, it doesn't work and I get an error message about the name starting with an underscore (in debug mode), or that the resource is not found (non debug mode). What am I doing wrong? Thanks. David Trudgett
On Thursday 2002-03-14 at 12:52:23 +1100, David K. Trudgett wrote:
Visit http://yoursite/_SUPPRESS_SITEROOT/Folder/manage and delete the SiteRoot.
When I try this on my Zope 2.5, it doesn't work and I get an error message about the name starting with an underscore (in debug mode), or that the resource is not found (non debug mode).
What am I doing wrong?
I don't know the answer, but I have worked around it by FTP'ing into Zope and deleting the SiteRoot object. David Trudgett
You need to place the _SUPPRESS_SITEROOT directly *after* the element in the path that represents the folder in which the SiteRoot lives. For example, if your SiteRoot lived in /Folder, you'd need to do: http://yoursite/Folder/_SUPPRESS_SITEROOT/manage David K. Trudgett wrote:
On Thursday 2002-03-14 at 12:52:23 +1100, David K. Trudgett wrote:
Visit http://yoursite/_SUPPRESS_SITEROOT/Folder/manage and delete the SiteRoot.
When I try this on my Zope 2.5, it doesn't work and I get an error message about the name starting with an underscore (in debug mode), or that the resource is not found (non debug mode).
What am I doing wrong?
I don't know the answer, but I have worked around it by FTP'ing into Zope and deleting the SiteRoot object.
David Trudgett
_______________________________________________ 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 )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
On Wednesday 2002-03-13 at 22:58:48 -0500, Chris McDonough wrote:
You need to place the _SUPPRESS_SITEROOT directly *after* the element in the path that represents the folder in which the SiteRoot lives. For example, if your SiteRoot lived in /Folder, you'd need to do:
That was the ticket. Thanks! Cheers, David Trudgett
participants (3)
-
Chris McDonough -
David K. Trudgett -
Graham King