Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on my machine :) #50

Closed
raveren opened this issue Sep 1, 2022 · 7 comments
Closed

Does not work on my machine :) #50

raveren opened this issue Sep 1, 2022 · 7 comments
Labels
needs more info This issue needs more information to reproduce or fix

Comments

@raveren
Copy link

raveren commented Sep 1, 2022

I install through composer and get this:
image

@arukompas
Copy link
Contributor

hey @raveren , I'm wondering what's the setup here. Can you please provide more details? Like PHP, Laravel , OS versions.

Is there a public repository of your project so I can try this out myself? It feels like there's some configuration that's not working with the log viewer.

@mrizkip
Copy link

mrizkip commented Sep 2, 2022

yeah don't work on mine too, it happen when we call on public folder like on production, not with artisan command php artisan serve.
example: we call url http://localhost/public/log-viewer it will open the log viewer website, but when click on log file, it show nothing

@Advaith3600
Copy link
Contributor

Yes that happens due to path resolving in Laravel, personally I fixed it by routing that URL through nginx

location ~ ^(/api/|/livewire/) {
    root /var/www/backend/public;
    try_files $uri $uri/ /index.php?$query_string;
 }

@arukompas
Copy link
Contributor

yeah don't work on mine too, it happen when we call on public folder like on production, not with artisan command php artisan serve. example: we call url http://localhost/public/log-viewer it will open the log viewer website, but when click on log file, it show nothing

Hey @mrizkip , please see my reply here for the fix - #8 (comment)

@mrizkip
Copy link

mrizkip commented Sep 2, 2022

thank you @arukompas, it works like a charm 😁

@arukompas arukompas added the needs more info This issue needs more information to reproduce or fix label Sep 2, 2022
@arukompas
Copy link
Contributor

Closing due to inactivity from OP

@arukompas arukompas closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2022
@raveren
Copy link
Author

raveren commented Sep 9, 2022

lol nice attitude, good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information to reproduce or fix
Projects
None yet
Development

No branches or pull requests

4 participants