TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,027
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 369
  • Total: 369

Missing Text Strings ~ Was "Own TinyPortal theme"

Started by XmaX182, January 10, 2010, 01:12:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

XmaX182

I talked to the admins from the Page and its self coded with php ;)

But we installed the SMF board and TP and its look verby bugged with the Theme...

Please take a look:

http://racejunkies.bplaced.net/smf_1-1-11/index.php

The ACP of the TP looks very bugged, too

What can i do...? Please help

Max
I dont think that looks like its all ok... What can i do?


ZarPrime

#1
Max,

The problems you are seeing, with regard to the missing lines in the Admin page, and the missing text strings in the Stats block on your Front Page have to do with you not having the correct language files for your Forum installed.

Under Admin --> Configuration --> Server Settings, what is the "Default Forum Language" set for your Forum?  Whatever it is, you should try briefly setting that to "English" and see if everything shows up properly.  If it does, then this is a good indication that you will need to add in the correct language files for the Forum language that you are using.  More information can be seen in this topic ...
Blank Admin Panel or Text missing?

Once we know what default language you want to use on your Forum, and that everything is working OK with English, then we can tell you what you need to do next.

BTW, I am going to split this out to a new topic, as it has nothing to do with your original topic.

ZarPrime

XmaX182

Hey ZarPrime,

Sure you can split ;)

I've set the language now to English and its ok. But we are an German Community so we want to have a German Board. I also installed some other mods and there are not shown in German language... That sounds that i need to rewrite all the Mod textfiles to German?

Max

ZarPrime

#3
Max,

TP 1.0 beta 4 German ISO language packs are here --> http://www.tinyportal.net/index.php?action=tpmod;dl=item1112

If you are using German UTF8 instead, then you'll need to use these --> http://www.tinyportal.net/index.php?action=tpmod;dl=item1113

These language files will need to be extracted and uploaded to /public_html/YourSite/Themes/default/languages via FTP.  You should also check to be sure that you have the standard SMF language packs installed properly.  More information on this can be found at the SimpleMachines site.  In some cases, a custom theme may need to have these files uploaded to the /languages folder of the custom theme but if they are missing, SMF and TP should look in the /Themes/default/languages folder for what it needs.

As for your other Mods, some of your Mods, when they are installed, make edits to the language files.  You will need to check the edits for each Mod individually and make sure that these same edits that were made to your English files during installation of the Mod are made to your German language files manually.  A little work, but worth it in the end.

ZarPrime

XmaX182

Ok thanks it works well :)

Sorry for so many questions but another last one... Dont want to open a new topic for this

I got this error when i want to set a new block with this theme, with default its ok...

What i need to change?


Fatal error: Cannot redeclare template_main() (previously declared in /users/racejunkies/www/smf_1-1-11/Sources/Load.php(1742) : eval()'d code:9) in /users/racejunkies/www/smf_1-1-11/Sources/Load.php(1742) : eval()'d code on line 733


Max




ZarPrime

Max,

This error means that you have some duplicate code, likely in the /Sources/Load.php file.  It's usually caused by installing a Mod twice without uninstalling the first install.  Sometimes Mods don't get uninstalled correctly.

What you need to do is look in that file for the duplicate code and remove it.  Download the file and do a search for that string "template_main()" and find and remove the duplicate code.  Make a backup of the file first.

ZarPrime

XmaX182

Hmm...

I've downloaded the Load.php but there is no String called "template_main()"

IchBin



IchBin

Did you install TP through the package manager or manually? I see that you are missing some of the linktree edits in your Load.php file. I wonder if you are missing some other critical parts of the edits that TP needs. I'd suggest you go through the mod instructions for the files and make sure all the code is there, and that there is no missing or duplicated code.
Modification Instructions

This website is proudly hosted on Crocweb Cloud Website Hosting.