Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    Thread Starter cwcodingteam

    (@cwcodingteam)

    Wizzud,

    Firstly, thank you for your quick reply! I’ll attempt to answer your questions.

    a) Something special is that the side nav refers to a different menu than the main, top nav. Now, the only difference between these two menus is that the current menu item for this page has children in the side nav, but not in the main nav. Oddly enough, the unwanted anchor tags exist around the root item and the next menu item immediately afterward.

    b) As far as I know, there shouldn’t be any plugins affecting menu output. I’m not sure how I would verify that for sure though.

    c) I don’t want to test if it’s the theme because people are currently working on the website with this theme, but I will test it afterward.

    And no offense taken – you actually assumed incorrectly. I’m so use to just using Firebug or other DOM inspectors that I didn’t consider just looking at the HTML source. I can confirm that in the source the extra anchor tags actually do not exist, implying that it probably is a js problem.

    Again, thanks a lot for your advice! I guess I’m gonna have to go hunting around some js and theme plugins.

    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.

    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.

    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?

Viewing 5 replies - 1 through 5 (of 5 total)