Forum Replies Created
-
AuthorPosts
-
> must say if you go easy on the website don’t fly away then you wont get the error
i’m reasonably (can never be 100% sure though) certain it’s a speed/ajax issue.
do me a favour. (assuming you have – still – turned on debug)in wppizza/ajax/get-json.php you will find – on line 2
error_reporting(0);(this is deliberate for reasons that take too long to explain here for the moment)
comment this out – temporarily – to read
//error_reporting(0);try and reproduce the error and check the debug.log (which might give us a hint)
it should – also – not only say “error:” in the popup/alert, but perhaps also some more info thereafter that reverse that change again (and of course let me know what you find)
ok, so we are hijacking someone elses topic, but it kind of relates (up to a point)
apologies @iazomuk, but it might also help (though not solve) your – entirely different i believe – issue (still might want to investigate the debug option above and also update the plugin to start off with !)
anyway:
re) >If the error displayed in console..(polling or otherwise)
depends. if the error is caused from another script, it might not (but then again, there’s nothing i could do there anyway)
(in fact i will still have to think this through if it’s actually a good idea after all and do a bunch of tests – maybe i only do this in selected places)re) the guy who created my old website…
whatever your previous thing was is not my concern as that is/was clearly a customisation for a very specific case that has no place in the wppizza pluginre) pay for a mega great big perfect host… | …3rd party company to make your website…
apples != oranges
re) I would also be able to sell my websites ….
not my concern eitherto explain, javascript popups/alerts – although of course indicating errors – will stop any execution of subsequent scripts or indeed navigation, whereas if it were to just be displayed in the console, it will fail the particular error, but not stop everything else.
so if something fails, it will just carry on and/or retry the next time it comes around
i could probably explain this better, but i think we are all better off if i just do this as opposed to try to explain this – (badly i think).sure , it’s better if whatever causes the error gets fixed, but one could be more lenient in handling this as i suspect some errors would not necessarily be fatal so to speak and would “sort themselves” out so to speak
i shut up now. (if the above does not make sense to you, don’t worry it’s more for my own sanity/reference)
i do however have an idea which i could put in an update which will stop at least a popup and just displays error in the console.
to be honest, that’s probably a better way of doing things anyway, so you can blame me regardless (even though the issues referred to above regarding version numbers and loading jQuery 2x should not be neglected)
one more suggestion though (just in case).
turn on debug
https://support.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/
and see if you get anything in the debug.log when it happens your end (as i really can not get any error here)@iazomuk
you have not done anything about the issues i mentioned, so your problem will not go away (if indeed it is caused by that, which – at a minimum – i would suggest to eliminate the possibility of by following the advise i gave)
@maherali
i appreciate you trying to help.
however, it has nothing at all to do with each other. believe me.
(and you are really confusing the issue here when you are referring to polling etc)because if i recall you had issue the order history (i.e backend/admin) throwing errors
in any event, if you still have issues *please* start or resume your own topic rather than hijacking this one .
chances are it will be entirely different anyway and only confuse the issue carrying on here>Is it possible I get a link to the website in question?
no, because
a) the OP set it to private for reasons known to him so it stays private
b) you wouldn’t like it either if i made your private replies public or pass them on
c) it’s a frontend issue that is – probably/possibly – cause by what i already said above whereas yours was a backend issue and has nothing whatsoever to do with this
>This is the same error I get on my website Olly
no you don’t, (even more so given that there is absolutely no error when i use the site this topic is referring to)
Sorry, but you are asking questions i cannot answer.
a) i know nothing about your printer, so anything related to that printer you will have to ask the manufacturer/merchant you bought it from
b) re: which SMS / Mail2Fax plugin…
there are no wppizza sms/mail2fax plugins.
there are however many (e)mail2fax services.
which one – if any – would be the right one in your circumstances i have no idea and cannot advise you (i do not even know or indeed understand why you would want any if you have a gprs printer)all i can say is that there are codesnippets here you *might* be able to use with your setup/printer/smsgateway etc
how exactly you would have to code or setup things in your scenario I have no knowledge about.
I know nothing about your sms gateway, printer or any other API of anything else you are referring to above.my *guess* would be the following:
you do not need to download any plugin, but will need someone to – programmatically – connect your printer using the API that your printer provides using the codesnippets.Hi
i’ve moved this into the user contributions section. maybe it helps someone.
personally, i would do this differently of course (as i can use the actual wppizza plugin to add things to) but if someone is desperate/needs this then your code above might just be a starting point for whatever it is one wants to do
i would also add spans rather than br’s for easier more flexible css/output etc , but that’s just by the by and irrelevant here
in any event, thanks for sharing/posting
and you are loading jquery 2x for unknown reasons
you do however seem to have to removed version numbers from some of your scripts.
that’s just not a good ideai have clicked a couple of hundred times now without ever getting any error (not once).
seems to me there’s something else going on (maybe in your network/firewall/elsewhere..i have no idea)>Error will appear once you clicked few times adding to cart
i am not getting any error and i added about 50 items to the cart without any issues and on different browsers.
can’t see any problem…?!i need a link. a screenshot doesnt help here
>Is there a shortcode for showadditives?
no, there isn’t, sorry.
but you can easily do this sort of thing somewhere:$options=get_option('wppizza'); $additives=$options['additives']; foreach($additives as $additive){ /*do something*/ }in short: no (not without re-writing about 70% of the plugin), sorry
>How do I “add textbox to item”?
that’s part of the add ingredients plugin/extension settable in “custom groups”
-
AuthorPosts