[Zope] Attribute error

2007-03-23 Thread Catherine E. Reinehr
Hi,

I'm pretty new to Zope; I inherited the system when I started my new job.
We use it to manage a college web site.  I noticed yesterday that several
pages in our "Student Services" section will no longer load.  Every time I
try, I get this:

Error Type: AttributeError
Error Value: visible

And I have no idea what it means or how to fix it.  Any suggestions would be
much appreciated.

Thanks,
Catherine

-

Webmaster & Publications Designer
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 103


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Attribute error

2007-03-23 Thread Catherine E. Reinehr
I knew as soon as I asked for help, I would figure it out.  Turns out when I
added a folder in that section, I forgot to add the attributes "visible" and
"order."  All better now.

Thank you anyway!
Catherine

-

Webmaster & Publications Designer
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 103

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul
Winkler
Sent: Friday, March 23, 2007 3:12 PM
To: zope@zope.org
Subject: Re: [Zope] Attribute error

On Fri, Mar 23, 2007 at 02:56:31PM -0500, Catherine E. Reinehr wrote:
> Hi,
> 
> I'm pretty new to Zope; I inherited the system when I started my new job.
> We use it to manage a college web site.  I noticed yesterday that several
> pages in our "Student Services" section will no longer load.  Every time I
> try, I get this:
> 
> Error Type: AttributeError
> Error Value: visible
> 
> And I have no idea what it means or how to fix it.  Any suggestions would
be
> much appreciated.
> 
> Thanks,
> Catherine

Not enough information... so the first thing to do is go into the zope
management interface, click on the /error_log link, and find your
error listed there.  Click on it to get a more complete traceback.
Reply here with that information and you're more likely to get a
useful response.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Problem with using versions.

2007-04-10 Thread Catherine E. Reinehr
Hi,

I've been working in a version for over a week and finally finished my
changes today.  I saved them and quit the version, but the affected folder
still has a lock on it.  I've tried four times now to save my changes, and
it's just not working.  The first time, it seemed to publish the changes but
the folder was still locked.  On later tries, I encounter an error when I
try to access the page after saving changes.  Any suggestions?

Thanks,
Cathy

-----

Catherine E. Reinehr
Webmaster & Publications Designer
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 103

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Problem with using versions.

2007-04-11 Thread Catherine E. Reinehr
I'm running 2.6.2.  What's the most recent stable release?  2.10.3?

I hate to say this, but my Zope knowledge is very limited.  I'm really only
using it because it's what my predecessor used to build the web site in the
first place, and she's not a whole lot of help now.  

I went here (http://wiki.zope.org/ZODB/FileStorageBackup) to read up on
backups, but I'm afraid it doesn't make a whole lot of sense to me.

-

Catherine E. Reinehr
Webmaster & Publications Designer
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 103

-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 10, 2007 10:51 PM
To: Catherine E. Reinehr
Cc: zope@zope.org
Subject: Re: [Zope] Problem with using versions.

The built in version handling was deprecated long ago for exactly these
problems. Which Zope version are you using?

- back up your Data.fs(s)
- export your structure as it is (better do this per root element)
- undo your last steps (this is optional in case you cannot see
   important parts due to version lock) and export these objects
   as well

- stop zope/zeo and delete Data.fs(s), restart it and
   create your site again using your above exports.

- do not use zope versions anymore.

if your zope is old, try to upgrade while you are working
on it. In this case, you can skip step 4.

HTH
Tino

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Problem with using versions.

2007-04-11 Thread Catherine E. Reinehr
Okay.  I'll see about upgrading to 2.10.3 and check out that web site to
read up on versions.  I think what I may need to do is just recreate my
changes outside of the version, which of course will take longer, but at
least I won't risk losing anything.  I had no idea versions were so buggy; I
wouldn't have used them in the first place if I had.  :/

Thanks, all, for the help; I really appreciate it!
Cathy

-----

Catherine E. Reinehr
Webmaster & Publications Designer
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 103

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul
Winkler
Sent: Wednesday, April 11, 2007 1:07 PM
To: zope@zope.org
Subject: Re: [Zope] Problem with using versions.

On Wed, Apr 11, 2007 at 09:00:12AM -0500, Catherine E. Reinehr wrote:
> I'm running 2.6.2.  What's the most recent stable release?  2.10.3?

Yes, but the Version feature was removed after zope 2.7.

>From the changelog for zope 2.8:
"* Removed Version objects from the add menu. Versions are agreed to be
a feature that should not be used as it is not well implemented and
allows for data loss."

> I hate to say this, but my Zope knowledge is very limited.  I'm really
only
> using it because it's what my predecessor used to build the web site in
the
> first place, and she's not a whole lot of help now.  

That's never a fun situation to be in with any technology...  if your
budget affords it, it might be cost effective to bring in a consultant
for a short time to explore your predecessor's system and get you up
to speed on it.

To learn about versions, read this:
http://www.plope.com/Books/2_7Edition/ZopeServices.stx#1-3

especially note the "Caveat: Versions and ZCatalog" which might be
related to your problems (just guessing... we don't know if you're
using a ZCatalog).

> I went here (http://wiki.zope.org/ZODB/FileStorageBackup) to read up on
> backups, but I'm afraid it doesn't make a whole lot of sense to me.

We can't guess which parts don't make sense to you :)
Maybe come back with more specific questions here or on IRC?  The
#zope channel on irc.freenode.net is often quiet, but there's a lot of
knowledgable zope people in #plone and that channel is more active.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] MailHost and Bcc

2007-07-11 Thread Catherine E. Reinehr
Good morning!

My web site utilizes forms pretty extensively, and I've been trying to
figure out how--on one particular form, an admission application--to bcc all
copies to another address.  Depending on which campus the applicant chooses,
the app is emailed to a different person; the program director wants to
receive ALL the apps, without the other recipients knowing.  But I just
can't seem to make it work.  Of course, that might have something to do with
the fact that I'm not a programmer, which is why I'm asking for help.  Any
suggestions would be greatly appreciated!  The coding looks like this:

# Example code:

# Import a standard function, and get the HTML request and response objects.
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE =  request.RESPONSE

try:
mailhost=getattr(context, context.superValues('Mail Host')[0].id)
except:
raise AttributeError, "cant find a Mail Host object"

contacts = {
'Bay Minette': '[EMAIL PROTECTED]',
'Center Point': '[EMAIL PROTECTED]',
'Pell City': '[EMAIL PROTECTED]',
'Shelby': '[EMAIL PROTECTED]',
'Enterprise': '[EMAIL PROTECTED]',
'Daphne': '[EMAIL PROTECTED]',
'Montgomery': '[EMAIL PROTECTED]'
}

if request.has_key('campus'):
mTo = contacts[request['campus']]
else:
mTo = 'School of Business and Professional Studies
<[EMAIL PROTECTED]>'

mFrom = 'School of Business and Professional Studies <[EMAIL PROTECTED]>'

if request.has_key('email') and request.has_key('first_name') and
request.has_key('last_name'):
if request['email'] != '' and request['first_name'] != '' and
request['last_name'] != '':
  mFrom = "%s %s <%s>" % (request['first_name'], request['last_name'],
request['email'])

mSubj = 'SBPS Application'
print " Application Information"
print "-"
print " Term:\t\t", request['term']
print " Campus:\t", request['campus']
print "  Name:\t\t", request['prefix'], request['first_name'],
request['middle_name'], request['last_name']
print "  Preferred Name:\t\t", request['preferred_name']
print "  Maiden Name:\t\t", request['maiden_name']
print "  DOB:\t\t%s/%s/%s" % (request['dob_month'], request['dob_day'],
request['dob_year'])

print "  Address:\t\t", request['address']
if request.has_key('address_2'):
if request['address_2'] != '':
print "\t\t\t", request['address_2']

print "  City:\t\t", request['city']
print "  State:\t\t", request['state']
print "  Zip Code:\t\t", request['zip']
print "  Email:\t\t", request['email']
print "  Home Phone:\t", request['phone_home']
print "  Work Phone:\t", request['phone_work']
print "  Cell Phone:\t", request['phone_cell']
print ""
if request.has_key('citizenship'):
if request['citizenship'] == 'U.S.':
print "  Citizenship:\t\t", request['citizenship']

else:
print "  Citizenship:\t\t", request['citizenship_other']

print "  Marital Status:\t", request['optional_martial_status']
print "  Ethnic Origin:\t", request['optional_ethnicity']
print "  Religion:\t", request['optional_religion']

if request.has_key('work_experience'): print '  Work Experience:\t',
request['work_experience']
if request.has_key('financial_aid'): print '  Financial Aid:\t\t',
request['financial_aid']
if request.has_key('veteran'): print '  Veteran\'s Benefits:\t',
request['veteran']
print ""

print 'Academic Information'
print '  High School:\t', request['high_school']
print '  City:\t\t', request['high_school_city']
print '  State:\t\t', request['high_school_state']
print '  Graduated:\t', request['high_school_graduated']
print ''

if request.has_key('school_name') and request.has_key('school_city') and
request.has_key('school_state') and request.has_key('school_credits'):
schools = [school for school in request['school_

[Zope] Zope and SSL

2009-03-16 Thread Catherine E. Reinehr
Hello,

I'm trying to find out how to generate a CSR, and I can't find the
information I need.  All my research covers Zope and Apache or Zope and
Linux, etc., but our server is running ONLY Zope.  Version 2.6.2, to be
exact.  Unfortunately, I know next to nothing about setting up a secure
server anyway.  Any help you can offer would be much appreciated!


Thanks,
Cat

-

Catherine E. Reinehr
Webmaster & Director of Publications
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 218B



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] SSL/https

2009-04-07 Thread Catherine E. Reinehr
Good morning,

You might remember my asking for help last month with generating a CSR and
installing an SSL certificate.  I did get that done, and now I have a new
problem.  If I replace "http://"; with "https://"; in the address, I get a
file not found error.  What do I need to do to make sure our application for
admission is secure?  I'm sort of out of my league here.


Thanks for whatever help you can give me :)
Cat

-----

Catherine E. Reinehr
Webmaster & Director of Publications
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 218B



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SSL/https

2009-04-13 Thread Catherine E. Reinehr
Right, sorry.  Here you go:

 

Zope Version  (Zope 2.6.2 (binary release, python 2.1, 
win32-x86), python 2.1.3, win32) 

Python Version 2.1.3 (#35, Apr 8 2002, 17:47:50) [MSC 32 bit 
(Intel)] 

System Platform   win32

 

-

 

Catherine E. Reinehr

Webmaster & Director of Publications

Huntingdon College

1500 E. Fairview Ave.

Montgomery, AL 36106

(334) 833-4429 / Flowers 218B

 

From: David Bear [mailto:david.b...@asu.edu] 
Sent: Thursday, April 09, 2009 7:44 PM
To: crein...@huntingdon.edu
Cc: zope@zope.org
Subject: Re: [Zope] SSL/https

 

memories are short. you need to remind us the exact configuration. Are you 
using apache to front end zope? 

On Tue, Apr 7, 2009 at 7:54 AM, Catherine E. Reinehr  
wrote:

Good morning,

You might remember my asking for help last month with generating a CSR and
installing an SSL certificate.  I did get that done, and now I have a new
problem.  If I replace "http://"; with "https://"; in the address, I get a
file not found error.  What do I need to do to make sure our application for
admission is secure?  I'm sort of out of my league here.


Thanks for whatever help you can give me :)
Cat

-

Catherine E. Reinehr
Webmaster & Director of Publications
Huntingdon College
1500 E. Fairview Ave.
Montgomery, AL 36106
(334) 833-4429 / Flowers 218B



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
David Bear
College of Public Programs at ASU
602-464-0424

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )