Strange intermittent issues with order history screen

WPPizza – A Restaurant Plugin for WordPress Support General Support Strange intermittent issues with order history screen

Viewing 20 posts - 1 through 20 (of 23 total)
  • Author
    Posts
  • #8774
    maherali
    Participant

      Hi Olly from time to time my order history screen when refreshing (set to 30 seconds) get’s this popup error – it happens more often when I display all tickets as opposed to just new from the dropdown. The only way to get the order history screen functioning again is to refresh the page. This is quite a big issue as when we’re busy we may not be aware it is no longer polling for orders (the error comes up but with no sound).

      I don’t know what could be causing this maybe I have too many items or ingredient options? You can replicate the issue if you go to the order-online page and before it loads completely navigate to another page – so just click quickly basically from page to page on the navigation but you have to start from order-online page (where all of wppizza items are etc).

      EDIT: I initially though maybe it’s a host issue. I have 2 accounts with one.com and one with vidahost (highly rated). I tried on both and it happens on both. It maybe a simple case of a setting being wrong somewhere?

      http://www.rednaga.co.uk

      http://imgur.com/bnHmm6Z

      http://imgur.com/MtweITt

      #8775
      Olly
      Admin & Mod

        >Hi Olly from time to time my order history screen when refreshing (set to 30 seconds) get’s this popup error

        the images you are linking to do not relate to the above – the order history is an admin thing ?!
        your images are frontend. (and your bad request /news/ has nothing to do with wppizza anyway)

        #8776
        Olly
        Admin & Mod
          This reply has been marked as private.
          #8777
          maherali
          Participant

            I seem to get these errors on two different hosts. I haven’t taken a screenshot of when the order history screen was not working simply because I forgot. I will talk to one.com but the problems are intermittent so they will just deny it. I have noticed I can induce errors in the order history screen if I turn the order history screen on and place an order at the same time under the same wifi. I placed an order on my phone and it crashed the order history screen. However if I play it over my phones mobile data it works fine.

            EDIT: The error in the pics is when I go to the order-online screen then go to another page quickly before fully loaded.

            #8778
            Olly
            Admin & Mod
              This reply has been marked as private.
              #8779
              Olly
              Admin & Mod
                This reply has been marked as private.
                #8780
                maherali
                Participant
                  This reply has been marked as private.
                  #8781
                  Olly
                  Admin & Mod

                    for starters try this

                    http://www.yougetsignal.com/tools/web-sites-on-web-server/
                    and enter
                    rednaga.co.uk there….
                    (plenty of other sites that do the same thing, just the first i found)

                    #8782
                    Olly
                    Admin & Mod
                      This reply has been marked as private.
                      #8783
                      maherali
                      Participant
                        This reply has been marked as private.
                        #8784
                        maherali
                        Participant
                          This reply has been marked as private.
                          #8785
                          Olly
                          Admin & Mod

                            ok.
                            i will probably also have something more useful to say tomorrow,,,my brains fried today

                            #8786
                            Olly
                            Admin & Mod

                              let’s start from the beginning

                              http://www.rednaga.co.uk

                              mixes https and http
                              your ajax url is set to be https, so it would ALWAYS fall over as you cannot access scripts crossdomain
                              (my guess is that your host person added something dealing with that discrepancy in your htaccess file, fixing the symptoms, not the cause – just a guess though)

                              unrelated, and nothing to do with me, but while i’m at it :
                              for some unknown reason, you also have the following 2x in your page (in itself , that shouldnt be a problem, but who knows what else is going on)
                              var cro_query = {"ajaxurl":"https:\/\/www.rednaga.co.uk\/wp-admin\/admin-ajax.php","cro_nonces":"ea20d3befc"};

                              apart from that:
                              —–a—–
                              > Because no server will ever be 100% reliable …
                              not really true anymore these days. there are plenty of hosts that guarantee 100% uptime (though you pay for it)

                              —–b—–
                              i cannot tell you about host or whether they are good or not. google probably can

                              #8795
                              maherali
                              Participant

                                I wish I knew what any of this means Olly lol but thanks for pointing it out.

                                #8820
                                Olly
                                Admin & Mod

                                  (very simplistically)

                                  it means that you cannot send wordpress javascript/ajax requests from an http:// page to an https:// page
                                  (and vice versa)
                                  they are different domains

                                  go to
                                  http://www.rednaga.co.uk/order-online/
                                  and (try) to put something in the cart, not only will it most like throw an error, but if you now go to
                                  https://www.rednaga.co.uk/order-online/ (by clicking on your navigation) you will have nothing in the cart (or different things)

                                  in short, http:// and https:// are entirely/totally different sites but your http:// site uses scripts from the https:// site and is trying to submit stuff to that one which you just cannot do

                                  you / your host/administrator/whatever should force to redirect ALL pages to https:// or just don’t mix and match like this….

                                  #8821
                                  maherali
                                  Participant

                                    Ok I understand. But this shouldn’t be an issue as all links (even on the http website) link to https version – the only page a customer may see that is http is the main website (www.rednaga.co.uk) but any subsequent website will be https because all navigation links are https. Or is this still a problem and maybe a cause of some of the error messages?

                                    Regardless I am looking to fix this anyways as I don’t want any errors on the page.

                                    #8822
                                    Olly
                                    Admin & Mod

                                      you are assuming that your site visitors will always come through your homepage and then click on things…

                                      that just isn’t the case . when is the last time you searched for stuff , clicked on a link and went to the homepage as opposed to the page where you actually want to be ? (my guess is: about never)

                                      though – seemingly – google has only indexed your https pages (which is good and will eliminate most of these issues) if ANY other page on the web links to any of the pages on your site without https: it will fall over

                                      for example: just go up a couple of posts and we have a link to your orders page without https.
                                      this is indexed by google.

                                      someone comes here, clicks on link, falls over….

                                      again, it’s not quite as dramatic as searching on google for rednaga.co.uk will mostly result in https links it seems, but you really cannot be certain that’s alwasy the case…

                                      === end of lesson 🙂 ====

                                      #8823
                                      maherali
                                      Participant

                                        Ok thanks as usual Olly i’ll try to fix this asap – this is causing the popup errors – that is the website falling over yes?

                                        #8824
                                        Olly
                                        Admin & Mod

                                          > that is the website falling over yes?

                                          can’t be certain for all cases
                                          but what i AM certain about is that it WILL fall over if your are on http://etc etc /etc

                                          #8843
                                          maherali
                                          Participant

                                            I’m changing hosts as they were unable to help me resolve my problems.

                                          Viewing 20 posts - 1 through 20 (of 23 total)
                                          • The topic ‘Strange intermittent issues with order history screen’ is closed to new replies.