TinyPortal

Development => Support => Topic started by: jldrake on April 03, 2009, 02:14:13 AM

Title: Update Issue
Post by: jldrake on April 03, 2009, 02:14:13 AM
The site- www.boomgaming.net

The problem- we run the update to beta 3 and it wipes out everything. It changes index.php so nothing works. We have tried to update several times with the same problems.

Any help would be great.
Title: Re: Update Issue
Post by: Ken. on April 03, 2009, 02:55:57 AM
Hi jldrake, please give the info called for in the posting guide so that we may be better able to help.
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)

You may need to do the manual install procedure.
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)
Title: Re: Update Issue
Post by: ZarPrime on April 03, 2009, 03:03:56 AM
jldrake,

We will need more information to help you.  You say "we run the update to beta 3 and it wipes out everything."  What does that mean?  You say "It changes index.php so nothing works."  How does it change index.php?

You don't say how you ran the update.  Did you try to update while your Forum is set to the default SMF theme as you should?  Did you uninstall TP 0.98 first as you should?  Did you try to uninstall TP 0.98 with the package manager and it failed?  Did you then uninstall TP 0.98 manually?  After you did that did you try installing beta 3 with the package manager?  Did it fail?  Did you then try to manually install beta 3.

What errors do you get in your error logs?  What other Mods do you have installed?  If you Please Read and Reply to the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581) and use the template at the bottom of that topic to give us some answers then somebody should be able to help you but there is no way for us to be able to guess what's going on here.  You have to help us to help you.

ZarPrime

Edit:  Oh, sorry Ken, missed that you posted while I was busy.
Title: Re: Update Issue
Post by: Ken. on April 03, 2009, 03:53:42 AM
Is OK... your reply is better than mine. :)
Title: Re: Update Issue
Post by: jldrake on April 03, 2009, 04:16:02 AM
Link to my site: http://www.boomgaming.net
SMF version: SMF ver. Powered by SMF 1.1.8
TP version: TP ver. TinyPortal v0.9.8
Theme name and version: Using default
Mods installed: Mods listed here
Related Error messages: Error messages when uninstalling 0.98

!!
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "TinyPortal":
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    File not found
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 failed
12.    Execute Modification    ./SSI.php    Test successful
Title: Re: Update Issue
Post by: G6Cad on April 03, 2009, 09:19:39 AM
You have other mods installed that have changed the lines of code TP looks for.
If you still continue with the install, then you WILL have errors like described.
You also did get a message NOT to continue UNLESS you KNOW what you are doing.

You need to manually add in the TP strings to your index.php , index.template.php file for Default Core theme and Profile.php in sources directory.


Follow this guide and you see what code to add where.

Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
Title: Re: Update Issue
Post by: jldrake on April 03, 2009, 05:59:54 PM
"You also did get a message NOT to continue UNLESS you KNOW what you are doing."

That is why I'm here. I backed up everything and gave it a try and it didn't work so this is why I'm here. Thank you for the advice. Will I have to do that with every update? Once I have changed do I re-run the uninstall?
Title: Re: Update Issue
Post by: G6Cad on April 03, 2009, 07:28:50 PM
Yes, everytime you get any fail errors when installing, you need to manually change the code inside the files you get the errors from.