Are you saying that if I get mod_wsgi working and run the website without using ports, the page would show?
On Aug 6, 3:29 pm, Chris Laux <[email protected]> wrote: > On 8/6/2010 2:17 PM, Alex Liu wrote:> It's not an error that I can trace > back. I'm trying to setup Django > > Debug toolbar but that's not working even after I follow the > > instructions in the README.rst. So the best I can do right now is tell > > you this: > > > I notice that when I go to /checkout/ in my terminal window running > > the server, a bunch of weird characters start to show: > > > [06/Aug/2010 12:15:56] "GET /checkout/ HTTP/1.1" 302 0 > > [06/Aug/2010 12:15:56] code 400, message Bad HTTP/0.9 request type > > ('\x16\x03\x01\x00|\x01\x00\x00x\x03\x01L\\_g\x1a"\xdd\x80') > > [06/Aug/2010 12:15:56] "|xL\_g" 9 B<& ܭ9 A B8/5" 400 - > > I think what's happening is your browser is trying to speak in SSL to a > non-SSL server, which I'm guessing is the Django dev server. Either > disable SSL in your Satchmo config, or run your site on a real HTTP server. > > > > > > > The error that shows when I visit /checkout/ is a basic webpage not > > available. So I guess no, I don't get the django default debug page. > > > " > > This webpage is not available. > > > The webpage athttps://robertmillerassoc.com:8080/checkout/might be > > temporarily down or it may have moved permanently to a new web > > address. > > > Below is the original error message > > > Error 9 (net::ERR_UNEXPECTED): Unknown error. > > > " > > > I checked the documentation on the admin page and I found that the > > view associated with /checkout/ is View function: > > payment.decorators._checkorder. Is that correct? I thought it was > > supposed to associate with payment.views.contact.contact_info_view. If > > you require anything else from me, please let me know! > > > Regards, > > Alex > > > On Aug 6, 11:27 am, lzantal<[email protected]> wrote: > > >> Hi, > > >> Could you post the error you are receiving? Do you get the django > >> default debug page? > > >> Thank you > > >> lzantal > > >> On Aug 6, 3:42 am, Alex Liu<[email protected]> wrote: > > >>> I forgot to mention: > > >>> I have the Dummy Payment and Paypal Payment Modules installed via the > >>> settings.py folder. > > >>> Regards, > >>> Alex > > >>> On Aug 6, 6:26 am, alex<[email protected]> wrote: > > >>>> Hello, > > >>>> I feel as if I'm asking a silly question but it's been frustrating me > >>>> for a bit. > > >>>> I'm experiencing an issue where everything works up until I visit the / > >>>> checkout/ page. In the urls.py file under apps/payment, it looks like > >>>> satchmo_checkout-step1 should load > >>>> payment.views.contact.contact_info_view . > > >>>> urls.py file: > > >>>> from django.conf.urls.defaults import patterns, url > >>>> from django.db import models > >>>> from livesettings import config_value > >>>> from satchmo_store.shop.satchmo_settings import get_satchmo_setting > >>>> import logging > > >>>> log = logging.getLogger('payment.urls') > > >>>> ssl = get_satchmo_setting('SSL', default_value=False) > > >>>> urlpatterns = patterns('payment.views', > >>>> (r'^$', 'contact.contact_info_view', {'SSL': ssl}, > >>>> 'satchmo_checkout-step1'), > >>>> (r'^success/$', 'checkout.success', {'SSL' : ssl}, > >>>> 'satchmo_checkout-success'), > >>>> (r'custom/charge/(?P<orderitem_id>\d+)/$', > >>>> 'balance.charge_remaining', {}, 'satchmo_charge_remaining'), > >>>> (r'custom/charge/$', 'balance.charge_remaining_post', {}, > >>>> 'satchmo_charge_remaining_post'), > >>>> (r'^balance/(?P<order_id>\d+)/$', > >>>> 'balance.balance_remaining_order', {'SSL' : ssl}, > >>>> 'satchmo_balance_remaining_order'), > >>>> (r'^balance/$', 'balance.balance_remaining', {'SSL' : ssl}, > >>>> 'satchmo_balance_remaining'), > >>>> (r'^cron/$', 'cron.cron_rebill', {}, 'satchmo_cron_rebill'), > >>>> (r'^mustlogin/$', 'contact.authentication_required', {'SSL' : > >>>> ssl}, 'satchmo_checkout_auth_required'), > > >>>> I copied and pasted the source code for contact.py and payment/ > >>>> templates/shop/checkout/form.html from satchmo source code into my > >>>> satchmo/apps as a safety measure, hoping something I altered by > >>>> accident messed it up, but alas that didn't work. > > >>>> I'm not sure if this has anything to do with my problem but South is > >>>> not being in my INSTALLED_APPS. When I do sync it into my > >>>> INSTALLED_APPS, an error about Product migration occurred. Upon which > >>>> I followed the instructions in the Satchmo Documentation. I wasn't > >>>> sure if I should have followed the steps because when I ran > >>>> satchmo_store.get_version() in python shell, it told me I was "0.9.2- > >>>> pre hg-unknown" which I took as being up-to-date. > > >>>> After I finished following those instructions, it said that the > >>>> Product migration still required other modules like Downloadable, > >>>> Subscription, Configurable, etc. I ran ./manage.py migrate --list and > >>>> all the "products" [i.e: 0001_initial, 0002_add_attributeoption] were > >>>> already starred indicating they were already migrated. > > >>>> I have a feeling I messed up a lot while trying to fix the /checkout/ > >>>> error. > > >>>> P.S. : I read an old satchmo user group thread about the South problem > >>>> but I was equally as confused as I am now. > > >>>> If anyone has any input as to how they can help me solve these > >>>> problems, then by all means, please tell me. > > >>>> Thanks in advance, > > >>>> -Alex > > -- > Chris Laux -- You received this message because you are subscribed to the Google Groups "Satchmo users" 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/satchmo-users?hl=en.
