Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Gravatars not working :c(
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2013 - 11:03 am

can you give me a link on your site where any of those gravatars in that test topic are displaying correctly since you said they show up in wp fine???

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2013 - 1:11 pm

Hi there

I was not using posts / comments in my wordpress site.

but i have now created a page with comments and posts.

 

http://www.cannabisforum.dk/archives/468

 

Else you can try to login with user : gravatar2/gravatar2 and see the profile for user.

 

/René

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2013 - 2:38 pm

well, I cannot explain what is going on... both the WP avatar and the SP avatar are sending the exact same url for the gravatar... The difference is the WP code is simply outputting the url as the image... we cannot do that because of the priority scheme and must see if the gravatar is valid first... If I just enter the verification gravatar url directly in the browser it returns the expected answer... however, if I use the wp functions for this or any standard php code for checking the headers, the return answer is an error condition...

so something on your server is blocking the headers check... are you running mod_security? or any other purported security plugin or mechanisms (such as bad behavior)??

might be time to talk with your host and find out why:

$headers = wp_get_http_headers($url);

generates an empty response on your server... of course, url is the url of your gravatar... but something is blocking or messing with those header checks... and we know it works because tens of thousands of folks are using gravatars fine...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2013 - 8:10 pm

So, I assume you resolved this with your host????  I see your forum now displaying gravatars properly...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 3, 2013 - 5:04 am

Hello.

Sorry no problem is not yet resolved, but for now i am using WP avatars in simple press.

I am waiting for my host to get back to me why i cant get http_header from gravatar.com, i can grab http headers fine from other sites.

<?php
$url = 'http://0.gravatar.com';
print_r(wp_get_http_headers($url, 1));
?>

Gives me no result

 

<?php
$url = 'http://www.google.com';
print_r(wp_get_http_headers($url, 1));
?>

 

Gives me fine Http header feedback.

 

//René

 

I will get back to you as soon i have further updates.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 3, 2013 - 11:04 am

yup. exactly what I was seeing...  and the wp avatars explains why I was seeing them now...

might just be mod_security dorking again if you are running it...

please let us know what they say...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2013 - 8:03 am

Issue has been resolved.

 

Problem was that my Hosting provider was blocking outgoing http traffic.

 

after they opened http traffic towards gravatar domains, problem was resolved.

 

Thanks Again for all your assistance during this troubleshooting.

 

Regards

 René

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2013 - 9:11 am

As we suspected. Good news.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625