This is also not allowing me to log into the admin interface so it is definitely site wide.
On May 14, 10:35 am, Seth Buntin <[EMAIL PROTECTED]> wrote: > I don't know if this helps but I am using mod_wsgi 1.3. I have > noticed some issues with mod_php but I don't have that installed on > the server. > > On May 13, 10:07 pm, Seth Buntin <[EMAIL PROTECTED]> wrote: > > > Okay I am going to try to explain this the best I can. The issue I am > > having is only with IE7, IE6, and Safari. I believe it is a way the > > session information isn't being saved. This issue doesn't happen with > > r7020 but is happening with r7526. The problem doesn't occur when > > running from Django's development server. > > > Here is the bit of code (Cart model): > > > @classmethod > > def get_session_cart(cls, request, customer=None): > > try: > > cart = cls.objects.get(id=request.session['cart']) > > except (Cart.DoesNotExist, KeyError): > > cart = cls() > > cart.customer = customer > > cart.save() > > request.session['cart'] = cart.id > > return cart > > > I don't assume I have to tell what I am doing here but the idea is to > > get the cart object if it exists. I run this command when adding to > > cart and when I display the cart. In IE6&7 and Safari it throws a > > KeyError and creates a new cart session. When adding to cart it > > actually adds the product correctly but also throws the KeyError when > > displaying the cart. I can't figure out what I am doing wrong. If I > > add the setting to save the session on every request it doesn't work > > in any browser. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---