News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

weird text on top on edit language page...

Started by dextrous, October 07, 2008, 05:42:35 PM

Previous topic - Next topic

dextrous

Hello,
i have this text:
"// Mod 'TopicStarter' by Digger $txt['TopicStarter_txt'] = 'Àâòîð òåìû'; // Mod 'TopicStarter' by Digger // Mod 'TopicStarter' by Digger $txt['TopicStarter_txt'] = 'Àâòîð òåìû'; // Mod 'TopicStarter' by Digger"

appearing on top of my edit language file...i had this mod on 1.1.5...but have never had it since...not sure why it is displaying this...ugh!

Deprecated


dextrous

i installed it on a previous version of SMF....what can i do to fix it now? thanks!

babjusi

Quote from: dextrous on October 08, 2008, 12:04:24 PM
i installed it on a previous version of SMF....what can i do to fix it now? thanks!

Open the Modifications.english.php file in the languages directory and make sure that the closing php tag, ?> is at the end of the file. If it is not,then move it there. Save the changes and re-upload the file back overwriting the old one. Hope it helps :)

dextrous

Quote from: babjusi on October 08, 2008, 12:08:03 PM
Quote from: dextrous on October 08, 2008, 12:04:24 PM
i installed it on a previous version of SMF....what can i do to fix it now? thanks!

Open the Modifications.english.php file in the languages directory and make sure that the closing php tag, ?> is at the end of the file. If it is not,then move it there. Save the changes and re-upload the file back overwriting the old one. Hope it helps :)


yes this file is fine...it seems like the navigation file...if there was a problem here it would affect all the pages i think!

Rumbaar

Make sure you edit and look in your appropriate Modifications.{language}.php file.  Also check there isn't one in your custom theme folder as well.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Deprecated

It's not at the top of the "edit language file." He means it's at the top of the "edit language" screen, i.e. the screen at Admin -> Configuration -> Server Settings -> Languages.

That's in Admin.template.php. That's the file the OP needs to look into to find the problem.

Dextrous, please attach your Admin.template.php file to your reply post.

greyknight17

Is this issue resolved? Try checking the /Themes/default/languages/index.english.php file. That file may not be closed properly. If you are not sure, attach that file here.

Advertisement: