Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
6.x-2.0
Component:
Code - Functionality
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 15:54 UTC
Updated:
30 Aug 2010 at 06:18 UTC
Comments
Comment #1
igorik commentedsame problem whole last month, after clicking on status tab on user profile I got this:
The code I got is not the same as yours, and there is missing
<?phpon the start of a code, but I am not sure if it is reason of the problemIgor
http://www.somvprahe.sk
Comment #2
icecreamyou commentedThis will be fixed in the next dev, but you will need to refresh your Views cache in order to see the change.
For now, you need to go to the View that generates that page and make sure that the input format for the "Empty" text is set to "PHP code." If you don't have the PHP input filter module enabled, you should either enable it or write your own empty message in a different input format.
Comment #3
batux1617 commentedHi, I tried that and entered my own empty text, however its still not pulling any data (it only shows my empty text even though I have several user mentions).... any guidance will be appreciated.
Regards,
Comment #4
icecreamyou commentedMy answer is going to be almost the same as in your question here. I assure you that the view works; if you're having problems with it, it's because something with your installation is wrong, or you've modified the view incorrectly, or you're using @userreferences incorrectly (capitalization matters, for example). Delete your facebook_status folder, download the latest dev, revert your views, and run update.php.
Comment #6
Skirr commentedNew users still have this issue. When clicking on statuses on a user profile with no status, it shows the php code.
Tried full reinstall of FBSS, but didn't help. Also refreshed all the cache on site including views. Tried to find a view, that is generating standard profile page, but it looks like there is no such view. I didn't touch any FBSS view, so there is nothing to revert.
Comment #7
icecreamyou commentedhttp://drupal.org/node/551698#php
Comment #8
gekido commentedi was having the same problem - the reason was because i have the default input method set to 'messaging - plain text' - nothing wrong with the install, but the 'empty text' default text for the status views assumed that you have 'plain text' set as your default input method, which caused the error to be reported.
simply following the above instructions (go to your admin/build/views page, select each 'status' view and set empty text input method to use 'php' mode instead of whatever they are set to) works fine and resolves the issue.