Checkout process not working
-
Hey!
With WP 3.7.1 and the latest version of WCGerman, I have some serious problems during checkout. Everything else looks pretty normal and fine.
But the checkout process gets stuck. I only see the loading animation and that’s it. No response, nothing. Just waiting π
In the backend at least the order is listed, but clicking on it shows only a blank page. Also no confirmation mails are send.I can only fix this with deactivating your plugin.
Any idea how I can fix that.
Thanks and bye
baxmann
-
@baxmann:
Hi there!
Thanks for your feedback!That sounds really strange – to me it sounds like a JavaScript issue in combination with a filter of my plugin or from another plugin.
To give more answers/ alternatives, I need the following info from you:
1) Is plugin “WooCommerce German Market” (premium) also active?
2) Is it a multingual install with “WPML” plugin or another multingual plugin?
3) Which theme are you using?
4) Any URL handy so I could have a look?Thanks, Dave π
Hej!
Jea, really strange. I have no idea.
Here is the Info:
1) No, that plugin is not active.
2) It is only the standard german installation (3.7.1βde_DE), no WPML.
3) Musica (http://musica.premiumcoding.com/demo.php)
4) http://wooword.conditura.deThanks & bye baxmann
Hej!
I just realised, that some pages cannot be edited while the plugin is active. No idea why. They have no special content.
Bye
SvenHi!
Thanks for your info to my questions.
I tried to make test order (you’ll see it please don’t charge me for that, I made a notice :). It really got stucked at the very end.I have also no idea why because my plugin does NOT do anything with JavaScript! The error has likely to do with JavaScript and/or Ajax. I got this error shown in Firebug: https://www.dropbox.com/s/5ef2s7h756pq5x1/scriptfehler_2013-12-01.png — That comes from a jQuery Script of the theme.
The other 2 are Ajax errors.
What triggers those errors is unknown to me yet. It could be anything.
Beyond that, your theme enqueues 19 (!) different JavaScript files on every page – this is really bad practice and should not happening at all.
The only thing my plugin does on the checkout – beyond loading translations – is to add 2 filter instances to change 2 instances of WooCommerce strings. You could disable that via this snippet:
https://gist.github.com/deckerweb/7736407 —> without the opening “< ?php” tag!! Just add to the bottom of your functions.php file of the theme (make file backup before).Please try that first until we may try other things.
Thanks, Dave π
Hi!
For topic editing pages:
That comes from the changing of Permalink parts (so-called “slugs”) — these are powered by the translations in WooCommerce! For example your-domain.de/kasse/ or your-domain.de/warenkorb/ (instead of “checkout”, “cart” etc.).You have check in your WooCommerce settings the pages in the katalog or seiten einstellungen and re-save that.
Also, re-save your permalink einstellungen after that. Then you should be able to edit those again.
Again, this behavior is NOT directly from my plugin. But these permalink parts are part of the translations so they get loaded as well. In former times users could edit those slugs in settings but it was removed long time ago and transferred to translations. I can do nothing about it.
Thanks, Dave π
Hej!
I inserted your snippet with the plugin ‘Code Snippets’.
But now it is no even possible to choose the payment method.Bye
SvenPlease try the snippet in the functions.php file please.
Also, please make a temporary admin test account on your site if that’s ok for you.
I never heard of such a problem before and I am really curious how that should be related to the translations plugin.
Based on your descriptions:
Something seems to go wrong with either Ajax logic, JavaScript or templates – the last description let’s me assume that something is wrong with theme templates. But I can only say better if I could test myself.Thanks, Dave π
P.S. My kontakt is: http://deckerweb.de/kontakt/
…in the meantime you can also try to add this snippet to your wp-config.php file:
define( 'CONCATENATE_SCRIPTS', false );Thanks, Dave π
Hej!
Your account is now an admin account. Thx.
If I include your snippet in the ‘wp-includes/functions.php’ the site is no longer working. Only a blank page.
The define-line is now in the wp-config.php, but no difference.
Thank you and bye
SvenHi Sven!
Thanks for your patience and the chance for me to test things out.
I researched for over 3 hours on your site with testing and found out this:
1) seems to be a memory issue on your server
I set the WP PHP Memory to 128M but in reality your server seems to be blocked at 64M —> always when this limit is reached the server “bursts” and you’ll get ajax errors.The memory is needed to process all the different tasks on checkout or anywhere else a lot of stuff has to be worked on.
So, when loading translations, there is needed a lot of memory: the packaged translations with WooCommerce are not complete so load faster, need less RAM. My plugin loads completely all translations for frontend and backend. If I did remove one or the other I got it working – but only if 2-3 of your other plugins were disabled.
So in my opinion it’s a memory issue. Ask your hosting provider if they could give you more memory, I would say 128M in PHP or better up 256 so you are on the safe side.
I cannot promise 100% that is only possible with a full debug testing but so far I couldn’t find direct errors with the theme — beyond the fact that the whole system bursts when too many stuff is processed.
The theme you’re using currently is not very good coded, really bad to be honest, still it seems to work properly for the moment.
The issue in general with the ajax processing in the background seems to be directly conneced with those issues: http://docs.woothemes.com/document/endless-loadingspinner-on-the-checkout-page/
-> 1) is ok with your site!
-> 2) cannot be, as my plugin has no Javascript in it and does not tweak other JS!
-> 3) so this was the only thing left: PHP memory – and this is the real logical point with translations so I am sure this is the issue.I recommend to NOT use my plugin FOR NOW – with that current server environment you’ll have no luck. With better server/memory you could try again of course.
If you are not using the plugin you could still use my language files if copying them over to the woocommerce plugin folder for i18n.I hope that helps. I will update the FAQ/Description of my plugin with next update to make people more aware of the memory issue of WooCommerce – and which may occur on high translation loading on smaller servers.
Hope that helps.
–Dave πHej!
Thank you very, very much … for _your_ patience and motivation. This helps me a lot.
I am a little disapointed that the theme I just bought is not that good. I will stick with your translation-files for the moment. But will contact my hoster.
Bye
Sven
The topic ‘Checkout process not working’ is closed to new replies.