Uploading a theme with errors does not show which errors are happening
sergiospagnuolo opened this issue · comments
Sérgio Spagnuolo commented
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.
Steps to Reproduce
- Go to Settings > Design > Change Themes > Upload New Theme
- 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
Sérgio Spagnuolo commented
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.