TryGhost / Ghost

Independent technology for modern publishing, memberships, subscriptions and newsletters.

Home Page:https://ghost.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uploading a theme with errors does not show which errors are happening

sergiospagnuolo opened this issue · comments

Issue Summary

By going in the /ghost design option to change themes and uploading a new theme, if that new theme has some errors, the errors are not shown in warning popup.

Captura de Tela 2024-01-29 às 14 27 51

Steps to Reproduce

  1. Go to Settings > Design > Change Themes > Upload New Theme
  2. Click to upload and wait for response

Ghost Version

5.76.2

Node.js Version

18

How did you install Ghost?

CLI

Database type

MySQL 5.7

Browser & OS version

No response

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository

FIXED:

I used Ghost's GSCAN tool and it told me that:

Symlinks in ZIP-files are not allowed

UnsupportedMediaTypeError: Symlinks in ZIP-files are not allowed

I zipped without symlinks. Adding some warning then that happens within Ghost's upload screen could help.