News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SOLVED - Upgrade issue 2.0.13 to 2.0.14

Started by klra, December 24, 2017, 09:22:17 PM

Previous topic - Next topic

klra

Trying to upgrade but getting an error message "Test Failed" for the custom theme file -

Themes/GrayStyle-u/index.template.php

The test is sucessful for the default Curve theme.

When I click on the files I get-

Code: (Find) [Select]

<input type="hidden" name="hash_passwrd" value="" />

Code: (Replace) [Select]

<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />

I'm not sure what to do or how to fix, any help is most appreciated!

br360

You would have to open that Themes/GrayStyle-u/index.template.php file and look for that first line of code you posted in that file

<input type="hidden" name="hash_passwrd" value="" />

Once you find that line, you would then replace it with the code that the package manager is telling you to replace it with

Replace it with this-

<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />


klra

Ok, great- I'm on it!

Thanks for the fast response & Merry Christmas!

br360

Let us know if you still have issues and Merry Christmas to you as well :)

klra

Ok, this is odd-

On the custom theme index.php file the

<input type="hidden" name="hash_passwrd" value="" />

Is not in that file at all.

I looked in the default index.php file and it was there.

Should I add it to the custom theme file and try to execute the update or add the  more complex code to the custom theme file?

br360

It has to be added between the <form> and </form> tags

Can you attach that Themes/GrayStyle-u/index.template.php to your next post so we can take a look?

klra


br360

Try replacing that file with the attached

klra


klra

Success!

After that I successfully updated to 2.0.15   :D

Thank you very much!


br360


Advertisement: