Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-2.0-beta7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Mar 2010 at 12:03 UTC
Updated:
9 Apr 2010 at 19:20 UTC
I upgraded Drupal for Facebook to 6.x.2-beta7 yesterday. Now, for users logged into my site Drupal for Facebook is the title of almost every page. I cannot figure out where this is coming from. But it goes away if I uninstall the fb module.
Comments
Comment #1
Dave Cohen commentedDid you run the update.php script?
Comment #2
Dave Cohen commentedhaha! I just saw this too! Very stange. I'm sure its a bug in Drupal's menu module, but I'll try to work around it. Thanks for reporting it.
Will post back when I have a fix.
Comment #3
Dave Cohen commentedThis was a misunderstanding on my part about when menu title callbacks are called and how they work.
For now, simplest change is to comment out any line in fb.module, fb_menu function that starts with
'title callback'or'title arguments'.I'll work on a fix.
Comment #4
Dave Cohen commentedWorking remotely, so difficult to attach a proper patch here, easier to paste it....
apply this patch and flush all caches to fix the problem.
Comment #5
Durrok commentedAfter applying your patch manually:
Fatal error: Call to undefined function _fb_menu_title_helper() in public_html/includes/menu.inc on line 504
EDIT:
Fixed it. Leave in:
and then clear you cache. Titles go back to normal.
Comment #6
Dave Cohen commentedOh weird. It's like the fatal error even prevents the cache from clearing. I think running update.php will also work.
Comment #7
Dave Cohen commentedComment #8
rsbecker commentedI applied the patch. It got a little scary when I went to the site to run update.php and had to log in as admin to do it. But after update.php ran and I got the message below:
user warning: Table './spjdco5_drpl/drpl_cache_page' is marked as crashed and should be repaired query: DELETE FROM drpl_cache_page WHERE expire != 0 AND expire < 1269606335 in /home/spjdco5/public_html/drupal/includes/cache.inc on line 166.
I cleared the cache and all appears to be well again.
Thanks for the prompt response.
Comment #9
Durrok commentedThanks for the quick responses Dave. Great module. :)