Contao: Internal server error when theme screenshot image is missing

Created on 16 Aug 2019  路  3Comments  路  Source: contao/contao

Affected version(s)

Contao 4.4 / Contao 4.8

Description

Contao is throwing an internal server error exception when the theme screenshot/preview image is missing or defect.

How to reproduce

  • Add a screenshot image in the theme settings
  • Delete or rename the screenshot image file
  • Try to open _Layout_ > _Themes_

Expected behavior

Ignore the missing or defect screenshot/preview image and open the _Themes_ back end module.

bug

All 3 comments

I wasn't able to reproduce this. I have deleted the theme image and when I re-opened the themes module, the theme was shown without it. No exception message.

What exactly does the exception message say?

Ok, @ausi reminded me not to remove the file in the file manager and now I see the exception.

Fixed in b91d01c0a7e83f9f3c6bf27bebfc4445c4f688ad.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leofeyer picture leofeyer  路  3Comments

leofeyer picture leofeyer  路  3Comments

zonky2 picture zonky2  路  3Comments

aschempp picture aschempp  路  3Comments

theDyingMountain picture theDyingMountain  路  4Comments