Error Uploading logo
Closed this issue · 4 comments
Hi friends!
First, congratulations for your project!. Yesterday one great friend asked me to make a qr to their bar/restaurant, and i am trying your application.
I have working wity only one error:
file_get_contents(https://terraza.qrbar.app/storage/logos/KnuyZ5BSJJtsJ6Ot9GhJZLrV9N47x60X1kvImgsO.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
I think it is a problem of permissions but i gave 777 to storage/logos and it is not working. Maybe i will need to clear cache after change permissions?
One question more! ;-)
What is the admin credentials access? Thanks a lot!
Best regards from Spain,
José Ramón León Somovilla
Up
hi @joseRamonLeon
did you set storage link in Laravel?
if you didn't set, you can try with following.
php artisan storage:link
so you can access to the uploaded logo as https://terraza.qrbar.app/storage/logos/KnuyZ5BSJJtsJ6Ot9GhJZLrV9N47x60X1kvImgsO.png for example.
and the admin credentials is following.
email: admin@admin.com
password: password
to use this credentials you need to use Laravel seed
php artisan migrate --seed
or
php artisan db:seed --seeder=UserSeeder
I think this issue is resolved, so I close this.