Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
>wp-mail cannot instantiate….
could be a million things
https://www.google.co.uk/?gws_rd=ssl#q=could+not+instantiate+mail+function>I added a cart to every page that helped.
which is of course what you are supposed to be doing :)
https://support.wp-pizza.com/forum/installation/>wp-mail cannot instantiate
that’s a server problem, not a plugin problem. enable debug and check your logs
furthermore, that error is likely to output more than just those 3 words…..works just fine from what i can see…I cannot see your problem
(although how you are going to sell a “half and half” coffee is a bit of a mystery to me)PS i do not need any sign-ins (not at the moment anyway)
glad i could help
>I just need to know the file name where I can add validations.
you have to add your own , or put it in the page via some action
see here for a bunch of examplesperhaps adding a conditional like
global $post; if($post->ID == /*id of your orderpage */){ echo the validation.....etc etc }so it only gets included on the actual order page
mind you, *perhaps* i could add some field in the order form settings that would let you add a regex for validation with some default validation pattern and optionally your own , but i fear this would go over most peoples heads.
i’ll mull it over, but won’t be before v3.0 at the earliest
there is no way to add some phonenumber validation into the plugin itself that would work for all countries, or – more accurately – if one were to have validation that would take account of the number formatting possible in all countries, it would be pretty useless.
I’m afraid you will have to add that yourself depending on where you are
just a quick search comes up with lots of examples
https://www.google.co.uk/?gws_rd=ssl#q=jquery+validation+phone+number
NOTE: the plugin automatically uses/adds the jquery validation plugin (http://jqueryvalidation.org) so you can build/add something on that basis if you want
v 2.16.5 : wppizza->order settings : Allow order pickup by customer -> set “pickup” to be the default selection
what’s even odder (is that even word ?) is that i assume of the 1000’s of installs of the plugin some/many/a few are also having hotmail etc clients , but i haven’t heard of an equivalent to your scenario…
>The logs do not show they were sent…
there’s only a log if it is NOT sent> When using smtp, they show as connected and sent. They are just never received…
i give up then. at the end of the day, all i can do is send them , what happens after that is out of my control reallyif you got nothing better to do with your life for a few days, you could setup a yahoo account (or hotmail or whatever) , send an order, get the maillog from your mailserver that says it was sent to that account and contact /yahoo/hotmail and ask why it did not get received (or maybe deleted their end). My suspicion is , that they will pass the buck though…
one of these things i guess where noone is responsible (that said, if it were to turn out that there is something i can do , i would happily do it. just that i cannot see anything wrong my end that would need fixing :()
(assuming you enabled logging in the paypal settings of course)
also worth having a look: is there any mail-error log in the paypal/logs directory ?
if so, what does it say ?did you turn on debug ?
also, do they not get sent at all (i.e the mailserver never has to process anything) or just not received by the recipients (or even bounce back to – probably – the root account of the server) ?
wppizza just sends emails using some email script (paypal or not). if you have issues with the likes of yahoo, gmail, hotmail only (i.e those big free email services) my guess would be the issue is (mail)server related and perhaps it’s missing the required ptr/dmarc entries or is indeed blacklisted somewhere
i can give you a checkbox in an update. will take a few days though (there are a couple of other things i need to do in conjunction with that )
having two smtp settings (i.e your third party plugin and the smtp settings in wppizza on at the same time ) *might* pose issues perhaps.
though i cannot see why it might be worth trying the following just to see if it makes a differencetun off the smtp settings in wppizza. and set the mail delivery to plaintext or if you are using a specific template set that one to plaintext.
it will then just use the basic wordpess wp_mail function instead of phpmailer.if you do, let me know the outcome
does your FROM email address (wppizza-> order settings : “From” email) correspond to the server ?
PS: might also be worth turning on debug like so :
https://support.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/
perhaps the debug.log will tell you something tooalso make sure your “FROM” address set corresponds to the server emails are being sent from (if this is not set as it is supposed to , you will have a big red DMARC notice at the top of your admin screen – unless you forced that notice to be off)
-
AuthorPosts