Adalente adlı üyeden alıntı: mesajı görüntüle
sitemde şöyle bir sorunla karşılaşıyorum yardımcı olurmusunuz. Anasayfada facebook ile üye ol çalışmıyor e-evcil.com

ama bu sayfada çalışıyor. e-evcil.com/Sosyal-Ag.html

sorun neden kaynaklanıyor nasıl çözerim acil yardım lütfen.
kaynak kodlarına bakarsanız

ana sayfada
<script type="text/javascript">function jomFbButtonInit(){ FB.init({ appId: '1585318795016452', status: true, cookie: true, oauth: true, xfbml: true }); } FB.Event.subscribe('auth.login', function(response) { //window.location.reload(); }); /* FB.Event.subscribe('auth.logout', function(response) { window.location.reload(); }); */if( typeof window.FB != 'undefined' ) { jomFbButtonInit();} else { window.fbAsyncInit = jomFbButtonInit;}</script>

kırmızı ile belirttiğim kısım çalışmıyor // eklemesi yaptığınız için.

diğer sayfalarda javascript kodları düzgün.

<script type="text/javascript">
function jomFbButtonInit(){
FB.init({
appId: '1585318795016452',
status: true,
cookie: true,
oauth: true,
xfbml: true
});
}

FB.Event.subscribe('auth.login', function(response) {
//window.location.reload();
});

/*
FB.Event.subscribe('auth.logout', function(response) {
window.location.reload();
});
*/


if( typeof window.FB != 'undefined' ) {
jomFbButtonInit();
} else {
window.fbAsyncInit = jomFbButtonInit;
}
</script>