I get the following text in a popup when I try to post a status update. The updates don't appear. What does this mean and how do I fix it?

An error occurred.
/facebook_status/js

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<title>TheCitizen | WindyCitizen.com</title>

<meta name="description" content=""/>

<meta name="keywords" content=""/>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/content_profile/content_profile.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/ctools/css/ctools.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/extra_voting_forms/widgets/default/extra_voting_forms_all.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/filefield/filefield.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/logintoboggan/logintoboggan.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/og/theme/og.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/modules/fieldgroup/fieldgroup.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/panels/css/panels.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/facebook_status/facebook_status.css?h" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/skinny/style.css?h" />

<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.js?h"></script>
<script type="text/javascript" src="/misc/drupal.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/drigg/drigg/drigg.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/dynamic_sidebar/dynamic_sidebar.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/extra_voting_forms/extra_voting_forms.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/user_relationships/user_relationships_ui/user_relationships_ui.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/panels/js/panels.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/facebook_status/facebook_status.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/views/js/base.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/views/js/ajax_view.js?h"></script>
<script type="text/javascript" src="/misc/autocomplete.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/ahah.js?h"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.form.js?h"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","drigg":{"base_path":"\/"},"extra_voting_forms":{"only_one_vote":0,"login_page":"user\/register","base_path":"\/"},"googleanalytics":{"trackOutgoing":1,"trackMailto":1,"trackDownload":"1","trackDownloadExtensions":"7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip"},"user_relationships_ui":{"loadingimage":"\/sites\/all\/modules\/user_relationships\/user_relationships_ui\/images\/loadingAnimation.gif","savingimage":"\/sites\/all\/modules\/user_relationships\/user_relationships_ui\/images\/savingimage.gif","position":{"position":"absolute","left":"0","top":"0"}},"facebook_status":{"autofocus":false,"maxlength":"450","ttype":"textarea"},"views":{"ajax_path":"\/views\/ajax","ajaxViews":[{"view_name":"facebook_status","view_display_id":"default","view_args":"1","view_path":"user\/1","view_base_path":"user\/%\/status","view_dom_id":1,"pager_element":0}]},"ahah":{"edit-fbss-submit":{"url":"\/facebook_status\/js","event":"mousedown","keypress":true,"wrapper":"facebook_status_replace","selector":"#edit-fbss-submit","effect":"fade","method":"replace","progress":{"type":"throbber"},"button":{"op":"Share"}}}});
//--><!]]>
</script>
<script type="text/javascript" src="http://dev2.windycitizen.com/js/navigation.js"></script>

<!--[if lt IE 7]>
<style type="text/css" media="all">@import "/sites/all/themes/skinny/fix-ie.css";</style>
<![endif]-->

<link rel="alternate" type="application/rss+xml"
title="Chicago News Feed"
href="http://feeds.feedburner.com/WindyCitizenFullFeed" />

</head>
<body>

<script language="JavaScript" type="text/javascript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
if (window != top) top.location.href = location.href;
// End -->
</script>

<div class="styler">

<div id="header_content">

<div style="height:77px;line-height:77px;margin:20px 0px 0 0;">

<div class="memfo">

<a href="/user/the-citizen" class="active">Profile</a>
<a href="/dashboard">Dashboard</a>
<a href="/" >What's Hot</a>

<a href="/people" >Find People</a>

<a href="/settings" >Settings</a>

<a style="" href="/logout?destination=user">Logout</a>

</div>

<div style="padding:0;margin:0px 0px 0 0px;">

<div style="float:right;margin-right:114px;margin-top:30px;margin-left:30px;">
</div>

<div style="width:275px;height:77px;paddin

Comments

icecreamyou’s picture

Something that executes during the JavaScript callback is causing the callback to stop executing and redirect. It could be practically anything that loads during a bootstrap, meaning it could easily have nothing to do with FBSS. I would try reinstalling FBSS first (completely delete the module from your modules folder, download a fresh copy, enable, run update.php). Also check your error logs. Then try turning off AHAH updating in the advanced settings. To properly debug this further I would go through facebook_status_box_submit() and facebook_status_save_js() and add in dsm()s (a Devel module function) to see if any data looked weird. Unfortunately that's not something I can do for you, so unless you can dig into the code a bit yourself you may be stuck.

icecreamyou’s picture

Status: Active » Closed (won't fix)

*sigh*

bflora’s picture

Hey, Ice Cream.

I've got a developer on my team working on this tomorrow and Monday. When we get to the bottom of it, we'll post our findings here. I agree this sounds like some sort of environmental issue vs. a FB Status issue. Still, it'd be good to know what's causing the breakdown.

icecreamyou’s picture

Alright, I'll be interested to see what was happening and of course if the problem does turn out to be related to FBSS I will look into it.

bflora’s picture

So far we've seen the popup does not in fact occur when the textarea is used for FBSS instead of the text field.

vlooivlerke’s picture

Views Slideshow, caused this error for me.

icecreamyou’s picture

Even if Views Slideshow is the culprit, it is probably fixed in the latest dev because I changed the way views are updated when a status is submitted.

reynaldio’s picture

Anyone come up with a solution?

Regards,
Reynaldi

shunshifu’s picture

I'm seeing this happen also. But only on one computer I know of. So it is environmental

mrwhizkid’s picture

I'm guessing you have Javascript Aggregation enabled in /admin/settings/performance?

Turn this off and see if your problem goes away.

I have the same problem...but I really need to use Javascript Aggregation so I'm not sure what to do!

icecreamyou’s picture

This is not caused by FBSS. It's caused by a JavaScript error from another module on the page. Use a tool like the Console tab of the Firebug add-on in Firefox to see what your errors are and help debug how to fix them.

Any page that loads with JavaScript errors normally will probably cause this popup to occur when a status update is submitted on that page.

mrwhizkid’s picture

I was mistaken. This has nothing to do with the Javascript optimizer. After spending about 10 hours today trying to figure this out, I finally solved the problem.

It seems that Cacherouter (which I had just installed a few days ago) doesn't play well with FBSS possibly because of AHAH? Removing the Cacherouter code from settings.php (and you might as well disable the module too) seemed to take care of this problem.

liviobait’s picture

i have similar error
with facebook_status and appbar acrtivated
only if disable ahah work
this is the link of my post:
http://drupal.org/node/929840

mazdakaps’s picture

Same here

icecreamyou’s picture

PLEASE STOP UPDATING THIS ISSUE. It's closed.

You are having this problem because another module you're using has a bug in it. It is your responsibility to figure out which module is causing the problem.

asonderer’s picture

Hi, I spent quite long hours trying to fix a very similar bug.

The problem was likely to be CRON clearing my the form cache every 5 minutes (CRON every 5min, cache validity of 1min in admin/settings/performance ).
Put 30min as cache validity, and my AHAH seems to work well now.

Now waiting for my community feedback to see if some people get the huge popup error some time still ..
Cheers ..