Nancy Donnelly wrote:
I have two Zope instances. On one of them, I have a boilerplate script that I 
use for all my clients' Web sites. Works fine. Has for years. I decided to copy 
it over to my other instance and I get an error. Here's the line in question:

<p tal:on-error="string: mailScript() isn't defined! This should be in your *s* dir with the default installation."
  tal:replace="structure python:here.mailScript()" />

This is extremely bad programming style.

Look at customising standard_error_message if you want to make error
messages prettier...

You may also want to look at MailingLogger
( so that you
get emailed salient log entries...



Simplistix - Content Management, Zope & Python Consulting

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to