[Zope] Connection Pools Increasing

2018-08-10 Thread Justin Dunsworth
I've recently had an issue where my site becomes intermittently unavailable after years of working fine and I'm uncertain on how to troubleshoot where it's coming from. My Zope site is accessed through Apache via proxy. I randomly started receiving Apaches Unavailable page as it is unable to pass

[Zope] Sessions DTML Execution

2015-04-08 Thread Justin Dunsworth
Hello, I am running into an issue that I can't quite figure out. I'm trying to leverage storing data within sessions then setting a variable in the header of my page to the session variable (for ease of calling) where I can then use it throughout the rest of my document. Here's the way it goes:

[Zope] MailHost - No message recipients designated

2014-10-09 Thread Justin Dunsworth
I've run into an issue with MailHost returning a No message recipients designated exception on an older Zope server that I've never seen before and I can't quite figure out. I created a simple SendMail template that looks similar to: dtml-sendmail mailhost=testmail To: t...@test.org From: Test

Re: [Zope] Checking multiple variables existence

2012-01-24 Thread Justin Dunsworth
==3 and var3 in ('a',1,'1') and var4 != 'OK' and var5 note1: var5 is string, true when '' nor None but must exists note2: var5 is int, true when 0 nor None but must exists dtml-else /dtml-if - Puvodní zpráva - Od: Justin Dunsworth Is there any way to check if multiple variables

Re: [Zope] Checking multiple variables existence

2012-01-24 Thread Justin Dunsworth
-unless var1 dtml-call REQUEST.set('var1','') /dtml-unless - Puvodní zpráva - Od: Justin Dunsworth These are required to be set, though.. right? Doing: dtml-call REQUEST.set('var_one','OK') dtml-call REQUEST.set('var_two','OK') dtml-if var_one=='OK' and var_two=='OK' Set dtml

[Zope] Storing DTML in SQL

2010-08-18 Thread Justin Dunsworth
I am currently working on a project where I am storing HTML within a MySQL database to display dynamic pages and content in sequences. I would like to be able to store DTML within the tables as well and be able to call them within the page to display that content. I tried mixing the DTML in with

Re: [Zope] Change admin's password

2009-12-30 Thread Justin Dunsworth
If you are wanting to update a password on a MySQL table then yes, a simple 'UPDATE TABLE users SET password = 'newpass' WHERE username = 'admin'; will work. If you are wanting it in MD5 digest form just use SET password = MD5('newpass') As Lennart mentioned, if you are using multiple databases

[Zope] DateTime Issues

2009-12-23 Thread Justin Dunsworth
I am having difficulties with time zones and rendering proper times/dates. My time zone is GMT-6 (CST)... mysql reports the proper time/date, running dtml-var expr=e.strftime('%c') shows Zope has the right date, running a query straight from the SQLMethod shows the proper time in relation to the

Re: [Zope] DateTime Issues

2009-12-23 Thread Justin Dunsworth
Ah-ha... that would make sense. Is there a way to display it without stripping the timezone information or at least add another time preset? On Wed, Dec 23, 2009 at 11:30 AM, Andrew Milton a...@theinternet.com.auwrote: +---[ Justin Dunsworth ]-- | I am having

Re: [Zope] SQL Method running twice

2009-12-15 Thread Justin Dunsworth
This seems to be happening on more than just one query now... is there any suggestion on where to look? On Thu, Dec 10, 2009 at 1:14 PM, Justin Dunsworth justin.dunswo...@gmail.com wrote: Thanks for the reply... Are you suggesting that there may be an issue with MySQL receiving the data from

Re: [Zope] SQL Method running twice

2009-12-15 Thread Justin Dunsworth
I forgot to add version: Zope 2.11.4-final, python 2.4.4, win32 and using ZMySQLDA 2.0.9 On Tue, Dec 15, 2009 at 11:34 AM, Justin Dunsworth justin.dunswo...@gmail.com wrote: This seems to be happening on more than just one query now... is there any suggestion on where to look? On Thu, Dec

Re: [Zope] SQL Method running twice

2009-12-15 Thread Justin Dunsworth
schrieb Justin Dunsworth: This seems to be happening on more than just one query now... is there any suggestion on where to look? On Thu, Dec 10, 2009 at 1:14 PM, Justin Dunsworth justin.dunswo...@gmail.com wrote: Thanks for the reply... Are you suggesting that there may

Re: [Zope] SQL Method running twice

2009-12-15 Thread Justin Dunsworth
. Switched compatability mode to on with IE8 and did it with the same tag and it worked fine. I removed the tag: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; On Tue, Dec 15, 2009 at 1:09 PM, Justin Dunsworth justin.dunswo...@gmail.com wrote: Investigating

[Zope] SQL Method running twice

2009-12-10 Thread Justin Dunsworth
I am running into a brand new issue today that I can't, for the life of me, figure out. I wrote a standard page to insert data into a MySQL table using Z SQL methods from a form like I always have but for some strange reason it's running the same query twice, thus adding a duplicate entry. I have

Re: [Zope] SQL Method running twice

2009-12-10 Thread Justin Dunsworth
10.12.09 19:59, schrieb Justin Dunsworth: I am running into a brand new issue today that I can't, for the life of me, figure out. I wrote a standard page to insert data into a MySQL table using Z SQL methods from a form like I always have but for some strange reason it's running the same query

Re: [Zope] Remove from list

2009-12-10 Thread Justin Dunsworth
https://mail.zope.org/mailman/listinfo/zope Go to the bottom where it says: To unsubscribe from Zope, get a password reminder, or change your subscription options enter your subscription email address: On Thu, Dec 10, 2009 at 1:31 PM, Lukman Salifu Nayendi kyze...@yahoo.comwrote: Please

[Zope] string index out of range

2009-11-24 Thread Justin Dunsworth
I have been using Zope 2.10.4-final, python 2.4.4, win32 for quite awhile... I recently started a new project using Zope 2.11.4-final, python 2.4.4, win32 and proceeded with my normal programming but I am receiving an error that I haven't received before. Traceback (innermost last): Module

Re: [Zope] string index out of range

2009-11-24 Thread Justin Dunsworth
On Tue, Nov 24, 2009 at 8:47 PM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin Dunsworth wrote: I have been using Zope 2.10.4-final, python 2.4.4, win32 for quite awhile... I recently started a new project using Zope 2.11.4-final, python