> I haven't been following this discussion, but it sounds like there's
> the potential for SQL operations performed by LoginManager to
> interfere with other SQL operations such as logging uploaded files, in
> the case where the database system does not support nested (sub-)
> transactions. Corre
Ian Sealy wrote:
> I've finally managed to replicate the bug consistently, so I've just
> submitted it to the Collector:
> http://classic.zope.org:8080/Collector/1895/view
> I now know what causes it so I'm able to work around it, which means
> that I'm afraid the offer of 400 quid to fix
> Then change your Z SQL Method to look like;
> select * from Customers where
> foofield=
>
> ORDER BY
>
Hmm, I wouldn't do that, you're trusting the client here,
imagine someone going to
http://yourserver/staff?orderby=firstname%20;%20delete from Customers;
(sufficient dbuser rights assum
> Hi,
> I read in Itamar's 'A Developers Guide to learning Zope' about
> 'Reportlab'.
> It is a python library to create pdf files. Is there somebody among here
> who
> already used this library with zope? And is it possible to give a little
> example in how we can use it with zope?
Tom,
I can'
> I think probably Javascript is the 'cleanest' solution in this case,
> but depending on the complexity of your UI another non-JS approach is
> to make every link target the topmost frome (e.g., target="_top") and
> redraw all frames in the frameset on each 'click'. This way you know
> that all
> Zopatistas,
> I need functionality that none of the UserManagers seem to address. I
> need to allow a user to elect to log in (and set
> AUTHENTICATED_USER) as opposed to have them access a restricted
> resource to trigger cookie authentication.
You mean you want to use AUTHENTICATED_USER lik
> Oliver Bleutgen writes:
> > Shouldn't tags for creating sql-statements in ZSQL
> > (like dtml-sqltest) quote the variables by default in order
> > to prevent unexpected conversions by the database?
> Did you check, that standard SQL supports quoted
> name
> Some databases convert them to uppercase!
> Oracle is a prominent example!
> It took me once some ours to locate a bug resulting
> from this "feature".
This reminds me of another post I did some time before, but
where nobody replied.
Shouldn't tags for creating sql-sta
> Thanks for the tips:
> 1)the logout method work with shift+reload in IE (how would clear cached
> pages from zope?)
> 2)the method does not allow me to log
> back
> in even when I try a redirect to a different page.
> I am wondering if something is set incorrectly on my browser. If (2) works
>
>> reminded of a previous post in which someone suggested
>> http://garbage:x@yourSite would also clear the browser's credential.
>> Much faster and works in IE and Konqueror, but not Navigator or lynx. Very
>> easy to test, too.
>Its just not working for me.
>
>I am going to try LoginManag
> Impo rtError: No module named DynPersist
> does the LoginManager dependent from other product of zope?
> Do you know which product of zope contians "DynPersist"?
Reread the instructions for installing ZPatterns, they tell you
how to compile Dynpersist.c.
cheers,
oliver
__
> Hello Andy, thanks for the advice.
> It didn't work. Maybe I'm wrong at any point, so please tell me whether
> it worked for you.
> I'm aware that this problem has been discussed here before, that it
> happens because of Python's object naming, and also that there's a
> workaround at least (and
> I am still newbie in Zope, so my question may be stupid - sorry.
> I have problem with access to method. Example - There are two methods: A
> and
> B. Method A contains common information, accessible for all user (include
> anonymous). Source code in method B updates data for method A and acces
Whoa,
seems like my problem was not very interesting...
Anyway, I found a solution and hereby make it public.
To get apache to log usernames, one has to invoke
the apache's authentification machinery. I found
out that one can plug perl-modules into apache for
doing auth and that there's even a mo
This is not directly a zope-question,
but maybe someone has figured out how to solve
this.
I'm using apache with mod_rewrite to redirect
requests for a certain directory from apache to zope
(with option [p]).
Now for the first time I can't get apache to do want
I want it to, that is logging the
> Oliver,
> I haven't been following this thread, but here's how I do it.
> It's quite simple.
> 1.Copy the folder with Zope in.
> 2.edit z2.py to change all references to the old folder to the new
> folder.
> 3.edit the start script in the same way.
> That should be it.
Thanks Ph
>>Btw. can anybody tell me if and how it's possible to relocate
>>an installed Zope?
> Hmm... perhaps I am not understanding what exactly you mean, but a thought
> might be to use tar (on a UNIX system at least) to preserve your setup.
> Assuming you are using ZServer, Try shutting down Zope with
> Well, not 2.2.4 but 2.2.3, and I had some bugs when
ehm replace 2.2.3 with 2.2.2
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/ma
> Does it even *work*? Even a little bit? Because other than repeating the
> same process 12 damn times, so far I'm not convinced. Maybe I'll look in
> the
> source code to see if there's actually anything in the files (other than a
> HOWTO.txt, which is empty, which BTW is more annoying than ther
Do you
> know
> any pointer where I can get info on all the headers?
This is the specification for http 1.1
http://www.faqs.org/rfcs/rfc2616.html
esp. Section 14 for headers, you'll also find 302 and friends
explained in this document.
and for more pointers
http://www.w3.org/Protocols/
c
> hi there,
> i work with postgreSQL 7.0.2, ZPyGreSQL and zope 2.2 on suse 7.0 linux
> for a identifier field adr_id:serial i want to automatically insert a
> new number max(adr_id)+1
> how can this be done in an insert into sql statement?
> i tried nextval('adr_adr_id_seq') but get an error m
> Hi,
> I'm not sure if this is a strictly zope question, but I hope some people
> can give me an idea on how to solve this problem.
> I'm creating a form which has amonng it's input tags 2 comboboxes.
> Now, the content of one combobox, depends on the selection of the first
> combobox.
> How
> Searching a tool to edit DTML on MS-Windows, I read:
> http://www.zope.org/Members/cba/HTML_Kit
> It says that HTML-Kit can edit files through FTP. I found that it can only
> retrieve files, without being able to browse directories, and that it
> cannot
> save back files with FTP. Absolutely
> Hello, Zopers--
> I'm fairly new at this, so I apologize if this is a dumb question.
> Anyway, I've been looking for a way to do a bulk upload of XML
> documents from a local directory. So I need a method (either
> DTML or Python is fine with me) that would build a list of files and
> cre
> Hallo,
> I'got a fundamental question:
> Why should you switch from the built-in authentication mechanism to a
> product like GUF or Login-manager??
You can choose the storage for your userdata yourself,
which may be practical for i.e.
- huge user base and/or you also like to store adresses e
I fear this is anywhere in some howtos,
but I couldn't find it.
How can I get properties of a DTML-Documents
parentfolder as expression in ZopeFind?
At least I couldn't get the "Find" in Zope's webinterface
to show all DTML-Documents whose parent-folder has a certain property.
I guess I'm mi
> Jason C. Leach wrote:
>> hi,
>>
>> Has anyone implemented there own logging for Virtual Sites?
>>
>> I was thinking in the site rules an External Method could be called,
>> passed the Request obj, and from that generate logs for virtual sites.
>>
>> If anyone has done that, or knows of a better
> At 15:30 29.11.2000, Oliver Bleutgen wrote:
>>You didn't tell what SQL-Database you use, but Postgres and Mysql allow
>>logging/monitoring of the queries they get. So you are able to get the
>>information straight before/while it hits the backend.
> Yes, I'
> Hi listies,
> something strange is happening with my ZSQL methods. I have a huge query
> that works great when testing it in the management-interface - it returns
> about 10 records or so.
> but when I implement it into a dtml-method getting the parameters via
> X-Y-GMX: $flush
> REQUEST as usu
> The problem is that one of your databases doesn't define the commit_sub()
> and abort_sub() methods on the DB class it exposes. You don't say which
> SQL
> database you're using, but this happened to me on a consulting project
> with
> ZOracleDA. A solution is to add the following methods to t
> Oliver Bleutgen wrote:
>> I fiddled around somewhat and discovered that disabling
>> subtransactions in ZCatalog does help (required for using
>> ZSQL Methods and ZCatalog in the same transaction).
> Yeah, that sux. I think this is a known limitation. I'm not sur
Hi,
I just wanted to mention a IMO bad pitfall when using ZCatalog, for
the sake of sparing others some time.
I'm running Zope 2.2.2 with LoginManager with SQL in a subfolder and was getting
the following error when trying to find dtml-documents into ZCatalog:
Error Type: AttributeError
Erro
> If no one manages to break it, we're going to switch over wednesday, late.
> In the meantime, if people want to wget or ab it, feel free!
> ~ethan
Don't forget to change http://63.102.49.33/About/Hardware
;-)
cheers,
oliver
___
Zope maillist
> Thanks for your reply, but the main problem is the navigation.
> The admin part is the normal browse-version + an admin interface at the
> bottom of every side.
> So when you are in root/main/press and you click on the new button a
> script
> adds a new object.
> But how do I solve the navigati
> I know this sounds silly, but try making the url end with .csv
> I wrote a perl cgi script some time ago that spit out a csv file. When it
> ended with .csv, IE seemed to ignore the server's Content-type: text/html
> header.
> http://finance.yahoo.com/q?s=WCG&d=v1
> Look, my stock is falling!
> I'm create a CSV file that I would like browsers to get the "save as"
> dialog when they select it.
> I'm using RESPONSE.write() to write out the CSV file, and I set the
> Content-Type before calling RESPONSE.write
> Netscape seems to work ok, it pops up a save box for "text/csv" and
> "appli
> It's a Winzip thing. I'll bet wampum generator is a .tar file, just rename
> it to a .tgz file and it should open just fine.
Just some thoughts/guesses:
I'll bet Kathy uses Internet Explorer. Don't know about Netscape, but
it becomes more and more difficult to get IE _not_ to try to be "smart
> Hamish Lawson <[EMAIL PROTECTED]> wrote
> Python Zope Method
> Perl Zope Method
> SQL Zope Method
> DTML Zope Method
> Rebol Zope Method
> Java Zope Method
> VB Zope Method
> Custom Zope Mthod
> etc..
and perhaps let "Zope Method" become a "ZMethod", a bit shorter.
oliver
___
> 2. logout as superuser (e.g. close all browsers...)
Ha,
I always wanted to bring in a IMNSHO better way to "logout"
- it works at least in IE.
try http://log:[EMAIL PROTECTED]
So the cached login/password are overwritten by
log/meout and zope (or every other server) brings
up the login dialo
> * [EMAIL PROTECTED] (JXrn Helge B. Dahl)
> On a second thought: What I _really_ want (I think, unless someone
> tells me differently :-) ) is a conditional ProxyPass, to tell apache
> to redirect everything _unless_ the URI is /static (or something).
> But this is probably something for apach
> At 09:41 23/10/00, you wrote:
>>Hmm, I'm not very clear about differences between handling of (table,
>>column) names
>>in sql-databases, but postgres IS case sensitive (in some sense).
> Well I'm confused !!!
> I have two databases , one MySQL (3.23.25) one PostgreSQL (7.01), both
> with
> th
> MySQL is case-sensitive over table names, so MERCHANTPAYMENT is not the
> same as merchantpayment.
> Other databases (Postgresql, Informix) are not.
> Perhaps the Access/ODBC interface hides the case-sensitivity while the
> direct ZMySQLDA does not ?
Hmm, I'm not very clear about differences
Talking to myself
A slight correction to my patch so that
tablename.columname will be rendered as
to "tablename"."columnname".
146c146
< from string import find, split, join, atoi, atof
---
> from string import find, split, join, atoi, atof, replace
165,166c165,166
< if has_key('col
Hi,
I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4.
I encountered a problem with dtml-sqltest and capitals in column names.
Well, I simply couldn't get it to work because postgres requires
column-names with "special characters" like capitals to be enclosed
with quotation marks, ie.
> Seb Bacon schrieb:
>> >
>> > I also tried to name the animGif explicitely animGif.gif instead
>> > of animGif - guessed what? - same problem!
>> >
>> > Any more ideas, please?
>> >
>>
>> have you tried doing a diff on the zope and non-zope versions to see if
>> zzope's somehow mangled it?
>>
>>
> Hi,
> I already posted this message several monthes ago, expecting a new Zope
> version would fix the problem, but...
> I have some images on my pages (let's say 10 - not a lot), rendered
> either by dtml-var or a manual tag.
> When I render the page on some of my LAN boxes (especially with
> hi all
> has anybody successfully used Client.py that ships with Zope-2.2.0? i
> can't
> seem to run it. even on the command line. i've searched the mailing
> list,
> but to no avail
> this is what i did:
> python Client.py http://www.zope.org
> and here's the traceback.
> Traceback (innerm
47 matches
Mail list logo