Hi there,

Many thanks for spending the time to create this module. I'm very excited to speed up my app development. However when I go to the Create content -> Facebook Application page I see the following error at the top of the page.

# warning: Illegal offset type in isset or empty in /home/domains/somewhere.com/web/public/d/includes/bootstrap.inc on line 744.
# warning: Illegal offset type in /home/domains/somewhere.com/web/public/d/includes/bootstrap.inc on line 745.
# warning: Illegal offset type in /home/domains/somewhere.com/web/public/d/includes/bootstrap.inc on line 748.

When I fill out the form and submit I see the above error message repeated along with the error below.

user warning: Column count doesn't match value count at row 1 query: INSERT INTO fb_app (nid, label, apikey, secret, id, canvas, require_login, create_account, unique_account, rid, data) VALUES (3, 'some_app', 'XXXXXXXXX', 'YYYYYYYY', 'ZZZZZZZZ', 0, 0, 0, 0, '3') in /home/domains/somewhere.com/web/public/d/includes/database.mysql.inc on line 172.

I believe I followed the installation steps correctly but I guess not. Any help is greatly appreciated.

Many thanks for your time,

Darren

CommentFileSizeAuthor
#3 fb_oops.diff3.03 KBDave Cohen
#1 fb_oops.diff1.13 KBDave Cohen

Comments

Dave Cohen’s picture

Assigned: Unassigned » Dave Cohen
Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.13 KB

I made a change and clearly did not create any new apps before checking it in. This patch should solve it. (I'll check it in after either you or I get a chance to test it).

darrenphillips’s picture

First of, many thank for replying quickly.

That patch fixed the SQL warning and allowed me to create a facebook app. However I still get the Illegal offset errors.

Dave Cohen’s picture

StatusFileSize
new3.03 KB

Argh! My fault again. Try this.

darrenphillips’s picture

Yup, that did the trick.

Many thanks Dave.

Dave Cohen’s picture

Status: Needs review » Fixed

checked it in.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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