Needs review
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2009 at 00:01 UTC
Updated:
4 Apr 2010 at 09:17 UTC
Fatal error: Call to undefined function _fb_settings_url_rewrite_prefixes() in ..../modules/fb/fb.module on line 840
Just installed the latest from cvs and found this issue. I added a module_load_include() where needed and it fixed the error.
| Comment | File | Size | Author |
|---|---|---|---|
| include_settings_inc.patch | 688 bytes | BlakeLucchesi |
Comments
Comment #1
BlakeLucchesi commentedHmm, I guess I was quick to jump the gun here (RTFM):
- Edit your settings.php file (sites/default/settings.php, depending
on your install) to include fb_settings.inc (in this directory).
For example, add this at the very end of your settings.php:
require_once "sites/all/modules/fb/fb_settings.inc";
(Or whatever path is appropriate, could be
"profiles/custom/modules/fb/fb_settings.inc")
See the end of this file for other configuration you may add to
settings.php.
Marked as "by design"
Comment #2
BlakeLucchesi commentedComment #3
jasom commentedI almost created new issue, uf:)
I thing better idea is put more infomation about error which you get at the top of readme.txt:)
I get this:
Fatal error: Call to undefined function _fb_settings_url_rewrite_prefixes() in blabla\sites\all\modules\fbxx\fb.module on line 878
Comment #4
dkmarshall commentedI have the same error. Sorry if this is a dumb question but how or where do I apply the patch? Is it as easy as pasting the code at the end of the fb.module file?
Comment #5
bughouse commentedI have the same error and have tried changing the settings file. Do I also need to apply the patch? I changed the settings file to point to the api files I downloaded from facebook. Any help would be great I am unsure of what is creating this setup error. Thanks!
Comment #6
babbage commentedHow is this closed? This is a huge bug. Install this module via Drush and it cases a fatal error on your site. This module should not bring down an entire site just because a user activates the module before reading the installation guide.
Comment #7
babbage commentedMarked #736716: Fatal error: Call to undefined function as a duplicate of this issue.
Comment #8
Dave Cohen commentedI'll include this patch in beta10...
Comment #9
netrom commentedDid you include it in beta 10?
Because I stille get the error message (after installing the beta 10).