Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/plugins/ImageMagick/ImageMagickPlugin.php on line 95',
I've got it enabled this way for several months (and it was working fine, i could see some animated avatars), but only yesterday it started to cause problems: site was not accessible. When removing the fist line, everything seeems to work fine again.
When using the plugin as indicated in the README:
$config['thumbnail']['animated'] = true;
addPlugin('ImageMagick');
the following error appears on apache log:
Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/plugins/ImageMagick/ImageMagickPlugin.php on line 95',
I've got it enabled this way for several months (and it was working fine, i could see some animated avatars), but only yesterday it started to cause problems: site was not accessible. When removing the fist line, everything seeems to work fine again.
<xmpp-gnu> [XRevan86] Maybe deconstructImages swallowed everything and then fopen pushed just enough to exceed the threshold
<xmpp-gnu> [XRevan86] Either way it's one darn big gif
<includeals> yeah, if it works for everything else
<includeals> I guess the solution would be the same applied to the media system
<includeals> setting different limits
<xmpp-gnu> [XRevan86] Another suggestion (complementary): forcefully convert gifs to webp's if they're animated
<xmpp-gnu> [XRevan86] when making thumbnails that is
<xmpp-gnu> [XRevan86] so an original gif → animated webp thumbnai
<xmpp-gnu> [XRevan86] Maybe deconstructImages swallowed everything and then fopen pushed just enough to exceed the threshold
<xmpp-gnu> [XRevan86] Either way it's one darn big gif
<includeals> yeah, if it works for everything else
<includeals> I guess the solution would be the same applied to the media system
<includeals> setting different limits
<xmpp-gnu> [XRevan86] Another suggestion (complementary): forcefully convert gifs to webp's if they're animated
<xmpp-gnu> [XRevan86] when making thumbnails that is
<xmpp-gnu> [XRevan86] so an original gif → animated webp thumbnai
I reenabled the plugin (just as before), and it's been behaving correctly for a week or so. I won't close this report just in case there's something else diogo or biodantas want to add.
I reenabled the plugin (just as before), and it's been behaving correctly for a week or so. I won't close this report just in case there's something else diogo or biodantas want to add.
I've had this plugin installed and working fine all these months. As a curiosity, i'm not using the "animated" part, although some avatars are animated.
I've had this plugin installed and working fine all these months. As a curiosity, i'm not using the "animated" part, although some avatars are animated.
When using the plugin as indicated in the README:
$config['thumbnail']['animated'] = true; addPlugin('ImageMagick');
the following error appears on apache log:
Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/plugins/ImageMagick/ImageMagickPlugin.php on line 95',
I've got it enabled this way for several months (and it was working fine, i could see some animated avatars), but only yesterday it started to cause problems: site was not accessible. When removing the fist line, everything seeems to work fine again.
I reenabled the plugin (just as before), and it's been behaving correctly for a week or so. I won't close this report just in case there's something else diogo or biodantas want to add.
I've had this plugin installed and working fine all these months. As a curiosity, i'm not using the "animated" part, although some avatars are animated.
This is tracked by kanban v2 task number number 19, originally assigned to @someonewithpc, currently being done by @tenma .