Hi,

You have a lot of errors in your release version.

Firstly there is a comma missing in this array:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home3/rainin5/public_html/dev/biervana/sites/all/modules/fb_event/fb_event.d4fb.inc on line 128

After that a Constant is not defined, and here is a bunch of errors being called.
I'm going to try out the dev version instead, but not to sound rude... but do you test the release after releasing it?
Because it could no way work without throwing the error.

Comments

Bensbury’s picture

I found out the constant is referring to having the Facebook Connect App ID set up.
So if I fix the T_Constant error I can get it to mostly work.

I am getting this error though:

Notice: Undefined index: render element in theme() (line 824 of /drupal/includes/theme.inc).

----> update
I figured it out.

In fbevent.d4fb.inc on line 128 you have to replace

-        $fb_button = theme('fb_login_button', t('Connect with Facebook'));
+        $fb_button = theme('fb_login_button', array('text' => t('Connect with Facebook')));

I think this module needs a warning for people because setting up FB Apps, and Drupal for Facebook just to get this functionality and then it failing is going to wind people up.
If I come across any more bugs I'll let you know, and also try and fix them.

cheers.

filipnest’s picture

RE: Notice: Undefined index: render element in theme() (line 824 of /drupal/includes/theme.inc).

I'm getting this error but can't find the $fb_button = theme('fb_login_button', t('Connect with Facebook')); line in fbevent.d4fb.inc .

I only have:

'fb_login_button' => theme('fb_login_button', 'Login with Facebook'),));

Am I missing something obvious? I tried the dev version just in case but that seems to be a re-write of the module that brings up even more errors.

Has anyone had any luck running this module?

hadi farnoud’s picture

just add , at the end of line 127

vinoth.3v’s picture

It is very old issue.
in new dev version there is no "fb_event.d4fb.inc" file.

tvilms’s picture

Here's a note to any people exploring this module and issues -- after I worked through the issues & bugs posted for this module I can say it's best to work off the 7.x-1.x-dev version of Facebook Events coupled with the 7.x-3.x-dev version of Drupal for Facebook (project/fb). I got those working for seamless RSVPs to events, while I couldn't quite get up and running with either 7.x-1.0 of fb_event or with the fbconnect modules.

Cheers!

alexmc’s picture

Problem just hit me two years later!