Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Negotiator 4.0 #16

Closed
fietstouring opened this issue Oct 16, 2023 · 3 comments
Closed

Media Negotiator 4.0 #16

fietstouring opened this issue Oct 16, 2023 · 3 comments

Comments

@fietstouring
Copy link

Hallo,
bekomme bei Aufruf der config Fehlermeldung auf meinem Testserver. Server kann kein avif mit Imagick. Das sollte gecheckt werden, bevor damit ein Bild zu erzeugen versucht wird.

ImagickException thrown with message "Unable to set image format"

Stacktrace:
#15 ImagickException in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/addons/media_negotiator/pages/config.php:110
#14 Imagick:setImageFormat in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/addons/media_negotiator/pages/config.php:110
#13 require in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/packages/package.php:233
#12 rex_package:includeFile in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:503
#11 rex_be_controller:{closure} in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/util/timer.php:62
#10 rex_timer:measure in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:485
#9 rex_be_controller:includePath in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:453
#8 rex_be_controller:includeCurrentPageSubPath in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/addons/media_negotiator/pages/index.php:4
#7 require in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/packages/package.php:233
#6 rex_package:includeFile in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:503
#5 rex_be_controller:{closure} in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/util/timer.php:62
#4 rex_timer:measure in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:485
#3 rex_be_controller:includePath in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/lib/be/controller.php:436
#2 rex_be_controller:includeCurrentPage in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/backend.php:241
#1 require in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/src/core/boot.php:155
#0 require in /Users/Shared/Dropbox/htdocs/martha-labil-2023/redaxo/index.php:9

@AndiLeni
Copy link
Owner

Danke fürs melden, da sollte in der v4 ein demo bild ausgegeben werden, damit man sehen kann, ob die generierung funktioniert.
Vllt reicht es schon den betreffenden codebereich in einen try-catch block zu setzen. Da kannst du gerne aucch einen PR einreichen wenn du zeit hast, du kannst es zumindest auf einer umgebung testen wo der fehler auftritt. Ansonsten schaue ich es mir in den kommenden tagen an.

@AndiLeni
Copy link
Owner

@fietstouring welche version von Imagick ist bei dir installiert?

AndiLeni added a commit that referenced this issue Oct 17, 2023
@fietstouring
Copy link
Author

Hi, ich denke die Issue ist erledigt!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants