MyBB Community Forums

Full Version:  and a white background only in Last Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I click any last post from whatever forum in the index page, I only see a white page with  written on it. I searched the board here and I only found this: http://community.mybboard.net/thread-421...#pid284702 but I already have that setting set to NO.

If usefull it happens in 1.4.8, with the European Portuguese translation by jerp and only when I click a forum's last post. And my forums URL: http://www.paparanho.com/index.php

Regards,
faviouz
 is a misinterpretation of a UTF-8 Byte Order Mark (BOM). If you see that anywhere it means that you have a php file somewhere that was edited with an editor that added this byte order mark most likely to the beginning of the file.

to fix: locate file, remove bom from the file

I wrote a small plugin (dirwalk.php) that prints out for every php file wether it properly begins with <?php and ends with ?>. It will list files that don't - one of those will be the culprit.

http://community.mybboard.net/thread-473...#pid347635
A file with a misrepresented BOM was most likely edited in an editor like notepad that has no syntax highlighting, get Notepad++ to avoid these.
I already use Notepad++, and plus I didn't make the translation. Jerp did.
I checked last.lang.php and went to Format and Convert to UTF-8 (without BOM).
Reuploaded, and still nothing.

Thanks.
when using notepad++ make sure to set it to utf-8 without byte order mark

the error could be in any file - use dirwalk.php plugin to locate possible culprits
Thank you so much frostschutz. It was a problem in the inc/languages/portugues_europeu.php That file started with "", then I deleted that and it's working. Thank you for your awesome tool, it's actually pretty cool.