facebook error showing despite me not using facebook as a profile type

facebook error showing despite me not using facebook as a profile type

Hi there, I have an urgent issue on my website currently where this error is displaying: Warning: Cannot modify header information - headers already sent by (output started at /home/busin672/public_html/components/com_jfbconnect/libraries/profile/facebook.php:70) in /home/busin672/public_html/components/com_jfbconnect/libraries/provider/facebook.php on line 277

I dont even use facebook on my site so not sure why this error is showing up here. This is urgent as the errors are displaying to the general public here.


On line 277 in the plugins script there is this code but as I say I dont use facebook and not sure why now this is showing as worked great for a month:

Code:
function getProfileUrl($fbUserId)
{
$profileUrl = JFBCFactory::cache()->get('facebook.link.' . '.' . $fbUserId);
if ($profileUrl === false)
{
$profileData = JFBCFactory::provider('facebook')->api('/' . $fbUserId . '?fields=link');
if (is_array($profileData) && array_key_exists('link', $profileData))
{
$profileUrl = $profileData['link'];
}


Any help would be much appreciated as I am launching my site today effectively.

Thanks in advance,
James

allmyhoney
useravatar
Offline
15 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: facebook error showing despite me not using facebook as a profile type

My site is business-achievers.com by the way. Sorry for not including that.

allmyhoney
useravatar
Offline
15 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: facebook error showing despite me not using facebook as a profile type

Right now, JFBConnect always inserts the Facebook sdk.js onto the page (there's an issue in our tracker for a later release not to add this if Facebook is not used) We see that warning intermittently but it should not affect functionality.

That being said, it is just a warning message that can easily be hidden by going to the Global Configuration area and setting "Error Reporting" to "None" or "System Default". In a normal production/live environment, the setting shouldn't be any higher.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3502 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: facebook error showing despite me not using facebook as a profile type

Hi Melissa, this error shows despite tryiing to reset the error reporting to something like none. How I got rid of it is by re-saving the profile settings inside the configuration area of the component - this actually got rid of the erroe but as I say going in to the global config had no bearing on things. Just so you know for other customers. Thanks

allmyhoney
useravatar
Offline
15 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: facebook error showing despite me not using facebook as a profile type

Hmm. That's interesting. I'm glad it seems to be resolved, but let me know if it starts happening again and we can investigate further.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3502 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11405
Total Polls:
0
Total Posts:
48071
Posts this week:
24
User Info
 
Total Users:
47238
Newest User:
suwapoj
Members Online:
0
Guests Online:
726

Online: 
There are no members online
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program