TinyPortal

Development => Support => Topic started by: malcomxar on March 23, 2008, 07:19:09 AM

Title: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 07:19:09 AM
Hi, i uninstalled TP and I keep getting this error

Fatal error: Call to undefined function: tportal_sidebar() in /www/gptlatino.net/htdocs/foro/Sources/Load.php(1726) : eval()'d code on line 228

I think that it's because i didn't uninstall the themes previously...

What can I do?
Plz i really need help

the site's URL is www.gptlatino.net

Any help will be hugely thanked!
Title: Re: Uninstalled TP and messed everything up :(
Post by: Dragooon on March 23, 2008, 07:25:42 AM
You should've removed TP from your themes first.........Remove TPs code from Your themes first then it should be fine.
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 07:27:40 AM
How do i do that... complete newbie here :(

Plz plz help me, I am really desperate :'(

Should this work????
http://www.tinyportal.net/index.php?topic=6241.msg50889#msg50889
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 08:44:34 AM
I tryed using the repair tool but didn't work.. com on ppl plz :'(
Title: Re: Uninstalled TP and messed everything up :(
Post by: G6Cad on March 23, 2008, 08:56:42 AM
When you remove tp, the only themes that will be working correct are Default Core and Babylon, the rest of your themes must be uninstalled and changed to SMF only ( find them on simplemachines,org)

If you still have issues, download the upgrade package for SMF, make sure you get the same version as you have installed, and extract the package on your local computer, upload and overwrite the old files through FTP software.
Not that this step will remove all mods you have and not only the TP code.

A third step will be a bit more work, but reverse the modinstruction we have in our docsection, you remove the code manually instead of adding it.

All this HAS to be done with the default core theme set as your sites default theme.
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 09:10:10 AM
Thanks G6!!!

How do i unistall the themes if i can't access the ACP?
Should I erase them from the FTP?
Do i download the smal upgrade or the large one?
Title: Re: Uninstalled TP and messed everything up :(
Post by: G6Cad on March 23, 2008, 09:14:48 AM
Download the big upgrade as it comes with all fresh files with out the settings.php and settings_bak.php so you just replace all files.
When you have done that, refresh your forum, that should bring you back to the administration for the other work you need to do.
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 09:21:23 AM
Ok thanks!
I ll try and be back in a few minutes!
Thanks for teh quick help.
REally hoping to work
Title: Re: Uninstalled TP and messed everything up :(
Post by: G6Cad on March 23, 2008, 09:29:41 AM
It's not that hard, easy way to fix the forum quickly when it broke totally.
It's better to reinstall the other mods and a lot quicker then sitting and try to find the reason in the file line by line.
Most mods are easy to install back again when you have fresh files to work with :)
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 09:33:51 AM
So I guess that SMF upgrade while overwrite the files from TP and restore the default theme so that i will be able to use the ACP? :)
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 09:53:31 AM
G6 I finished the update but i still get the same error

Fatal error: Call to undefined function: tportal_sidebar() in /www/gptlatino.net/htdocs/foro/Sources/Load.php(1726) : eval()'d code on line 228

The problem is that i log out and can see the default skin and no error is shown...
When i log in, the theme changes to "Amber TP" and i get that error message...
:S:S


PS: i haven`t uninstalled any theme.
Title: Re: Uninstalled TP and messed everything up :(
Post by: Dragooon on March 23, 2008, 09:57:06 AM
You have to UNINSTALL the theme........
Rename the index.template to something else, this will make it revert to default theme, then you can enter your ACP.
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 10:00:28 AM
How do i uninstall. Do i just erase the files?
Which folder?
Which one, the one in Themes/default or the one in Themes/amber11final_tp???
Title: Re: Uninstalled TP and messed everything up :(
Post by: Dragooon on March 23, 2008, 10:03:47 AM
Forget about my reply above, it won't do good.
Try adding ?theme=1 in your site's URL
Ex
http://yoursite.com/index.php?theme=1

This will make your switch to default theme, than you can do whatever you want(Uninstalling theme?).
Title: Re: Uninstalled TP and messed everything up :(
Post by: G6Cad on March 23, 2008, 10:04:38 AM
The Amber folder, remove the index.template.php or rename it and the theme will fall back on the default themes index.template.php, do not touch anything in the default directory
Title: Re: Uninstalled TP and messed everything up :(
Post by: malcomxar on March 23, 2008, 10:08:09 AM
Guys I love you!!!!!!

Poblem solved!!
Thanks a lot, if you could see my face right now, there is a really reaally big smile on int :) :) :) :)
Title: Re: Uninstalled TP and messed everything up :(
Post by: G6Cad on March 23, 2008, 10:37:13 AM
I can sort of see it as we all have been there once or even twice ;)
Glad you got it sorted, i will mark this as solved  :)