SimplePortal

Support => Install and Upgrade => Topic started by: Oldcrow on April 14, 2012, 04:11:28 PM

Title: uninstall errors..
Post by: Oldcrow on April 14, 2012, 04:11:28 PM
Hi, I am trying to uninstall the 2.3.4 portal so I can install the upgraded 2.3.5 portal.. I have three errors, and I can not for the life of it figure out what to remove..

I have attached a pic. can someone explain to me what to remove.

Thanks

Ron..
Title: Re: uninstall errors..
Post by: Old Fossil on April 14, 2012, 05:34:53 PM
Code: [Select]
// Load SimplePortal.
sportal_init();

Is the text you want to remove.
Title: Re: uninstall errors..
Post by: AngelinaBelle on April 16, 2012, 02:10:10 PM
Oldcrow,

Did that help?
Title: Re: uninstall errors..
Post by: Oldcrow on April 16, 2012, 03:06:41 PM
It does explain it good enough.. I found the one I had attached index.php,but I can not find the code in the sources/Admin.php or the code in sources/Who.php

Is there any easy suggestion as to find the codes easier..I am doing tis manually because I do not use the FTP.

Was wondering if I can post the code hit some buttons and have it show up in front of me. Or would this be to simple..

Ron..
Title: Re: uninstall errors..
Post by: Old Fossil on April 16, 2012, 03:34:43 PM
I never use ftp.

I download the file onto my desktop then open the file within my cpanel.

Any mistakes I reload the one I downloaded.

I also use notepad++
Title: Re: uninstall errors..
Post by: Oldcrow on April 16, 2012, 03:48:05 PM
I also do it the same way, but what do you do when you can not locate the codes.. Then what?

What I'm asking for is a simpler way of finding the code..

Ron..
Title: Re: uninstall errors..
Post by: Old Fossil on April 16, 2012, 05:23:46 PM
notepad++
Quote

If no code is found then try ceratin parts of the code.
Title: Re: uninstall errors..
Post by: Oldcrow on April 16, 2012, 07:41:42 PM
notepad++
Quote

If no code is found then try ceratin parts of the code.

How can I try certain parts of the code, when the code I need is not in the file..

Ron..
Title: Re: uninstall errors..
Post by: Old Fossil on April 16, 2012, 07:52:29 PM
I think I see what ya mean.

EG

Notepad ## says it can't find $thistext

Try searching for thistext instead without the $
Title: Re: uninstall errors..
Post by: Oldcrow on April 16, 2012, 07:57:19 PM
I look for all the text no matter what it is..none of the text I want is in there.. only one I found with in the index.php file.. the other two files I need do not have this error text in them..

Ron..
Title: Re: uninstall errors..
Post by: andy on April 16, 2012, 10:30:50 PM
Maybe best to attach your file here or copy and paste the contents. Without seeing it could take a lot longer.

A list of any other mods might also be a good idea.

So index.php is done?

The other 2 files are in the sources folder/directory on your site. You need to download them somehow. I sometimes use Filezilla FTP (free/good). Or in cpanel you can use the file manager which does the same thing.
Navigate to  'public_html' and then look for the sources folder.
The other files are in there - Admin.php and Who.php.

But to help fix them you should also post the error message edits for each file.


I do things the easy way when it gets messy - run the large upgrade for SMF (cleans old files out). Then just start over installing mods. If you don't have many mods its a low tech way of avoiding manual edits. For site with many mods or edits its not  a good idea.
Try finding the files, and doing the manual edits first though.
Title: Re: uninstall errors..
Post by: Oldcrow on April 17, 2012, 09:49:35 AM
Maybe best to attach your file here or copy and paste the contents. Without seeing it could take a lot longer.

A list of any other mods might also be a good idea.

So index.php is done?

The other 2 files are in the sources folder/directory on your site. You need to download them somehow. I sometimes use Filezilla FTP (free/good). Or in cpanel you can use the file manager which does the same thing.
Navigate to  'public_html' and then look for the sources folder.
The other files are in there - Admin.php and Who.php.

But to help fix them you should also post the error message edits for each file.


I do things the easy way when it gets messy - run the large upgrade for SMF (cleans old files out). Then just start over installing mods. If you don't have many mods its a low tech way of avoiding manual edits. For site with many mods or edits its not  a good idea.
Try finding the files, and doing the manual edits first though.



OK if there is enough allowed I'll post the three figures from the acp and the three files that need changing.
Title: Re: uninstall errors..
Post by: Oldcrow on April 17, 2012, 09:52:52 AM
OK here are the three pictures of the changes that are required. These are from uninstall program ACP on forum.

Title: Re: uninstall errors..
Post by: andy on April 17, 2012, 11:02:57 AM
I can do those changes for you ... but one slight risk.

The who.php changes are are cut off - window being small. I can check the changes in the SPortal file but if another mod made changes there you'll lose it. It is unlikely but best if you can do that 1 more time, drag the box out until you can see all the changes and then screenshot it.
Andy
Title: Re: uninstall errors..
Post by: Oldcrow on April 17, 2012, 11:24:23 AM
OK I see what you mean here is the file
Title: Re: uninstall errors..
Post by: AngelinaBelle on April 17, 2012, 11:25:33 AM
A lot of the time, I find it easier to just uninstall EVERYTHING in the opposite order that I first installed it, until I come to the thing I actually want out.  Then I reinstall in the same order again.
This almost always works, and saves me the hassle of finding bits of code on my own, and the hassle of making mistakes, finding them, and fixing them again.

I can see, looking at Admin.php, that you can find every piece of Grudge's code by searching on "real freaking good".  So I looked, and I found, right before
Code: [Select]
foreach ($settings_search as $setting_area) some Arcade code, and before that, the lines that match what you are supposed to remove.

This must have happened because you installed the Arcade AFTER Grudge's portal.
With a little practice,you can learn to spot these things.
But when there are several of them, like I said, I find it easier to do it the "easy" way.  It saves me from making a lot of mistakes!
Title: Re: uninstall errors..
Post by: andy on April 17, 2012, 11:26:20 AM
She just said it... while I was away editing!  :P

Title: Re: uninstall errors..
Post by: andy on April 17, 2012, 11:32:43 AM
There is a slight problem. Admin and index are fine but the who.php is modified in the middle by smfArcade - you installed right?

So, that would be deleted and cause trouble if I edit. I would have to see the files for smfArcade and check all the differences.... hours going to SMF downloading/parsing, comparing.


This is what I suggest - try uninstalling SMF Arcade. If ok, then try uninstalling Simple portal - it should work unless another mod made changes. I think it will work!

If it doesnt work, it is quicker to put in new files - large upgrade files. Run the upgrade and install the mods again. Better to put in a clean copy of the theme but you could try it first- risky ... put a clean theme in.
All your blocks will still be there when you install SP 2.3.5.
Just upload the large upgrade files on top of your old ones. - get the zip file from the SMF site.
Title: Re: uninstall errors..
Post by: andy on April 17, 2012, 11:37:15 AM
What Angelina said is the easiest way first. In the 'Packages' folder there is a 'backups' folder. In there there are zip files of all the changes made when you put in mods - and they have dates on.
Just uninstall each mod in the reverse order - newest to oldest. Until you get to simple portal. It should uninstall without trouble then.

Put you mods back in after.
 
Title: Re: uninstall errors..
Post by: Oldcrow on April 17, 2012, 12:04:50 PM
OK I'll will remember the advice, and keep track of the mod.'s installation dates..

I have finally uninstalled SP..after removing a couple other mod.s SP ended up with one error. I corrected that error and removed SP. Forum is still online, so must have done it right.

I am all set now. And I'd like to take the time to Thank each of you that helped me with this problem.

Thanks Ron..
Title: Re: uninstall errors..
Post by: andy on April 17, 2012, 12:14:57 PM
I never forget when I had trouble and people give time to help out... you are welcome.
In the backup folder all the zips/mods are in order they were installed - useful tip for the future.
Glad its done.
Title: Re: uninstall errors..
Post by: AngelinaBelle on April 17, 2012, 12:35:32 PM
Because SMF does not keep track of installation dates, but lists packages in order that I downloaded them, I always install them in the same order I downloaded them.

If I need to install in a different order .....  I re-download as many as I need to get the order right!

It makes life easier.

Good luck!
Title: Re: uninstall errors..
Post by: Oldcrow on April 17, 2012, 01:01:54 PM
In  the Admin. Forum I have a Change Log File.. but never seem to keep it updated..
Title: Re: uninstall errors..
Post by: AngelinaBelle on April 17, 2012, 01:16:22 PM
I see you marked this one solved.

Congratulations!
Title: Re: uninstall errors..
Post by: andy on April 18, 2012, 12:12:56 AM
SMF could do with a mod to order/number them as installed in package manager.
Title: Re: uninstall errors..
Post by: AngelinaBelle on April 18, 2012, 10:07:25 AM
definitely. or a feature.
Title: Re: uninstall errors..
Post by: andy on April 18, 2012, 10:27:33 AM
SMF has some very odd ordering systems - not looked at it to figure out.

Custom profile fields never in the order you make them (or alphabetic, or date), staff list, package manager... and the list goes on.
SimplePortal 2.3.8 © 2008-2024, SimplePortal