• Hi,

    I’m having problems with the plugin. I’m not sure if its since I updated WordPress to 3.6.1 or the error was before. This is the error:

    Warning: gzinflate() [function.gzinflate]: data error in /homepages/43/d372281309/htdocs/portfolio/wp-content/plugins/fb-linkedin-resume/fb-linkedin-resume.php on line 111
    FB Linkedin Resume: we’re sorry but we can’t correctly download your LinkedIn profile.

    And I know more people using this plugin that is having the same problem. I hope this can be fixed, because the plugin is awesome.

    Thanks!

    https://www.ads-software.com/plugins/fb-linkedin-resume/

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    hi, i released 2.7.5 with some changes about it, can you please try?

    otherwise can you give me your linkedin profile url and a screenshot of the shortcodes you’re using?

    thanks

    I have exactly the same problem and I am using the latest update. I have the latest WordPress as well.

    Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    do you also have it with 2.9?

    Yes as that is the latest version I have. My page where it is at is here https://carina.wesenlund.se/cv

    I pasted the html code but I really hope that the plugin will work correctly as it does not show what I want it to.

    Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    Hi, on the website you linked it seems it’s workinf fine, did you manage how to solve the problems?

    btw 2.9.1 is out.
    let me know

    Hi Fabrizio,
    good job with your plugin!
    I also also noticed that my website is recently returning the error “FB Linkedin Resume: we’re sorry but we can’t correctly download your LinkedIn profile.”
    I just upgraded the plugin to the latest release – 2.9.1 – and still I get the error.
    It seems like Linkedin is rejecting the connection or a php setting requirement is missing.
    Can you please help with that?

    Thanks!

    I forgot to mention in my previous post: if I run the plugin in localhost, it works. When I move the files to the live server, it doesn’t work (LinkedIn doesn’t return the body). Is there a security issue? I’m asking because if I try to display the $dom variable (die($dom);) Firefox shows a security message (LinkedIn runs in https).
    Thanks!

    Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    could you post me some pastebin with some debug info? the $dom or better the $linkedin_html just after the wp_remote_get call?

    could you also try to force http instead of https? it could be some trouble with certificates verifications between the host and linkedin.

    thanks!

    Hi, on the website you linked it seems it’s workinf fine, did you manage how to solve the problems?

    btw 2.9.1 is out.
    let me know

    Thanks for the update. I added the html so that it looked almost ok but with this new update it seems to pull the info correctly so I removed the copied html.

    Hi Fabrizio,
    You are correct; the issue is between the certificate on my server (it’s a certificate for another domain on a shared server) and LinkedIn (Error code: ssl_error_bad_cert_domain). The solution would be probably to force my server not to use the SSL certificate (basically force my server to use http instead of https). that should solve; do you have any recommendations to force my server not to use https?

    Much appreciated!

    Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    could you please try to replace this code:

    $wp_remote_get_args = array(
    “user-agent” => “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1”
    );

    with this code:

    $wp_remote_get_args = array(
    “user-agent” => “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1”,
    “sslverify” => false
    );

    in the fb-linkedin-resume.php file?
    if should make wordpress avoid ssl verification and maybe solve the problem.

    let me know please.
    thank you!

    Hi Fabrizio,

    unfortunately your solution didn’t work. Thanks anyway for the tip.
    I tried also: https://wp-mix.com/htaccess-redirect-http-to-https/ but it didn’t solve.
    The problem I think is that LinkedIn being in https looks for a SSL certificate on my server for a secure connection and since there is an SSL certificate on my server but it doesn’t match with the domain (it’s a shared account)it generates the error in the browser. I though adding the sslverification equal false (as you suggested) would make it, but it didn’t.
    I’ll do more investogation; in the meantime if you have other suggestions, please share with me (and the rest of the community).

    Thanks!

    Plugin Author fabrizio.balliano

    (@fabrizioballiano)

    i tried forcing the plugin to download the resume via http instead of https, can you please replace the fb-linkedin-resume.php file completely with this one:
    https://pastebin.com/5re5W8fZ

    please let me know and thank you very much for your debug help!

    Thanks Fabrizio,
    It works!

    So the solution you recommended is to add this line:
    $options[“fb_linkedin_resume_url”] = preg_replace(“/^https:/i”, “http:”, $options[“fb_linkedin_resume_url”]);

    right before this:

    $linkedin_html = wp_remote_get($options[“fb_linkedin_resume_url”], $wp_remote_get_args);

    Great job!
    Thank you very much for your time.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘FB Linkedin Resume: we're sorry but we can't correctly download your LinkedIn pr’ is closed to new replies.