RE: [Zope] Cookies & Expiration

2000-11-04 Thread Aleksander Salwa
On Fri, 3 Nov 2000, Steve Drees wrote: > Have a pythonmethod > > ID expireIn1Week > Parameter List self > _BODY__ > t = self.ZopeTime() + 7.0 # 1 week in the future > t = t.toZone('GMT') > > return t.strftime("%A, %d-%b-%Y %H:%M:%S GMT") It (strftime) is correct as long as

Re: [Zope] newbie

2000-11-04 Thread Chris McDonough
Max, Please read the section titled "The Superuser" in http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx. Your problem doesn't really have anything to do with Windows... HTH, C - Original Message - From: "Max M. Stalnaker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturd

Re: [Zope] Zope for medium/large sites

2000-11-04 Thread Tiago Antão
Hi! On Thu, 2 Nov 2000, Bill Anderson wrote: bill.a> > The question is: Is zope up to this? bill.a> bill.a> Depends, would your site(s) be read-intensive, or write-intensive? We still don't know because the system now in production does not allow the same order of magnitude of dynamic cont

Re: [Zope] newbie

2000-11-04 Thread Bill Welch
New security measure in 2.2 - you only login as superuser (with the name and the password the install script gave you) long enough to create another user as manager. Out of the box, Zope doesn't use OS security. Also look at zpasswd.py. > tutorial, I get a message something like superuser cannot

Re: [Zope] newbie

2000-11-04 Thread Anders Eriksson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Max, Sunday, November 05, 2000, 2:20:09 AM, you wrote: MMS> My problem is whenever I try to use to management console, as to add a MMS> directory named for my domain, to start out on the content developer MMS> tutorial, I get a message somethi

[Zope] newbie

2000-11-04 Thread Max M. Stalnaker
I decided to devote the weekend to installing a web server on my win2k pro box and bringing a site up. I chose zope because I needed to have some database stuff and I know python. Zope seemed a good fit and it is advertised as simple to administrate. I have installed a few IIS sites for clients

Re: [Zope] How do I logout?

2000-11-04 Thread Ender
I don't know if there is an elegant way to do this. if i'm the superuser i just try to find a junk method (The QuickStart Tutorial does nicely) and change the text to include the following. (if i'm another user it the same thing applies but i generally create a logout method._ Log Me ou

Re: [Zope] Disabling SiteAccess/SiteRoot ..

2000-11-04 Thread Bill Welch
Try this: http://www.your-site.com/full/path/site-root/_SUPPRESS_SITEROOT/manage On Sat, 4 Nov 2000, [Windows-1252] Jørgen Skogstad wrote: > Of course I did something wrong. ;) I need to disable the SiteRoot ___ Zope maillist - [EMAIL PROTECTED] h

[Zope] How do I logout?

2000-11-04 Thread Lee Curtis
Hi all, How do I logout or switch users when running Zope? I've got some DTML code that does it - sometimes, othertimes it produces a keyerror. This must be a common problem - coz I'm logged in as super user and want to switch back to my regular username. Contributions of help greatly appr

[Zope] Disabling SiteAccess/SiteRoot ..

2000-11-04 Thread Jørgen Skogstad
Kindest.. Of course I did something wrong. ;) I need to disable the SiteRoot i implemented.. because right now all is /&#% up.. ;) Have you got any information about this? I am running this startup script as of now.. but it does nothing (esp. thinking of the env. variable that was stated on www

Re: [Zope] insert but updates don't work

2000-11-04 Thread Graham Chiu
On Sat, 04 Nov 2000 13:05:08 -0800 Michel Pelletier <[EMAIL PROTECTED]> wrote: > > There shouldn't be, are you using DTML in both methods? Yes. It's the same method, I just change the inner zsql statement. The one with the update fails, the one with the insert is okay. > If so, I > suspect o

Re: [Zope] UML

2000-11-04 Thread Michel Pelletier
Douglas Daniel Del Frari wrote: > > Greetings! > > I am graduation student and I come using the platform zope for > development of systems directed to education. Cool. > One of the main > doubts when using zope, not only the syntax, but also as to use it to > develop applications using m

Re: [Zope] insert but updates don't work

2000-11-04 Thread Michel Pelletier
Graham Chiu wrote: > > I have this rather curious problem with Zope 2.1.3 on WinNT. > > I have a zsql query which returns a number of records. I > want to do an update on the same table that is being queried > for each record returned, but get an authentication > challenge that I can not pass.

[Zope] insert but updates don't work

2000-11-04 Thread Graham Chiu
I have this rather curious problem with Zope 2.1.3 on WinNT. I have a zsql query which returns a number of records. I want to do an update on the same table that is being queried for each record returned, but get an authentication challenge that I can not pass. If instead I do, eg, an insert i

Re: [Zope] Zope and Sybase Stored Procedures

2000-11-04 Thread Bill Anderson
MANUEL JOSE AMADOR BRIZ wrote: > > Everything works from a SQL method except \"exec sp_xx\" calls. It is > driving me insane. ZSybaseDA spits errors about some operation in progress . WARNING: This data is a bit old! Last I knew, SybaseDA didn't work with stored procedures. if that ahs cha

[Zope] [Semi-OT] Compilin gon RH7 (was: New kinds of problems)

2000-11-04 Thread Bill Anderson
MANUEL JOSE AMADOR BRIZ wrote: > > Which still sucks because most of the software will default to gcc, and > compiled RPMs and binaries in other distributions fail sometimes too. In your Profile (bash example): $export CC=kgcc and Bob's yer uncle. :) ( doing this, any ./configure you run will

[Zope] ZMySQLDA installation problem

2000-11-04 Thread Chris Gray
I'm trying to install ZMySQLDA on Solaris 5.6. Everything seems to be going fine until make tries to compile the module. Then I get the following error messages: gcc -I/usr/local/mysql/include -I/usr/include/mysql -g -O2 -I/usr/local/include/python1.5 -I/usr/local/include/python1.5 -DHAVE_CONFI

[Zope] zope error

2000-11-04 Thread Atomasoft Network President
Hello,   There is a problem with my zope.Whenever someone accesses the server it has an error and shuts downthis is the last 2 lines of what it said:File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 65 inmaybe_flush self.file.flush()IOError: [Errno 9] Bad file descriptor   How

[Zope] UML

2000-11-04 Thread Douglas Daniel Del Frari
Greetings! I am graduation student and I come using the platform zope for development of systems directed to education. One of the main doubts when using zope, not only the syntax, but also as to use it to develop applications using methodologies (former UML). As to use concepts of Object

[Zope] ZMySQLDA troubles

2000-11-04 Thread Shelley Strik
This is my problem that I have been having. I am trying to install the database adapter from MYSQL to Zope. I downloaded the ZMySQLDA from the zope webpage. I then downloaded the Mysqldb from the zope web page. I installed both. It didn't work. After much trials and tribulations I found I d

Re: [Zope] Id ZopeStudio Dead?

2000-11-04 Thread Simon Michael
Also, for windows try Zope Stud (products area). It's an alpha and doesn't do much but what's there works extremely well. It makes a nice wiki browser too. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] PHP and Zope

2000-11-04 Thread andres
Take a look at the PHP/Zope integration HOWTO: http://www.zope.org/Members/Mamey/PHP On Fri, Nov 03, 2000 at 02:43:41AM +0100, Vincent - D. Ertner wrote: > Hi Zopers, > > I learned PHP and now discovered Zope. So I'd like to put a > simple question: > > What's the best way to incorporate the a

Re: [Zope] Local Time Zone

2000-11-04 Thread Oleg Broytmann
On Fri, 3 Nov 2000, Daniel Rusch wrote: > I know I can get the users language preference like this: > > > The question then is, is there a similar method of getting the users > Local Time Zone??? There is no. Use javascript on client side to redirect or set cookie or something... Oleg.