SMF Support > SMF 2.0.x Support

Strange Characters When Viewing Topics

(1/3) > >>

designer2012:
Hi

From the homepage when I click on any topic and then click on that topic, I get a white screen with some strange characters displayed before the page loads, I have uploaded a screenshot showing exactly what happens:

http://tinyurl.com/8sgfkqw

Anyone have any ideas why and how to fix it?

Thanks



Shambles:
As in this?


--- Code: ---<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
--- End code ---

Have a look inside your theme's index.template.php file, near the function template_html_above, for anything unusual


Shambles:
It would appear to be well documented in this wiki entry.

Credit to Illori for finding this and responding so quickly.

designer2012:
Hi

I have looked inside index.template.php and there is nothing like that there, this is what I have:

// Show right to left and the character set for ease of translating.
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I also looked in the default index.template.php file and it's exactly the same as the above.

K@:
Well, I'm stumped.

I'm lurking around, on your forum, viewing topics in all sorts of places, as I type, and I'm just not seeing that, anywhere.

Navigation

[0] Message Index

[#] Next page

Go to full version