Skip to Content Skip to Menu

Cb Connect error

10 years 5 months ago #245397 by wealthcode
Cb Connect error was created by wealthcode
Having config. the facebook app on my website as appropriate, i got this error message


(#12) username is deprecated for versions v2.0 and higher

Then i took my time to search the forum for similar issue and i found the suggestion bellow

from
$fields = array( 'id', 'username', 'name', 'email', 'picture.type(large)' );
TO:
$fields = array( 'id', 'name', 'email', 'picture.type(large)' );

But immediatelly this adjustment was made, it led to another error:

Parse error: syntax error, unexpected '<', expecting T_STRING or T_VARIABLE or '{' or '$' in /hermes/bosnaweb01a/b2347/ipg.movingstuffscom/movingstuffs1/components/com_comprofiler/plugin/user/plug_cbconnect/cbconnect.class.php on line 1273

With immediate effect, i contacted my host, and the made me realize it is as a result of the adjustment i made to the cbconnect plugin and requested that i contact the developer of the plugin for possible solution.

Attached herewith is the copy of the cbconnect.class.php file



Please kindly assist to this effect

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245408 by krileon
Replied by krileon on topic Cb Connect error
You didn't copy and paste the code correctly, which resulted in a syntax error. Please see the below topic for the exact quickfix. Be sure you're using a proper IDE (several available for free; e.g. Netbeans) as they can show you syntax errors immediately.

www.joomlapolis.com/forum/154-advanced-members-support/225438-solved-cb-connect-issues#244949


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.

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

10 years 5 months ago #245438 by wealthcode
Replied by wealthcode on topic Cb Connect error
Thank you for you prompt reply.

I did all you asked me to do, but still this error(Parse error: syntax error, unexpected '<', expecting T_STRING or T_VARIABLE or '{' or '$' in /hermes/bosnaweb01a/b2347/ipg.movingstuffscom/movingstuffs1/components/com_comprofiler/plugin/user/plug_cbconnect/cbconnect.class.php on line 1273)
continue to show.

Please kindly assist

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245462 by krileon
Replied by krileon on topic Cb Connect error
Re-install CB Connect to remove your change then navigate to line 1688 and remove "'username'," from the array.


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum