patjk
Forum Replies Created
-
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Unable to connect via TLSOS: Linux host.name.com 2.6.32-042stab112.15 #1 SMP Fri Sep 1 20:42:18 MSK 2017 x86_64
PHP: Linux 5.6.18 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
WordPress: 4.7.5 en_US UTF-8
WordPress Theme: Responsive Child
WordPress Plugins: License-Manager, Affiliates Pro, Affiliates WooCommerce Integration, Black Studio TinyMCE Widget, Cloudflare, Contact Form 7, Custom CSS Manager, Easy Table, Embed Google AdWords Codes on WooCommerce, FraudLabs Pro for WooCommerce, Google Analytics for WordPress by MonsterInsights, PixelYourSite, Postman SMTP, Really Simple CAPTCHA, Responsive Add Ons, Symple Shortcodes, W3 Total Cache, WooCommerce Dynamic Pricing & Discounts, WooCommerce Conversion Tracking, WooCommerce Email Validation, WooCommerce Stripe Gateway, WooCommerce Google Analytics Integration, WooCommerce, WooThemes Helper, Wordfence Security, Yoast SEO, WP Force SSL, WP Smush
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
WordPress phpmailer_init Action(s): wpcf7_phpmailer_init
Postman: 1.7.2
Postman Sender Domain (Envelope|Message): gmail.com | gmail.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 23131 | 166Thanks, much appreciated!
@crudhunter @wfasa Thanks. So in the root direction of domain.com, in .htaccess I see:
# Wordfence WAF <IfModule mod_php5.c> php_value auto_prepend_file '/home/patjk/public_html/speedsolving/wordfence-waf.php' </IfModule> <Files ".user.ini"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> # END Wordfence WAF
—-
I added that same code above to the .htaccess of domain.com/forum except I change:
php_value auto_prepend_file ‘/home/public_html/wordfence-waf.php‘to this:
php_value auto_prepend_file noneIs that correct? Or do I need to look into user.ini and php.ini as well? It seems to have solved the issue but want to confirm all is okay. Thanks
@crudhunter : Thanks, I tried this method yesterday:
“create a .user.ini file in that directory stating
auto_prepend=none”And the issue still persists. This should be in the /forum directory, right?
Should I try the .htaccess method instead? I’m wondering why the .user.ini method isn’t working.
Thanks.
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Discount with Variations now workingForum: Plugins
In reply to: [W3 Total Cache] Leverage Browser Caching not workingSure (it was also in the OP): The URL is pkookshop.com
Cheers!
Forum: Plugins
In reply to: [W3 Total Cache] Leverage Browser Caching not workingHello,
I see that line, and mod_expires is installed on the server:
This module is installed.
—
root@host [~]# httpd -M|grep expire
expires_module (static)
—
Any other ideas as to why it’s not working? Cheers!Forum: Plugins
In reply to: [W3 Total Cache] Leverage Browser Caching not working@nigrosimone:Yes, as far as I understand. You can find the full htaccess below. Any suggestions to resolve this? Thanks
# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/vnd.ms-fontobject .eot
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType image/webp .webp
AddType application/json .json
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/x-font-otf .otf
AddType application/vnd.ms-opentype ._otf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType image/svg+xml .svg .svgz
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType application/x-font-ttf .ttf .ttc
AddType application/vnd.ms-opentype ._ttf
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A604800
ExpiresByType text/x-component A604800
ExpiresByType application/x-javascript A604800
ExpiresByType application/javascript A604800
ExpiresByType text/javascript A604800
ExpiresByType text/x-js A604800
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A604800
ExpiresByType video/avi A604800
ExpiresByType image/bmp A604800
ExpiresByType application/java A604800
ExpiresByType video/divx A604800
ExpiresByType application/msword A604800
ExpiresByType application/vnd.ms-fontobject A604800
ExpiresByType application/x-msdownload A604800
ExpiresByType image/gif A604800
ExpiresByType application/x-gzip A604800
ExpiresByType image/x-icon A604800
ExpiresByType image/jpeg A604800
ExpiresByType image/webp A604800
ExpiresByType application/json A604800
ExpiresByType application/vnd.ms-access A604800
ExpiresByType audio/midi A604800
ExpiresByType video/quicktime A604800
ExpiresByType audio/mpeg A604800
ExpiresByType video/mp4 A604800
ExpiresByType video/mpeg A604800
ExpiresByType application/vnd.ms-project A604800
ExpiresByType application/x-font-otf A604800
ExpiresByType application/vnd.ms-opentype A604800
ExpiresByType application/vnd.oasis.opendocument.database A604800
ExpiresByType application/vnd.oasis.opendocument.chart A604800
ExpiresByType application/vnd.oasis.opendocument.formula A604800
ExpiresByType application/vnd.oasis.opendocument.graphics A604800
ExpiresByType application/vnd.oasis.opendocument.presentation A604800
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A604800
ExpiresByType application/vnd.oasis.opendocument.text A604800
ExpiresByType audio/ogg A604800
ExpiresByType application/pdf A604800
ExpiresByType image/png A604800
ExpiresByType application/vnd.ms-powerpoint A604800
ExpiresByType audio/x-realaudio A604800
ExpiresByType image/svg+xml A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType application/x-tar A604800
ExpiresByType image/tiff A604800
ExpiresByType application/x-font-ttf A604800
ExpiresByType application/vnd.ms-opentype A604800
ExpiresByType audio/wav A604800
ExpiresByType audio/wma A604800
ExpiresByType application/vnd.ms-write A604800
ExpiresByType application/font-woff A604800
ExpiresByType application/font-woff2 A604800
ExpiresByType application/vnd.ms-excel A604800
ExpiresByType application/zip A604800
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch “\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.5.2”
</IfModule>
</FilesMatch>
<FilesMatch “\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.5.2”
</IfModule>
</FilesMatch>
<FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.5.2”
</IfModule>
</FilesMatch>
<FilesMatch “\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$”>
<IfModule mod_headers.c>
Header unset Last-Modified
</IfModule>
</FilesMatch>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Discount with Variations now workingCorrect, it should be “now”. I’ve noticed this was asked several time prior without response. I went ahead and bought a plugin to do the trick on codecanyon. It’s a shame this doesn’t exist as a default part of WooCommerce.
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Discount with Variations now workingIf I have variation A and B of a product, and I add 3 of A and 3 of B to the cart, the discount of $146 gets applied to both items for some reason:
https://www.dropbox.com/s/tnwpzssrck5ctfr/Screenshot%202017-01-22%2016.03.30.png?dl=0
It should only be applied once – buy 5, get $146 off. Any ideas?
Thanks.Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Paypal is not working?This issue is still happening. It appears to be a plugin issue. I’m updated to 1.2.5 and still having issues. I’ve noticed a few other threads about this without solution. I enable the plugin but it doesn’t show enabled.
Hello Ash,
“Which plugins you mean here?”
That is the error I’m receiving from W3 Total Cache at the top of the screen. I assume it is talking about the W3 Total Cache plugin.As for Minify CSS: I’ve decided to just use the Minify via Cloudflare which doesn’t have any issues, so I’ve disabled Minify CSS in the W3 Total Cache.
Cheers!
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Add more than 5 discount lines?I ended up buying another hack for like $15 on envato. Worthwhile investment.
Forum: Plugins
In reply to: [WooCommerce] urgent! Weird Error at checkout with StripeI did enable error logging with Stripe and had it enabled before. Nothing seems to show up there though.
Forum: Plugins
In reply to: [WooCommerce] urgent! Weird Error at checkout with StripeThanks. Nothing in the PHP logs.
I just tried again now as a test with Stripe and it just seems to bring up the spinner now, not the odd red error. Perhaps my CC is blocked now by my bank. I’ll have a look on that. I see someone just placed an order via CC so it might just be me and the card I’m testing. It’s hard to tell now as I can’t test it myself with my card.