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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Install Problem - Old database?

Started by dcr, November 13, 2006, 09:49:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dcr

Hi all,

I recently upgraded from SMF 1.08 to 1.1 RC3, and installed TP 0.9.6 though the Package Manager while set to the default template. I only get two blocks on the left side, when all blocks are turned on (L,C,R) and the "Forum" button does nothing when I click it.

I installed TP on a test directory awhile back, and when I install the new TP 0.9.6, I still see the old RSS feeds and things that I had set up on the test directory. The test directory has been removed, so is it possible that it is grabbing the SQL database that was created for the test directory or something?

I just want to flush out all old TP stuff and get this new release working on my RC3 update, so any ideas on how to clear this all out?

G6Cad

Replace the old file wit this one
In your source dir

dcr

Quote from: G6 on November 13, 2006, 10:08:38 PM
Replace the old file wit this one
In your source dir

Thanks, CG.

I tried that, but I have the same issue with the new file uploaded. I am going to delete that second database for fun and see what happens, though that may not be it.

dcr

..and the second database is gone, but that old TP info is still popping up in my settings. I am not sure what to do next...maybe now that I have the entire directory cleaned up I should reinstall the  1.1 RC3 upgrade and try again.

JPDeni

It sounds like your Settings.php file is pointing to the wrong place.

dcr

Quote from: JPDeni on November 14, 2006, 01:48:14 AM
It sounds like your Settings.php file is pointing to the wrong place.

Hmm...

Doesn't that get overwritten in the upgrade normally?

How can I fix that if not?

JPDeni

It should be overwritten, but you never know. Take a look at it. Download it and open it in a text file to see if it's pointing to the place it should be pointing. If you have deleted the TP tables and you're still getting data from TP tables, then it's getting the tables from somewhere else. :)

dcr

I only deleted folders and such, and a second old database. Do I have to enter my original SQL database and remove TP tables maybe?

JPDeni

I don't know. Take a look at your Settings.php file and see what it says.

dcr

I think it is pointing at the correct spot...at least that is the right database.

Quote########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 0;      # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode';      # Title for the Maintenance Mode message.
$mmessage = 'Ok faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';      # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = 'Importcartalk.com';      # The name of your forum.
$language = 'english';      # The default language file set for the forum.
$boardurl = 'http://importcartalk.com/forum';      # URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'import_cartalk@******';      # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = 'SMFCookie10';      # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'localhost';
$db_name = '******_smf1';
$db_user = '******_smf1';
$db_passwd = '********';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/******/public_html/forum';      # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/******/public_html/forum/Sources';      # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 1155703631;

# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';

?>

This website is proudly hosted on Crocweb Cloud Website Hosting.