No emails

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #28470
    Pawel Cichonski
    Participant

      Hello, I don’t have much problems with the plugin but from time to time and today for 2-3 hours we have been receiving emails from WorldPay gateway that an order was made. Which means someone made an order and we did not receive it from the website itself. The orders didn’t go to the ORDER HISTORY. The only hint of the orders was WorldPay, we had to email customers to call the restaurant.

      Which caused us a bit of trouble.
      What may be the cause of this? Server errors or plugin? The plugin version is: Version 2.16.11.14. WordPress version hasn’t been updated, and nothing was altered. But when we tried to login at the times of trouble we had “Internal Server Error”:

      http://imgur.com/Kldl7cderror

      http://imgur.com/Kldl7cd

      We have contacted the TSO Hosting site and they said it is plugin problem not the server.

      But then again we had orders thought the day and all was good and then suddenly all orders after 20:00 were without emails (only worldpay sending email notification gave as a sign that the order was made).

      We have closed down the shop for now. I didn’t update the plugin because I didn’t know if updating wordpress and the plugin would cause problems. After all, if it works why alter it?

      Please, help me

      #28471
      Pawel Cichonski
      Participant
        This reply has been marked as private.
        #28477
        Pawel Cichonski
        Participant

          The orders didn’t go to the ORDER HISTORY. So they were not send by EMAIL. The only hint of the orders was WorldPay, we had to email customers to call the restaurant.

          d

          http://imgur.com/2nTIALp

          #28478
          Pawel Cichonski
          Participant

            Sorry for my style of writing. To put it simply – people were making orders and payments for those orders using your WorldPay gateway plugin. When the order was made, it should give us two emails back – one that the order was made, and second from worldpay confirmation.
            We only got worldpay confirmation, the order itself was not received by us or the customer. So if they would order via ‘pay by cash’ we would not have any clue that the customer ordered anything.
            I have no idea what happened, but this caused a bit of trouble. Please help šŸ™

            #28482
            Olly
            Admin & Mod

              Hi,
              a couple of things

              a)
              >We have contacted the TSO Hosting site and they said it is plugin problem not the server
              >But when we tried to login at the times of trouble we had ā€œInternal Server Errorā€:

              an internal server error is exactly that . i.e clearly a server error. (although it might be cause by a lot of things)
              i suggest you turn on debug and see what the exact error is (see https://www.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/)

              b) the worldpay plugin/gayeway has not changed for over a year so when it suddenly stopped working after 20:00 what (did you / someone) change(d) at 20:00 ? i certainly did not change things…
              you should check your mail server settings (though if the order does not even show up in the order history it suggests the email did not (programatically) get send – see debug above as -again – this can be cuased by many many things before the site even gets to try to send emails

              c) your setup also throws a bunch of errors
              (see /wp-admin/edit.php?post_type=wppizza&page=wppizza-tools&tab=sysinfo)
              and a VERY – lets say unusual – session save path (not even sure if this path would work at all.

              I am no expert on memcache but am reasonably certain other people use the plugin with memcache without issues

              #28483
              Olly
              Admin & Mod

                see this too. might well be related as you have that error

                Unable to find the wrapper “tcp”

                http://www.joshdavenport.co.uk/warning-is_writable-unable-to-find-the-wrapper-tcp-magento-memcached-and-sessions/

                sessions MUST work and be set up correctly

                #28489
                Pawel Cichonski
                Participant

                  Hey, thanks for a reply.

                  – I have enabled the debug, although I have no idea how to read/interpret what is written there.

                  – I have updated all things – wordpress, wppizza + all plugins. Made a test and works. Will need to test a payment via WorldPay but I have a feeling all will be good. Tomorrow is Father’s Day so that’s why I wrote to you as I am all alert so this thing won’t happen.

                  Again, we made like thousand orders and the plugin worked flawlessly. At times we had a situation here and there where we couldn’t access the site itself or wp-admin, or once or twice where order was made via WorldPay and no order was send to email (as yesterday). At times we had this anomaly Internal Server Error here and there. But then again it bugs me how people could access the site, make and order, be transferred to worldpay and wordpress completely ignored to email the order (and not to notify the wppizza of an order).

                  What’s left then?

                  – In case of same scenario, would you kindly be able to know from my debug.log what happened?

                  – Don’t know if I should look for a different hosting company.

                  #28496
                  Olly
                  Admin & Mod

                    >. At times we had a situation here and there where we couldnā€™t access the site itself or wp-admin,

                    which is the bit you/your host needs to fix.
                    when it happens you need to find out what does it . if the site is not accessible then – obviously – there is an issue.

                    now you have enabled debug, you still have this error (except it’s now in the debug log itself)
                    is_writable() [<a href='function.is-writable'>function.is-writable</a>]: Unable to find the wrapper &quot;tcp&quot; - did you forget to enable it when you configured PHP?

                    you need to speak to your host about this (see above link somewhere) the problem here is not the is_writable but that your session save path is set to tcp://..... (that’s my best guess admittedly. maybe for memcache it needs to throw these errors. i dont know)

                    the “PHP Notice: Undefined variable” etc are inconsequential

                    #28497
                    Olly
                    Admin & Mod

                      having been digging a bit deeper into things, i believe you can just ignore the is_writable warning i am referring to above. it’s just an unusual setup you have there – again, am not an expert on memcache – so it is probably just throwing some false positive errors (and is unlikely to actually affect your email issue anyway)

                      #28500
                      Pawel Cichonski
                      Participant

                        Hey, thanks for your time. Here’s an update. The plugin worked fine in the morning, I’ve check the shop even using mobile’s 4g and worldpay genuine payment. First customer payment around 17:20, all good. Then suddenly I wanted to access wp-login at around 18:00 and it’s not loading up – the wordpress is not accessible, 502 bad gateway and internal server error. 5 minutes later website is up , next 5 minutes website is down.

                        Then, right then we have an email from WorldPay that somebody paid an order. Order at: 17:28:52. No bloody information where or what phone because it just has basic info from WorldPay: email and amount of money. No order email from WpPizza, no order in order history in WpPizza. Cannot even access wordpress just to shut down the shop.

                        Even if hosting was sh***ty I’m worried why WorldPay could proceed with order and not echo to WpPizza what happened.

                        Here’s a screenshot from their (TSO’s Hosting) chat attached:
                        https://ibb.co/ekhsQ5

                        wppizza<br />upload images<br />

                        And here’s a bit of the activated Debug log in wordpress site (end part):

                        [18-Jun-2017 15:00:42 UTC] PHP Warning: disk_free_space() [function.disk-free-space]: No such file or directory in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/admin.system-info.php on line 83
                        [18-Jun-2017 15:00:42 UTC] PHP Warning: disk_free_space() [function.disk-free-space]: No such file or directory in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/admin.system-info.php on line 83
                        [18-Jun-2017 15:00:42 UTC] PHP Warning: disk_free_space() [function.disk-free-space]: No such file or directory in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/admin.system-info.php on line 83
                        [18-Jun-2017 15:00:42 UTC] PHP Warning: disk_free_space() [function.disk-free-space]: No such file or directory in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/admin.system-info.php on line 83
                        [18-Jun-2017 16:08:56 UTC] PHP Notice: Undefined variable: additionalInfoData in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 2610
                        [18-Jun-2017 16:09:10 UTC] PHP Notice: Undefined variable: additionalInfoData in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 2610
                        [18-Jun-2017 16:20:27 UTC] PHP Notice: Undefined offset: 1 in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/common.helper.functions.inc.php on line 65
                        [18-Jun-2017 16:20:27 UTC] PHP Notice: Undefined variable: inline_style_td_ctr in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/markup.order.html.inc.php on line 298
                        [18-Jun-2017 16:20:27 UTC] PHP Notice: Undefined variable: inline_style_td_ctr in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza/inc/markup.order.html.inc.php on line 298
                        [18-Jun-2017 17:18:27 UTC] PHP Notice: Undefined variable: additionalInfoData in /var/sites/b/barolo.co/public_html/delivery/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 2610

                        #28502
                        Olly
                        Admin & Mod

                          sorry, but i am really not sure what you want me to do about this.

                          >quote: Then suddenly I wanted to access wp-login at around 18:00 and it’s not loading up – the wordpress is not accessible, 502 bad gateway and internal server error. 5 minutes later website is up , next 5 minutes website is down.

                          this is clearly server’s end , especially given your screenshot here
                          https://ibb.co/ekhsQ5 (i.e server load is high). if the server falls over it wont receive any feedback from worldpay (as it’s not accessible) . there’s nothing i can do about the availability of your server

                          furthermore, though this might cause mis-interpretation because it happens to use the same terminology , “502 bad gateway” has nothing at all to do with the worldpay gateway (502 is a *server* status code – see https://www.google.co.uk/?gws_rd=ssl#q=502+bad+gateway)

                          as mentioned previously , the php *notices* in your debug log are inconsequential

                          looking at your admin, wp total cache is also seemingly not setup correctly or setup was not finished. together with session setup issues / memcache not setup as it needs to be in conjunction with sessions etc this might well cause all sorts of issues.

                          Only your server people will be able to tell you where the high load comes from

                          #28503
                          Olly
                          Admin & Mod
                            This reply has been marked as private.
                            #28505
                            Pawel Cichonski
                            Participant

                              Sorry Olly, it’s not like I want you to do something, just an opinion from you was enough, and thanks for looking into my site. If the topic makes a mess, delete it.

                              Soon I’ll be refreshing the licence for all wppizza add-ons. Your plugins are so much better than woocommerce. Hope you will release ver 3 soon.

                              My boss bought .co thinking it’s shorter version of co.uk
                              Barolo.uk would be shorter version of co.uk

                              Life… šŸ˜‰

                              #28508
                              Olly
                              Admin & Mod

                                ok,

                                there’s one thing that just sprang to mind – this might or might not at all be your issue, but it *could* explain why things randomly fall over

                                the default memory for WP is 40M which is fine if it’s just a simple blog.
                                if you have a lot of plugins running and complicated theme’s stuff ect etc , this will be eaten up quickly and your site will fall over (though i would have thought this would show up in the debug logs if it’s the case…)

                                I would suggest you increase the limit to something more useful like 128M
                                so, in your wp-config.php add
                                define('WP_MEMORY_LIMIT', '128M');
                                before the happy blogging line

                                again, just a guess, but there is no harm done doing this

                                that said, a “high load on server” as your hoster mentioned is something they need to look at .
                                the above is unlikely to make much of a difference if the server is under attack / has no firewall or a million other things that could be the cause for a high load

                                >Lifeā€¦
                                Lol

                                #28509
                                Pawel Cichonski
                                Participant

                                  The company just tries to argue with me and tries to say it’s my fault (“developer’s fault”) and say: “When you use phpmail then that would explain why this is happening. Phpmail is highly unreliable this is why I strongly recommend changing to SMTP. This should definitely resolve the issue. You might want to get a developer about that as this seem to be his fault.”

                                  I will do what you suggested. Thanks for your time Olly.

                                  #28510
                                  Olly
                                  Admin & Mod

                                    >The company just tries to argue with me
                                    i know. it’s always someone elses fault

                                    in any event
                                    a) wordpress – used on about 25% of the worlds websites – uses the phpmailer. if it were unreliable i don’t think it would have that marketshare (and wppizza uses the wordpress phpmailer)

                                    b) re: This should definitely resolve the issue
                                    ask them to explain how an email not being sent / received has anything to do with the website being down (from what you/they are saying) due to high load.

                                    c) the plugin (wppizza) runs on – literally – 1000’s of websites and i can assure you sends email just fine (otherwsie it would be a pointless plugin)

                                    d) feel free to use the SMTP settings in the plugin (WPPizza -> settings). at least they cannot argue that point anymore if you do

                                    PS:
                                    There are plenty of hosters who pretend they know what they are doing, but don’t. I have no issue with people making mistakes and not knowing everything – it’s not that i do not make them myself – but pointing fingers without any credible evidence that it’s somone elses fault is – at best – lazy.

                                    phpmail is unreliable – what nonsense. (as i mentioned above, wordpress uses phpmailer anyway which still needs the php mail function, but disecting this whole kaboodle will go to far here)
                                    in 99.9 % of email issues i have seen it’s the server not being setup properly , missing some mx/a/ptr and whatnot records, has been blacklisted , people have not acted on the big red DMARC notice in the plugin etc etc

                                    anyway, enable smtp and if it “resolves” the issue than great. my guess is, it won’t, in which case you can shout at them again šŸ™‚

                                    #28511
                                    Olly
                                    Admin & Mod

                                      PPS:
                                      the wppizza plugin just sends emails programatically. what the mailserver does with it i have no control over.

                                      sure if you/they see something in the *mail* server logs (or any other logs) that gives us some evidence that the wppizza plugin is at fault, i am happy to investigate. anything else is just a “go away, i cannot be bothered” let’s make up some other excuse that it is someone elses fault our server falls over (which may of course be the case, but they need to provide some evidence to that effect)

                                      #28512
                                      Pawel Cichonski
                                      Participant

                                        I’ve always had it like that:

                                        mail

                                        #28513
                                        Olly
                                        Admin & Mod

                                          i cannot tell you if that works on your server – i know nothing about your server.
                                          that said, i would strongly recommend you use authentication (otherwise there’s almost no point to use smtp)

                                          your authentication settings you will have to find out from whoever administers your mail things

                                        Viewing 19 posts - 1 through 19 (of 19 total)
                                        • The topic ‘No emails’ is closed to new replies.