News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Need some help on an upgrade to 2.0.15

Started by tdennis, December 30, 2017, 05:19:20 PM

Previous topic - Next topic

tdennis

Just noticed my SMF 2.0.14 needs to be updated to SMF 2.0.15. I stared the install and the tests fail at #7 modifying the ./Sources/SendTopic.php file.

Since this was the only failure I assumed I could proceed with the install then manually update "./Sources/SendTopic.php" but I am unable to find what modifications I need to make on that file. Its probably just something my old 74 year old head is overlooking. Would like some direction.
Thanks
Dennis

Quote
Installations actions for "SMF 2.0.15 Update"
Installing this package will perform the following actions:
        Type     Action     Description
    1.     Execute Code     $auto_0.php   
*     2.     Execute Modification     ./index.php     Test successful
*     3.     Execute Modification     ./proxy.php     Test successful
*     4.     Execute Modification     ./SSI.php     Test successful
*     5.     Execute Modification     ./Themes/default/Login.template.php     Test successful
*     6.     Execute Modification     ./Sources/Class-CurlFetchWeb.php     Test successful
*     7.     Execute Modification     ./Sources/SendTopic.php     Test failed
        1.     Replace     ./Sources/SendTopic.php     Test successful
        2.     Replace     ./Sources/SendTopic.php     Test failed

Sir Osis of Liver

There's a small edit icon next to 'Replace     ./Sources/SendTopic.php ', will show you the target code and replacement code.  Target code may have been changed by a mod, that's why it's throwing an error.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Steve

The bottom line should have had a little clipboard all the way to the left. If you clicked it, it would show you what change it's attempting to make.

Edit: ninja'd :P
DO NOT pm me for support!

tdennis

Well that was easy, I saw the edit icon but never thought to click on it!

This is what it was:

QuoteCode: (Find) [Select]

if (filter_var($_POST['ryemail'], FILTER_VALIDATE_EMAIL) === false)


Code: (Replace) [Select]

if (filter_var($_POST['y_email'], FILTER_VALIDATE_EMAIL) === false)


Thanks guys,
Dennis

Steve

Marking solved then. If you have any other questions regarding this topic, by all means, mark this unsolved and let us know. :)
DO NOT pm me for support!

Advertisement: