LinkStackOrg / linkstack-themes

A list of themes for LinkStack. Customize the look of your LinkStack instance with themes. Themes allow you to change the look and feel of your site with a few clicks. Users can submit themes they created for everyone to download and use.
https://linkstack.org/themes
66 stars 3 forks source link

Infinite Load - Uploading Theme #11

Open brendonmconnett opened 1 year ago

brendonmconnett commented 1 year ago

Hey there.

I recently built out a theme (started with GitHub, but moved away since it was easier for me to work with it on my usual file editor) and came across an issue when uploading the theme via the site itself.

The area where you can normally click the dropdown and see all the installed themes and if they need updates or not has a loading animation that never stops. I can't even click in.

I refreshed the page and the loading animation is still there and the theme doesn't show up in the theme selector.

To revert the change, I have to go into the "Delete Theme" section and delete that previously uploaded theme. After this, everything is back to normal, but it reverts me to the default theme (since I just deleted mine).

Thoughts on this?

JulianPrieber commented 1 year ago

Please make sure you're logged in as an admin, and enable debugging in your config. Then go to example.com/theme-updater, then see if there is any error.

thibaultmol commented 9 months ago

Is it possible @brendonmconnett that you just did the same thing as I did and incorrectly zipped your theme? (I zipped the contents of the theme folder instead of the theme folder). So the zip file should be: theme.zip

While I had to modify and rezip a theme and instead did this: theme.zip

without the folder itself.

If you upload that (and many any other invalid theme zip) the dropdown seems to break

https://flareapp.io/share/bP914Y3P