Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Mareid on February 10, 2021, 01:37:14 PM

Title: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 10, 2021, 01:37:14 PM
The subject says it all.  I used the package manager to upload the new version.  Now all I see on index.php is a blank screen.  I am not knowledgeable enough to fix this myself. 

edited to add:  I contacted the host and had them upgrade php to 7.4....same result
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 10, 2021, 02:12:14 PM
I have a backup in .tar.gz format.  Could you point me to where I can learn how to restore from the backup please.
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Kindred on February 10, 2021, 03:07:39 PM
if you have a backup of the files, just restore it, overwriting the existing files with the backup contents

If you have a backup of the database, you would do the same thing at the db level...   but the database is not a problem here...

Alternatively, get the upgrade archive (not the patch) and upload it to your server, overwriting the existing files
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 10, 2021, 05:08:59 PM
I restored the backup and it worked perfectly...thanks. I tried again to use the package manager and I got errors (I didn't notice any the previous time, but it's possible I just missed them.  Here's a screenshot.  I don't know how to fix them.  I deleted (actually I uninstalled) an addon package, but other than that that's all I see that might interfere. 

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmanasotaweaversguild.com%2Fscreenie.png&hash=19d3774966b59f9675482b69a414f74b3b94da24)
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Kindred on February 10, 2021, 05:23:03 PM
you will have to manually find and apply the patch changes to those locations.

Alternatively, you could use the upgrade archive, overwrite all files and then reinstall mods.
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 13, 2021, 08:35:03 AM
This is what I did and I still get the error.
I found the 0.17 patch and extracted the two files that were causing the error  and uploaded them one at a time to the proper directory shown in the error message.  I then  tried to patch 0.18 again. I got the same error.  I had already removed the two mods I'd installed and I deleted them also.

I will try your suggestion to overwrite all the files from the 0.18 archive

I think it would work to download the .zip archive to my pc and just FTP the files up but there must be a better way using the .gz archive.  I just don't know how to do it that way.  This is quite a learning curve for me.  To give you an idea how big, I graduated from engineering school in 1961 and I've been retired now for 25 years!
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 13, 2021, 11:25:12 AM
Before I do it with the zip file, will that work correctly, simply ftp up the files in their directories?  I do have a backup but I am worried I'll screw the whole thing up
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 13, 2021, 05:49:08 PM
Before I start doing the upload I'd like someone to validate that I'm doing this correctly: 

If I simply filezilla the files that I expanded from the 0.18 archive back up to the server, will that work? Or is there more to do with file permissions and so on?

Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Illori on February 13, 2021, 07:41:03 PM
take a look at https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 14, 2021, 08:56:54 AM
I followed the instructions in the link to the letter:
Now I don't know what to do.
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 14, 2021, 12:07:09 PM
The picture shows the .zip download (oops) but I did also download the .tar.gz and that's what I uploaded to my host
Title: Re: Used Pkg Mgr to upgrade from .17 to .18 Now blank screen when accessing forum
Post by: Mareid on February 14, 2021, 12:28:28 PM
I fixed it.  I uploaded the two files again, and ran the patch.  this time it worked.