Re: [Zope] subfolder wrong absolute_url

2000-05-18 Thread Steve Alexander
Ulrich Wisser wrote: The path is used by the browser, not Zope. IE and Netscape will store your login/password to send it with every GET request which is in the path, e.g.: authenticate on / - path is / - all request will be with auth info authenticate on /sub - path is /

Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Kyler B. Laird
I just installed release 2.2.0a1 on a glibc Linux box, but I keep getting a permission problem when accessing a database query. I have encountered the same problem using ZOracleDA under SPARC Solaris. File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py, line 602, in

[Zope] ZScheduler

2000-05-18 Thread Jerry Spicklemire
There was some discussion earlier this year on the Zope-Dev list. THese items may belong in subclassed objects based on "schedulable"(?) or might be considered part of a larger "Zope Event Model" project, for later on. At any rate, here are some of the ideas that came out back in February. "Zope

[Zope] Broken ZWiki

2000-05-18 Thread Tom Smith
when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? cheers tom [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.dmrl.com http://www.OTHERmedia.com

Re: [Zope] Cache

2000-05-18 Thread Dr. Peer Griebel
Jonothan Farr wrote: How can I disable the browser cache in my zope documents ? One thing you can do is set the 'Expires' header like so: dtml-call "RESPONSE.setHeader('Expires', _.DateTime().rfc822())" This works using Netscape. But for IE I had to use: dtml-call

[Zope] looking for ID after manage_addFile

2000-05-18 Thread Didier Georgieff
Hello, I'm uploading some files thru a form and i want to setup some new properties just after the upload (who done the upload and so...) So i have a DTML method (addProperty) who does the manage_addProperties and i want to simply call /.../ID/addProperty for that. I also need to know

RE: [Zope] Cache

2000-05-18 Thread Mabe, Brad
Does this work in IE5? I'm using similar META tags which work for IE4 and Netscape but don't work in IE5. -=Brad=- -Original Message- From: Dr. Peer Griebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Cache

Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger
Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. best Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

RE: [Zope] ZSQL-Methods: last inserted id

2000-05-18 Thread Ron Bickers
You can get a ZSQLMethod that's used for inserting to return the last inserted ID by doing the following: INSERT ...whatever... dtml-var sql_delimiter SELECT LAST_INSERT_ID() AS newid You get the results as you would with any ZSQLMethod: dtml-in my_zsql_method Inserted ID: dtml-var

RE: [Zope] Newbie: MS Access ODBC connection strings

2000-05-18 Thread michael angelo ruberto
i had a similar problem recently. my access DB was not showing up in the data sources list until i deleted the ODBC connection from windows control panel and recreated it - i guess i messed up the first time. make sure your DB shows up in the "User Data Sources" list in the ODBC Data Source

RE: [Zope] listmate + CSV problem

2000-05-18 Thread michael angelo ruberto
hi, Heiko it works! i had to replace all whitespaces in column names with under_scores. it's the whitespace that created a problem. now i have to enter "NULL" in all the empty cells to make the table line up properly -( but this is not your fault, it's mine. i think many people in my company are

[Zope] Zope Product tools.

2000-05-18 Thread Jerry Spicklemire
Bryan Patrick Coleman asked: I was wondering if there were any products for the following Genre's configuration managment, Project managment, bug tracking, cvs browsing etc for Code / Bug Tracking check out : http://www.zope.org/Members/klm/TrackerWiki/FrontPage

Re: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough
At DC, we pronounce it J-I-M F-U-L-T-O-N. :-) But some people pronounce it like "soap" with a Z instead of an S at the beginning. Stephen Nosal wrote: Folks - Just a recurring question around the office, is there an official pronunciation for 'ZOPE'? - Steve

[Zope] zsql method??/

2000-05-18 Thread Jonathan Park
Hello everyone! I have a dtml method that calls in the sql method like this dtml-in sql method the result I get is what I would expect except in the unique_# field 'L' is added at the end of the number ex: unique_#blahblah blah 1L data data data

RE: [Zope] zsql method??/

2000-05-18 Thread Eric L. Walstad
Oops, I forgot to mention that the CONV function is used in your ZSQL method. Here's the ZSQL Method I use (returns upcoming birthdays falling within this, and the next, month): SELECT FirstName, LastName, MONTH(Birthday) AS Month, DAYOFMONTH(Birthday)AS Day, DATE_FORMAT(Birthday, '%M %D, %Y')

[Zope] Limits on text posting

2000-05-18 Thread Carlos A. Carnero Delgado
Hello again, zopistas! Actually, this is not directly related to Zope, but I just wanted to know. I have a simple form with a textarea, exactly, how much text fits in a text area? I mean, is there an upper limit to the number of characters the end user can type in the textarea? -- [ c a r l o s

[Zope] Local File System

2000-05-18 Thread Tom Scheidt
Hi and thanks, I want to view images in a local fs on a web page so i have: dtml-with images dtml-in images start=0 size=50 orphan=0 reverse img src="dtml-var "(THE IMAGE ID'S)""br /dtml-in /dtml-with I've read that I can get the filenames as id's by using getObject, but I can't seem to

[Zope] stop_syn attribute error with zope 2.2.0a1

2000-05-18 Thread Oliver Frommel
hi, after getting around the "superuser cannot own .." problem by creating a new user and importing parts of the old site, now I am getting the following error: Error Type: AttributeError Error Value: stop_syn Traceback (innermost last): File

Re: [Zope] Zope and PHP

2000-05-18 Thread andres
On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP output within Zope at:

Re: [Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger
On Thu, 18 May 2000, [EMAIL PROTECTED] wrote: On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP

Re: [Zope] Some examples of DTML scripts ?

2000-05-19 Thread Cornelis J. de Brabander
go to http://www.zope.org and click on the 'dtml source' link at the bottom of every page cb -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [EMAIL PROTECTED] Aan: [EMAIL PROTECTED] [EMAIL PROTECTED] Datum: vrijdag 19 mei 2000 11:55 Onderwerp: [Zope] Some examples of DTML scripts ? Hi,

[Zope] Zope log rotation

2000-05-19 Thread Dan L. Pierson
Chien-pin Wang writes: Dear All: Quick question about Zope admin. Can zope automatically rotate its access log? Thanks. I use logrotate on Linux for this. Unfortunately I have to use the before and after config options to stop zserver before and restart it after -- otherwise

Re: [Zope] gotcha for zope on solaris2.7 - make sure you use pthreads.

2000-05-19 Thread Anthony Baxter
Let's see: network lookups would fail, sometimes, strangely, signals would be delivered to _all_ children (not just the one that had installed a signal handler) -- so if you had an external method that popen'd another program, when the SIGCHLD came in, it would kill the mainloop. The signals

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Evan Simpson
- Original Message - From: Martin Grönemeyer [EMAIL PROTECTED] i have some strange problmes by using the "REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is active. I have also some Sites in use without SiteAccess and no problems with the above method. Tell me more

Re: [Zope] help with rpms on RedHat6.2

2000-05-19 Thread Chris McDonough
Peter, A step-by-step guide to installing Zope is available at http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO Peter Halliday wrote: I am developer who really loves python, and want to start using it to develop my web applications. I run Apache 1.3 on a Red Hat 6.2

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Martin Grönemeyer
i have some strange problmes by using the "REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is active. I have also some Sites in use without SiteAccess and no problems with the above method. Tell me more about the problem, please. SiteAccess replaces REQUEST.traverse, which

Re: [Zope] Representing rows from a ZSQL method

2000-05-19 Thread J. Atwood
Good and bad news.. There is no real "product" to do this.. but it is not at all hard to do with Zope tools.. For example: -Displaying an order on the web with the order header (consisting of the client name, address, ZIP, etc.) and the order lines with the products to purchase. This is a

[Zope] Zope SQL Database Connection

2000-05-19 Thread joel grimes
Beginner Question I'm trying to add a database connection to a site (my first one). I tried adding a SQL Method and am told I need to add a Zope Database Connection. I can't find that in the list of available objects. Can someone direct me to a resource that explains how? It's not

Re: [Zope] Fw:

2000-05-19 Thread R. David Murray
On Fri, 19 May 2000, Tom Scheidt wrote: Do you know if I can limit the id to the last 3 letters, rather than the first? My images have _xl, _l etc. on the end. [...] ul dtml-in "tester.fileValues()" dtml-if "type=='image/jpeg'" dtml-if "id[0:3]=='tn_'" img

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Evan Simpson
- Original Message - From: Martin Grönemeyer [EMAIL PROTECTED] dtml-with "REQUEST.resolve_url('http://mydomain/home/index_html')" dtml-var title /dtml-with throws Error Type: ValueError Error Value: Different namespace. REQUEST.resolve_url requires that the URL you pass to it

[Zope] Namespaces? DTML Methods? Properties? Oh my.

2000-05-19 Thread Gary Perez
Hello all. First, a warning: I'm probably the newest of all Zope newbies. I'll do my best to formulate some semblance of an intelligent question. I'm having a namespace meltdown. Here's what's going on... I have a ZClass called "Company" which has attribute "id", and a ZClass called "Project"

Re: [Zope] looking for ID after manage_addFile

2000-05-19 Thread Dieter Maurer
Didier Georgieff writes: dtml-call expr="manage_addFile (' ',REQUEST['myFileBin'],REQUEST['myTitle'])" Uploaded files are "ZPublisher.HTTPRequest.FileUpload" objects. They have attributes "headers" (- Content Type) and "filename". Dieter

Re: [Zope] FYI: Some changes on Zope.org

2000-05-19 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED] , Paul Everitt [EMAIL PROTECTED] writes One other note. We'll probably be putting ZEO in place on Zope.org next week. It's doing pretty well in the alpha testing. If it survives Zope.org, we'll be in good shape for

Re: [Zope] Local File System

2000-05-19 Thread Jonothan Farr
I'm just getting started, but managed to use the following to display only JPG's, and then only ones starting with "tn_" (my thumbnails): There's an easier way. =) ul dtml-in "tester.fileIds(spec='tn_*.jpg')" img src="tester/dtml-var sequence-item" /dtml-in /ul --jfarr "Perl is

Re: [Zope] Some examples of DTML scripts ?

2000-05-19 Thread Rik Hoekstra
Hi, I'm a french new Zope developper and I'm a little bite lost with the english documentation... I think that some examples will help me a lot. So, if someone have some and can spend two minutes to send them tome, I will be very happy. You should try the zdp site (http://zdp.zope.org),

Re: [Zope] Nesting ZClasses=='bad juju'

2000-05-19 Thread Rik Hoekstra
David Holden writes: Hi, I'm working throw the ZDevelopers guide, and want to try using nested ZClasses, There was a thread about this a while back that talked about design choices and nested ZClasses. Due to some of the current conventions in the ZClasses implementation, nesting them

Re: [Zope] FYI: Some changes on Zope.org

2000-05-19 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], J. Atwood [EMAIL PROTECTED] writes Just wondering if Zope.org is an appropriate site for alpha testing software when it should be show casing Zope technology. One gets a bad impression when visiting the site of a web

[Zope] Zope/Apache Image Catalog

2000-05-19 Thread Tom Scheidt
Hi I want to be able to upload images into a folder on Apache using a form page in Zope, and at the same time have the ids cataloged with keywords into a ZCatalog. Basically, to be able to search on keywords and have the related images displayed on a page. Does anyone have any recommendations,

Re: [Zope] Zope/Apache Image Catalog

2000-05-20 Thread Steve Alexander
Tom Scheidt wrote: Hi I want to be able to upload images into a folder on Apache using a form page in Zope, and at the same time have the ids cataloged with keywords into a ZCatalog. Basically, to be able to search on keywords and have the related images displayed on a page. Does

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-20 Thread Oleg Broytmann
Hi! On Fri, 19 May 2000, Evan Simpson wrote: From: Martin Grönemeyer [EMAIL PROTECTED] Error Type: ValueError Error Value: Different namespace. REQUEST.resolve_url requires that the URL you pass to it begins with REQUEST.script Oops! Can you tell more details on this? What is

Re: [Zope] detect root folder

2000-05-20 Thread Steve Alexander
Sin Hang Kin wrote: Hi, Is it possible to detect the top folder in dtml? I means I would like to prevent squishdot to show the ../ when it is already in the top level. dtml-if "_.len(PARENTS) == 1" We're at the root folder dtml-else You can go up from here /dtml-if -- Steve

Re: [Zope] How to use WebDAV?

2000-05-20 Thread Tino Wildenhain
Hi Richard, Richard Folwell wrote: I am trying to use WebDAV (so far under Win98). IE5/File/Open(check "Open as Web Folder") - "http://localhost:8080" So far so good. IE5 opens a folder with the Zope files and folders visible, and I can navigate through the folders. However it is

Re: [Zope] detect root folder

2000-05-20 Thread Morten W. Petersen
dtml-if "_.len(PARENTS) == 1" We're at the root folder dtml-else You can go up from here /dtml-if I think the root folder has the title Zope too, so: dtml-if "title == 'Zope'" dtml-call doo_wah_diddy dtml-else dtml-call doo_wah_diddy_daaah /dtml-if -Morten (0.01$)

Re: [Zope] detect root folder

2000-05-20 Thread Morten W. Petersen
Just don't give any other folders the title of 'Zope' Hmm, this is better(tm): dtml-if "id == ''" dtml-var "bThe root folder has no identity!!/b" dtml-else dtml-var "bsweet/b" /dtml-if You could always do a "id == '' and title ==

Re: [Zope] Fw: ZTopics and Canned Queries

2000-05-20 Thread Michael Bernstein
Shalabh Chaturvedi wrote: What I want to do is create: (creator : creatorName) And use http://url/FilterCreator?creatorName=shalabh Currently ZTopic does not allow me to create an object like above as it tries to evaluate the query at creation time. I have modified my local copy of

[Zope] Using ReportLab with Zope

2000-05-20 Thread Richard Folwell
To sound out what, if anything, other people are doing in this area: I am interested in using ReportLab with Zope, to provide an improved printed version of web-published documents. What I want to do is fairly straightforward, to create a PDF file with: - a title/cover page with control

[Zope] Refresh adds objects to Add list again

2000-05-20 Thread Kevin Dangoor
Hi, I'm working with a very simple Product. Whenever I Refresh it, it shows up an additional time in the Add list. Is this expected behavior? I don't think I'm doing anything odd at all in the __init__.py or in the product itself. The __init__.py consists of basically just a single

[Zope] FYI: Latest gem appears in CVS

2000-05-20 Thread Paul Everitt
Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. What are these? I'll answer with a question. Ever want to have your data segregated into multiple Data.fs files? Ever want to have some of your object data in the regular FileStorage, some in a

[Zope] FYI: Documentation

2000-05-20 Thread Paul Everitt
One other thing I'd like to point out. Have any of you looking at the latest-greatest Zope poked around in the help system? One thing you might note is the excellent API documentation Michel Pelletier has been doing, hooked up to Amos' help system. Browseable, searchable API documentation.

[Zope] FYI: Latest gem appears in CVS

2000-05-20 Thread Jerry Spicklemire
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. snip If you want to send thanks, send them to Jim Fulton and Shane Hathaway. From the way this sounds, I need to go update the "DevTestProd" page in the "HighAvailabilityZope"

Re: [Zope] FYI: Latest gem appears in CVS

2000-05-20 Thread Bill Anderson
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. Am I correct in thinking this are ready to appear, but not _in_ CVS yet? I've been looking for the last 15 minutes with no luck, though the history tab is certainly there! :-)

RE: [Zope] Calling External Method...

2000-05-20 Thread Chris McDonough
DTML Method that calls the External Method: dtml-var standard_html_header h2dtml-var title_or_id/h2 dtml-let cmdLine="'./websim'" dtml-var "ExecCGI(cmdLine)" /dtml-let dtml-var standard_html_footer Geez, this is a pretty bad idea security-wise. Your xCGI Python function has

RE: [Zope] Memory creep

2000-05-21 Thread Chris McDonough
John, If you can figure out how to use them, the pair of methods implemented on the Control_Panel named "manage_debug" and "manage_profile" might help you... e.g. http://yourserver/Control_Panel/manage_debug . I can't give much in the way of explanation of them, there might be some good

Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford
What happens when you execute the event's "trigger" method from the browser's location line? e.g. http://my.site.dom/my_scheduled_method/trigger -- Loren In article 000101bfc01a$1ec3e2e0$[EMAIL PROTECTED], Loren Stafford [EMAIL PROTECTED] writes You can try out ZScheduler on Windows (I

Re: [Zope] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-21 Thread chas
Thank you very much for the comprehensive and speedy reply, J. Let me give it a try (or just dump all of what I know). Much more than I expected - and greatly appreciated. Thank you. First of all it looks like you are going to want ZEO. If you don't know ZEO, get to know ZEO, it fits

[Zope] Zclass inheritence

2000-05-21 Thread John Morton
What does a product need to do in order to be a base class for a ZClass? Can another Zclass act as a base class for a ZClass? If not, why not? John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Zclass inheritence

2000-05-21 Thread Chris McDonough
What does a product need to do in order to be a base class for a ZClass? It needs contain a class that is registered as a base class in the product's __init__.py "initialize()" method via "context.registerBaseClass()" e.g. context.registerBaseClass(ZCatalog.ZCatalog) See

RE: [Zope] Calling External Method...

2000-05-21 Thread Eric L. Walstad
// Am I on the right track with this? Shouldn't it be easy ( secure) to // launch a C app on the server and pipe the results back to // Zope? If so, how. // The approach I took (above) was recommended by someone else on // the list. // // I think you should probably make sure the function

[Zope] ZMysqlDA

2000-05-22 Thread Brenton Bills
Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD machine, I have compiled this fine before on Linux but no luck on bsd. I am new to Bsd so if this is a bsd problem I appolagise in advance, but the ZMysqlda documentation is not clear on what libs are required. Python 1.5.2

[Zope] Zope + Apache + Mailman

2000-05-22 Thread pehr anderson
Dear Mailmen, I've been studying this all weekend and finally, *finally* understood enough to get it to work. I wanted to proxypass both sites into zope, however I needed access to CGI scripts and images to run mailman. I had to find the appropriate rewrite rule to allow this to work. The

Re: [Zope] ZMysqlDA

2000-05-22 Thread Andrew Kenneth Milton
+[ Brenton Bills ]- | | Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD | machine, I have compiled this fine before on Linux but no luck on bsd. I | am new to Bsd so if this is a bsd problem I appolagise in advance, but the |

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris ___ Zope maillist - [EMAIL

[Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Anthony Baxter
A short survey for SQLSession users out there: What database are you using for SQLSession? If you're using Gadfly, are you using the base64oneline encoding, or have you patched your gadfly install? I plan to stop supporting anything but the base64 encoding method in the next release

Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-22 Thread Richard Moon
Here is a ZSQL Method (called insert_author) which inserts into a PostgreSQL table which has a serial column called author_id. Arguments surname search_name initials known_name user_id notes Query Template -- insert into author

Re: [Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Anthony Baxter [EMAIL PROTECTED] writes A short survey for SQLSession users out there: What database are you using for SQLSession? Interbase. Also - how many people would be upset if the default table schema was

[Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
Hi, I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't know what the problem is, so it has to be like this: Add test_product product in Control Panel - Product Management In test_product: Add a

[Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a folder full of Tiny Tables. I would like to go over each table, and iterate thru their contents. dtml-in "objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in doesn't do anything. Clues? - --

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Bill Anderson
Chris Withers wrote: Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris None I can think of off hand...

[Zope] ZMySQLDA and dtml-in (bug?)

2000-05-22 Thread Morten W. Petersen
When I use an ZSQL method to fetch data, the manage test tab gives a result of 14 items. When the same method is used in a dtml-in tag, with batches of size 10, it only shows the first 10 items, with no "Show next x missions". It previously showed "Show next 4 missions", but after altering 10 of

Re: [Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Bill Anderson
Anthony Baxter wrote: A short survey for SQLSession users out there: What database are you using for SQLSession? Getting ready, will be using postgres it appears ___ Zope maillist - [EMAIL PROTECTED]

[Zope] ZCatalog SQL Content?

2000-05-22 Thread Oliver Wrede
I was trying to figure out, how to use ZCatalog to index text in databases. I access articles in the following way: http://mysite/23/article The "23" is used as an Record ID for the ZSQL Query to get the content of the article from the database. This is done with the SiteAccess product.

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread Pierre Rougier
My URL references to Apache example: http://margo.pla.fr/intra/machin.html and I want to use httpd.conf to transform it (only for html and htm files) in http://margo.pla.fr/intra/?machin.html (which is my ZServer) Does someone know the rewrite I sould use regular

[Zope] Re: Zope log rotation

2000-05-22 Thread Frank Tegtmeyer
I use logrotate on Linux for this. Unfortunately I have to use the before and after config options to stop zserver before and restart it after -- otherwise zserver just keeps appending to the old log. If you log to a pipe you can use any mechanism you like without bothering Zserver. I use

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Andrew Kenneth Milton
+[ Graham Chiu ]- | | | I have a folder full of Tiny Tables. I would like to go over each | table, and iterate thru their contents. | | dtml-in "objectValues(['TinyTable'])" | dtml-in sequence-item | dtml-var valuebr | /dtml-in |

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Chris Withers
Graham Chiu wrote: dtml-in "thisdirectory.objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in Is this code in a DTML document or method? I would like to print out the title attribute of the tiny table now, but dtml-var

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread Peter Sabaini
you might want to use apaches proxy module in conjunction with mod_rewrite. from the docs of mod_rewrite (http://www.apache.org/docs/mod/mod_rewrite.html): """ proxy|P' (force proxy) This flag forces the substitution part to be internally forced as a proxy request and immediately (i.e.,

Re: [Zope] ZClass acting up?

2000-05-22 Thread Kevin Dangoor
- Original Message - From: "Erik Enge" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 7:36 AM Subject: [Zope] ZClass acting up? Hi, I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check your Subobjects tab to make sure that the appropriate subobjects are still selected? There is no way to select a Z Class that is a child of another Z Class in the subobject list. Should I be able to

Re: [Zope] Broken ZWiki

2000-05-22 Thread Jason Cunliffe
- Original Message - At 15:16 18/05/2000 +0100, Tom Smith wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? Tom - Did you get this sorted? I have the same problem. - Neil ...same problem here :-( -Jason

Re: [Zope] Zope.org membership

2000-05-22 Thread mindlace
Graham Chiu wrote: Can it be changed so that it remembers both my userid and password, or just my password? I usually remember who I am! This is certainly true. Unfortunately, Microsoft has made it so that anyone with a modicum of javascript skills can read *all* your cookies (if you use

Re: [Zope] ZClass acting up?

2000-05-22 Thread Morten W. Petersen
Did you try it at your installation? With the same result? Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Seriøst, funker helt fint her. -Morten (=) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZClass acting up?

2000-05-22 Thread Kevin Dangoor
- Original Message - From: "Erik Enge" [EMAIL PROTECTED] To: "Kevin Dangoor" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 12:08 PM Subject: Re: [Zope] ZClass acting up? "Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check

[Zope] uploading a batch of files

2000-05-22 Thread Jonathan Park
I need to upload a batch of files into the zope database, what would be the best way thanks :) -jon Have a great day!!! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] FYI: Latest gem appears in CVS

2000-05-22 Thread Jason Spisak
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. Awe darn. And I was just going to add to my worthless MultipleSimultaneouStorage Wiki. Chant for the Gladiator... Jim, Jim, Jim Exstaticly, Jason Spisak CIO HireTechs.com

Re: [Zope] uploading a batch of files

2000-05-22 Thread Rik Hoekstra
I need to upload a batch of files into the zope database, what would be the best way thanks :) What about ftp? Zope comes with a built-in ftp server. Point your favorite ftp client to your server. Don't forget to set the right port - see zopehome/z2.py for this. Enter your

RE: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... If you hit reload it breaks the images on the root level, if you put your cursor in the Location, or URL field and hit enter it reloads fine. I truly don't understand this problem and it only

Re: [Zope] Zclass inheritence

2000-05-22 Thread Chris McDonough
OK, I've found that this may be a bug. You can't subclass ZClasses across products. Sorry. I have no "esimated time to resolution" for this either. For now, you should be able to create a subclass of STX_Document inside the product to which it belongs and work from there. John Morton wrote:

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Morten W. Petersen" [EMAIL PROTECTED] writes: Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Jeg bruker Red Hat 6.2 akkurat nå. Seriøst, funker helt fint her. Hm. Og du fulgte samme prosedyre? Da må jeg nok ringe deg :) -- Erik Enge

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
O.K If you just load the document in a Netscape Browseryou get the imagethen when you hit reload you get a Zope error message that says: Zope Error Zope has encountered an error while publishing this resource. Error Type: OverflowError Error Value:

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
Jon Delheimer wrote: Checking the Z2.log file shows that Zope is returning a 500 status code (Internal Server Error) when the broken images appear. That's not good :( That means something is causing the requests to go astray. Can you see what the requested object is compared with the URL

Re: [Zope] Broken ZWiki

2000-05-22 Thread Chris Withers
Jason Cunliffe wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? ZWikiWeb Either see Evan's post or read: http://www.zope.org/Members/chrisw/ZWikiWeb/install ...particularly the bit about ZWikiWeb requiring ZWiki

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Shane Hathaway
John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K

[Zope] Zope.org tracker

2000-05-22 Thread mindlace
Zopistas! There is now a zope.org tracker at http://www.zope.org/Tracker for bugs and feature requests for Zope.org. If there's anything that's been driving you nuts about the zope.org website, or something you'd just like to see, please feel free to add it to the Tracker! Thanks, ethan

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread mindlace
Pierre Rougier wrote: The problem is that by doing that, as in the HTML pages, paths are relatives, the redirection change all the relative address to the port 8080 (because the final served URL is on this port), and I want my Images to be served by apache What I think you need to do

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread mindlace
mindlace wrote: What I think you need to do is use SiteAccess so that it strips out the port. You can use an access rule like so: dtml-let basename="_.string.join(_.string.split(HTTP_HOST, ':')[-2:-1])" dtml-call "REQUEST.set('SiteRootBASE','http://'+basename)" /dtml-let You may have

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
Shane, Nope the console is not visible, couldn't even log in. j At 02:23 PM 5/22/00 -0400, you wrote: John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible).

Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-22 Thread ozric
--snip-- I got help from one of our DBA's today here is what I was missing. This in not in Bruce's Book. INSERT INTO address (per_id,street_num,city,state,zip) SELECT per_id,'$3','$4','$5','$6' FROM person WHERE last = '$1' AND first = '$2'; $1-6 will be supplied by user input from Zope,

[Zope] Executing an external program

2000-05-22 Thread Mabe, Brad
Is there a way for zope to call an external program (exe, batch file, etc.) and have it execute on the server? I have several home grown utilities on my server that I would like to access/execute via the browser. -=Brad=- ___ Zope maillist -

  1   2   3   4   5   6   7   8   9   10   >