Skip to Content Skip to Menu

[#5369] FB login: "Warning: curl_setopt()"

  • pdeleeuw
  • pdeleeuw
  • OFFLINE
  • Posts: 42
  • Thanks: 4
  • Karma: 3
9 years 4 months ago - 9 years 4 months ago #266759 by pdeleeuw
Using Connect for FB login, I get the following bug warning:

Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in <span>/</span>home<span>/</span>peddajoens/web/www.damenbasketball.org/htdocs/components/com_comprofiler/plugin/libraries/Hybridauth/HttpClient/Curl.php on line 133

(Line 133 = curl_setopt( $curl, $opt, $value ); )


How shall I deal with this?

Thanks for any help!

Best regards
Peter
Last edit: 9 years 4 months ago by pdeleeuw.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266761 by krileon
Replied by krileon on topic FB login: "Warning: curl_setopt()"
Disable open_basedir or manually adjust the following locations by commenting out those lines of code so that property won't be allowed. It may negatively impact the functionality of the plugin though.

IN: components/com_comprofiler/plugin/user/plug_cbconnect/library/Hybridauth/HttpClient/Curl.php
ON: Line 30
FROM:
Code:
CURLOPT_FOLLOWLOCATION => true,
TO:
Code:
//CURLOPT_FOLLOWLOCATION => true,

IN: components/com_comprofiler/plugin/user/plug_cbconnect/library/Hybridauth/Thirdparty/OpenID/LightOpenID.php
ON: Line 175
FROM:
Code:
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
TO:
Code:
//curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);

I'll be able to implement for next CB Connect 7.x beta to automatically disable this for the first edit, but the second edit does not offer a way to disable it easily so it can only be partially fixed for now.

forge.joomlapolis.com/issues/5369


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: pdeleeuw

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum