Sadik114
Forum Replies Created
-
The question is wrong. I try to write it again…
Forum: Plugins
In reply to: [WooCommerce] Error found…Warning: Illegal characterseems that this was not this main error
Forum: Plugins
In reply to: [Germanized for WooCommerce] Shortcode StatusOh, komisch, jetzt steht da “Eingebunden” in grün. Obwohl ich nichts gemacht habe.
Was genau ist da jetzt eingebunden?Forum: Plugins
In reply to: [WooCommerce] endless spinning/loading at checkoutOk, finally…
The log file contains this:
PHP Fatal error: Using $this when not in object context in /usr/www/users/myname/wp-content/plugins/telegram-for-wp/functions.php on line 173
That obviously shows that telegram-for-wp plugin is causing the error. Deactivating it solved the problem. I deactivated all plugins before and the error kept comming up, but maybe I have forgot to deactivate this one …(?)
The best hint was the one with Set define( ‘WP_DEBUG_DISPLAY’, false );
After that I installed the plugin Error Log Monitor so that I can see the error logs in dashboard (couldnt find any error logs via ftp).I will tell the plugin author about this.
Forum: Plugins
In reply to: [WooCommerce] endless spinning/loading at checkoutWhere are errors logged, when displaying is disabled?
I got the following response (not quite sure if it’s relevant though):
{“code”:403,”headers”:[{“name”:”Content-Type”,”value”:”application\/json”}],”body”:{“error”:”authorization_required”,”message”:”An active access token must be used to retrieve notifications.”}}
and also failed to load response data:
http://s33.postimg.org/lewvjh3cv/failedtoloadata.pngForum: Plugins
In reply to: [WooCommerce] endless spinning/loading at checkoutI’d understand the answer, that, since this is in Internal Server Error, I should ask the provider.
But this exception is raised from within woocommerce code. Maybe needless?
Forum: Plugins
In reply to: [WooCommerce] endless spinning/loading at checkoutOkay, I figured out what it was and it’s a dilemma:
In wp_config.php I had these lines:
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_LOG’, true );These lines caused the error. Commenting out solved it.
But I need to get a debug message, because I always get an”Internal Server Error” error at checkout. But Debug log is not possible because of the json error.
In the error logs there was only this:
AH00112: Warning: DocumentRoot [/usr/www/users/myname/de] does not existI still don’t understand what this means or if this is related to the “Internal Server Error”.
The backend receives the order and the customer is notified, though.
Forum: Plugins
In reply to: [WooCommerce] endless spinning/loading at checkoutI have read the post and I feel sorry that people personally attack you because of issues like this.
However, I am not sure that the article is about the same issue.I don’t know how to embed an image here so I uploaded my screenshot here:
http://s33.postimg.org/6iqn5qlkf/screenshotwoocommerce_01.png
and after waiting a few minutes:
http://s33.postimg.org/leiby97e7/screenshotwoocommerce_02.pngBTW: I don’t have a “Response” Tab in chromes dev tool, like in your screenshot in the linked article.
And even If I could see the response and notice that something invalids json, like it is mentioned in the article… what should I do then?
WooThemes own gateways have all been tested for 2.4, however, we’ve seen some less-supported gateways break due to returning invalid content.
The article is somehow suggestive that I or someone else made something wrong in certain programming details. Like an API misuse or something.
But I’m not using any thirdparty gateway. Not even paypal. I only accept bank transfer (or whatever it is called in english).Forum: Plugins
In reply to: [WooCommerce] Internal Server Errorwhatever, I changed the documentroot so that wordpress is not installed in a subdirectory. Site address and WordPress address are the same now.
The error is replaced by another one now.
Forum: Plugins
In reply to: [WooCommerce] Internal Server ErrorMy Provider does not provide me with any error logs, except this one:
AH00112: Warning: DocumentRoot [/usr/www/users/myname/de] does not exist
But the DocumentRoot should be /public_html
And wordpress is in /public_html/wordpressI asked the provider for help and they replied that there is no other error on server side except that my DocumentRoot is not where wordpress is located.
But this is the correct behavior!
So wordpress has its own directory, as it is described in the official documentation:
https://codex.wordpress.org/Giving_WordPress_Its_Own_DirectoryIs it possible that woocommerce can’t handle it when Site address (URL) is not equal to WordPress address (URL) (in Settings->General)?
Maybe there is a required field that was not filled, when you click on next button. This was one of my issues I couldn’t solve.
Where do you put this code?