Alright..... So, I'm about to explode at this point, I've tried logging errors using the standard logging module, I've tried using PDB and winPDB. Now I've Try/Except in the decorator method of the DBAuth module to see what the errors are and Ive received the following -
<type 'exceptions.AttributeError'> at /upload 'user' Python /usr/lib/pymodules/python2.6/web/utils.py in __getattr__, line 70 Web GET http://ec2-75-101-170-236.compute-1.amazonaws.com/upload Any help deciphering this would be greatly appreciated!!! On Aug 12, 1:58 am, amar <noonethoughtofthis...@gmail.com> wrote: > Ok, so I still haven't cracked this one...yet! > > I've changed to DBStore for sessions and installed the cookie manager > firefox plugin. I'm getting sessions created and added into the DB, > but for some reason the decorators aren't working for me. > > Also I copied the code exactly to my ubuntu laptop and setup > everything in exactly way and it runs perfectly. > > ??? > > On Aug 8, 11:42 pm, amar <noonethoughtofthis...@gmail.com> wrote: > > > > > > > > > Hi Guys/Gals, > > > I created a web app using JP Scalettis brilliant DBAuth python module > > (http://jpscaletti.com/webpy_auth/), but when I try running it live > > (on AWS) I have some problems. > > > I can login but once I go to a page that is protected using the > > @auth.protected() decorators Im thrown back to the login page. > > > This problem only started once I began serving the app through apache/ > > mod_wsgi. Also Im not getting any errors in my Apache error logs. > > > Thanks -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.