collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 201
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Uninstalling Simpleportal 2.3.3 Crashed Site  (Read 6344 times)

0 Members and 1 Guest are viewing this topic.

Offline mannyz

  • Semi Newbie
  • *
  • Posts: 13
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Uninstalling Simpleportal 2.3.3 Crashed Site
« on: November 25, 2011, 08:51:59 PM »
Ok I did my backup from inside the SMF. Uninstalled SimplePortal 2.3.3, and site crashed. This is what I get:

Fatal error: Call to undefined function sportal_init() in /home/xecoflc/public_html/forum/index.php on line 203

Offline Where's Waldo?

  • Jr. Member
  • **
  • Posts: 80
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #1 on: November 25, 2011, 10:09:36 PM »
First off you should never back up from within Simple. It is unreliable and some say it's broken. You should use server side backup tools.

Did you get any errors listed during the un install process?

Offline mannyz

  • Semi Newbie
  • *
  • Posts: 13
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #2 on: November 25, 2011, 10:17:55 PM »
Well thanks for the warning. I will remember that. I am asking my hosting people to restore a backup from today. but Funny you asked. yes when I was uninstalling it says:

"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."

It was erroring out in the index.php

Offline Where's Waldo?

  • Jr. Member
  • **
  • Posts: 80
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #3 on: November 25, 2011, 10:26:38 PM »
Have you updated SMF to 2.0.1 ? or are you still running RC5?

Offline mannyz

  • Semi Newbie
  • *
  • Posts: 13
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #4 on: November 25, 2011, 11:18:05 PM »
Have you updated SMF to 2.0.1 ? or are you still running RC5?

No I was on RC4 2.0.1

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #5 on: November 25, 2011, 11:39:13 PM »

When uninstalling any modifications you should always parse any file edits that flag errors.
Other mods installed after SP that changed some of your SMF files caused SP to loose its placement markers for un-installation.
In other words, you ignored errors during the uninstall process which left code behind in some of your files and is now causing errors.

Next time you uninstall something that shows errors..

- finish the uninstall process (to commence the other reverse file edits that are ok)
- use the back button in your browser to view the screen that displayed the flagged errors
- use FTP to parse the flagged reverse edits
- delete unwanted/outdated mod



At this point unless you can still go back in your browser to that same SP uninstall screen, it will be difficult to pinpoint all the necessary reverse edits.

The undefined function error that is causing your forum to crash is located in the index.php file of your main directory.
Navigate to that file via FTP and remove the following code from it:
Code: [Select]
// Load SimplePortal.
sportal_init();   


Offline mannyz

  • Semi Newbie
  • *
  • Posts: 13
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #6 on: November 26, 2011, 12:28:57 AM »
Well i know it was my fault for now doing a proper backup, normally when I get those errors are not that major and the install or uninstall goes fine, but this time i guess it didnt go well.

Thanks for the location of the file, yes indeed by deleting that section the site is back to normal. And I was able to install the newest version. Thanks for that and sorry for the troubles.

Next time I will watch what I do.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #7 on: November 26, 2011, 01:11:12 AM »
Well i know it was my fault for now doing a proper backup, normally when I get those errors are not that major and the install or uninstall goes fine, but this time i guess it didnt go well.

Thanks for the location of the file, yes indeed by deleting that section the site is back to normal. And I was able to install the newest version. Thanks for that and sorry for the troubles.

Next time I will watch what I do.

You're welcome.

If there were more errors you ignored, you may come across other issues and/or errors in your log related to that faulty uninstall process. You can always come back for support and we'll take it from there when/if something occurs.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #8 on: November 28, 2011, 01:07:41 PM »
One nice feature of SMF is that it backs up files before every package installation.
You will find this file backup in your Packages/backups directory.

But it looks like the uninstall did not go perfectly, perhaps because another mod installed after simpleportal confused the package manager, which only knows what the affected lines should have looked like right after SimplePortal was installed.

You can do a manual uninstall for that line.

The next time you need to do this, take careful notes on all the "test failed" lines -- click on the little pencil icon to see which lines are affected, and keep count of how many manual changes you'll have to make.

You can get pretty much the same information from the manual install instructions at simplemachines.org.
Use the "parse" link on the mod's page for your version of SMF and SP.

Then find the lines in your files and undo-the install changes yourself.
In your case, removing the line about sportal_init() will get rid of the error you reported in your first post.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Mike Vail

  • Semi Newbie
  • *
  • Posts: 10
  • Gender: Male
    • BOOM! Gaming Community
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
Re: Uninstalling Simpleportal 2.3.3 Crashed Site
« Reply #9 on: December 06, 2011, 11:04:50 PM »
This was very helpful. Thank you. I had the same problem and also had to delete the below line from my index.php in order to get past the database error:

Code: [Select]
require_once($sourcedir . '/Subs-Portal.php');
The upgrade to 2.3.4 was successful after that. Now to upgrade to SMF 2.0 from my wonderul stable 1.5 version. Very scared.

Thanks again!
Favorite Quotes:"A pint of sweat, saves a gallon of blood" - General George Patton "A good plan, violently executed now, is better than a perfect plan next week" - General George Patton"No poor bastard ever won a war by dying for his country. He won it by making other poor bastards die for theirs" - General George Patton"We sleep safe in our beds because rough men stand ready in the night to visit violence on those who would do us harm" - George Orwell"It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses." - The Blues Brothers