Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Franky

    (@liedekef)

    I’m sorry, but an empty page doesn’t give me anything to go on. Did you check the webserver logfiles for any php errors ?

    Thread Starter cwcodingteam

    (@cwcodingteam)

    After checking the log file, this log seemed most relevant:

    [Mon Jul 21 09:36:01 2014] [error] [client 127.13.148.129] PHP Fatal error: Uncaught exception 'Facebook\\FacebookSDKException' with message 'You must provide or set a default application id.' in /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/plugins/eme-sync-facebook-events/Facebook/FacebookSession.php:405 \nStack trace:\n#0 /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/plugins/eme-sync-facebook-events/Facebook/FacebookJavaScriptLoginHelper.php(47): Facebook\\FacebookSession::_getTargetAppId(NULL)\n#1 /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(359): Facebook\\FacebookJavaScriptLoginHelper->__construct()\n#2 [internal function]: eme_sfe_options_page('')\n#3 /var/lib/openshift/53c6be555973cad b210003cd/app-root/data/current/wp-includes/plugin.php(470): call_user_func_array('eme_sfe_options...', Array)\n#4 /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/current/wp-admin/admin.php(211): do_action('settings_page_e...')\n#5 /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/current/wp- in /var/lib/openshift/53c6be555973cadb210003cd/app-root/data/plugins/eme-sync-facebook-events/Facebook/FacebookSession.php on line 405, referer: https://clara-cwm2014.rhcloud.com/wp-admin/options-general.php

    So it seems to be something with the app Id?

    After inspecting the page source I noticed that the appId is returning nothing (just those single quotes) inside the script tag where the content is supposed to be appearing on the settings page:

    window.fbAsyncInit = function() {
          // init the FB JS SDK
                     FB.init({
                    appId      : '',// App ID from the app dashboard
                    channelUrl : 'https://clara-cwm2014.rhcloud.com/wp-content/plugins/eme-sync-facebook-events/eme_fb_channel.php',
    // Channel file for x-domain comms
                    cookie     : true,  // let's use a cookie afterwards for the php scripts
                     status     : true,  // Check Facebook Login status
                     xfbml      : true   // Look for social plugins on the page
          });
       };

    I tried manually typing the appId there through the server, but that did nothing. Is the appId pulled from the Facebook App ID setting in the original EME plugin? Because I know I’ve set it there already too so I don’t think that would be a problem. Any ideas?

    Plugin Author Franky

    (@liedekef)

    No, the sync plugin has it own settings page where you need to enter the info. I’ll try to trap this error and point to the settings page for the next release.

    Thread Starter cwcodingteam

    (@cwcodingteam)

    Would you be able to give an estimated release time frame? I love the original EME plugin and having this extra functionality would help greatly.

    Plugin Author Franky

    (@liedekef)

    Extra functionality?? Trapping an error is hardly extra functionality. The settings page is already in your WP admin panel, look under “Settings”

    Thread Starter cwcodingteam

    (@cwcodingteam)

    I think you and I may be having a misunderstanding.

    By saying ‘extra functionality’ I mean having this plugin, the EME Sync Facebook Plugin, not trapping the error.

    And the whole point of this topic is that I am unable to see that very settings page you’re referring to, so telling me to visit a page I can’t see to fix the problem is quite the Catch 22. We both know that settings page is where you enter the FB App ID, but since I can’t access that page, it’s left blank, and is probably the reason I’m getting these errors to begin with.

    Here is a link to an image that shows you what I see when I select Settings>EME Sync FB Events: https://drive.google.com/file/d/0By2dQJWCfSRRWUo4RjJlaFZ6Nmc/edit?usp=sharing

    Now with that all that being said, I hope this clears things up.

    Any ideas why this might be happening? Thank you for taking the time to do this.

    Plugin Author Franky

    (@liedekef)

    Ok, thanks for insisting on this. I found out the problem: I couldn’t reproduce the bug since I had settings filled in, but once I removed my settings and pressed “Save”, I found it.
    So I released 1.0.7 to fix this.

    Thread Starter cwcodingteam

    (@cwcodingteam)

    Thank you so much, Franky! I can see the page now. I’m glad it all worked out. However, now my problem is configuring my app the right way, but I’ll bother you in a new thread about that =P

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘EME Sync FB Events Settings Not Appearing’ is closed to new replies.