TinyPortal

Development => Support => Topic started by: sturmkatze on February 27, 2011, 09:17:34 PM

Title: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 09:17:34 PM
Okay, so I finally got around to reinstalling an older site I had (after 2 years) and I wanted to update the TP. I already updated SMF to most recent 1.1.13 version. It doesn't have an uninstall link in the package manager, to remove v.98... posts say to upload more recent version of v.9... I don't have anymore(been searching my comp) and I cannot find it. Is there somewhere I can get this so as to uninstall and then install most recent 1. version of TP?? :idiot2:
Title: Re: Upgrading old v.98 site...
Post by: ZarPrime on February 27, 2011, 09:38:17 PM
Welcome back sturmkatze,

First of all ...

Backup, Backup, and Backup, site and database both is best so that you can revert it if you make a mistake.

Then, go through the manual uninstall.  Not that difficult but it will take a little while.  Stop when the page I am about to give you says ...

Now we need to remove the Database tables for TP.
This step is ONLY if you want to completely remove your tinyportal install. This step WILL remove ALL content you have inside the TinyPortal.

Remember, don't remove the database tables if you are installing a newer version of TinyPortal.  Here is the link to that page --> http://www.doc.tinyportal.co.uk/index.php?topic=147

Once you have completed this, TP 0.98 should be totally uninstalled.  After that, you should be able to install the latest version with the package manager.  Let us know if you have any problems.

ZarPrime
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 09:56:19 PM
Is there no way just to do like I did before? I KNOW I had d/led an updated version of TP v.9 somewhere, and then ftp-ed it up tot he site. It then gave me an uninstall link... I do NOT have time right now to do a manual uninstall. Really... coding makes my eys glaze over and I am as sick as a dog this weekend :(

Hell, the features and options won't work either.  :tickedoff:
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 10:01:18 PM
I should also ask, what happened to all my old posts on tinyportal.net? I searched and they seem to be there, but how do I connect that sturmkatze to this one? :P Anyway, I haven't really been away, I have a number of SMF/TP sites, I just had kinda not restarted this one. Now I regret it. Much better when things are kept up to date.
Title: Re: Upgrading old v.98 site...
Post by: ZarPrime on February 27, 2011, 10:12:15 PM
Well, if you can find the old TP 0.98 package, that would probably work but there are a couple of things that really should be manually removed, like the FCKEditor and wysiwyg folder, for instance.  However you choose to do it, TP 0.98 will have to be uninstalled before the latest version will install.

As far as your old posts that were on TinyPortal but show you as a Guest now, one of us can associate your old posts to your new account.  Give us a link to one of your old posts and we'll see if we can do this.

ZarPrime
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 10:19:35 PM
AHA! I found it. Uninstalling now :-) BTW, I LIKE FCKeditor... helps my helpers actually make pages.

There is a bennie to NEVER deleting crap. Yes, I have tons of garbage on my HD, but... I can eventually find stuff again :-) I will send you a link by PM to one of my old posts. :-)
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 10:22:32 PM
FRAK! I spoke too soon, I got this error:

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./index.php    Test failed
2.    Execute Modification    ./Sources/Load.php    Test successful
3.    Execute Modification    ./Themes/default/index.template.php    Test failed
4.    Execute Modification    ./Themes/babylon/index.template.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test successful
6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
7.    Execute Modification    ./Sources/Security.php    Test successful
8.    Execute Modification    ./Sources/Errors.php    Test successful
9.    Execute Modification    ./Themes/default/style.css    Test successful
10.    Execute Modification    ./Themes/default/Help.template.php    Test successful
11.    Execute Modification    ./Sources/Profile.php    Test successful
12.    Execute Modification    ./SSI.php    Test successful

Can I just do it and manually edit those files? There is noway I am up to a manual uninstall today. I really am sick and my wife keeps coming in an bugging me to do things for her. Not conducive to coding work. :tickedoff:
Title: Re: Upgrading old v.98 site...
Post by: lurkalot on February 27, 2011, 10:27:30 PM
A couple of things you could try.

1:  Roll your site back to the version it was when you installed TP.  By uninstalling your updates etc.  Then hopefully the uninstall button should appear.  This is providing you haven't deleted the 0.9.8 package from the package manager

2:  If your lazy like me lol..  And you haven't got too many mods and customisations.  Backup all your files, and a database backup, just in case.   Upload a fresh set of of SMF files using the large upgrade package for 1.1.13. and run the update.  This will remove all your mods including TP 0.9.8.  Your posts etc should all remain intact.   
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 10:32:27 PM
Will that wipe the themes? I think that's the biggest problem I have. I COULD probably just do that. I was hoping not to go through all that. How do I do the large upgrade? Just ftp it up or something different? I'm having a brain fart today...
Title: Re: Upgrading old v.98 site...
Post by: lurkalot on February 27, 2011, 10:41:35 PM
It will wipe the themes. 

Like I said, backup anything (everything) you need to keep. ;)  You could rename the themes folder so it stays on as a backup. and then extract the the large upgrade and ftp the files to your server, overwriting all the old files.
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 10:54:43 PM
So, if I just back up the themes folder, I can make a new theme called the same as the old one and then re-ftp folder in or is that too simplistic? I don't have the original theme I am using... someone did it for me back before I started playing w/ this. I just modified things. I like the theme--for one thing, it keeps the page together in the center of the page. Hell, I wish I could figure out how to constrain the table... on my main website, it expands to fit he monitor and that drives me nuts.

Anyway, so I take and unzip the folder, then just ftp it up?
Title: Re: Upgrading old v.98 site...
Post by: ZarPrime on February 27, 2011, 11:00:19 PM
And besides doing it as Lurk mentions, yes, you could probably get by with just editing those 2 files to manually remove the TP stuff.  The reason you are probably getting that error on those 2 is that other Mods you installed after TP probably changed something in those files that the TP uninstall needs but can't find.

As far as the FCKEditor goes, it is no longer used in TP.  There were problems with it (security) and we have since switched to a better editor with a smaller footprint.

As far as doing the large upgrade, it's not too difficult.  Start by reading the page at this link --> http://docs.simplemachines.org/index.php?board=3.0;sort=subject

The large upgrade is available here --> http://download.simplemachines.org/

Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 27, 2011, 11:10:20 PM
Went and got the large upgrade. Will read page now.

I'd like to just edit the two pages, but, don't know what I am doing, so best not. :-[ One can wish though.

As to FCK, it works better for MY site in that it is easier for my assistants to do things. One of the problems w/ the current editor, is that it won't let me put images in a central place that ALL the moderator/assistants can access. Instead, they have to upload all the page furniture themselves and that increases the disk usage. I already burn through 20+GB of pipe a month... (really) so there is a reason why I liked the other editor. Oh well, all things change.

Am going to read page if wife will leave me alone. :tickedoff:
Title: Re: Upgrading old v.98 site...
Post by: ZarPrime on February 27, 2011, 11:17:25 PM
<Hah Hah> ;D

Lock her in the closet or the basement but don't tell her I said that. :D
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 12:29:03 AM
Yeah.... that's uh, not an option. A neat idea though. Still downloading the site to back it up. Just to be on the safe side, I had it backed up for last couple years, but... I now have it and the DB connected again, so will get that too. I'm usually pretty bad about doing back ups.

I sure hope the theme will work okay... I don't actually have the original theme. It was modded by someone for me and then I modded that. I like how it keeps the table constrained, vs. the default one that doesn't and I don't know how to fix. Also, it looks Roman...  ;) Which is what it's for, our Roman reenacting unit. Can I just make a new theme and then dump the css and image files in or is that not going to work? I tend to just use modifications of the default as it works better.
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 01:35:45 AM
Well, I did all that, now I get this:
Fatal error: Call to undefined function TP_loadTheme() in /hermes/bosweb/web033/b335/ipw.reenactornet/public_html/duplisite/Sources/Load.php on line 1138
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 03:15:32 AM
Okay, fixed file. For osme reason (prob because I already upgraded to 1.1.13 today) it didn't overwrite all files :-0 Editing as I go. Ack! I HATE this.
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 04:10:29 AM
Okay, I did it :D However, NOW when one id not logged in, as in a site visitor, it cramps in on the sides. WTH??? :tickedoff: Here's the url: http://www.legioix.org/index.php (http://www.legioix.org/index.php) The only mod right now is TP. Why, oh why is it doing this? Also, it kept the themes... I need a Valium or something!
Title: Re: Upgrading old v.98 site...
Post by: lurkalot on February 28, 2011, 08:38:21 AM
Strange. 

If I click the two buttons,  shrink or expand on the left, the theme widens.  I guess your theme isn't quite right somewhere.   The left and right panels should disappear, but they don't, they just move.

I'm assuming this theme is still modded to work with 0.9.8?  The themes don't need any modification to work with TP 1.0 RC1  This might be the problem.   

Does the SMF default theme also behave like this?
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 03:49:00 PM
Really strange because I always set those things to NOT collapse. Also, I set it so it would redirect to front page, not forum when logging in. Will try it w/ the default. How can I mod the theme for new TP?
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 03:59:04 PM
Yep, it does it w/ the default theme also >:-(
Title: Re: Upgrading old v.98 site...
Post by: IchBin on February 28, 2011, 04:47:52 PM
You probably need to update the theme to remove the old TP code. The old TP 0.9.8 version used to require the code that called the right/left panels etc. to be put into the index.template.php file. That panel code is no longer required in for TP 1.x.
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 11:17:13 PM
That would make sense. Most of the sites I have, I did then. Is there some kind of instructions for idiots like myself to rem this stuff?
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 11:28:38 PM
Yaaaaay, am getting there. Had problem w/ my main site, reenactor.Net and as such, that took precedence. Same kind of thing, but was showing the main article on main page wrong. I didn't want it to have all the links and text above. Anyway, I deleted the old block and made a new one and it works now. Still a little funky... <http://www.reenactor.net/forums/index.php>

One problem is that when the new smf update and TP update was applied, it now has this character "Â" where a lot of para returns are and this â€ââ,¬Â seems to be where there was an "M" dash ââ,¬â€ anyway, any ideas? I've had this on normal websites when the encoding was set wrong...

Also, w/ the update, some blocks are not showing any contents? Is this common?

Sorry to jump around, but this site is WAY more important to me, than the hobby site, which can wait. I know, bad me.
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on February 28, 2011, 11:41:53 PM
Okay, as I start speaking in tongues... is there somewhere I should look to see WHY a bunch of my blocks that WERE working, now do NOT, since we added in the most recent TP update? (1.0 rc1 w/ smf 1.1.13) Important things are in these blocks, like oh, ads... (I know, I am such a Kapitalistenschwein). Seriously, I had used blocks w/ a single article in them to help layout much of the site. I found that one of the really useful things about the smf/tp platform. Help. Aaaiiiihhhhheeeeeeeeeeeeeeee

A hint as to where to look to track down this problem would bring me joy. The site is working, but a lot of the parts are not :tickedoff:

And yes, i still am interested how to rem the old TP code from themes.
Title: Re: Upgrading old v.98 site...
Post by: IchBin on March 01, 2011, 12:30:14 AM
Basically you'll need to look at the install instructions for TP0.9.8 and remove the code that it adds to the index.template.php file to fix the block layout problem I think. Hard to say without actually looking at the files.

As for the block problems, nothing we can do if you don't give us something to work with. We can't magically read your database to see what code is in them. :P
Title: Re: Upgrading old v.98 site...
Post by: sturmkatze on March 01, 2011, 04:10:17 AM
Quote from: IchBin on March 01, 2011, 12:30:14 AM
As for the block problems, nothing we can do if you don't give us something to work with. We can't magically read your database to see what code is in them. :P

In this topic or a new one?