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
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.
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.
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.
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.