Recent content by cdarsch

  1. cdarsch

    Duplicate Optimize Attachments failing on .pdf

    That enabled the process to bypass the problem image. Thank you! However, upon investigating, the problem image is a panoramic photo with dimensions 12,368 x 3,776. The forum can display the image fine. This is still a bug, no?
  2. cdarsch

    Confirmed Image optimisation fails with gd-webp encoding failed

    That enabled the process to bypass the problem image. Thank you! However, upon investigating, the problem image is a panoramic photo with dimensions 12,368 x 3,776. The forum can display the image fine. This is still a bug, no?
  3. cdarsch

    Duplicate Optimize Attachments failing on .pdf

    Hi Jeremy P! I'm running PHP 8.3.16. I'm not expecting image optimization on non-image attachments, but I do expect the procedure to skip non-image attachments without failing.
  4. cdarsch

    Duplicate Optimize Attachments failing on .pdf

    The problem I'm having is with the bulk conversion of existing images into webp format via Tools/Rebuild/Caches/Optimize Attachments, not with the upload/conversion of new images.
  5. cdarsch

    Duplicate Optimize Attachments failing on .pdf

    Not sure I understand your question.
  6. cdarsch

    Duplicate Optimize Attachments failing on .pdf

    I ran Optimize Attachments and got the following error: ErrorException: [E_WARNING] imagewebp(): gd-webp encoding failed src/XF/Image/Gd.php:224 Generated by: Christo Feb 25, 2025 at 10:31 AM Stack trace #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] ima...', '/home/gmcrvfor/...'...
  7. cdarsch

    XF 2.3 Optimize attachments failure

    So I marked the file as being optimized manually but then encountered the error a few more times. Looking at the data in xf_attachment_data, the filenames that failed were all .pdf. It shouldn't be trying to turn these into .webp! This is a bug, right?
  8. cdarsch

    XF 2.3 Optimize attachments failure

    Oh, nevermind, I see that the instructions are right in the post. Sorry!
  9. cdarsch

    XF 2.3 Optimize attachments failure

    Can try Imagick, but if I wanted to stick with the XenForo code, how would I "mark the problem file as optimized manually"?
  10. cdarsch

    XF 2.3 Optimize attachments failure

    ErrorException: [E_WARNING] imagewebp(): gd-webp encoding failed src/XF/Image/Gd.php:224 Generated by: Christo Feb 25, 2025 at 9:57 AM Stack trace #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] ima...', '/home/gmcrvfor/...', 224) #1 src/XF/Image/Gd.php(224)...
  11. cdarsch

    XF 2.3 Optimize attachments failure

    ErrorException: [E_WARNING] imagewebp(): gd-webp encoding failed src/XF/Image/Gd.php:224 Generated by: Christo Feb 25, 2025 at 9:44 AM Stack trace #0 [internal function]: XF::handlePhpError(2, '[E_WARNING] ima...', '/home/gmcrvfor/...', 224) #1 src/XF/Image/Gd.php(224)...
  12. cdarsch

    XF 2.3 Optimize attachments failure

    Disabled those addons and tried again via web (haven't tried CLI yet): Same error. FYI, the first time I ran this it got through >1000 images before dying, so I think it's choking on a particular image.
  13. cdarsch

    XF 2.3 Optimize attachments failure

    shared. These are my addons:
  14. cdarsch

    XF 2.3 Optimize attachments failure

    I can't disable all addons because this can take a lonnnng time to run.
  15. cdarsch

    XF 2.3 Optimize attachments failure

    It's the same error.
Back
Top Bottom