[Zope] Setting up Zope on NT

Joseph Griffin jgriffin@pclnet.net
Sat, 19 Jan 2002 18:00:22 -0600


Troy,
I fixed the header. I was monkeying with it while in chapter 5 of the Zope
Book (Zope Zoo Tutorial). Everything is fine except I have about 8,564
questions about how to integrate the client side scripting, serverside
scripting, and all things in between. Thanks for your help. Joseph

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Troy
Farrell
Sent: Saturday, January 19, 2002 5:50 PM
To: Joseph Griffin
Cc: zope@zope.org
Subject: Re: [Zope] Setting up Zope on NT


Getting closer...
Mmm.  It looks like your site is missing the standard_html_header.  Wierd.

You may have done some of this already, but I don't know what you've
done so far, so I'll put it all in there.

1) login to ZMI (zope management interface) http://localhost/manage
2) use the emergency username and password. If you don't have it you
need to run "python zpasswd.py"
3) go to acl_users
4) add a user.  Make sure the user has the role manager.
5) close your browser
6) login to ZMI with the new username and password
7) look for a DTML Method called standard_html_header.  If it's there,
we have a bigger problem.  If not, create a new DTML Method called
standard_html_header
8) Edit it.  I'm not sure what it should what the default is for
standard_html_header, but here's my standard_html_header:

<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html
   PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <title>Studyshare.net</title>
   <link rel="StyleSheet" type="text/css"
href="http://studyshare.net/global_css" />
   <!-- Begin disabling annoying MS "features" -->
   <meta name="MSSmartTagsPreventParsing" content="TRUE" />
   <meta http-equiv="imagetoolbar" content="no" />
   <!-- End disabling annoying MS "features" -->
</head>
<body>

Note that I use XHTML and a CSS page called global_css

9) revisit http://localhost/ and see if that fixes it.

Strange thing is this:  ZMI won't let you delete standard_html_header in
the root.
Troy

Joseph Griffin wrote:

> Troy,
> Everything's now working. Sorry for not cc'ing group. I'm slow tonite. The
> error dump below was due to a missing home page? I don't know. Joseph
>
>
> Troy,
> Thanks, I change the startup mode to manuel, added -w 80 option and I'm
> closing in. Here's an error dump I'm now getting:
>
>
>
>
> KeyError
> Sorry, a site error occurred.
>
> Traceback (innermost last):
>   File D:\PROGRA~1\JOEWEB~1\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
>   File D:\PROGRA~1\JOEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in
> publish
>   File D:\PROGRA~1\JOEWEB~1\lib\python\Zope\__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: Zope)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in
> publish
>   File D:\PROGRA~1\JOEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in
> mapply
>     (Object: index_html)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in
> call_object
>     (Object: index_html)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\OFS\DTMLMethod.py, line 199, in
> __call__
>     (Object: index_html)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\DocumentTemplate\DT_String.py, line
> 546, in __call__
>     (Object: index_html)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\OFS\DTMLMethod.py, line 192, in
> __call__
>     (Object: standard_html_header)
>   File D:\PROGRA~1\JOEWEB~1\lib\python\DocumentTemplate\DT_String.py, line
> 546, in __call__
>     (Object: standard_html_header)
> KeyError: navigation
>
>
>
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Troy
> Farrell
> Sent: Saturday, January 19, 2002 5:01 PM
> To: Joseph Griffin
> Cc: Zope List
> Subject: Re: [Zope] Setting up Zope on NT with ZServer
>
>
> Unfortunately, I can't claim twsite.bizland.com :)
>
> You shouldn't need to change anything for basic operation.  If you want
> to run on port 80, you'll need to edit start.bat if you run Zope
> manually.  Change
>
> z2.py -D # D for Debug
>
> to something like
>
> z2.py -w 80 # w for www
>
> Note that I'm working on linux and don't have start.bat in front of me.
>   I'm guessing you want to change the port you're running.
>
> Troy
>
>
> Joseph Griffin wrote:




_______________________________________________
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 )