laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.95k stars 808 forks source link

Jetstream does not show the profile picture #1395

Closed drfcozapata closed 10 months ago

drfcozapata commented 10 months ago

Jetstream Version

4.0.5

Jetstream Stack

Inertia

Laravel Version

10.30.1

PHP Version

8.1

Database Driver & Version

MySQL 8.0.35 for Ubuntu 22.04

Description

I I have developed a monolith with Laravel, JetStream, Inertia and Vue. Until last week everything was working fine when loading and using the profile picture in the app. For other reasons, I had to do an installation from scratch and migrate the components that I had already done, but now it shows the preview of the profile picture, saves it in the DB, but does not show it after saving. I did another 2 new installations using "Laravel new" and the result is the same. Did you change something in the scafolding that is affecting this bug?

Steps To Reproduce

  1. Create a new Laravel-Jetstream-Inertia project.
  2. Uncomment line 62 in 'jetstream.php' file to allow use profile photo.
  3. Try to upload an use the profile photo.
crynobone commented 10 months ago

CleanShot 2023-11-02 at 10 58 57

Unable to replicate the issue. The only think I could see is that I need to change APP_URL=http://127.0.0.1:8000 since I'm using artisan serve.

crynobone commented 10 months ago

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

drfcozapata commented 10 months ago

Mior, thank you for your reply!

I had forgotten to set APP_URL=http://127.0.0.1:8000. I created a new project from scratch and it works fine.

However, despite having made the change, it still does not work in my project. I don't know if it has something to do with the fact that I changed the data and no longer ask for name, but first_name and last_name separately.

I will check it again to see what could be happening. Thank you very much!

[image: image.png]

[image: Dr. Francisco Zapata] https://linkedin.com/in/drfcozapata Francisco Zapata

Vue.js Fullstack Web Developer Jr [image: https://t.me/drfcozapata] https://t.me/drfcozapata [image: https://wa.me/584120918548] https://wa.me/584120918548 [image: https://twitter.com/drfcozapata] https://twitter.com/drfcozapata [image: https://linkedin.com/in/drfcozapata] https://linkedin.com/in/drfcozapata [image: https://github.com/drfcozapata] https://github.com/drfcozapata +58 412 0918548Puerto Ordaz, Bol, Venezuela

El mié, 1 nov 2023 a la(s) 23:05, Mior Muhammad Zaki ( @.***) escribió:

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

— Reply to this email directly, view it on GitHub https://github.com/laravel/jetstream/issues/1395#issuecomment-1789990975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCSSPJ3UJRS6IB3BFJEYX3YCMEYHAVCNFSM6AAAAAA6ZS6S2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZHE4TAOJXGU . You are receiving this because you authored the thread.Message ID: @.***>

crynobone commented 10 months ago

Feel free to create a new issue with reproducing steps if you can recreate the issue based on the existing project.