Error in Package Installation

Started by petewadey, December 28, 2021, 06:59:56 AM

Previous topic - Next topic

petewadey

I'm trying to upgrade to 2.0.19 and am getting the following error messages.
You cannot view this attachment.
When I check the files in file manager, the (Find) script is not the same as what is being looked for. I assume this is why it cant be found, to be replaces or placed after etc.
All of the errors are in the same folder. The fist one, for example, is trying to find

(Find)
list ($uyear, $umonth, $uday) = explode('-', empty($cur_profile['birthdate']) || $cur_profile['birthdate'] === '1004-01-01' ? '--' : $cur_profile['birthdate']);

(Replace)
list ($uyear, $umonth, $uday) = explode('-', empty($cur_profile['birthdate']) || $cur_profe['birthdate'] === '0001-01-01' ? '0000-00-00' : $cur_profile['birthdate']);

This is what I have in my file, to hopefully explain what I mean.
You cannot view this attachment.


Any ideas please?


Aleksi "Lex" Kilpinen

Did you have the unofficial birthday fix installed? If yes, you need to uninstall that first.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

petewadey

Thanks for prompt reply. No, I don't have the birthday fix installed, at least I'm unaware if I have. It certainly isn't one of my installed mods.

Shambles

It does look like the unofficial birthday fix has already altered the lines that package manager is looking for.

If so, just proceed with the upgrade and ignore the errors - the required upgrade alterations will already have been made.

Steve

Quote from: petewadey on December 28, 2021, 07:08:22 AMIt certainly isn't one of my installed mods.
Does it show in your list of mods in the Package Manager? Or is that what you meant?

ref: https://www.simplemachines.org/community/index.php?msg=4105428
My pet rock is not feeling well. I think it's stoned.

petewadey

Quote from: Steve on December 28, 2021, 07:51:47 AM
Quote from: petewadey on December 28, 2021, 07:08:22 AMIt certainly isn't one of my installed mods.
Does it show in your list of mods in the Package Manager? Or is that what you meant?

ref: https://www.simplemachines.org/community/index.php?msg=4105428

That is what I meant

I'll give it a try. What's the worst that can happen? :)

Steve

My pet rock is not feeling well. I think it's stoned.

petewadey

Doing that now. I assume there is no need for an sql backup for this?

Doug Heffernan

Quote from: petewadey on December 28, 2021, 08:08:17 AMDoing that now. I assume there is no need for an sql backup for this?

Although in this case it is not necessary imo, it won't not hurt to make one. For just in case.

petewadey

I ignored the warning and went ahead and installed the upgrade. Everything appears to be working fine. Thanks for all your help and advise.

Advertisement: