miguelitomola
Forum Replies Created
-
Same question here. Great plugin but it doesn’t work for me with WP 4.9.6 ??
Hello webaware,
Thank you for your reply.
The names of the variables: WCAPI_DB_NAME, WCAPI_DB_USER, WCAPI_DB_PASSWORD, WCAPI_DB_HOST and WCAPI_SITE.
They are environment variables in a Docker container where the Apache server is running. In order to access them with php, I have used the PassEnv directive in an Apache conf file (https://httpd.apache.org/docs/2.4/mod/mod_env.html). In conclusion, they are both environment and server variables.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Prices are wrongFinally, prices are correctly shown again. I’m not completely sure but I think the issue can be linked to the plugin EU VAT Compliance. I went to wp-admin >> Woocommcerce >> EU VAT Compliance >> Settings >> Other WooCommerce tax options potentially relevant for EU VAT compliance >> Default Custommer Adress, and changed it to Shop base address and saved. And then I changed it back to Geolocate address and save. Hope it helps someone.
I solved it following the official PageSpeed documentation where I found they specified a case like mine: running behind a load-balancer.
https://developers.google.com/speed/pagespeed/module/https_supportI enabled:
ModPagespeedRespectXForwardedProto on
in /etc/apache2/mods-available/pagespeed.conf
Thank you for your help Richard.
Best,
Miguel
Forum: Networking WordPress
In reply to: Logo link url in just one page (support page)Ok. I was thinking something like that. The point to execute a javavascript when that page is loaded and I wanted to do it just editing functions.php
Do you think this is correct?Thank you ??
Hello richadsahby. I’ve searched both “overlay.png” and “xoverlay.png.pagespeed.ic.7HAmKqrsoP.png” in my server and I’ve found there are copies of “xoverlay.png.pagespeed.ic.7HAmKqrsoP.png” in “/var/cache/mod_pagespeed/rname/…/wp-content/plugins/cookie-law-info/images/xoverlay.png.pagespeed.ic.7HAmKqrsoP.png”. “overlay.png” is under “/var/www/gremyo.com/htdocs/wp-content/plugins/cookie-law-info/images/overlay.png” as expected.
So, yes, we have apache mod_pagespeed enabled and caching files. It keeps them to a directory (var/cache/) wich could not being covered by the SSL certificate as I didn’t install it and don’t know much about it.
Hello richadsahby. Thanks for your reply. You must be right but we don’t know what’s interfering or bad configured. If we fix it, I’ll write you back telling the solution.
Cheers
Forum: Fixing WordPress
In reply to: WP development locally – Error establishing a database connectionThank you santeven. This is my first time doing this, and I didn’t know if I needed the whole mysql environment or not. I’m going to redo this only with the prod_db as you say.
About the user, I knew it but I was doing a test with root.
I’ll have a look to the article.
I keep trying.
Regards
Forum: Fixing WordPress
In reply to: WP development locally – Error establishing a database connectionThank you santeven but I forgot to put the DB_NAME on the post whereas it is right on the code (I supose).
It is like this:
define('DB_NAME', 'prod_db'); //because I've restored the production db backup
The DB_NAME doesn’t seem to be the problem.