mrtrosen wrote: > Hi Patrick,
> Everything works, until it tries to validate the user email.. I get > this error: > File > "/home/mrtrosen/code/PYTHON/Wiki-20/wiki20/register_controllers.py", > line 184, in mail_validation_email > reg_base_url = '%s/%s' % (cherrypy.request.base_url, path) > File > "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/__init__.py", > line 43, in __getattr__ > return getattr(childobject, name) > AttributeError: 'Request' object has no attribute 'base_url' I'm pretty sure I messed that up in a recent change I made. Try this code instead (line 184) reg_base_url = '%s/%s' % (cherrypy.request.base, path) > The question I have is.. what should it be hard coded to? If that doesn't work, (and I think it should), the value should be hardcoded to wherever you attached the registration controller. e.g: reg_base_url = "http://www.example.com/registration" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

