Ivanko123
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401 fresh WP/WC installI managed to push through. I added this line to httpd.conf (Apache server config file):
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Before I didn’t restart Apache but now after a restart, I got 200 status OK on basic authentication. I did get empty array but I hope that’s because I was asking for orders and there are none. Will check tomorrow in real test in windows application.
Also, I added this line to .htacces file before, so that’s probablly also part of the solution:
RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
You don’t need to do anything after you save .htacces fileThank you very much! ??
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401 fresh WP/WC installThanks, but I am unable to get that on my end.
If I understood correctly Apache is not parsing authentication header and solution for that is a modification of htaccess file which is not working in my case (tried on 3 hosting providers) or adding some lines to httpd.conf file which is also not working on my dedicated WHM server. I don’t have the knowledge to go deeper into the Apache configuration. I am in a blind alley-
- This reply was modified 4 years, 10 months ago by Ivanko123.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401 fresh WP/WC installTy for reply.
I sent request to my website
https://wpsetups.com/demo-remalauto/wp-json/wc/v2/orders
with basic authentication set with consumer key and secret and get:{ "code": "woocommerce_rest_cannot_view", "message": "Sorry, you cannot list resources.", "data": { "status": 401 } }
Then I tried to put credentials into query
https://wpsetups.com/demo-remalauto/wp-json/wc/v2/orders?consumer_key=xxx&consumer_secret=xxx
And get 200 status but i got empty array in body and that is not response that is expected by your tut: https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API
I should not get empty array even if server accepted auth credentials in query instead of auth header.Btw, do you maybe have some solution to whm/cpanel basic apache server not parsing auth headers?
Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401 fresh WP/WC installThank you for reply.
I already stated in the first line that I am having auth problem. The consumer key and secret are copied correctly in the windows desktop office software for local inventory management so it’s not that, the software is working perfectly, for years with other customers and for my website it’s not.
I see that others had same problem in this locked topic which i linked above:
https://www.ads-software.com/support/topic/woocommerce-rest-api-error-401/
and change in htaccess file or plugin deactivation the proposing is not working in my case. Also it’s fresh WP and WooCommerce installation. No mater how many WP installations I made, on different hosting companies, i can’t establish access and software developers are reporting all ok on their side. They gave me request URL and send their best wishes.Forum: Plugins
In reply to: [WooCommerce] WooCommerce REST API Error 401 fresh WP/WC installI tried put HTTPS:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [E=HTTPS_AUTHORIZATION:%{HTTPS:Authorization},L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
but no luck. Best regards
- This reply was modified 4 years, 10 months ago by Ivanko123.
Forum: Plugins
In reply to: [WooCommerce] Price filter not filteringThank you for reply. I manage to solve price filtering inside Search & Filter Pro plugin. I didn’t manage to solve issue with default woocommerce price filter plugin. It’s probably theme/plugin conflict, or it’s the some simple configuration missconfiguration, like i didn’t set the main shop page or something like that. Regards!
Forum: Reviews
In reply to: [Auto Register for WooCommerce] Not working on last WP versionOn my site it desn’t even create new user ??
I also have fcb comments on woocommerce page. So in order to get the fcb comments to posts that i need i must manualy enter shortcode, and where i don’t need comments i get them automaticaly.
I will delete this plugin and search for new solution.
Forum: Plugins
In reply to: [Participants Database] 500 Internal Server Error or blank pageYes i did. And I still get the blank thank you page. But it’s ok, it’s not important site, on another server, i have plugin working perfectly on my server and my website, so i will use standard contact form. Thank you very much for your time. Best regards
Forum: Plugins
In reply to: [Participants Database] 500 Internal Server Error or blank pageHi
I get this error in log:
PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 36864 bytes) in /home/admbas13/public_html/wp-content/plugins/participants-database/classes/PDb_Session.class.php on line 344
I have this variables in php.ini
max_execution_time = 120
max_input_time = 120
max_input_vars = 10000
memory_limit = 256MBest regards
Forum: Plugins
In reply to: [Participants Database] 500 Internal Server Error or blank pageThank you. I will check the php log for errors.
Best regards
Forum: Plugins
In reply to: [Participants Database] Limit text area or rich textThank you very much. Best regards.
Forum: Plugins
In reply to: [Participants Database] After Submit, users are not in the database!I know about this field and is set to create new record. Now i set it to check record id which will never be the same and looks like that solved the issue… Thank you very much!
Forum: Plugins
In reply to: [Participants Database] Database Field Group DescriptionThank you very much. Best regards
Forum: Plugins
In reply to: [Participants Database] I can’t make list shortcode filter to workThank you very much and best regards
- This reply was modified 6 years, 8 months ago by Ivanko123.