Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: fmofmpls on April 14, 2024, 08:41:19 AM

Title: Can't Install Themes
Post by: fmofmpls on April 14, 2024, 08:41:19 AM
Hello. I did the upgrade to 2.1.4 the other night and since then I have not been able to successfully upload any new themes. All the themes that I have tried to upload show full compatibility with 2.1.4  I keep getting the error message - SMF was unable to find any valid information within the package-info.xml file included within the Package. There may be an error with the modification, or the package may be corrupt.

What am I doing wrong here? Thank you.
Title: Re: Can't Install Themes
Post by: Kindred on April 14, 2024, 08:47:34 AM
Themes are not mod packages. Upload them in the THEME interface,  not the mod package manager
Title: Re: Can't Install Themes
Post by: fmofmpls on April 14, 2024, 08:50:17 AM
That's where I've been attempting my uploads. In the Theme settings in admin
Title: Re: Can't Install Themes
Post by: Doug Heffernan on April 14, 2024, 08:54:49 AM
Are there any errors logged in at the error log page?
Title: Re: Can't Install Themes
Post by: Kindred on April 14, 2024, 09:14:18 AM
The error message that you listed above is NOT the error I see when uploading and invalid theme...
What you listed is the failed package manager message

Go to THIS location
index.php?action=admin;area=theme;sa=admin
Title: Re: Can't Install Themes
Post by: Doug Heffernan on April 14, 2024, 09:38:53 AM
Quote from: Kindred on April 14, 2024, 09:14:18 AMThe error message that you listed above is NOT the error I see when uploading and invalid theme...

That's what I thought too, but actually it seems to be related to a theme installation. I found this bug report on Guthub, but it was for a beta version of Smf 2.1.

https://github.com/SimpleMachines/SMF/issues/3739
Title: Re: Can't Install Themes
Post by: fmofmpls on April 14, 2024, 09:58:58 AM
I'm definitely not attempting to load themes through the package manager. I've only attempted to upload themes through the theme admin manage and install interface.
Title: Re: Can't Install Themes
Post by: fmofmpls on April 14, 2024, 10:00:04 AM
Here's an error message from my error log:

2: file_get_contents(/home/monster/public_html/forum/Themes/temp/theme_info.xml): failed to open stream: No such file or directory
Title: Re: Can't Install Themes
Post by: Kindred on April 14, 2024, 10:43:37 AM
And is the theme_info.xml file present in the theme zip file that you attempt to upload?


Alternatively,  use your file manager or ftp to create a new theme directory,  upload the unzipped contents of the theme there and install from the directory in smf admin rather than from an upload
Title: Re: Can't Install Themes
Post by: fmofmpls on April 14, 2024, 11:01:41 AM
Yes, the xml info is in theme folder.

I will try your alternative suggestion. Thanks!