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

    Harings Rob

    11/18/2022, 10:41 AM
    This error will not (I think) go into laravel log.
  • y

    Young_Koekwaus

    11/18/2022, 10:42 AM
    Yeah i think so aswell
  • y

    Young_Koekwaus

    11/18/2022, 10:42 AM
    Looks server related
  • i

    ifox

    11/18/2022, 10:43 AM
    Sounds like POST requests are disabled or something
  • y

    Young_Koekwaus

    11/18/2022, 2:24 PM
    Its so weird pfff strato said they don’t experience any problems my mate who also usus the twill cms in his site has te same problem, he is also on a shared hosting.
  • i

    ifox

    11/18/2022, 7:59 PM
    @Young_Koekwaus have you been successful with Laravel apps without twill on this hosting?
  • i

    ifox

    11/18/2022, 8:00 PM
    Twill really shouldnt be an issue anywhere a standard Laravel app can run
  • y

    Young_Koekwaus

    11/21/2022, 12:47 AM
    I know it sounds weird but with some testing I found out it only happens when I log in my cms on my website and then when I login my friends twill cms on a other website then it gives me a 503 error, and it crashes the site for some reason.
  • y

    Young_Koekwaus

    11/21/2022, 12:48 AM
    Maybe because its shared hosting
  • y

    Young_Koekwaus

    11/21/2022, 12:48 AM
    I have no clue
  • i

    ifox

    11/21/2022, 3:14 AM
    are you both using a subdomain on the same root domain with your cookie domain being set to .example.com ? It sounds like you may be dealing with conflicting cookies.
  • y

    Young_Koekwaus

    11/21/2022, 10:02 AM
    Yes thats what i was thinking aswell. But we both have our own domain, and im not using a subdomain.
  • y

    Young_Koekwaus

    11/21/2022, 10:06 AM
    Maybe our sites are connected because we both use strato shared hosting, or is that not the problem?
  • y

    Young_Koekwaus

    11/21/2022, 10:06 AM
    Thanks for helping me btw 🙂
  • h

    Harings Rob

    11/21/2022, 10:07 AM
    What is your session driver set to? It is highly unlikely for the sites to conflict if they are not on the same domain unless there is something really unsecure on their setup.
  • y

    Young_Koekwaus

    11/21/2022, 10:14 AM
    Im not really sure if this is what you mean, but im using the “file session driver”
  • h

    Harings Rob

    11/21/2022, 10:17 AM
    ok then the 2 sites can never be in conflict.
  • l

    lolelu

    11/21/2022, 3:52 PM
    How do i validate a browser field in twill 2? i tried with both name => 'required' and browser.name => required and it's not working properly
  • t

    Tobi Wan

    11/21/2022, 4:36 PM
    Is there a way to add "Latest SignedUp users" to the dashboard? Are there any examples for that?
    k
    i
    • 3
    • 15
  • k

    kalle

    11/21/2022, 5:49 PM
    Latest SignedUp users
  • i

    ifox

    11/21/2022, 9:53 PM
    Check the data you're trying to validate. It should be under the
    browsers
    key, not
    browser
  • u

    24kappa

    11/22/2022, 9:29 AM
    Hi guys, what is the best practice to add some custom css to admin panel? At the moment I'm using
    @push('extra_css')
    in single block form, is there a better way to do that?
  • l

    lolelu

    11/22/2022, 7:20 PM
    Hi everyone! I'm using twill to upload some files to the local storage. I modified both FILE_LIBRARY_ENDPOINT_TYPE and FILE_LIBRARY_LOCAL_PATH multiple times (of course i overwrote twill.php to make to .env variables useul) but I can't in anyway set a folder to save my files outside of the storage/app/public folder Is there something that I'm missing? I also tried to set the Path var to ../uploads and the files are actually saved outside the public folder, but when i try to retrieve them everything breaks because the url i receive from the helper is like that : ...storage/../uploads/uuid with those 2 dots in the middle
    k
    • 2
    • 9
  • k

    kalle

    11/22/2022, 8:25 PM
    Have you linked public dir with storage dir?
    php artisan storage:link
  • l

    lolelu

    11/23/2022, 7:59 AM
    Yeah I did! Should I unlink it?
  • k

    kalle

    11/23/2022, 8:54 AM
    Storage issue
  • l

    lolelu

    11/23/2022, 11:05 AM
    Yeah it's always me, again 😄 I managed to setup some working Bucket pages ( these one https://twill.io/docs/featuring-content/) and on the CMS side everything is working fine, but when it comes to render the content, what's the best way to do so? Anyone knows?
  • i

    ifox

    11/23/2022, 5:18 PM
    Hi @lolelu buckets are stored in the features table using the Feature model, so you can use this scope: https://github.com/area17/twill/blob/6cb202b51f096b219fe574377ace60db0c30d0fa/src/Models/Feature.php#L22
  • i

    ifox

    11/23/2022, 5:18 PM
    Feature::forBucket('bucket-name')
  • l

    lolelu

    11/23/2022, 5:19 PM
    Oh nice, that's neat
1...426427428...484Latest