[Zope-PTK] Error type: AttributeError Error value: getPortal

sareyn@franklincovey.com sareyn@franklincovey.com
Tue, 18 Apr 2000 09:34:40 -0600


I have created a portal called admin.  I added a folder "Solaris_links"
under admin.  In the Solaris folder there 
is an index_html file that contains a bunch of Solaris links.  I then have a
link on my  main portal page 
-"index_html" that is called Solaris.  This points to the index_html file
under my Solaris_links folder i.e.
<a href="/admin/Solaris_links/index_html">Solaris</a><br>
The link shows up but when I try to access it I get:

Zope Error
Zope has encountered an error while publishing this resource.

      Error Type: AttributeError
      Error Value: getPortal
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/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/ZPublisher/Publ
ish.py, line 214, in 
publish_module
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/ZPublisher/Publ
ish.py, line 179, in 
publish
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/Zope/__init__.p
y, line 202, in 
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/ZPublisher/Publ
ish.py, line 165, in 
publish
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/ZPublisher/mapp
ly.py, line 160, in mapply
    (Object: Solaris.html)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/ZPublisher/Publ
ish.py, line 102, in 
call_object
    (Object: Solaris.html)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/OFS/DTMLDocumen
t.py, line 166, in 
__call__
    (Object: Solaris.html)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/DocumentTemplat
e/DT_String.py, line 
502, in __call__
    (Object: Solaris.html)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.
py, line 146, in 
__call__
    (Object: standard_html_header)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/DocumentTemplat
e/DT_String.py, line 
502, in __call__
    (Object: standard_html_header)
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/DocumentTemplat
e/DT_Util.py, line 335, 
in eval
    (Object: getPortal().getToolbox(REQUEST)(this(),REQUEST))
    (Info: this)
  File <string>, line 0, in ?
  File
/usr/local/downloads/Zope-2.1.6-solaris-2.6-sparc/lib/python/Products/PTKBas
e/Toolbox.py, line 24, 
in __call__
AttributeError: (see above)

Regular http:www... links work fine, it is just local files that I can't
seem to access.
Any help is greatly appreciated.