kbm
Forum Replies Created
-
Hello ckong,
What version of PHP are you using?
This plugin requires at least PHP 5.2.0 to run properly. I think that your error may be related to running a version that is older than that.
Hello,
I’m still seeing the same issue on gotdistracted.net:
<!DOCTYPE html>
<html lang=”en-gb” dir=”ltr”>
<meta name=”google-site-verification” content=”T0OYaBRMYmtdTxdyD-nBx0fpfB4vnHUU1lNosMXzq7Q” />
<head><title>Distracted Studio | New site up and coming</title>
…Are you attempting to perform verification on a local staging server? Is the blog hosted under a subdirectory of gotdistracted.net? The HTML of the site looks hand-coded; it doesn’t look particularly like it was generated by WordPress.
Thanks!
I think I see what the problem is. Can you verify that the
wp_head();
call is placed inside the <head> HTML tag within your theme?When I visited your site, I noticed that your HTML looks like this:
<html lang="en-gb" dir="ltr"> <strong><meta name="google-site-verification" content="T0OYaBRMYmtdTxdyD-nBx0fpfB4vnHUU1lNosMXzq7Q" /> </strong> <head> ...
Note that in your case, the
meta
tag that is used for verification is located outside thehead
tag. The verification service requires that it be located within thehead
instead.I hope that helps!
Which theme are you using? Did you make any modifications to the HTML/PHP? Specifically, I am interested in whether or not your header PHP is making calls to wp_head().
If you are interested in divulging the address of your blog, I could take a look.
Forum: Plugins
In reply to: [Google Site Verification Plugin] Fatal error in verificationThis looks like an issue with your system configuration. You might have a permissions issue that is preventing cURL from reading its security certificates. Check that the directory /usr/share/curl is readable.
Forum: Plugins
In reply to: [Google Site Verification Plugin] Returns Fatal Error on activationHello msabirm, go ahead and try the latest version of the plugin and see if that helps. I added a bit of additional code to handle the differences between PHP 5.2.0 and PHP >5.2.1
Forum: Plugins
In reply to: [Google Site Verification Plugin] Fatal error at activationHello Kharlo,
Sorry, the plugin won’t work unless your hoster upgrades your PHP installation to support libcurl.
Fortunately, the plugin is not the only way to verify your site with Google. There are several manual verification methods you can use to verify your blog at https://www.google.com/webmasters/verification/ .
There are also several other verification plugins available for WP that don’t rely on web service calls, and therefore shouldn’t require CURL libraries.
I hope that helps!
Forum: Plugins
In reply to: [Google Site Verification Plugin] Fatal error at activationDo you have root access to your system? You might need to recompile PHP to include CURL support, or install additional support packages (e.g. php5-curl on Ubuntu.)
herozup: Make sure that your header.php file makes a PHP call to wp_head() somewhere inside the <head> tag.
zippykid: I’m glad to hear that clearing the cache worked. I added a reminder for clearing the cache directly in the verification UI.
I appreciate your suggestions! You’re right that both Meta and File verification methods are prone to their own unique classes of issues (caching layers, filesystem permissions, etc.) Right now we are planning on sticking with Meta, but we will monitor the success rates and forum activity to see if we need to supplement our approach with additional contingency methods.
Forum: Plugins
In reply to: [Google Site Verification Plugin] Fatal error at activationHello Linda,
Which version of PHP are you using?
This plugin is using functionality that was introduced in PHP 5.2.1. Your version of PHP must be older than that. Hopefully you don’t have a version older than 5.2.0, because we do not support versions of PHP that are older than that.
I made a fix that will allow the plugin to run on 5.2.0. Assuming your version of PHP is at version 5.2.0 or above, you can try again in an hour or so.
Kevin
Sweet! I’m happy to hear it. I’ll update the instructions FAQ and see what I can do to flush the cache automatically to prevent similar issues from occurring to others.
Could you try deleting your cache? (WP Super Cache:Delete Cache)
Also, does your theme’s header.php file have a call to wp_head()? It would look something like this:
<head>
…
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
wp_head();
…
</head>Let me know if either suggestion resolved the issue for you. Thanks for the feedback. I will resolve the situation as soon as I determine the root cause.
Hello Douglas,
Are you using any page caching plugins for WordPress or Apache/IIS? If so, can you tell me which plugins you use?
Thanks!
Forum: Plugins
In reply to: [Google Site Verification Plugin] Returns Fatal Error on activationIt looks like the cURL can’t verify the authenticity of the certificate for Google’s HTTPS server. Your cURL installation may be using an outdated root certificate bundle:
https://kb.ucla.edu/articles/how-do-i-update-root-certificates-in-apachephpcurl-environment
I hope that helps!
Which WordPress theme are you using? Has it been customized at all?