[Zope] Var Problem

2000-12-25 Thread Ben Ocean

Hi;
Real basic newbie question here. I've got this dtml:

span class="header"dtml-var header/span
span class="bar"dtml-var bar/span

They're both images in the *Images* file (I'm using PTK). Now, *header*
shows up just fine. *bar* gets a KeyError. If I change the name of *header*
it chokes, too. What gives?
TIA,
BenO
P.S. All the CSS is written in the standard_html_header.


___
Zope maillist  -  [EMAIL PROTECTED]
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] More Problems Compiling from Source Code

2000-12-23 Thread Ben Ocean

Hi,
I'm trying to recompile Zope from the source because of a module I want to
include to better enable MySQL. I'm running into a problem when I try to
execute this:
python wo_pcgi.py
It executes a bunch then chokes here:

gcc -fpic  -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.0 -
I/usr/local/include/python2.0 -DHAVE_CONFIG_H -c
./../Components/cPickle/cPickle.c
./../Components/cPickle/cPickle.c:57: mymath.h: No such file or directory
make: *** [cPickle.o] Error 1
Traceback (most recent call last):
  File "wo_pcgi.py", line 116, in ?
  File "wo_pcgi.py", line 104, in main
  File "/apache/vhosts/Zope-2.2.4-src/inst/build_extensions.py", line 96, in
?
make('lib','python')
  File "/apache/vhosts/Zope-2.2.4-src/inst/do.py", line 135, in make
do('make')
  File "/apache/vhosts/Zope-2.2.4-src/inst/do.py", line 104, in do
if i and picky: raise SystemError, i
SystemError: 512

I dunno what the problem is with the cPickle, I believe the install of
python-2.0 was clean, any suggestions?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Closer But No Cigar

2000-12-23 Thread Ben Ocean

Hi;
Well, I've finally got python-1.5.2 installed and running and Zope
re-installed from the source code to the point where it gives me the good
'ol *Done!* line, but when I type
./start 
it chokes. Here's the print-out:

thor:/apache/vhosts/Zope-2.2.4-src# ./start 
[1] 4983
thor:/apache/vhosts/Zope-2.2.4-src# --
2000-12-23T21:44:24 PROBLEM(100) ZServer Computing default hostname
--
2000-12-23T21:44:24 INFO(0) ZServer Medusa (V1.16.4.3) started at Sat Dec 23
13:44:24 2000
Hostname: thor.galaxynet.com
Port:8080

--
2000-12-23T21:44:24 INFO(0) ZServer FTP server started at Sat Dec 23
13:44:24 2000
Authorizer:None
Hostname: thor.galaxynet.com
Port: 8021
--
2000-12-23T21:44:24 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
port 8099
Traceback (innermost last):
  File "/apache/vhosts/Zope-2.2.4-src/z2.py", line 710, in ?
pf = open(PID_FILE, 'w')
IOError: [Errno 13] Permission denied:
'/apache/vhosts/Zope-2.2.4-src/var/Z2.pid'

What am I missing?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Never Mind!

2000-12-23 Thread Ben Ocean

Sorry for troubling y'all... finally got my install of Zope, Python, et al
working! Have an egg nog on me!
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] SiteAccess Help!

2000-12-22 Thread Ben Ocean

Hi;
I've installed SiteAccess but can't find instructions on how to configure
it! The sparse README file says nothing, there's a link to instructions on
the Zope/Members site, but the link redirects to a page with no
instructions! Can someone please point me, I must be blind! Thanks,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Building from Source

2000-12-22 Thread Ben Ocean

Hi;
One of the add-on programs I want to include (ZMySQLdb) requires I rebuild
Zope from the src-tgz distro. I've tried to do this but get this error:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error exit delayed from previous errors

Now, I *was* supposed to upload it as an ASCII file, right? If that's so,
can someone please explain to me what I'm doing wrong?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Editing the z2.py File

2000-12-21 Thread Ben Ocean

Hi;
I have my own server with virtual hosts. I'm going to build a large Web site
on this server with Zope as the base platform. I intend to build more on the
Zope platform, but already have several sites built without it. My question
is, how do I edit the z2.py file in such a way that I can call up certain
virtual hosts and not others through port 80? Also, can I build the
equivalent of a doc root off of the Zope root such that Zope could act, in
effect, as a virtual host, or do I need to create a separate instance of
Zope for each domain?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Simple Yes or No (I think...)

2000-11-23 Thread Ben Ocean

Hi;
Can Zope be used to create a *MyYahoo* style GUI?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Support for PHP?

2000-11-21 Thread Ben Ocean

Hi;
I'm reading *the book* and it appears that Zope supports Perl and Python 
but *not* PHP :(( Well, I'm learning Python and I have a limited but 
working knowledge of PHP: I really *don't* want to have to learn Perl 
because, although there's lots of stuff out there written in Perl, PHP 
(IMHO) is better suited for the Internet than Perl. (I don't mean to offend 
any Perl officionados out there.) So... Is there, or will there be support 
for PHP? Will I be able to somehow cobble an interface between Zope and my 
PHP programs? Also (without getting too far OT) can I do pretty much 
anything I can do in PHP in Python?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 12:19 PM 11/19/2000 +, you wrote:
* Ben Ocean [EMAIL PROTECTED] [001119 06:38]:
  Hi;
  Okay, I've untarred the distro. The instructions said to type in *python
  w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which
  was *SystemError 512*. Should I worry about that? Then I thought I was
  supposed to type in *./start* but it didn't recognize that command. I'm
  running Python 2.2.2. Thanks for your help.

You shouldn't get any errors.  What OS are you running?

RedHat 6.?

Version of
python?

Python 2.0

Is there any more information apart from SystemError 512?
What's the output just before that error?

Okay, I ran the line again and here's what I got:

Traceback (most recent call last):
   File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 111, in ?
 if __name__=='__main__': main(sys.argv[0])
   File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 109, in main
 import wo_pcgi; wo_pcgi.main(me)
   File "/apache/vhosts/zope/Zope-2.2.2-src/wo_pcgi.py", line 104, in main
 import build_extensions
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/build_extensions.py", line 
96, in ?
 make('lib','python')
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 135, in make
 do('make')
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 104, in do
 if i and picky: raise SystemError, i
SystemError: 512
[webmaster@thor Zope-2.2.2-src]$

Thanks for your help.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 11:14 AM 11/19/2000 -0500, you wrote:
Are you sure you need the source version? The binary is easier to install.

Well, that *was* easier (now that I figured out which is which). First of 
all, apologies to all you hard-core techies for whom this is so easy, *but*...
I got as far as *./install* and all worked fine (on the binary). Now 
what??? I've combed the README and INSTALL texts looking for answers, been 
on the Web site, still can't figure out what I'm supposed to do next. 
Thanks again for your help.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 09:50 PM 11/19/2000 +, you wrote:
from INSTALL.txt:

   snip

 ./start

I apparently didn't mention in my last email that I *tried* ./start and it 
hung my computer. It got this far:

[webmaster@thor Zope-2.2.2-linux2-x86]$ ./start
--
2000-11-19T23:11:01 PROBLEM(100) ZServer Computing default hostname
--
2000-11-19T23:11:01 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun Nov 
19 15:11:01 2000
 Hostname: thor.galaxynet.com
 Port:8080

--
2000-11-19T23:11:01 INFO(0) ZServer FTP server started at Sun Nov 19 
15:11:01 2000
 Authorizer:None
 Hostname: thor.galaxynet.com
 Port: 8021
--
2000-11-19T23:11:01 INFO(0) ZServer PCGI Server started at Sun Nov 19 
15:11:01 2000
 Unix socket: /apache/vhosts/Zope-2.2.2-linux2-x86/var/pcgi.soc
--
2000-11-19T23:11:01 INFO(0) ZServer Monitor Server (V1.8.4.1) started on 
port 8099


Then it hung. I did a ^C and it printed this:


òTraceback (innermost last):
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 719, in ?
 asyncore.loop()
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py", 
line 138, in loop
 poll_fun (timeout, map)
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py", 
line 66, in poll
 r,w,e = select.select (r,w,e, timeout)
KeyboardInterrupt
Traceback (innermost last):
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 537, in ?
 zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/lib/python/zdaemon.py", line 
208, in run
 p,s = os.waitpid(pid, 0)
KeyboardInterrupt
[webmaster@thor Zope-2.2.2-linux2-x86]$


It would appear (from my limited knowledge of programming) that it's having 
trouble finding that port. Now, for the record, I own the machine, and it's 
co-located (goes through a server called *galaxynet.com*). Again, your help 
is appreciated. Thank you in advance.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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] Problem Solved!

2000-11-19 Thread Ben Ocean

Thanks, everyone! Works fine now :) Especially thanks for showing me *the 
book* :))
BenO

At 02:04 PM 11/19/2000 -0800, you wrote:
Ben Ocean wrote:
 
  At 11:14 AM 11/19/2000 -0500, you wrote:
  Are you sure you need the source version? The binary is easier to install.
 
  Well, that *was* easier (now that I figured out which is which). First of
  all, apologies to all you hard-core techies for whom this is so easy, 
 *but*...
  I got as far as *./install* and all worked fine (on the binary). Now
  what??? I've combed the README and INSTALL texts looking for answers, been
  on the Web site, still can't figure out what I'm supposed to do next.

All of your questions so far are answered in the Book.

http://www.zope.org/Members/michel/ZB/UsingZope.html

You've gotten to the section "Starting Zope on UNIX".

-Michel


___
Zope maillist  -  [EMAIL PROTECTED]
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] Stupid Installation Question

2000-11-18 Thread Ben Ocean

Hi;
Okay, hope I did this right... Installed Zope in a directory at doc root 
(called zope) and untarred it. Now I have a directory called Zope-2.2.2-src 
with a bunch of stuff in it. What do I do from here? How do I see it working?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Ben Ocean

Well, actually, the REAME.txt doesn't say ANYTHING about how to install it. 
It *does* refer to doc/INSTALL.txt, which, unfortunately, is nowhere to be 
found: there is no directory called *doc* nor any INSTALL.txt file that I 
can see. Here's what unzipped:

drwxr-xr-x  11 webmaste users4096 Nov 18 13:57 .
drwxr-xr-x   3 webmaste users4096 Nov 18 00:58 ..
-rw-r--r--   1 webmaste users  28 Nov  9  1999 .cvsignore
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 Extensions
-rw-r--r--   1 webmaste users3479 Mar  9  1999 LICENSE.txt
-rw-r--r--   1 webmaste users2074 Jul 23  1999 README.txt
drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 ZServer
drwxr-xr-x   3 webmaste users4096 Sep 18 11:22 doc
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 import
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 inst
drwxr-xr-x   4 webmaste users4096 Sep 18 11:22 lib
drwxr-xr-x   7 webmaste users4096 Sep 18 11:22 pcgi
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 utilities
drwxr-xr-x   2 webmaste users4096 Sep 18 11:22 var
-rw-r--r--   1 webmaste users4492 Jul 22  1999 w_pcgi.py
-rw-r--r--   1 webmaste users4578 Oct 14  1999 wo_pcgi.py
-rw-r--r--   1 webmaste users   22630 Aug 29 08:41 z2.py
-rw-r--r--   1 webmaste users8832 May 10  2000 zpasswd.py

So, back to my original question: How the $)@#* do I install this???
TIA,
BenO

At 08:07 PM 11/18/2000 +, you wrote:
* Ben Ocean [EMAIL PROTECTED] [001118 09:51]:
  Hi;
  Okay, hope I did this right... Installed Zope in a directory at doc root
  (called zope) and untarred it. Now I have a directory called 
 Zope-2.2.2-src
  with a bunch of stuff in it. What do I do from here? How do I see it 
 working?
  TIA,
  BenO

umm, try reading the the README.txt file in that directory.  and the
INSTALL.txt file in the docs directory.

seb


___
Zope maillist  -  [EMAIL PROTECTED]
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] Still More Problems On the Install...

2000-11-18 Thread Ben Ocean

Hi;
Okay, I've untarred the distro. The instructions said to type in *python 
w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which 
was *SystemError 512*. Should I worry about that? Then I thought I was 
supposed to type in *./start* but it didn't recognize that command. I'm 
running Python 2.2.2. Thanks for your help.
BenO 


___
Zope maillist  -  [EMAIL PROTECTED]
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] Installation Troubles

2000-11-15 Thread Ben Ocean

Hi;
I d/l'd the latest distro. Looked inside and couldn't find any installation 
instructions. Went to the Web site and found some instructions here:
http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO
They didn't work for me. I have crazy ownership problems all over the 
place. If I go into /usr/local/ I have to be root (I own the server), and 
the author indicates that I should be my regular user (webmaster) not root. 
No can do (security reasons). I unpacked the distro and had a bunch of 
files with user permissions for one of my clients! Not even webmaster! What 
gives? (I'm still new to Linux/UNIX.) Then I tried to do the ./install and 
was told there's no such directory (I *do* have ZServer, lib, doc, pcgi, 
and z2.py). Please help. Distributing installation instructions with the 
distro might be a nice thought...
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Installation Troubles

2000-11-15 Thread Ben Ocean

Forgive my stupidity, but I've looked all over and don't see a 
directory.doc, install.txt or webserver.txt
I went to this page
http://www.zope.org/Products
and d/l'd the latest distro, which I believe was
Zope-2.2.x-to-2.2.2-src.tgz
I opened it up with WinZip and the aforementioned files are nowhere to be 
found. I ftp'd it to my server and gunzipped and untarred but no ./install 
file. What am I doing wrong?
TIA,
BenO

At 05:24 PM 11/15/2000 +0300, you wrote:
On Wed, 15 Nov 2000, Ben Ocean wrote:
  I d/l'd the latest distro. Looked inside and couldn't find any installation
  instructions.

It seems you've problems with searching. There are a lot of information
in distro - in directory doc. There are INSTALL.txt, WEBSERVER.txt, etc.

Oleg.

  Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
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] Please Tell Me...

2000-11-11 Thread Ben Ocean

Hi;
I'm new. I can see Zope will help me on larger projects, but what if I want 
to allow the owner of a small Web site (under 200 pages) that I develop the 
ability to edit text and photos? Is this the right application, or is Zope 
overkill? If so, any recommendations on a content manager?
TIA,
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
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 )