hi

I installed the module and followed the procedure through the readme.txt, but I get these messages that take up the whole page of the site.
How can I remove them?

thanks

# warning: Invalid argument supplied for foreach() in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
# warning: Invalid argument supplied for foreach() in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
# warning: Invalid argument supplied for foreach() in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
# warning: Invalid argument supplied for foreach() in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.

CommentFileSizeAuthor
#6 settings.php_.txt9.42 KBsanluca
#3 settings.php_.txt9.43 KBsanluca

Comments

Dave Cohen’s picture

Title: warning » warningin in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
Category: bug » feature

include modules/fb/fb_settings.inc in your settings.php, as described in the README.txt.

Dave Cohen’s picture

Title: warningin in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878. » warning in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
Category: feature » support

oops

sanluca’s picture

Title: warning in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878. » warning
Category: support » bug
StatusFileSize
new9.43 KB

I attach the file because I keep getting the error and the site link is this

slupz.netsons.org

thanks

sanluca’s picture

I solved this by changing the line 878

foreach (array_reverse(_fb_settings_url_rewrite_prefixes()) as $prefix) {

so

fb.module

Dave Cohen’s picture

Title: warning » warning in /home/slupzne1/public_html/sites/all/modules/fb/fb.module on line 878.
Category: bug » support

Please don't submit an issue with the title "warning" that's really not helpful.

If I had to wager, I'd bet your editing the wrong settings.php file.

sanluca’s picture

Category: support » bug
StatusFileSize
new9.42 KB

I attach the file again if you're able to maybe help me understand better.

thanks

Dave Cohen’s picture

Try adding this to your settings.php and see what happens.

This is not real PHP code and should cause an error to appear, but only if I'm editing the right settings.php.
Dave Cohen’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Is there still a problem here?

13rac1’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No response in two years.