Question: Installation Success. But Can't Login

Installation Success. But Can't Login

Please check. The login/ register button not working. https://talk.appcore.in/

R

rag

Asked
Please check. The login/ register button not working.

https://talk.appcore.in/
  • MS

    Mian Saleem

    Answered
    Hello,

    I can see that the livewire page contents are loading.

    I am not sure why the livewire request is failing. Are you using any javascript optimisation module/plugin. If yes please disable and check. If not please let me know the server details in private reply to check.

    Thank you
  • R

    rag

    Answered
    No modification from my side. Just installed as per instruction. It;s hosted in VPS in hetzner-cloudpanel-NGNX
  • MS

    Mian Saleem

    Answered
    Hello,

    The request to `livewire/livewire.min.js` are producing 404 error. It's not a static file but a route to server Laravel livewire.

    You can add following to your nginx config

    ```nginx
    location = /livewire/livewire.js {
    expires off;
    try_files $uri $uri/ /index.php?$query_string;
    }
    ```

    I found the article [Fix the /livewire/livewire.js 404 not found error](https://arc.net/l/quote/neoflksq) with few other options. Please give it a try.

    Thank you
  • R

    rag

    Answered
    Tried and failed.
  • R

    rag

    Answered
    OK, the VPS failed. can i host this script in hostinger shared server then?
  • MS

    Mian Saleem

    Answered
    Hello,

    Yes, you can. If you let me know the cloud panel access in private reply. I can help you check.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    I hope you have manage the installation. If there is nay issue, please let me know so that I can check and guide you.

    Thank you
  • R

    rag

    Answered
    No luck in both. is SSH access enough?
  • MS

    Mian Saleem

    Answered
    Hello,

    There was another user with same issue. Please check that the root path is correctly set to `public` folder in your uploaded file. Secondly you can try `php artisan livewire:publish --assets` to publish livewire assets and check if it resolve the issue.

    Yes, ssh with database access should be fine.

    Thank you
  • R

    rag

    Answered
    I'll try. Thank you
  • Login to Reply