keniry
Forum Replies Created
-
I found the issue if not the root cause.
In my case the VLOG theme by MEKS(redux framework) allows a general background setting, if I change that to something other than #ffffff; I can see the delete X
The offending CSS seems to be here
.block-editor-writing-flow div {
background: #ffffff;
}I assume VLOG is breaking some rule here.
https://www.dropbox.com/s/rpeeiqwqb43k8zx/vlog-kadence%20error.png
Actually the start and stop time in the URL don’t work in fact they seem to break the video.
Forum: Reviews
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Impressively BadI just noticed loading all these pointless scripts is destroying the search results when I test schema
Forum: Plugins
In reply to: [AddToAny Share Buttons] Custom ButtonI was looking to add a button came across this post the found how on github github
…in my case I used Code Snippets
function addtoany_add_share_services( $services ) { $services['example_share_service'] = array( 'name' => 'Example Share Service', 'icon_url' => 'https://www.example.com/my-icon.svg', 'icon_width' => 32, 'icon_height' => 32, 'href' => 'https://www.example.com/share?url=A2A_LINKURL&title=A2A_LINKNAME', ); return $services; } add_filter( 'A2A_SHARE_SAVE_services', 'addtoany_add_share_services', 10, 1 );
As I used a link back to my own site I replaced share?
url=A2A_LINKURL&title=A2A_LINKNAME with https://www.example.com/example which worked fine for the purpose I had.Forum: Reviews
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Impressively Badsounds about right, no further comment other than yes I did try all the suggestions, and I hope the encoded timestamp idea works.
Did I say I how much I hate Help Scout..? but I do like
https://feedback.givewp.com/bug-reports
that’s very useful
@mateuszgbiorczyk I was offering to help you get this going on a popular platform not spend your time, mostly it has been my time going into this exercise in futility.
A final thought.
In the 80’s while working at IBM when someone asked an old a question most people knew the answer was RTFM.
typical example:
question
I can’t seem to get nginx load balancing to work
the usual answer:
RTFM
…which helps no ones
A better answer and the style I always give is something like:
RTFM …you will find what you need in the NGINX – IBM COS 1.0 page 26 section 4
enjoy
@mateuszgbiorczyk we could had this going in a few minutes if you took cooperative approach.
There you will find answers to your questions.
I do not have any questions, the plugin does not work with my config, I spent many hours and supplied and did what you asked and you just keep referring me back to non specific sections of the Description and FAQ like I am a naughty student who didn’t my the homework. Did I miss something ? probably – am I willing to look or help anymore. No. Good luck with your plugin it’s a nice idea …I imagine.
@mateuszgbiorczyk sorry I don’t have a lot of time today but I quickly checked the nginx config again; I added the code using the code snippets plugin.. which did see the error message go away and allow the force convert all images to run using the beta plugin Version 1.4.2 – it seemed to run but I suspect it has an issue as I got this message for about 61 of 93 media items plus I cant see any evidence of serving webp
/sites/astrabb.mull.pro/files//wp-content/uploads/2020/09/dd5640d2-a126-310d-9cf5-33587b301a42.png” converted to WebP is larger than original and has been deleted.
the debug log is here
https://www.dropbox.com/s/714rzd2vogcpklm/debug.log?dl=0Nothing sensitive in there as its a test system but I will remove the file after you say you have seen it.
I can look at this more carefully in a day or two if you want.
- This reply was modified 4 years, 6 months ago by keniry.
I tried this plugin on two server platforms, easywp and spinupwp; in both cases I could not get past the admin dashboard error.
server configuration error Redirects on your server are not working.
I dont think there is anything too special in the way my server is configured but I followed the FAQ and as suggested in the FAQ got sysadmin advice which was
Based on a quick view of the link you’ve sent I would recommend adding a new .conf file to the following directory:
/etc/nginx/sites-available/{domain}/server/webp.conf (or whatever you’d like to name the file besides webp)
This will get imported into the sites server block in the main nginx conf.
I checked the two config points mentioned the FAQ for this plugin and found mime.types to have already defined of webp but lacking the server / location directive. ?as I dont know much about nginx configuration and I have a test server I tried a few things
adding the nginx config block as per the FAQ as of sept 21 2020 to a new file /etc/nginx/sites-available/{domain}/server/webp.conf
FAQ code block
server { # location ~ /wp-content/(?.+)\.(?jpe?g|png|gif)$ { if ($http_accept !~* "image/webp") { break; } add_header Vary Accept; expires 365d; try_files /wp-content/uploads-webpc/$path.$ext.webp $uri =404; } }
…in a new file as suggested by my support will result in/etc/nginx/sites-available/{domain}/server/webp.conf
after killing nginx the first time I learnt its best to run this first and on a test server
$ sudo nginx -t
nginx: [emerg] “server” directive is not allowed here in /etc/nginx/sites-available
I found some explanation of that here:
I tried whats seems to be an OLD VERSION from the forum with had the server directive removed
location ~ /wp-content/uploads/(?<path>.+)\.(?<ext>jpe?g|png|gif)$ { if ($http_accept !~* "image/webp") { break; } add_header Vary Accept; expires 365d; try_files /wp-content/uploads-webpc/$path.$ext.webp $uri =404; }
then the NEW VERSION from the FAQ with server directive removed
location ~ /wp-content/(?<path>.+)\.(?<ext>jpe?g|png|gif)$ { if ($http_accept !~* "image/webp") { break; } add_header Vary Accept; expires 365d; try_files /wp-content/uploads-webpc/$path.$ext.webp $uri =404; }
both versions pass nginx -t but neither remove the dashboard error message
server configuration error Redirects on your server are not working
I leave it there as reading further CDN seems to be not supported by this plugin. I hope somene finds this useful.
update: the code block segments in this post are tricky to format – trying again
yes
@mateuszgbiorczyk Dear Mateusz, thank you so much for sending a such a thoughtful detailed and specific solution configuration is out of date but alas I have no idea what you mean by my since it was copy and pasted from the FAQ link you often paste into this forum.
As explained previously I am not a nginx expert but I did read the FAQ over and over again and I raised a ticket with my host support who explained in detail as I previously typed:
Based on a quick view of the link you’ve sent I would recommend adding a new .conf file to the following directory:
/etc/nginx/sites-available/{domain}/server/webp.conf (or whatever you’d like to name the file besides webp)
This will get imported into the sites server block in the main nginx conf.
So I followed your FAQ and their advice I added your sample server directive block from the FAQ but as you would probably guess if I include the server directive
`$ sudo nginx -t
nginx: [emerg] “server” directive is not allowed here in /etc/nginx/sites-available/astrabb.mull.pro/server/webp.conf:1so I removed the server outer block and I get no error nginx starts OK but the original dashboard error message remains:
Redirects on your server are not working.
thank you
Have you heard of specific hyperlinks – they can be useful here,
i read the faq
Forum: Plugins
In reply to: [Code Snippets] Code Snippets Crashes my siteThe snippet should be in
wp_snippets
– The offending snippet/s can be deactivated with a value of 0.https://www.ads-software.com/support/topic/help-i-just-activated-a-snippet-and-my-site-broke/
The easiest way if the plugin is active and you are still logged in is to use this url format.
https://example.com/wp-admin/admin.php?page=snippets&snippets-safe-mode=true
Or if you cannot login add:
define('CODE_SNIPPETS_SAFE_MODE', true);
to wp-config.phpwhich should allow you to login.
- This reply was modified 5 years, 3 months ago by keniry.