3.0b3 was installed on a Drupal 6.19 system which had never previously had Drupal fb on that system.

The module was installed step by step according to instructions. Worked fine and was able to build a Facebook app.

However noticed poormans cron was not running. Problem started immediately after installation of Drupal fb. Drupal log reported "Cron run exceeded the time limit and was aborted"

Searched forum for this error message and tried various suggestions such as disabling modules then running update.php - no success.

Eventually disabled Drupal fb, uninstalled and removed modules from modules directory then ran update.php. The problem persisted.

I then ran cron.php directly from the command line over SSH. The following message was displayed:

urltrim@urltrim.com [~/public_html]# php cron.php

 
window.fbAsyncInit = function() { FB.init({ appId : ' Fatal error: Call to a member function getAppId() on a non-object in /home/urltr im/public_html/includes/common.inc(1695) : eval()'d code on line 9 urltrim@urltrim.com [~/public_html]# Looks like traces of Drupal fb remain even after uninstalling and physically deleting the module. Any suggestion where I can find and remove the remaining code. Thank Ian

Comments

Dave Cohen’s picture

Category: bug » support

eval()'d code on line 9

You have something like a node or block with PHP input filter trying to initialize facebook's javascript.

ccgnome’s picture

You nailed it in one. Had another Drupal test app that I had developed outside of the Facebook module and had forgotten about. Deleting that solved the cron problem.

Thanks

Ian

Dave Cohen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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