Rob
Forum Replies Created
-
Hi @rankmath
1) I’ve tried putting it in the location block. doesn’t change anything it seems. I always restart nginx after making changes.
2) I’ve put the error log on debug level, not showing anything from what I can tell.==> /var/log/nginx/domain.com/https_error.log <== 2020/01/04 00:40:37 [error] 19093#19093: *5 open() "/var/www/domain.com/post-sitemap.xml" failed (2: No such file or directory), client: myipaddress, server: domain.com, request: "GET /post-sitemap.xml HTTP/1.1", host: "domain.com", referrer: "https://domain.com/?sitemap=1" ==> /var/log/nginx/domain.com/https_access.log <== myipaddress - - [04/Jan/2020:00:40:37 +0100] "GET /post-sitemap.xml HTTP/1.1" 404 564 "https://domain.com/?sitemap=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ipaddress Safari/537.36" ==> /var/log/nginx/error.log <== 2020/01/04 00:33:09 [debug] 18886#18886: accept on 0.0.0.0:80, ready: 0 2020/01/04 00:33:09 [debug] 18886#18886: posix_memalign: 000055A0C1D9F9F0:512 @16 2020/01/04 00:33:09 [debug] 18886#18886: *10 accept: myipaddress:50376 fd:27 2020/01/04 00:33:09 [debug] 18886#18886: *10 event timer add: 27: 60000:570986844 2020/01/04 00:33:09 [debug] 18886#18886: *10 reusable connection: 1 2020/01/04 00:33:09 [debug] 18886#18886: *10 epoll add event: fd:27 op:1 ev:80002001 2020/01/04 00:33:09 [debug] 18886#18886: *10 http wait request handler 2020/01/04 00:33:09 [debug] 18886#18886: *10 malloc: 000055A0C1CF5030:1024 2020/01/04 00:33:09 [debug] 18886#18886: *10 recv: eof:0, avail:1 2020/01/04 00:33:09 [debug] 18886#18886: *10 recv: fd:27 955 of 1024 2020/01/04 00:33:09 [debug] 18886#18886: *10 reusable connection: 0 2020/01/04 00:33:09 [debug] 18886#18886: *10 posix_memalign: 000055A0C1DB6B80:4096 @16 2020/01/04 00:33:09 [debug] 18886#18886: *10 http process request line 2020/01/04 00:33:09 [debug] 18886#18886: *10 http request line: "GET /sitemap.xml HTTP/1.1" 2020/01/04 00:33:09 [debug] 18886#18886: *10 http uri: "/sitemap.xml" 2020/01/04 00:33:09 [debug] 18886#18886: *10 http args: "" 2020/01/04 00:33:09 [debug] 18886#18886: *10 http exten: "xml" 2020/01/04 00:33:09 [debug] 18886#18886: *10 posix_memalign: 000055A0C1DAB1E0:4096 @16 2020/01/04 00:33:09 [debug] 18886#18886: *10 http process request header lineThanks!
Hi @rankmath
I’ve enabled rewrite_log in http and server. Logging set to notice level.
The only error I’ve been getting when restarting nginx is2019/12/31 02:50:57 [alert] 12385#12385: *63 open socket #36 left in connection 7 2019/12/31 02:50:57 [alert] 12385#12385: *62 open socket #19 left in connection 18 2019/12/31 02:50:57 [alert] 12385#12385: aborting*scratching head*
Thanks for thinking with me though
Hi @rankmath
1) No subdirectory. It is however a WPML multisite installation (which means the installation also has domain.nl and domain.cn. This shouldn’t matter I think since domain.com is still the homepage and everything is done from regular domain.com/wp-admin dashboard
2)
https://domain.com/index.php?sitemap=1shows correctly.3)
https://example.com/sitemap.xml https://example.com/sitemap_index.xml https://example.com/page-sitemap.xml
all get 404Thank you
Hi @rankmath
I have now placed it in the bottom of the http block. I don’t get any error. However still get the ‘404 not found page nginx’ page.
I’ve already tried saving permalinks.
Any thoughts?
Thank you for your message
Regards
Hi @pbalazs
I have put it in the http block without any errors. However still get the 404 page.
https://domain.com/?sitemap=1 does output the sitemap correctly.nginx.conf:
https://pastebin.com/FgGT63pxThanks!
Hi @pbalazs
With that format I get error:
2019/12/30 03:34:41 [alert] 14991#14991: *3173 open socket #18 left in connection 9
2019/12/30 03:34:41 [alert] 14991#14991: *3174 open socket #19 left in connection 83
2019/12/30 03:34:41 [alert] 14991#14991: aborting
2019/12/30 03:34:41 [emerg] 19035#19035: “server” directive is not allowed here in /etc/nginx/nginx.conf:5Thank you!
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe with WeChat AlipayThat’s great! I hope it will recognize Alipay payments as ‘paid’. The woocommerce alipay plugin is lacking when it comes to that. Every time need to manually check if payments have come through…
Thanks
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe with WeChat AlipayI have been using the “official” woocommerce alipay plugin for the last few years and it works just fine except for one thing: Because you set your currency with Alipay as USD or EUR but your woocommerce website pretty much always has CNY as currency. Somehow the payment does not go from “payment pending” to “processing”. It only goes to “processing” automatically when your Alipay currency is USD and shop currency is set to USD.
If you can overcome that issue with Stripe, you’re officially a legend!
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Auto currency conversionWorks like a charm! I Wish I had your skills 🙂
Many thanks
Regards
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Auto currency conversionHi Alex,
Yes I assume fixer.io will work just fine!
Thanks
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Renaming product columnsGreat! All seems to work perfectly. Thanks for that!
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Renaming product columnsxls
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Renaming product columnsAh yes, it does! Excellent.
Any thoughts on point 2? or is that hard to do to automate?
“2. Also, i have to create an extra line of columns on line 2 with a Chinese translation like in this example: http://imgur.com/a/B02qs Is there a way to do this?”
Thanks!
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Renaming product columnsAppreciate the quick reply. The csv works like a charm. I’ve tried changing it to xls like this but no luck:
add_filter('woe_add_xls_headers','woe_rename_xls_columns', 10, 2); function woe_rename_xls_columns($cols, $field) { if($cols) { foreach($cols as $k=>$v) { $cols[$k] = preg_replace("/ #(\d+)/",'\\1',$v); } } return $cols;How to make it work for xls?
Thanks!