TinyPortal

Development => Support => Installation => Topic started by: ccwking on December 20, 2006, 11:49:38 AM

Title: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 20, 2006, 11:49:38 AM
I currently have my SMF running fine on 1.1.1 (package manager shows no mods installed or packages installed), however whilst package manager will upload TP 0.97 fine as well as give me the "Apply Mod" option, it then gives me an error of "the file is corrupted or not compatible with this SMF version?" when I try to apply the mod. Once this has occured the only options available to me are List Files, Delete.

I have tried to replace and rebuild the zip file package using the xml which was listed above as a .txt file but my SMF reports that "The package you tried to upload either is not a valid package or has become corrupted." I am using the latest Winzip so not sure if that is related to the problem, although I did replace the existing XML in a copy of the original TP 0.97 with the file which had the .txt as above but renamed as XML, but I still get a message about corruption or not valid with this SMF.

I am sure I am missing something simple in getting it to apply, all my pages are working fine, but the TP mod just wont either upload or will upload and not apply..
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: gerrymo on December 20, 2006, 11:53:59 AM
Please do a search before posting. This topic is covered already on a few threads.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: Crip on December 20, 2006, 11:54:08 AM
You should have installed TP097 1st, then apply the SMF 111 patch, however there is away around this but I do not know where the code is or placed..maybe you should do a [Search] for it.?
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 20, 2006, 11:57:47 AM
Quote from: gerrymo on December 20, 2006, 11:53:59 AM
Please do a search before posting. This topic is covered already on a few threads.
There was a thread on this which had all what I mentioned I had tried listed, however after initially posting a reply to that, I then couldnt find the original thread in the section again - probably just me being silly, also I think the thread I found was under TP Support and development, which didnt seem right as it was an install issue.
If you can pop the link to the original thread here I can check it out, but I didnt know you had to put TP in first before upgrading to 1.1.1.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: Crip on December 20, 2006, 12:00:10 PM
I will look fur it.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: Crip on December 20, 2006, 12:02:46 PM
You can look through this Thread I believe that is where it's all explained.
http://www.tinyportal.net/index.php?topic=11500.msg95097#msg95097
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 20, 2006, 01:37:51 PM
I have looked through all messages in the thread mentioned and followed the steps however I still get the message about the package being corrupted etc.
Basically I downloaded the XML replacement file supplied which had all the changes to include 1.1.1., replaced that file in the original 0.97 zip package file, reset my forum to the default non-TP-theme, removed all existing TP themes, then tried to apply the TP 0.97 package which had the replacement XML file, however I am still getting the package corrupt error message when I try to install it via package manager.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: MattMcFarland on December 21, 2006, 01:44:49 PM
I couldn't get it to work either, but it has nothing to do with what version of winzip you're using.  Instead of pulling my hair and trying to get the auto-install to work properly I just manually installed it.  :)
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 21, 2006, 03:26:30 PM
Is that just a case of taking the manual install files, unzipping them, uploading them to the server, then replacing the XML file with the one that is avail to download? If so, then it should be easy to do this. I have had a support guy from here trying to resolve it on my forum, he thinks its permissions, but I havent changed any permissions on my forum since its initial install, but my package manager refuses to upload the file saying its corrupt etc, but I cant seem to find what file/folder is giving the problem as my error logs dont show any errors.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: MattMcFarland on December 21, 2006, 03:31:16 PM
ccw:

You're right about the manual install files.. It's so easy, you just download > unzip > upload. But then you need to modify several php files!  Don't stop reading now, all hope is not lost: If you have no mods or anything you can just download > unzip > upload and overwrite all files with this handy zip: http://www.tinyportal.net/index.php?topic=11547.0 (after you already upload the initial manual file-set and ran the sql script)  - Thus avoiding having to mod any php files yourself.  Almost makes it like an auto install, with just a few extra steps :)

Are you running on linux?  you may not be chowned properly.  I had this problem with joomla, smf, and subdreamer where installations would put the owner as httpd instead of me thus causing problems when I needed to make changes via ftp.  That's something worth checking, but you may need to contact your host and ask them to re-chown your entire website to you.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 21, 2006, 03:40:44 PM
Quote from: MattMcFarland on December 21, 2006, 03:31:16 PM
ccw:

You're right about the manual install files.. It's so easy, you just download > unzip > upload. But then you need to modify several php files!  Don't stop reading now, all hope is not lost: If you have no mods or anything you can just download > unzip > upload and overwrite all files with this handy zip: http://www.tinyportal.net/index.php?topic=11547.0 (after you already upload the initial manual file-set and ran the sql script)  - Thus avoiding having to mod any php files yourself.  Almost makes it like an auto install, with just a few extra steps :)

Are you running on linux?  you may not be chowned properly.  I had this problem with joomla, smf, and subdreamer where installations would put the owner as httpd instead of me thus causing problems when I needed to make changes via ftp.  That's something worth checking, but you may need to contact your host and ask them to re-chown your entire website to you.
Not sure what my host is running on, I was thinking of downloading the full version and reinstalling, the database should be safe, but its the hassle of setting it up again. Sometimes I wondered why I upgraded or how it would be nice to have a support person who can access my forum FTP to assist - as this is doing my head in! So you suggest, download the manual install, install that, then download this zip and upload that bit?
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: MattMcFarland on December 21, 2006, 03:43:03 PM
Yeah that's my recommendation, that's how I got it working :) 

1. Download the Manual Install zip, then unzip > upload & overwrite all files in forum folder.

2. Download the "Database Install" file then upload, then run the php script on your site by going www.yoursite.com/whateverthescriptiscalled.php

3. Download the Premade Manual Install Files for SMF 1.1.1 packet from here: http://www.tinyportal.net/index.php?topic=11547.0 and do the same thing you did with step 1 (unzip > upload & overwrite)

Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: ccwking on December 21, 2006, 03:52:00 PM
Quote from: MattMcFarland on December 21, 2006, 03:43:03 PM
Yeah that's my recommendation, that's how I got it working :) 
2. Download the Manual Install php script then unzip > upload, then run the php script on your site by going www.yoursite.com/whateverthescriptiscalled.php
Where is the manual install script ? is that in the first zip package (step 1?)
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: MattMcFarland on December 21, 2006, 03:55:53 PM
Manual install script: http://www.tinyportal.net/index.php?action=tpmod;dl=item484

Er, It's called the "database install" - sorry. ALso, its not zipped..  :D
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: gerrymo on December 21, 2006, 04:30:01 PM
Quote from: MattMcFarland on December 21, 2006, 03:55:53 PM

Er, It's called the "database install" - sorry. ALso, its not zipped..  :D

Actually, there is a databse install and manual install options. Try looking a bit closer.

To end this thread for good:

If you have applied the 1.1.1 patch, and cannot install 0.97, simply uninstall the patch, install 0.97, then reinstall the patch. It's not exactly rocket science, and it works.
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: Crip on December 21, 2006, 04:39:31 PM
Ok..
what if i install the full new smf 1.1.1.zip and then TP_0.9.7 will it install?
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: whoflungdoo on December 23, 2006, 01:56:31 AM
Quote from: crip on December 21, 2006, 04:39:31 PM
Ok..
what if i install the full new smf 1.1.1.zip and then TP_0.9.7 will it install?

Thats where I am at. Brand new install of 1.1.1 and tp .9.7. It doesnt work. I have no patches to uninstall, apply tp, then reinstall the patch. I have a brand new install of 1.1.1

I did get it to work by the three step process described in various places in these threads however
Title: Re: Problems with SMF 1.1.1. and TP 0.97
Post by: mandos on December 23, 2006, 05:10:33 AM
this:
http://www.tinyportal.net/index.php?topic=11500.msg95148#msg95148

worked for me, no errors (up to now) and uninstall also works