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

    AdamCord

    05/17/2021, 7:17 PM
    nada
  • a

    AdamCord

    05/17/2021, 7:18 PM
    if you mean in default laravel storage/logs... no it doesn't write anything in there although the logs are working for other real errors ive observed
  • i

    ifox

    05/17/2021, 7:21 PM
    which command are you trying to run? php artisan twill should just list the available commands in an artisan error. are other artisan commands working, like php artisan inspire or something
  • a

    AdamCord

    05/17/2021, 7:21 PM
    anything fails
  • a

    AdamCord

    05/17/2021, 7:21 PM
    same result
  • a

    AdamCord

    05/17/2021, 7:21 PM
    its something pretty fundamental i imagine
  • i

    ifox

    05/17/2021, 7:22 PM
    hmm your php CLI config might be the cause if the web works fine
  • a

    AdamCord

    05/17/2021, 7:22 PM
    although if i do something like php artisan cache:clear it definitely takes longer to return the cli to the flashing cursor
  • a

    AdamCord

    05/17/2021, 7:22 PM
    when compared to just php artisan
  • i

    ifox

    05/17/2021, 7:22 PM
    oh it's like it executes but no output
  • a

    AdamCord

    05/17/2021, 7:23 PM
    possibly
  • a

    AdamCord

    05/17/2021, 7:23 PM
    yes
  • i

    ifox

    05/17/2021, 7:23 PM
    try a command that would generate a file
  • i

    ifox

    05/17/2021, 7:23 PM
    like make:model or something
  • i

    ifox

    05/17/2021, 7:24 PM
    if that works then it's your cli output that somehow broken 🤔
  • a

    AdamCord

    05/17/2021, 7:26 PM
    that returns very quickly and theres no new models file in app/models
  • a

    AdamCord

    05/17/2021, 7:26 PM
    so it doesn't seem to really be working
  • a

    AdamCord

    05/17/2021, 7:35 PM
    something i just worked out... if i set APP_ENV in .env from "production" to "local" then it works!
  • a

    AdamCord

    05/17/2021, 7:49 PM
    Really odd. If anyone has any clues what this could be I'd love to hear
  • a

    AdamCord

    05/17/2021, 7:49 PM
    Thanks for the repeater fix @User !
  • i

    ifox

    05/17/2021, 8:02 PM
    https://stackoverflow.com/questions/59165037/laravel-artisan-command-produces-no-output-an-interesting-discovery-whic
  • i

    ifox

    05/17/2021, 8:04 PM
    You might not be running the right PHP binary
  • i

    ifox

    05/17/2021, 8:05 PM
    oh well my bad, it works with local env you're saying. thing is you probably have a service provider loading some code in production only.
  • b

    Bubumeister

    05/18/2021, 9:29 AM
    Hi, i just discovered that when repeatedly saving blocks in a module the IDs are always incremented. Is this intended? Thanks for support.
  • i

    ifox

    05/18/2021, 9:38 AM
    hi @Bubumeister, yes basically blocks in database are deleted and created again each time you save, which increments their IDs.
  • b

    Bubumeister

    05/18/2021, 9:38 AM
    Ah, ok.
  • b

    Bubumeister

    05/18/2021, 9:45 AM
    I am trying to get the related module of the block in the content editor ($block->blockable) which is not possible then.
  • b

    Bubumeister

    05/18/2021, 9:45 AM
    ... after saving blocks
  • i

    ifox

    05/18/2021, 9:46 AM
    hmm, yeah I see. What you could try is forcing a page reload on save. but that'll close the editor.
  • i

    ifox

    05/18/2021, 9:47 AM
    we could probably implement a parameter to open it on a specific block on load, if that's what you need
12345...484Latest