I saw someone else here had a similar problem, recorded as fixed. I just installed DFF today and am getting the issue.

I've read readme.txt.
I've read the documentation.
I've enabled the DFF Devel module.
I've run update.php.
There are no errors in the log.

The readme.txt file says to go to Create Content >> Facebook Application, however there is nothing under the menu. There is 'Facebook Applications' under Site building, which takes me to /admin/build/fb, which gives me a blank page.

Comments

Dave Cohen’s picture

Are you logged in as user #1? If not try settings permissions.

That said you certainly should not see the item in the menu but not see the page.

tracerul’s picture

I have same problem...

tracerul’s picture

For me solution is this : I change in fb_app.admin.inc

  // Labels must be unique.
  $apps = fb_get_all_apps() {
    foreach ($apps as $app) {
      if ($app->label == $fb_app->label && $app->fba_id != $fb_app->fba_id) {
        form_set_error('fb_app][label', t('The label %label is in use by another application.', array(
                                            '%label' => $fb_app->label,
                                          )));
      }
    }
  }

to

  // Labels must be unique.
  $apps = fb_get_all_apps();
    foreach ($apps as $app) {
      if ($app->label == $fb_app->label && $app->fba_id != $fb_app->fba_id) {
        form_set_error('fb_app][label', t('The label %label is in use by another application.', array(
                                            '%label' => $fb_app->label,
                                          )));
      }
    }
Dave Cohen’s picture

Status: Active » Fixed

Not sure how that happened! Fixed in .dev build.

Index: fb_app.admin.inc                                                         
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fb/fb_app.admin.inc,v       
retrieving revision 1.6                                                         
diff -u -r1.6 fb_app.admin.inc                                                  
--- fb_app.admin.inc    25 Mar 2010 19:22:51 -0000      1.6                     
+++ fb_app.admin.inc    26 Mar 2010 06:43:37 -0000                              
@@ -169,15 +169,14 @@
 function fb_app_edit_form_validate($form, &$form_state) {                      
   $fb_app = (object) $form_state['values'];                                    
   $fb_app->data = serialize($fb_app->fb_app_data);                             
-                                                                               
+                                                                               
   // Labels must be unique.                                                    
-  $apps = fb_get_all_apps() {                                                  
-    foreach ($apps as $app) {                                                  
-      if ($app->label == $fb_app->label && $app->fba_id != $fb_app->fba_id) {  
-        form_set_error('fb_app][label', t('The label %label is in use by anoth\
er application.', array(                                                        
-                                            '%label' => $fb_app->label,        
-                                          )));                                 
-      }                                                                        
+  $apps = fb_get_all_apps();                                                   
+  foreach ($apps as $app) {                                                    
+    if ($app->label == $fb_app->label && $app->fba_id != $fb_app->fba_id) {    
+      form_set_error('fb_app][label', t('The label %label is in use by another\
 application.', array(                                                          
+                                          '%label' => $fb_app->label,          
+                                        )));                                   
     }                                                                          
   }                                                                            
   // Getting properties confirms apikey and secret.                            



dangrice’s picture

Even after patching that I'm still having the blank screen come up on the app list or create. Although I have a lot of other mods running. (like OG and domain) I tried going into phpmyadmin and dropping the %fb% tables, and re-enabling them.

#1. Is this correct to add these three lines in my settings.php?

require_once "sites/all/modules/fb/fb_settings.inc";
$conf['fb_api_file'] = 'sites/all/modules/fb/facebook-platform/php/facebook.php';
include "sites/all/modules/fb/fb_settings.inc";

Dave Cohen’s picture

get rid of the require_once line.

Enable the Drupal for Facebook devel module which will write an error to the status report page if you have the other values wrong.

StacyGee’s picture

Thanks! It's working, now. :)

psi-borg’s picture

using beta8.

// Labels must be unique.

...when trying to save changes to an existing dffb app, i get the form error message 'The label %label is in use by another application.'

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.