SimplePortal

Support => English Support => Topic started by: Atticus on May 15, 2010, 03:35:31 PM

Title: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 15, 2010, 03:35:31 PM
I have upgraded from SP 2.3.1 to 2.3.2 on SMF 1.1.11 using the Package Manager. The Package Manager now displays 2.3.2 as the current version, yet the footer displays 2.3.1?

Does anyone have an idea why this would happen?
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Old Fossil on May 15, 2010, 06:53:04 PM
It looks as though the previous was not uninstalled correctly.

Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Nathaniel on May 15, 2010, 07:29:03 PM
Do a search for '$sportal_version' in your 'Sources/Subs-Portal.php' file. What value does it get set to?

Also, at the start of that same file there is a line with the text 'Software Version:', what version does that show?
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 16, 2010, 02:43:26 AM
I just checked and here is that snippet:

Code: [Select]
global $context, $sourcedir, $scripturl, $modSettings, $txt;
global $settings, $options, $boarddir, $maintenance, $sportal_version;
static $initialized;

$sportal_version = '2.3.1';

I think I may have screwed this up, if Brack1 is correct. I read the release note instructions as saying just use the Package Manager to install 2.3.2 and only completely uninstall the current version if you are using any version earlier than 2.3 or 2.3.1. I thought I could just use Package Manager to install 2.3.2 on top of 2.3.1. Did my brain shutdown last night and I get this wrong?
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Nathaniel on May 16, 2010, 04:44:48 AM
Well, as far as I can tell, you didn't make any mistakes in the upgrade process. It should be as easy as uploading SP 2.3.2 and then running the upgrade process. Its possible that SMF didn't overwrite some of the old SimplePortal files with the new ones (that is what I suspect has happened), that could be due to file permissions.

Try uninstalling SP 2.3.2, then reinstall it. If any of the files weren't replaced in the upgrade process, then doing this will remove them and make sure that the new ones are there.
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 18, 2010, 03:33:02 AM
Apologies for the delayed response. Work has been busy the past day or so.

I attempted to uninstall SP 2.3.2 and SMF highlighted some failed test checks prior to actual deletion. I am beginning to think it has something to do with altered permissions within SMF and need to raise this with the other person doing site admin with me.

Once the SP 2.3.2 uninstall/reinstall is sorted out I will post here again. It may take a few days or a week, but I will post here again.

Thanks for assisting so far! It is much appreciated!
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 19, 2010, 05:08:48 AM
As additional background information (in the hope it helps identify the problem), here is what SMF reports when I attempt to uninstall SimplePortal 2.3.2 as suggested:

Code: [Select]
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.

        Type                   Action                                  Description
1.      Execute Modification   ./index.php                             Test successful
2.      Execute Modification   ./SSI.php                               Test successful
3.      Execute Modification   ./Sources/Admin.php                     Test successful
4.      Execute Modification   ./Sources/BoardIndex.php                Test successful
5.      Execute Modification   ./Sources/Display.php                   Test successful
6.      Execute Modification   ./Sources/Help.php                      Test successful
7.      Execute Modification   ./Sources/Load.php                      Test successful
8.      Execute Modification   ./Sources/ManagePermissions.php         Test successful
9.      Execute Modification   ./Sources/ManageServer.php              Test successful
10.     Execute Modification   ./Sources/QueryString.php               Test failed
11.     Execute Modification   ./Sources/Recent.php                    Test successful
12.     Execute Modification   ./Sources/Subs.php                      Test failed
13.     Execute Modification   ./Sources/Who.php                       Test successful
14.     Execute Modification   ./Themes/default/index.template.php     Test failed
15.     Execute Modification   ./Themes/default/Display.template.php   Test failed
16.     Delete File            ./PortalStandalone.php   
17.     Delete File            ./Sources/PortalArticles.php   
18.     Delete File            ./Sources/PortalBlocks.php   
19.     Delete File            ./Sources/PortalMain.php   
20.     Delete File            ./Sources/PortalPages.php   
21.     Delete File            ./Sources/PortalShoutbox.php   
22.     Delete File            ./Sources/PortalAdminArticles.php   
23.     Delete File            ./Sources/PortalAdminBlocks.php   
24.     Delete File            ./Sources/PortalAdminMain.php   
25.     Delete File            ./Sources/PortalAdminPages.php   
26.     Delete File            ./Sources/PortalAdminShoutbox.php   
27.     Delete File            ./Sources/Subs-Portal.php   
28.     Delete File            ./Sources/Subs-PortalAdmin.php   
29.     Delete File            ./Themes/default/Portal.template.php   
30.     Delete File            ./Themes/default/PortalArticles.template.php   
31.     Delete File            ./Themes/default/PortalPages.template.php   
32.     Delete File            ./Themes/default/PortalShoutbox.template.php   
33.     Delete File            ./Themes/default/PortalAdmin.template.php   
34.     Delete File            ./Themes/default/PortalAdminArticles.template.php   
35.     Delete File            ./Themes/default/PortalAdminBlocks.template.php   
36.     Delete File            ./Themes/default/PortalAdminPages.template.php   
37.     Delete File            ./Themes/default/PortalAdminShoutbox.template.php   
38.     Delete File            ./Themes/default/PortalGeneric.template.php   
39.     Delete File            ./Themes/default/languages/SPortal.english.php   
40.     Delete File            ./Themes/default/languages/SPortal.english-utf8.php   
41.     Delete File            ./Themes/default/languages/SPortalAdmin.english.php   
42.     Delete File            ./Themes/default/languages/SPortalAdmin.english-utf8.php   
43.     Delete File            ./Themes/default/languages/SPortalHelp.english.php   
44.     Delete File            ./Themes/default/languages/SPortalHelp.english-utf8.php   
45.     Delete Tree            ./Themes/default/images/sp   
46.     Delete File            ./Themes/default/portal.css   
47.     Delete File            ./Themes/default/portal_rtl.css   
48.     Delete File            ./Themes/default/portal.js
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: AngelinaBelle on May 19, 2010, 08:40:43 AM
10.     Execute Modification   ./Sources/QueryString.php               Test failed
14.     Execute Modification   ./Themes/default/index.template.php     Test failed
15.     Execute Modification   ./Themes/default/Display.template.php   Test failed
The tests failed because the Package Manager could not find all the "replace" strings the package told it to expect. This COULD happen if the install didn't work properly.  It could also happen if those files were altered AFTER the SimplePortal install -- either by another mod, or by manual customization. I don't know which.
 
You also suggest that you might have some file permission problems. Here's how I would approach the problem:
1) Use SMF 1.1.11's file permission tool (http://docs.simplemachines.org/index.php?topic=91 (http://docs.simplemachines.org/index.php?topic=91)) to reset file permissions. In 1.1.11, I found this tool to work well.
2) Check them, using an ftp client, just to make sure.
 
Then, you have two choices
3a) Uninstall all the mods in the reverse order to which you installed them.  Keep a list of all the "Test Failed" files from all of the uninstalls. Then replace all of these files with clean SMF 1.1.11 versions of the same files.  You can get these from the 1.1.11 full install zip file.
 
3b) Uninstall only SP 2.3.2, making note of the files that fail. Use the SP 2.3.2/SMF1.1.11 "manual install" instructions to find and remove SimplePortal stuff from those 3 files.  Then use the SP 2.3.1/SMF 1.1.11 "manual install" instructions to find and remove SimplePortal stuff from those 3 files.  Then, just to make sure, search those files for any occurances of "portal" or "sp_", just to check your work a little bit.
 
After you complete either 3a or 3b (but not both!), your php files should be completely clear of SimplePortal code, and your file permissions should be set properly.
 
Then, you are ready to install 2.3.2 from scratch.
 
Have you ever looked at the manual install instructions? They are pretty easy to use. You see code marked find, which shows how the file should have looked before the mod was installed. And you see code marked replace, in which you can see how SimplePortal should have changed that part of the file. To uninstall, you follow the instructions backwards.  If the Package Manager managed to uninstall that instruction, or failed to install it in the first place, you won't find the new stuff in the replace code, and you can move on to the next instruction.
 
 
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 19, 2010, 09:38:11 AM
Thanks a ton for the detailed feedback AngelinaBelle. It is definitely much appreciated. I will take action on those as soon as I can this week. I am juggling a few things work-/life-wise, but will post in this thread again once I have been able to follow your instructions.
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: AngelinaBelle on May 20, 2010, 10:09:55 AM
OK. I'll leave this topic open for a while.
Good luck.
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: Atticus on May 23, 2010, 05:36:47 AM
AngelinaBelle, your instructions worked like a charm. SimplePortal 2.3.2 is now installed and appears to be working just fine.

As an aside, a correct and successful installation of SimplePortal 2.3.2 also resolved the issue I reported in this (now locked) thread:

http://simpleportal.net/index.php?topic=5516.0

Once again thank you very much for the time and effort both you and Nathaniel put into my English Support request. It is immensely appreciated!
Title: Re: 2.3.1 to 2.3.2 Upgrade (2.3.1 Still Displayed)
Post by: AngelinaBelle on May 24, 2010, 11:06:47 AM
I'm glad I could help you get SimplePortal installed correctly.
I hope the permission settings will make package installation go well in the future.
 
Good Luck!
SimplePortal 2.3.8 © 2008-2024, SimplePortal