TinyPortal

Development => Support => Installation => Topic started by: Resident Geek on April 27, 2007, 10:41:55 PM

Title: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 27, 2007, 10:41:55 PM
Ok. So I had, the TP version before this most recent one, and I discovered that I was running SMF 1.1.1 when I thought that I was running 1.1.2. So I decide to update SMF.
The package manager won't accept the stupid file in either zip or tar format, and I realize that I'll have to update it by hand.
I backed everything up, and ran the update.php file and updated SMF.

Everything was fine except that I was a complete idiot and forgot to disable all mods and change the theme to default before running the updater.  :idiot2:

When it ran the updater, it turned off all of the mods for me. It did not however revert the theme to the default.

Now I have a forum, without TP installed, with the theme to TPStyle.
"No problem." I thought, "I'll just install the latest version of TP."

This is where I have the problem.
In order for me to install TP, I have to have it in default theme.
When I go to change it to default though, I get the following error...

QuoteFatal error: Call to undefined function: tportal_sidebar() in c:\websites\mysite304\mysite.com\forum\Sources\Load.php(1726) : eval()'d code on line 408

Obviously there is a problem here. I am in a never ending loop of me needing to be in default theme to install TP and TP needing to be installed to change to default theme.

What do I do now? (Besides bash my retarded head into the wall? I'm already doing that part.)

I have already tried installing TP while in the TPStyle theme, but I'm getting errors when I go to apply the mod.

:uglystupid2: What did I tell you. Retard.  :uglystupid2:
Title: Re: I feel like an idiot. TP and SMF Update
Post by: IchBin on April 27, 2007, 11:04:40 PM
Manual installation for you my friend.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 27, 2007, 11:06:25 PM
*Groans really loudly...*
My worst fear has been affirmed.
Thanx Ich. I was hoping that there was something I was over looking and could avoid that.
Alas, tis not the answer I hoped to hear.

Drat. I guess I'll get to work on that. Thanx again Ich.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: IchBin on April 27, 2007, 11:09:00 PM
Unless of course, you just want to upload a fresh set of SMF files, then you should be able to install TP. But you'll also lose any other mods installed.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 27, 2007, 11:10:52 PM
Yah... I've got too much to lose and too little to gain to go with that procedure.
It looks like it's a (bleepin') Manual Install for me...

*Continues with head banging*
Title: Re: I feel like an idiot. TP and SMF Update
Post by: G6Cad on April 27, 2007, 11:20:51 PM
It's not all that hard, some time on your hands and a steady eye is all you need.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 27, 2007, 11:26:48 PM
LOL. I personally prefer the "Push a button and everything happens for you" approach.
But then why am I coding?
???

Now there is something to ponder on.

*Gets working on his ever so unexpected turn of events*
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 30, 2007, 02:39:21 PM
I can't manually install right now. It says that I have to set the forum to all of it's defaults and this means that I have to have it in the Default theme. I'm unable to do this though. Any suggestions?
Title: Re: I feel like an idiot. TP and SMF Update
Post by: superQ on April 30, 2007, 03:10:21 PM
Don't know if it will help but did you see the post where smf backs up everything before you add any mods...

Go into cpanel or ftp>root of smf>packages>backups--

See what's there....I never used it, but I will need to sometime :-\

I don't think it would be a bad thing if tp/smf found a way to detect you were not in default theme BEFORE it let you mod..
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 30, 2007, 03:15:00 PM
Yah. That is only for the database though. My problem is incurred because I replaced files and ran the updater. I don't think that the database has anything to do with it.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Saiboogu on April 30, 2007, 04:16:41 PM
Have access to the database? Try this

UPDATE `smf_members` SET `ID_THEME` = '1' WHERE `smf_members`.`ID_MEMBER` =1

Replace the last "1" with your member ID.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: Resident Geek on April 30, 2007, 05:21:23 PM
No go. Thanx but I'm still getting that error.
That should have forced the change to default but I'm getting a parser error.
Title: Re: I feel like an idiot. TP and SMF Update
Post by: IchBin on May 01, 2007, 01:23:36 AM
If you're getting the error, locate the error in the file and comment it out and see if you can continue. If it says undefined or unknown function then find the name of it in the file and comment it out.