Advertisement:

Author Topic: Uninstalling 2.0.14 from Upgrade  (Read 914 times)

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Uninstalling 2.0.14 from Upgrade
« on: May 19, 2017, 07:02:27 PM »
I am having a few issues with login and timing out after the 2.0.14 upgrade.   I do have my DB backed up.
In the package manager is I click the uninstall for the 2.0.14 upgrade,  everything tests Okay (Indicates OK)   will that only uninstall the upgrade or kill my SMF?
Im only trying to save posts . I average 250 posts a day so loosing a day would stink. 

I am not having any issues but some members are reporting the login errors and timing out.

Thanks

PS  I have read through the issues people are having but have not seen "Uninstalling" the upgrade.

Offline ILUXA

  • Semi-Newbie
  • *
  • Posts: 12
Re: Uninstalling 2.0.14 from Upgrade
« Reply #1 on: May 19, 2017, 07:04:42 PM »
+ 1
Me too, already wrote about this issue here.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,342
  • Gender: Male
    • Kindred-999 on GitHub
Re: Uninstalling 2.0.14 from Upgrade
« Reply #2 on: May 19, 2017, 07:06:36 PM »
The solution to the login problems almost always has to do with the log in update code not having been applied to your custom theme
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #3 on: May 19, 2017, 07:10:54 PM »
The solution to the login problems almost always has to do with the log in update code not having been applied to your custom theme

I saw the thread for adding the code after the "</form>"  entry.  That is listed a few times.   Just enter that extra string after each one??

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,774
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Uninstalling 2.0.14 from Upgrade
« Reply #4 on: May 19, 2017, 07:14:00 PM »
The solution to the login problems almost always has to do with the log in update code not having been applied to your custom theme

I saw the thread for adding the code after the "</form>"  entry.  That is listed a few times.   Just enter that extra string after each one??

Yes in your index.template.php if it is not present in the login form.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline ILUXA

  • Semi-Newbie
  • *
  • Posts: 12
Re: Uninstalling 2.0.14 from Upgrade
« Reply #5 on: May 19, 2017, 07:22:18 PM »
The solution to the login problems almost always has to do with the log in update code not having been applied to your custom theme
Very strange, it showed "success" for custom theme files before installation... (I installed an upgrade via built in upgrade mechanism)

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #6 on: May 19, 2017, 07:24:47 PM »
So uninstalling the upgrade will leave the 2.0.13 intact and fictional.

Offline ILUXA

  • Semi-Newbie
  • *
  • Posts: 12
Re: Uninstalling 2.0.14 from Upgrade
« Reply #7 on: May 19, 2017, 07:28:51 PM »
Yes, 2.0.13 works fine, but personally I downgraded to 2.0.13 from a backup and not via smf package manager,
but, it seems, it is also possible to delete upgrade with it too, and theoretically all should work fine again.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #8 on: May 19, 2017, 09:22:54 PM »
I took out the login that would be in the upper left and only have the main login, in the center and that eliminated all the issues.

Running Prince of Darkness 201 theme

Offline ILUXA

  • Semi-Newbie
  • *
  • Posts: 12
Re: Uninstalling 2.0.14 from Upgrade
« Reply #9 on: May 19, 2017, 10:23:48 PM »
Yes, it seems that "login timeout" was really a "./Themes/your_theme_name/index.template.php" problem,
just updated, and it seems that login form works very fine now, but I updated "index.template.php" manually this time,
upgrade patch needs to change 2 lines in that file:
Code: [Select]
<file name="$themedir/index.template.php">
<operation error="ignore">
<search position="replace"><![CDATA[@version 2.0]]></search>
<add><![CDATA[@version 2.0.14]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[<input type="hidden" name="hash_passwrd" value="" />]]></search>
<add><![CDATA[<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />]]></add>
</operation>
</file>

So
Code: [Select]
@version 2.0should be replaced with
Code: [Select]
@version 2.0.14
and
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" />should be replaced with
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Am I right?

Just tested fully automatic installation one more time, after upgrade patch uninstallation,
and this time, don't know why, but upgrade patch replaced
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" />with
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />insted of
Code: [Select]
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
So it seems that
Code: [Select]
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />"was inserted one extra time...

Or maybe I just forgot to downgrade index.template.php file before reinstallation :D

Anyway, I really upgraded my theme index.template.php when I installed this patch first time,
I remember that I ticked my theme in installation list and it showed "Success" near index.template.php,
but login didn't work after that...
« Last Edit: May 19, 2017, 11:16:04 PM by ILUXA »

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #10 on: May 20, 2017, 03:44:25 AM »
I am gathering more information.
There are a few members that can login fine one way (service device / provider) but not another way.
They get the spinning ball of death, not connecting.   
I do not know why the update would hinder their connection.   Its almost like a firewall issue on their end.

Offline The QE2 Story Forum

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 83
    • The QE2 Story
Re: Uninstalling 2.0.14 from Upgrade
« Reply #11 on: May 20, 2017, 06:03:37 AM »
The solution to the login problems almost always has to do with the log in update code not having been applied to your custom theme
Very strange, it showed "success" for custom theme files before installation... (I installed an upgrade via built in upgrade mechanism)

Exactly the same thing happened to me.  Success shown for my custom (based on Curve) theme following an install from the built-in upgrader.  Then all users got session errors and couldn't login.  I had to uninstall until i have time to investigate.  This is the first time I've ever had a problem.

Offline The QE2 Story Forum

  • Charter Member
  • Semi-Newbie
  • *
  • Posts: 83
    • The QE2 Story
Re: Uninstalling 2.0.14 from Upgrade
« Reply #12 on: May 20, 2017, 03:33:05 PM »
I just wanted to say, after uninstalling the update, I then installed it again (without doing anything else) and it resolved the issue I was having why the login sessions.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #13 on: May 21, 2017, 02:36:18 AM »
I will try that, I can not upgrade  from a downloaded file from here, it will error out. I can only install / download from the package managers main screen (Latest packages).  Sort of odd. 

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,342
  • Gender: Male
    • Kindred-999 on GitHub
Re: Uninstalling 2.0.14 from Upgrade
« Reply #14 on: May 21, 2017, 08:43:45 AM »
Are you trying to use the full upgrade or the patch? Only the patch works in the package manager
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #15 on: May 21, 2017, 07:35:26 PM »
Are you trying to use the full upgrade or the patch? Only the patch works in the package manager


Both,  neither work for uploading a package.  I tried all formats. 
Ill just stick to the link in the package manager info section.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,342
  • Gender: Male
    • Kindred-999 on GitHub
Re: Uninstalling 2.0.14 from Upgrade
« Reply #16 on: May 21, 2017, 07:44:44 PM »
The patch download is exactly the same thing that you get from the package manager link.

The upgrade archive will never work as a patch... nor will the full install archive.  It has to be the patch... if it's erroring out for you, then chance are that you did not actually download the patch file.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #17 on: May 23, 2017, 03:33:10 AM »
I thought the large upgrade in the download section was the right one.   Ill just stick to the info section on my forum.  Worked like a charm.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,342
  • Gender: Male
    • Kindred-999 on GitHub
Re: Uninstalling 2.0.14 from Upgrade
« Reply #18 on: May 23, 2017, 05:55:06 PM »
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline showngo

  • Semi-Newbie
  • *
  • Posts: 37
Re: Uninstalling 2.0.14 from Upgrade
« Reply #19 on: May 23, 2017, 08:32:01 PM »
patches are here
https://custom.simplemachines.org/upgrades/

Yep that where i downloaded from,  all formats and all had errors, did not install,    not the testing before installing.

I am on a custom theme.