I'm working with jmckernan on this, and was able to reproduce it with a
very simple site.

Here's the controllers.py that I'm working with:

import turbogears
from turbogears import controllers
import model

class Root(controllers.Root):
    @turbogears.expose()
    def index(self):
        return dict(tg_template="testapp.templates.welcome")

    @turbogears.expose()
    def save(self, answer=None):
        try:
            sqlobj =  model.answers(answer=answer)
            print "Woo"
            return dict(tg_template="testapp.templates.success")
        except:
            print "Booo"
            return dict(tg_template="testapp.templates.welcome")

======

I'm running:
Python 2.4 (#2, Feb 20 2005, 21:40:43)
CherryPy-2.1.0_rc2-py2.4.egg
TurboGears-0.8a3-py2.4.egg
apache-2.0.55

The app itself is located at: https://2.surveyweb.org/ .  This is an
apache server serving ssl sitting in front of the turbogear webapp.  It
uses mod_proxy & mod_rewrite to proxy through to the App via:

RewriteRule ^/(.*) http://localhost:9000/$1 [P]

I've put up a copy of the entire app, in a tgz, @
http://daboyz.org/~mike/testapp.tgz

Any help you can give us would be great.  We're trying to get this site
fixed up for a buddy of ours for a project at his school (he's trying
to start an online survey), and we're really at a loss here.  Anyways,
thanks in advance for your help!

Reply via email to