[Zope] Plone 1 beta (problems with existing sites)

Robert Rottermann robert@rocad.ch
Tue, 17 Sep 2002 20:15:12 +0200


I had the same Problem,
I was enough to add a Property (open the normal Property Tab) and added a
lines property called left_slots.
right_slots seems not to be necessary.
Robert
----- Original Message -----
From: "Andy McKay" <andy@agmweb.ca>
To: <varro@iol.it>; <zope@zope.org>
Sent: Tuesday, September 17, 2002 6:06 PM
Subject: Re: [Zope] Plone 1 beta (problems with existing sites)


> You need a left_slots and right_slots property on folders in your Plone
> site. Make a new Plone site and move any content over.
> --
>   Andy McKay
>   Agmweb Consulting
>   http://www.agmweb.ca
>
> ----- Original Message -----
> From: <varro@iol.it>
> To: <zope@zope.org>
> Sent: Tuesday, September 17, 2002 2:07 AM
> Subject: [Zope] Plone 1 beta (problems with existing sites)
>
>
> > Hi!!
> >
> >  I installed the new version of plone on the older (1 alpha 4) just
> > replaicing the oder directory with the newer.
> >
> > If I create a new plone site, it works.
> > But if I can to access to older site (create before patch) the main page
> is
> > showed with a longged user (me), and I can't log out  I can't do
anything!
> > I tryed to delete them, delete coockies..... but nothing...
> >
> > Some ideas?
> >
> > The error received is:
> > ---------------------------------------------------
> > Site Error
> > An error was encountered while publishing this resource.
> >
> > Undefined
> >
> > Sorry, a site error occurred.
> >
> > Traceback (innermost last):
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> > 150, in publish_module
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> > 114, in publish
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/Zope/__init__.py, line 159,
> in
> > zpublisher_exception_hook
> >     (Object: infoFactory)
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 98,
> > in publish
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/mapply.py, line
> 88,
> > in mapply
> >     (Object: folder_contents)
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 39,
> > in call_object
> >     (Object: folder_contents)
> >   File
> /opt/Zope-2.5.1-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
> > line 252, in __call__
> >     (Object: folder_contents)
> >   File
> /opt/Zope-2.5.1-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
> > line 283, in _bindAndExec
> >     (Object: folder_contents)
> >   File
> >
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/CMFCore/FSPageTemplate.py,
> > line 163, in _exec
> >     (Object: folder_contents)
> >   File
> >
>
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/ZopePageTemplat
> > e.py, line 210, in _exec
> >     (Object: folder_contents)
> >   File
> >
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/CMFCore/FSPageTemplate.py,
> > line 139, in pt_render
> >     (Object: folder_contents)
> >   File
> >
>
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/PageTemplate.py
> > , line 86, in pt_render
> >     (Object: folder_contents)
> >     (Info: {'container': <CMFSite instance at 8f2ced8>,
> >  'here': <CMFSite instance at 8f2ced8>,
> >  'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
> > instance at 0x865f184>,
> >  'nothing': None,
> >  'options': {'args': ()},
> >  'request': <h3>form</h3><table></table><h3>cookies</h3><table><tr
> > valign="top"
> > align="left"><th>_ZopeId</th><td>'24960413A0eJ5-fvors'</td></tr><tr
> > valign="top" align="left"><th>__ac_name</th><td>'cvirgili'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>tree-s</th><td>'eJzTiFZ3hANPW/VYHU0ALlYElA'</td></tr></tabl
> > e><h3>lazy items</h3><table><tr valign="top"
> > align="left"><th>SESSION</th><td>&lt;Python Method object at
> > 0x8d2a0d0&gt;</td></tr></table><h3>other</h3><table><tr valign="top"
> > align="left"><th>_ZopeId</th><td>'24960413A0eJ5-fvors'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>URL1</th><td>'http://158.110.147.137:8080/Web/infoFactory'<
> > /td></tr><tr valign="top"
> > align="left"><th>PUBLISHED</th><td>&lt;FSPageTemplate instance at
> > 8d5d658&gt;</td></tr><tr valign="top"
> > align="left"><th>URL3</th><td>'http://158.110.147.137:8080'</td></tr><tr
> > valign="top" align="left"><th>__ac_name</th><td>'cvirgili'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>BASE3</th><td>'http://158.110.147.137:8080/Web/infoFactory'
> > </td></tr><tr valign="top"
> >
>
align="left"><th>URL2</th><td>'http://158.110.147.137:8080/Web'</td></tr><tr
> > valign="top"
> >
align="left"><th>BASE1</th><td>'http://158.110.147.137:8080'</td></tr><tr
> > valign="top" align="left"><th>traverse_subpath</th><td>[]</td></tr><tr
> > valign="top"
> >
>
align="left"><th>URL0</th><td>'http://158.110.147.137:8080/Web/infoFactory/f
> > older_contents'</td></tr><tr valign="top"
> >
>
align="left"><th>SERVER_URL</th><td>'http://158.110.147.137:8080'</td></tr><
> > tr valign="top"
> >
align="left"><th>tree-s</th><td>'eJzTiFZ3hANPW/VYHU0ALlYElA'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>URL</th><td>'http://158.110.147.137:8080/Web/infoFactory/fo
> > lder_contents'</td></tr><tr valign="top"
> > align="left"><th>AUTHENTICATED_USER</th><td>admin</td></tr><tr
> valign="top"
> >
>
align="left"><th>BASE2</th><td>'http://158.110.147.137:8080/Web'</td></tr><t
> > r valign="top"
> > align="left"><th>TraversalRequestNameStack</th><td>[]</td></tr><tr
> > valign="top"
align="left"><th>AUTHENTICATION_PATH</th><td>''</td></tr><tr
> > valign="top"
> >
align="left"><th>BASE0</th><td>'http://158.110.147.137:8080'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>BASE4</th><td>'http://158.110.147.137:8080/Web/infoFactory/
> > folder_contents'</td></tr><tr valign="top"
> >
>
align="left"><th>URL0</th><td>http://158.110.147.137:8080/Web/infoFactory/fo
> > lder_contents</td></tr><tr valign="top"
> >
>
align="left"><th>URL1</th><td>http://158.110.147.137:8080/Web/infoFactory</t
> > d></tr><tr valign="top"
> >
align="left"><th>URL2</th><td>http://158.110.147.137:8080/Web</td></tr><tr
> > valign="top"
> > align="left"><th>URL3</th><td>http://158.110.147.137:8080</td></tr><tr
> > valign="top"
> > align="left"><th>BASE0</th><td>http://158.110.147.137:8080</td></tr><tr
> > valign="top"
> > align="left"><th>BASE1</th><td>http://158.110.147.137:8080</td></tr><tr
> > valign="top"
> >
>
align="left"><th>BASE2</th><td>http://158.110.147.137:8080/Web</td></tr><tr
> > valign="top"
> >
>
align="left"><th>BASE3</th><td>http://158.110.147.137:8080/Web/infoFactory</
> > td></tr><tr valign="top"
> >
>
align="left"><th>BASE4</th><td>http://158.110.147.137:8080/Web/infoFactory/f
> > older_contents</td></tr></table><h3>environ</h3><table><tr valign="top"
> > align="left"><th>HTTP_ACCEPT_ENCODING</th><td>'gzip,
deflate'</td></tr><tr
> > valign="top"
> > align="left"><th>channel.creation_time</th><td>1032252690</td></tr><tr
> > valign="top"
> > align="left"><th>SERVER_PROTOCOL</th><td>'HTTP/1.1'</td></tr><tr
> > valign="top" align="left"><th>SERVER_PORT</th><td>'8080'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>PATH_INFO</th><td>'/Web/infoFactory/folder_contents'</td></
> > tr><tr valign="top"
> > align="left"><th>HTTP_HOST</th><td>'158.110.147.137:8080'</td></tr><tr
> > valign="top" align="left"><th>REQUEST_METHOD</th><td>'GET'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>PATH_TRANSLATED</th><td>'/Web/infoFactory/folder_contents'<
> > /td></tr><tr valign="top"
> > align="left"><th>HTTP_IF_MODIFIED_SINCE</th><td>'Thu, 12 Sep 2002
08:25:29
> > GMT'</td></tr><tr valign="top"
> > align="left"><th>HTTP_COOKIE</th><td>'__ac_name="cvirgili";
> > _ZopeId="24960413A0eJ5-fvors";
> > tree-s="eJzTiFZ3hANPW/VYHU0ALlYElA"'</td></tr><tr valign="top"
> > align="left"><th>SCRIPT_NAME</th><td>''</td></tr><tr valign="top"
> > align="left"><th>SERVER_SOFTWARE</th><td>'Zope/(Zope 2.5.1 (binary
> release,
> > python 2.1, linux2-x86), python 2.1.3, linux2)
ZServer/1.1b1'</td></tr><tr
> > valign="top"
> align="left"><th>HTTP_ACCEPT_LANGUAGE</th><td>'it'</td></tr><tr
> > valign="top" align="left"><th>HTTP_ACCEPT</th><td>'image/gif,
> > image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint,
> > application/vnd.ms-excel, application/msword, */*'</td></tr><tr
> valign="top"
> > align="left"><th>REMOTE_ADDR</th><td>'158.110.147.214'</td></tr><tr
> > valign="top"
> >
>
align="left"><th>HTTP_REFERER</th><td>'http://158.110.147.137:8080/Web/infoF
> > actory'</td></tr><tr valign="top"
> >
align="left"><th>SERVER_NAME</th><td>'ws-ai-12.dimi.uniud.it'</td></tr><tr
> > valign="top"
> > align="left"><th>GATEWAY_INTERFACE</th><td>'CGI/1.1'</td></tr><tr
> > valign="top" align="left"><th>HTTP_USER_AGENT</th><td>'Mozilla/4.0
> > (compatible; MSIE 5.5; Windows NT 5.0; T312461)'</td></tr><tr
valign="top"
> > align="left"><th>CONNECTION_TYPE</th><td>'Keep-Alive'</td></tr></table>,
> >  'root': <Application instance at 8e81808>,
> >  'template': <FSPageTemplate instance at 8d5d658>,
> >  'traverse_subpath': [],
> >  'user': admin})
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 158, in __call__
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 191, in interpret
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 523, in do_useMacro
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 191, in interpret
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 547, in do_defineSlot
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 191, in interpret
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 345, in do_optTag_tal
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 330, in do_optTag
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 325, in no_tag
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 191, in interpret
> >   File /opt/Zope-2.5.1-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> > 474, in do_loop_tal
> >   File
> > /opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/TALES.py,
> line
> > 233, in setRepeat
> >   File
> > /opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/TALES.py,
> line
> > 247, in evaluate
> >   File
> >
>
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/Expressions.py,
> > line 198, in __call__
> >   File
> >
>
/opt/Zope-2.5.1-linux2-x86/lib/python/Products/PageTemplates/Expressions.py,
> > line 188, in _eval
> > Undefined: left_slots not found in 'here/left_slots', at line 43, column
> 19
>
> --------------------------------------------------------------------------
> --
> > ----------------
> > Tanks!
> >
> >
> > _______________________________________________
> > 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 )
>