Topic-icon Facebook Javascript library Conflict

Active Subscriptions:

None
8 years 5 months ago #55986 by artkin
I'm getting this error when I run the test. I'm not sure where this library is located. I did a search for Facebook under my plugins and disabled them. But I still produce this error. Can you please help me locate where these files are?
The topic has been locked.
Active Subscriptions:

None
8 years 5 months ago #55987 by artkin
www.smile4mestudio.com/index.php

I didn't want to include admin information. I forget if this is public or not.
The topic has been locked.
Support Specialist
8 years 5 months ago #55990 by alzander
From looking at your page, there's actually a few different areas that are going to cause issues. I don't know the extension that is including each thing, but hopefully the details below help you narrow things down:

fb-root
The div fb-root tag should only be one time on the page. Whatever you are using for the Facebook Fan Box looks to be re-including it over and over again:
<fb:like-box header="true" stream="false" show_faces="true" height="290" width="292" href="https://www.facebook.com/searchoptics"></fb:like-box>
<div id="fb-root"></div>
You should remove that fb-root div or, preferrably, use JFBConnect's Facebook Page Plugin widget, which replaces the Facebook Fan Box and is definitely compatible.

Extra Javascript inclusion
The very, very old Facebook Javascript library is being included here:
<div class="joms-main ">
                                <!-- User logged than display filterbar -->
                         <div><script data-rocketsrc="http://connect.facebook.net/en_US/all.js" type="text/rocketscript"></script>			 

<script type="text/rocketscript">

// initalize your Facebook App

var alredyload = 1 ;
The section under the "Initalize your Facebook App" comment is blank, which seems like someone already deleted that code. The script inclusion of the all.js file should also be removed.

I think that's it for issues I see, but if you remove those problems and still have issues, just let us know and we'll gladly help investigate.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 5 months ago - 8 years 5 months ago #56028 by artkin
I was dealing with a developer that was very lazy and messy with the code. Refuse to test anything, and was quick to say things were finished. So the script I wasted time and money being made, won't get fixed anytime soon. When I finally find someone I can trust with this project I'll make sure your ext is included. Which btw I told this Freelancer to do in the beginning, but didn't get done. Live and learn I guess. Thanks for pointing out the problem tho. Thank you!
Last edit: 8 years 5 months ago by artkin.
The topic has been locked.
Support Specialist
8 years 5 months ago #56034 by mel
When you do have another developer, please feel free to direct them her if they need any clarification fixing the issue. Good luck!

-Melissa
The topic has been locked.