News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Weird text appears

Started by JGBlogging, June 01, 2010, 02:17:38 PM

Previous topic - Next topic

JGBlogging

when you are viewing the posts some weird text appears at the top


Top: viewing everywhere else e.g index
Bottom: Viewing the posts

Can anyone help me? 

It started when i did this READ
I did what the member said, it fixed my problem perfectly, but this happened

???

Thanks

Kays

Hi, sorry for the slow response.

Is that a custom theme? Does it do this with the default theme? Or another theme if that is the default theme.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

JGBlogging

No problem, at least your helping me :)

I am using a theme called light modern 203 and like i said it only started to happen recently

Yağız...

Can you attach your Display.template.php please?

JGBlogging

With the theme i am using i do not have a display.template.php so i am guessing it is using the forum defaults, so here is the forum defaults file

JGBlogging


Yağız...

#6
I looked at the file, but there is no error. Can you attach ./Sources/Display.php please?

JGBlogging

it did not have display.template.php so i attached display.php

Yağız...

Sorry, my mistake :P

No error too ... Can you try to undo the code that I gave in the other topic?

JGBlogging


JGBlogging

I tried it and it still happens so it isnt because of that then...

JGBlogging

hi i just saved the display.template.php file as a ANSI and uploaded it and it fixed it, but it did say "by saving it as ANSI it will remove some unicode"

Do you think that matters?
Here is the new ANSI file

JGBlogging

I have looked through the code, and it appears to be exactly the same

greyknight17

Sounds like you resolved the issue. Will mark this as solved.

From the looks of it, it seems like you have some BOM unicode characters in that file causing those characters to show up. You need to use third party editors to view these characters properly.

Advertisement: