[Zope] Zope has encountered an error while publishing this resource

Rengasamy, Samy srengasamy@firstam.com
Wed, 27 Mar 2002 08:41:33 -0600


I installed zope 2.5 and I am going through the documentation.

When I tried to add a page template under a new 'trial' folder,
I am getting the following error message:

**********************************
Error Type: Undefined
Error Value: You are not allowed to access manage_page_header in this
context not found in 'here/manage_page_header', at line 1, column 1



----------------------------------------------------------------------------
----

Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML
source for this page. 

If the error persists please contact the site maintainer. Thank you for your
patience. 
 



Traceback (innermost last):
  File /usr/local/Zope-2.5.0-src/lib/python/ZPublisher/Publish.py, line 150,
in publish_module
  File /usr/local/Zope-2.5.0-src/lib/python/ZPublisher/Publish.py, line 114,
in publish
  File /usr/local/Zope-2.5.0-src/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
  File /usr/local/Zope-2.5.0-src/lib/python/ZPublisher/Publish.py, line 98,
in publish
  File /usr/local/Zope-2.5.0-src/lib/python/ZPublisher/mapply.py, line 88,
in mapply
    (Object: manage_addPageTemplateForm)
  File /usr/local/Zope-2.5.0-src/lib/python/ZPublisher/Publish.py, line 39,
in call_object
    (Object: manage_addPageTemplateForm)
  File /usr/local/Zope-2.5.0-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 252, in __call__
    (Object: manage_addPageTemplateForm)
  File /usr/local/Zope-2.5.0-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 283, in _bindAndExec
    (Object: manage_addPageTemplateForm)
  File
/usr/local/Zope-2.5.0-src/lib/python/Products/PageTemplates/PageTemplateFile
.py, line 94, in _exec
    (Object: manage_addPageTemplateForm)
  File
/usr/local/Zope-2.5.0-src/lib/python/Products/PageTemplates/PageTemplate.py,
line 86, in pt_render
    (Object: manage_addPageTemplateForm)
    (Info: {'container': <__FactoryDispatcher__ instance at bbc2a8>,
 'here': <__FactoryDispatcher__ instance at bbc2a8>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xc28bb4>,
 'nothing': None,
 'options': {'args': ()},
 'request': <h3>form</h3><table></table><h3>cookies</h3><table><tr
valign="top"
align="left"><th>tree-s</th><td>'eJyLjlZ3hANPW/XYWAAtiQTP'</td></tr></table>
<h3>lazy items</h3><table><tr valign="top"
align="left"><th>SESSION</th><td>&lt;Python Method object at
0x912148&gt;</td></tr></table><h3>other</h3><table><tr valign="top"
align="left"><th>BASE5</th><td>'http://208.145.195.99:9090/trial/manage_addP
roduct/PageTemplates/manage_addPageTemplateForm'</td></tr><tr valign="top"
align="left"><th>AUTHENTICATION_PATH</th><td>''</td></tr><tr valign="top"
align="left"><th>BASE2</th><td>'http://208.145.195.99:9090/trial'</td></tr><
tr valign="top"
align="left"><th>BASE3</th><td>'http://208.145.195.99:9090/trial/manage_addP
roduct'</td></tr><tr valign="top"
align="left"><th>URL3</th><td>'http://208.145.195.99:9090/trial'</td></tr><t
r valign="top"
align="left"><th>URL0</th><td>'http://208.145.195.99:9090/trial/manage_addPr
oduct/PageTemplates/manage_addPageTemplateForm'</td></tr><tr valign="top"
align="left"><th>BASE1</th><td>'http://208.145.195.99:9090'</td></tr><tr
valign="top"
align="left"><th>URL2</th><td>'http://208.145.195.99:9090/trial/manage_addPr
oduct'</td></tr><tr valign="top"
align="left"><th>URL4</th><td>'http://208.145.195.99:9090'</td></tr><tr
valign="top" align="left"><th>traverse_subpath</th><td>[]</td></tr><tr
valign="top"
align="left"><th>URL1</th><td>'http://208.145.195.99:9090/trial/manage_addPr
oduct/PageTemplates'</td></tr><tr valign="top"
align="left"><th>SERVER_URL</th><td>'http://208.145.195.99:9090'</td></tr><t
r valign="top"
align="left"><th>tree-s</th><td>'eJyLjlZ3hANPW/XYWAAtiQTP'</td></tr><tr
valign="top"
align="left"><th>URL</th><td>'http://208.145.195.99:9090/trial/manage_addPro
duct/PageTemplates/manage_addPageTemplateForm'</td></tr><tr valign="top"
align="left"><th>AUTHENTICATED_USER</th><td>Anonymous User</td></tr><tr
valign="top" align="left"><th>PUBLISHED</th><td>&lt;PageTemplateFile
instance at c419e0&gt;</td></tr><tr valign="top"
align="left"><th>TraversalRequestNameStack</th><td>[]</td></tr><tr
valign="top"
align="left"><th>BASE0</th><td>'http://208.145.195.99:9090'</td></tr><tr
valign="top"
align="left"><th>BASE4</th><td>'http://208.145.195.99:9090/trial/manage_addP
roduct/PageTemplates'</td></tr><tr valign="top"
align="left"><th>URL0</th><td>http://208.145.195.99:9090/trial/manage_addPro
duct/PageTemplates/manage_addPageTemplateForm</td></tr><tr valign="top"
align="left"><th>URL1</th><td>http://208.145.195.99:9090/trial/manage_addPro
duct/PageTemplates</td></tr><tr valign="top"
align="left"><th>URL2</th><td>http://208.145.195.99:9090/trial/manage_addPro
duct</td></tr><tr valign="top"
align="left"><th>URL3</th><td>http://208.145.195.99:9090/trial</td></tr><tr
valign="top"
align="left"><th>URL4</th><td>http://208.145.195.99:9090</td></tr><tr
valign="top"
align="left"><th>BASE0</th><td>http://208.145.195.99:9090</td></tr><tr
valign="top"
align="left"><th>BASE1</th><td>http://208.145.195.99:9090</td></tr><tr
valign="top"
align="left"><th>BASE2</th><td>http://208.145.195.99:9090/trial</td></tr><tr
valign="top"
align="left"><th>BASE3</th><td>http://208.145.195.99:9090/trial/manage_addPr
oduct</td></tr><tr valign="top"
align="left"><th>BASE4</th><td>http://208.145.195.99:9090/trial/manage_addPr
oduct/PageTemplates</td></tr><tr valign="top"
align="left"><th>BASE5</th><td>http://208.145.195.99:9090/trial/manage_addPr
oduct/PageTemplates/manage_addPageTemplateForm</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>1017217551</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>'9090'</td></tr><tr
valign="top"
align="left"><th>PATH_INFO</th><td>'/trial/manage_addProduct/PageTemplates/m
anage_addPageTemplateForm'</td></tr><tr valign="top"
align="left"><th>HTTP_HOST</th><td>'208.145.195.99:9090'</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>'/trial/manage_addProduct/PageTempl
ates/manage_addPageTemplateForm'</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.0 (source release,
python 2.1, linux2), python 2.1.2, linux2) ZServer/1.1b1'</td></tr><tr
valign="top"
align="left"><th>HTTP_ACCEPT_LANGUAGE</th><td>'en-us'</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>'172.16.29.208'</td></tr><tr
valign="top"
align="left"><th>HTTP_COOKIE</th><td>'tree-s="eJyLjlZ3hANPW/XYWAAtiQTP"'</td
></tr><tr valign="top"
align="left"><th>SERVER_NAME</th><td>'sysx.firstam-reis.com'</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.01; Windows NT)'</td></tr><tr valign="top"
align="left"><th>CONNECTION_TYPE</th><td>'Keep-Alive'</td></tr></table>,
 'root': <Application instance at bae818>,
 'template': <PageTemplateFile instance at c419e0>,
 'traverse_subpath': [],
 'user': Anonymous User})
  File /usr/local/Zope-2.5.0-src/lib/python/TAL/TALInterpreter.py, line 158,
in __call__
  File /usr/local/Zope-2.5.0-src/lib/python/TAL/TALInterpreter.py, line 191,
in interpret
  File /usr/local/Zope-2.5.0-src/lib/python/TAL/TALInterpreter.py, line 432,
in do_insertStructure_tal
  File /usr/local/Zope-2.5.0-src/lib/python/Products/PageTemplates/TALES.py,
line 247, in evaluate
  File
/usr/local/Zope-2.5.0-src/lib/python/Products/PageTemplates/Expressions.py,
line 189, in __call__
  File
/usr/local/Zope-2.5.0-src/lib/python/Products/PageTemplates/Expressions.py,
line 179, in _eval
Undefined: (see above)


**********************************

What am I miising here?

Thanks in advance,

Samy Rengasamy.