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,004
  • Total Topics: 21,330
  • Online today: 136
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 97
  • Total: 97

Tiny Portal problem on Profiles

Started by KamelArg, January 07, 2009, 09:44:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KamelArg

Hi people. I need help. When any user of my site want to see any profile, a long problem appears at the top of my SMF site, just before the header. This is the text what is show there:
// Tinyportal function tpsummary($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile'); $context['page_title'] = $txt['tpsummary'];
TP_profile_summary($memID); } function tparticles($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile'); $context['page_title'] = $txt['articlesprofile'];
TP_profile_articles($memID); } function tpdownload($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile'); $context['page_title'] =
$txt['downloadprofile']; TP_profile_download($memID); } function tpshoutbox($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile');
$context['page_title'] = $txt['shoutboxprofile']; TP_profile_shoutbox($memID); } function tpgallery($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile');
$context['page_title'] = $txt['galleryprofile']; TP_profile_gallery($memID); } function tplinks($memID) { global $txt, $user_profile, $db_prefix, $context, $db_prefix; loadtemplate('TPprofile');
$context['page_title'] = $txt['linksprofile']; TP_profile_links($memID); }               


SMF 1.1.7
TP 0.9.8
Site URL: http://juegosplay2.com.ar/

Thanks for the help and sorry if this post is on the wrong place (move it if it's wrong posted)

G6Cad

Check your modifications.english.php file and see what language strings at the end are outside the closing php tag.  Eather remove the closing tag or move the code inside the tag.

KamelArg

Quote from: G6 on January 07, 2009, 09:52:05 AM
Check your modifications.english.php file and see what language strings at the end are outside the closing php tag.  Eather remove the closing tag or move the code inside the tag.
It's all inside the PHP tags.

G6Cad


IchBin

What other mods do you have installed? This is most likely caused from another mod that installed improperly. Start by looking at the Profile.php file in the Sources directory, and then looking at the language files in the default/languages folder. Make sure there is no code before the <?php and after the ending ?> tags.

KamelArg

Problem solved. A "?>" tag  was missing on the Profiles.php on sources dir and the text showed on the top was duplicated after the closing tag.
Thanks for the help.

This website is proudly hosted on Crocweb Cloud Website Hosting.