TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 220
  • Total: 220

Uninstallation error - Didn't modify Index.Template

Started by Jordan, September 11, 2007, 02:46:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tick

Its really not that hard.  It can seem a bit overwhelming but just relax and take your time to ensure you get all the code removed that you need removed.  And be sure and keep a back up of the file in a different folder just in case something does not work right.   Good luck.  TIck.

G6Cad

Im affraid there is no simple way to remove code from the files manually, thats why I sugested to just replace th files TP changes with new ones from the SMF full package.
It's not really an upgrade if you download the older SMF package (1.1.2) as you say you have that running on your server.
If you read the modinstructions in our doc page, you see what files TP changes and these are the files you will have to replace if you cant remove the code the instruction show you.
Offcourse most of the mods touches the same files, so if you replace them, you will have to readd the code in the new files again for your other mods.
But if you go for replaceing the files. i suggest you START with installing TP this time before any other mods, as TP is the biggest mod out there, and tp adds quite a lot of code in some of the SMF files.

If i were you, i would have created a testsite, and installed the SAME version of SMF you have, then i would have added the mods (again the same mods and versions you had before TP ) and then used the files from the test site to replace with my live site, that way all content will be the exact same as before the install of TP, and pretty much just a replace and refresh progress.

Jordan

#12
nah i don't like TP thats why i was uninstalling it, it installed fine and uninstalled fine, it even said it finished, but it didn't even bother editing that file.

And i'd presume manually removing the code would be easier than manually adding the code for each one of my new mods. heh

thanks a lot tick, ill do what you said as G6's seems too hard.

Man i knew i shouldn't have installed this mod unless you are 100% sure of SMF, it's too buggy and now i cant properly get rid of it :(

This manual removing is hard too because i have to replace the new code TP does with the old one..........!

G6Cad

Could have been a LOT easier for you if you had made your self a backup before you even installed tp in the first place. We always point out how iportant it is to make backups before any changes...
If you had one, it wold have been just replacing files and a working forum as it was before the install  ;)

Jordan

Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected $end in .../Themes/default/index.template.php on line 734

725:    if (empty($button_strip))
726:       return '<td> </td>';
727:
728:    echo '
729:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '"> </td>
730:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode('  |  ', $button_strip) , '</td>
731:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'first' : 'last' , '"> </td>';
732: }
733:

734: ?>     ********* THIS LINE IS THE BROKEN ONE************

735:
736:

                         

SORRY GUYS, i can't do this myself... can somebody PLEASE edit the file for me so it doesn't show these errors?

error 1: The buttons show as links
error 2: error messages thru the shoutbox, and same as right down the bottom of the page, all about tinyportal..... GRRRRRRRRRRRRR

Jordan

Quote from: G6 on September 12, 2007, 08:48:12 AM
Could have been a LOT easier for you if you had made your self a backup before you even installed tp in the first place. We always point out how iportant it is to make backups before any changes...
If you had one, it wold have been just replacing files and a working forum as it was before the install  ;)


I have had TP for over 2 months, so i highly doubt a old backup would be of any use since i've installed mods after i installed TP..

G6Cad

Even if the backup of the FILES is old, it would have worked as it's just the code changes you remove or changes, the database is left alone so nothing will be missed.
For the editing you have to do it your self, we are not allowed to post SMF files in this forum regarding SMF policy.
Replace the file with a new one, or copy the code parts from a fresh one in to your old.

Jordan

i just posted a SMF file on this site whats the big idea with you guys not being allowed too??

I'm not doing this myself it's too hard, i don't see why one of you guys can't do it for me since it is your script that has done damage to it...

If i made a script and damaged somebodies site i would feel the need to help them out, your not helping me at all just telling me what i should do which i've said 3 times now is too hard and i can't do it myself! :(

IF i copy the new files i will need to add EVERY SINGLE MOD scripts back into the default theme and the other files, theres no way i will do that, i dont even know the code for 60% of these mods, and i know i spent like 6 hours on each of them because this crap is too hard, i came on here hoping somebody would be able to look at it for me and fix it.

Zetan

public_html/sources/backups/Before TP,

or somthing similar. Download, extract and upload the files to your server. You may well have to install a few mods again. SMF automatically creates a backup each time a mod is installed to the package manager. It will not work if you did a manual install.

I've been using TP a long time, and don't find it "buggy" at all. I have no errors in my error log and find it works extremely well.
But it's your choice of what you wish to use.

Jordan

yeh mate, dw about it i just installed a different theme that was like default, see i never use default, it's for 2 of my staff who are either colour blind or just hate dark themes. so no biggie i just install another light theme for them, but is there a way to disable the default smf theme from being used / picked by the public?

This website is proudly hosted on Crocweb Cloud Website Hosting.