https://twill.io logo
Join Discord
Powered by
# ❓questions
  • t

    tfilos

    12/16/2022, 1:31 PM
    @ifox exactly
  • t

    tfilos

    12/16/2022, 1:31 PM
    I thought it had to do with the server itself until I realized it was happening on my local Valet version as well
  • i

    ifox

    12/16/2022, 1:32 PM
    we're talking about /img urls right? did you debug if they are going through the glide controller? are files still being created in the glide_cache folder?
  • t

    tfilos

    12/16/2022, 1:57 PM
    Yeah, it's the /img URLs. It appears that it still is. I will double check. Same with the glide_cache folder, one second
  • t

    tfilos

    12/16/2022, 2:00 PM
    Well, I put a
    dd($path, $app);
    in the GlideController __invoke function and it is in fact not firing @ifox
  • t

    tfilos

    12/16/2022, 2:00 PM
    Which is confusing, because I don't have any other paths that are overriding this
  • t

    tfilos

    12/16/2022, 2:01 PM
    And of course the images are still loading, so it's passing through somewhere
  • t

    tfilos

    12/16/2022, 2:01 PM
    Unless A17\Twill\Http\Controllers\Front\GlideController is not what I'm looking for
  • i

    ifox

    12/16/2022, 2:24 PM
    A17\Twill\Http\Controllers\Front\GlideController
    is what you're looking for
  • t

    tfilos

    12/16/2022, 2:25 PM
    I can also confirm that glide_cache is not being written to
  • t

    tfilos

    12/16/2022, 2:25 PM
    So it's going to that route, but __invoke is not being called
  • i

    ifox

    12/16/2022, 2:26 PM
    Copy code
    php artisan route:list | grep img         
    GET|HEAD        img/{path} ........................... Front\GlideController
  • t

    tfilos

    12/16/2022, 2:26 PM
    Yep
  • i

    ifox

    12/16/2022, 2:26 PM
    you see this too, right?
  • t

    tfilos

    12/16/2022, 2:26 PM
    Yes
  • i

    ifox

    12/16/2022, 2:26 PM
    how could invoke not being called 🤔
  • t

    tfilos

    12/16/2022, 2:27 PM
    I mean, how does it know to call invoke from this route?
  • i

    ifox

    12/16/2022, 2:29 PM
    that's a laravel default
  • i

    ifox

    12/16/2022, 2:29 PM
    https://laravel.com/docs/9.x/controllers#single-action-controllers
  • t

    tfilos

    12/16/2022, 2:29 PM
    Got it, I've never used that functionality
  • t

    tfilos

    12/16/2022, 2:32 PM
    I'm going to just try emptying all of the caches and try the dd() again
  • t

    tfilos

    12/16/2022, 2:32 PM
    At least not firing __invoke() smells like a caching thing to me
  • t

    tfilos

    12/16/2022, 2:33 PM
    Yeah. There we go. I'm able to get a dd of $path and $app now.
  • t

    tfilos

    12/16/2022, 2:34 PM
    And now the transformations are appearing on my local dev server again. Still nothing on production though.
  • t

    tfilos

    12/16/2022, 2:35 PM
    Going to check a couple more things in terms of settings, etc, make sure everything is pointing where I think it is
  • t

    tfilos

    12/16/2022, 2:37 PM
    Okay, ruled that out. Was wondering if maybe my APP_URL got messed up on production and was pointing to staging or something, that's not it
  • t

    tfilos

    12/16/2022, 2:39 PM
    Double checking permissions
  • t

    tfilos

    12/16/2022, 2:40 PM
    That's not it either
  • t

    tfilos

    12/16/2022, 3:20 PM
    Yeah, kind of at a loss here. Doesn't really make sense
  • t

    tfilos

    12/16/2022, 3:21 PM
    php-gd has been updated in the last 24 hours
1...438439440...484Latest