WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Strange intermittent issues with order history screen
- AuthorPosts
- 26 March, 2015 at 8:32 pm #8774
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?
26 March, 2015 at 8:41 pm #8775>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)26 March, 2015 at 8:46 pm #8776This reply has been marked as private.26 March, 2015 at 8:50 pm #8777I 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.
26 March, 2015 at 9:18 pm #8778This reply has been marked as private.26 March, 2015 at 9:23 pm #8779This reply has been marked as private.26 March, 2015 at 9:24 pm #8780This reply has been marked as private.26 March, 2015 at 9:28 pm #8781for 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)26 March, 2015 at 9:33 pm #8782This reply has been marked as private.26 March, 2015 at 9:42 pm #8783This reply has been marked as private.26 March, 2015 at 10:24 pm #8784This reply has been marked as private.26 March, 2015 at 10:29 pm #8785ok.
i will probably also have something more useful to say tomorrow,,,my brains fried today27 March, 2015 at 10:27 am #8786let’s start from the beginning
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 can27 March, 2015 at 10:40 pm #8795I wish I knew what any of this means Olly lol but thanks for pointing it out.
28 March, 2015 at 4:37 pm #8820(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 domainsgo 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….
28 March, 2015 at 4:44 pm #8821Ok 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.
28 March, 2015 at 5:16 pm #8822you 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 🙂 ====
28 March, 2015 at 5:23 pm #8823Ok thanks as usual Olly i’ll try to fix this asap – this is causing the popup errors – that is the website falling over yes?
28 March, 2015 at 5:27 pm #8824> 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 /etc29 March, 2015 at 9:52 pm #8843I’m changing hosts as they were unable to help me resolve my problems.
- AuthorPosts
- The topic ‘Strange intermittent issues with order history screen’ is closed to new replies.