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: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 95
  • Total: 95

When TP v1.0 beta 3 installed i see Blank Profile pages

Started by MAJ.Ripinasz, February 19, 2009, 06:03:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MAJ.Ripinasz

Running SMF 1.1.8 and all is well. when I install TinyPortal v1.0 beta 3 it tests successful and looks good. I install it and it works fine; however I click on my "Profile" button and it gives me a blank page. I have verified the instalation manually and all looks well, I even reloaded the default template to try and remedy the sitsuation. If I uninstall TinyPortal v1.0 beta 3 my profile button works fine.

I also did a search on the site to find this issue, and i did but no solution was made other than check the manual install instructions.....


SMF Version: 1.1.8
TinyPortal v1.0 beta 3
Site: www.acrclan.org

Renegd98

Do you by chance have any mods installed that change/enhance your profiles?

MAJ.Ripinasz

1.     Anti-Spam Verification Questions 1.02
2.    Lots_o_Smileys    1.0    
3.    Treasury    2.34
4.    TinyPortal    1.075

here are the current mods I have installed. I suppose Treasury could be an issue? 

Renegd98

Try uninstalling it. You shouldn't lose whats in the database, but back up before hand. Then see if the problem is fixed. That will eliminate or confirm that as a problem.

MAJ.Ripinasz

Unistalled all the mods and just reinstalled TP and same problem :(

Renegd98


MAJ.Ripinasz

Goes to this link http://www.acrclan.org/forum/index.php?action=profile and gives me a pretty white page with no errors! I guess worse case I can reload SMF and start over since i highly doubt this is a dbase problem.

Renegd98

Check your /sources/profile.php and ensure that ll the TP changes were made to that file.  To see what changes are required to that file for TP use the following file from the TP beta 3 package:  tinyportal1075.mod

Look for where it edits the profile.php file and ensure it made all the additions and replacements called for.  if you aren't sure then upload your profile.php file here and I will look ai it.


MAJ.Ripinasz

I verified the profile.php per G6's post and it still had the
$_REQUEST['sa']($memID);

and I replaced it with

if(isset($_GET['tpmodule']))
{
global $boarddir, $db_prefix;

// prefix of the TP tables
$tp_prefix = $db_prefix.'tp_';

$request = db_query("SELECT modulename,autoload_run FROM {$tp_prefix}modules WHERE active=1 and profile = '" . $_GET['sa'] . "'", __FILE__, __LINE__);
if(mysql_num_rows($request)>0)
{
$what=mysql_fetch_assoc($request);
mysql_free_result($request);
// load the appropiate source file
if(file_exists($boarddir .'/tp-files/tp-modules/' . $what['modulename']. '/Sources/'. $what['autoload_run']))
{
require_once($boarddir .'/tp-files/tp-modules/' . $what['modulename']. '/Sources/'. $what['autoload_run']);
}
}
$_GET['sa']($memID);
}
else
$_REQUEST['sa']($memID);


Here is a copy of the file renamed to .txt. Profile.php

This website is proudly hosted on Crocweb Cloud Website Hosting.