TinyPortal

Development => Support => Installation => Topic started by: dcr on November 13, 2006, 09:49:17 PM

Title: Install Problem - Old database?
Post by: dcr on November 13, 2006, 09:49:17 PM
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?
Title: Re: Install Problem - Old database?
Post by: G6Cad on November 13, 2006, 10:08:38 PM
Replace the old file wit this one
In your source dir
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 12:23:01 AM
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.
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 01:06:29 AM
..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.
Title: Re: Install Problem - Old database?
Post by: JPDeni on November 14, 2006, 01:48:14 AM
It sounds like your Settings.php file is pointing to the wrong place.
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 02:24:44 AM
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?
Title: Re: Install Problem - Old database?
Post by: JPDeni on November 14, 2006, 02:27:55 AM
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. :)
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 02:42:40 AM
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?
Title: Re: Install Problem - Old database?
Post by: JPDeni on November 14, 2006, 02:46:34 AM
I don't know. Take a look at your Settings.php file and see what it says.
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 02:59:52 AM
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';

?>
Title: Re: Install Problem - Old database?
Post by: JPDeni on November 14, 2006, 03:37:44 AM
If it's pointing to the right database, then it's right. :)

Maybe I've misunderstood. Let's see if we can figure out what you've done. The following makes no logical sense to me:
Quote..and the second database is gone, but that old TP info is still popping up in my settings.
From that, it seems that you're saying that you have deleted a database, but you're still getting information that was stored in it. That isn't possible. So it must be that I'm misunderstanding what you wrote. Can you start your explanation again and tell us exactly what you did and what is happening?
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 03:40:21 AM
You misunderstood because I am a dummy  :P

I just went in and cleaned up my main database in phpmyadmin, and now I have it working. You gave me a tip back there without even knowing it :-*

Thanks for the patience!
Title: Re: Install Problem - Old database?
Post by: JPDeni on November 14, 2006, 03:42:16 AM
QuoteYou gave me a tip back there without even knowing it
;D Happens all the time. Glad to help. :)
Title: Re: Install Problem - Old database?
Post by: dcr on November 14, 2006, 04:06:35 AM
Quote from: G6 on November 13, 2006, 10:08:38 PM
Replace the old file wit this one
In your source dir

...and then I uploaded this file and now everything is right as rain.

You all are the best!