Hi how to delete the old pic of an user when i update the pic of user profile?

|
Mahdi_khani 2019-12-02 14:14:56
itsvahid_ab 2019-12-02 14:12:40
restart apache after changing php.ini

I do
But i see error

skys215 2019-12-02 15:06:43
run phpinfo(), check if soap is enabled or not
2019-12-02 15:19:09
Hi good night, I sell the source code meeting room booking system with laravel 5.4 framework, the price is $ 10, if interested please chat me
skys215 2019-12-02 15:44:42
nginx/apache configuration problem
skys215 2019-12-02 15:59:37
have you enabled rewrite?
skys215 2019-12-02 15:59:55
have you meet this probelm when submitting a form with ajax?
skys215 2019-12-02 16:26:35
so it’s an api call right?
Try adding header
X-Requested-With: XMLHTTPRequest
or
Accept: application/json
MatPk 2019-12-02 18:59:43
πŸ€¦πŸ»β€β™‚οΈπŸ˜‚
Lyon444 2019-12-02 20:42:52
good evening the family I start on laravel after managing the problem of cors Origin here is the message that appears
Lyon444 2019-12-02 20:43:59
POST http://localhost:8000/api/membres 500 (Internal Server Error)
H_Bakhtar 2019-12-02 21:15:48
Hi how to delete the old pic of an user when i update the pic of user profile?
skys215 2019-12-03 02:59:41
Lyon444 2019-12-02 20:43:59
POST http://localhost:8000/api/membres 500 (Internal Server Error)

See log

skys215 2019-12-03 03:00:02
This error doesn’t make sense
skys215 2019-12-03 03:00:38
H_Bakhtar 2019-12-02 21:15:48
Hi how to delete the old pic of an user when i update the pic of user profile?

How is the pic related to the user profile

2019-12-03 03:43:56
New New from LaravelDaily

package for print PDF 😁😁😁

https://github.com/LaravelDaily/laravel-invoices

bunthoeunsoun 2019-12-03 05:56:42
Hello i am a member in here
bunthoeunsoun 2019-12-03 05:57:48
From cambodia nice to met everyone😍😍😍😍
Gabe Tua Putra 2019-12-03 05:59:05
laravel_discuss-19920.jpg
Dibutuhkan SEGERA!!!
WEB PROGRAMMER LARAVEL
Location: Bandung
kirim CV dan Lamaran Ke career@inovamedika.com atau langsung mendaftar ke http://bit.ly/webprogrammer-ims
rebory 2019-12-03 08:11:41
hi friends i need little help
rebory 2019-12-03 08:12:14
i sent json response on ajax request
rebory 2019-12-03 08:12:27
now i install laravel notify package
rebory 2019-12-03 08:12:48
how i send json response with laravel notify
rebory 2019-12-03 08:13:18
laravel_discuss-19925.jpg

rebory 2019-12-03 08:13:55
laravel_discuss-19926.jpg
laravel notify package documentation
skys215 2019-12-03 08:17:20
I think laravel notifyf is not for api requests? I’m not sure, I’ve never used it before
skys215 2019-12-03 08:17:38
have you googled it?
rebory 2019-12-03 08:20:18
skys215 2019-12-03 08:17:38
have you googled it?

i found nothing after google it

rebory 2019-12-03 08:20:42
there is officially documentation https://github.com/mckenziearts/laravel-notify

GitHub – mckenziearts/laravel-notify: Flexible Flash notifications for LaravelGitHub
Flexible Flash notifications for Laravel. Contribute to mckenziearts/laravel-notify development by creating an account on GitHub.
skys215 2019-12-03 08:46:23
rebory 2019-12-03 08:20:42
there is officially documentation https://github.com/mckenziearts/laravel-notify

laravel-notify is not for ajax calls

rebory 2019-12-03 08:47:04
skys215 2019-12-03 08:46:23
laravel-notify is not for ajax calls

i know but i can used these ? any trick?

skys215 2019-12-03 08:47:48
what you need is just a popup window
skys215 2019-12-03 08:48:08
and show whatever content reponse by the api
skys215 2019-12-03 08:48:25
nothing todo with laravel-notify
rebory 2019-12-03 08:50:54
laravel_discuss-19936.jpg
i recieve the notification after redirect to list in need same nofication on create page as ajax response
rebory 2019-12-03 08:51:51
laravel_discuss-19937.jpg
this is my controller code
skys215 2019-12-03 08:52:20
rebory 2019-12-03 08:50:54
i recieve the notification after redirect to list in need same nofication on create page as ajax response

Yes, that’s because you used redirect, not an api/ajax request

skys215 2019-12-03 08:52:37
response is not a redirection
skys215 2019-12-03 08:53:32
laravel-notify package will get the data when page is loaded
since the page is already loaded when you get the api response, how can it get the data?
rebory 2019-12-03 08:54:47
skys215 2019-12-03 08:53:32
laravel-notify package will get the data when page is loaded
since the page is already loaded when you get the api response, how can it get the data?

so what i do so fix it?

skys215 2019-12-03 08:55:14
it’s not a problem, you are using wrong tool to do something you want
skys215 2019-12-03 08:56:05
you can not go to 100meters away from your house with a airplane, can you?
skys215 2019-12-03 08:59:31
the other way is to read the source code of laravel-notify
rebory 2019-12-03 09:01:14
skys215 2019-12-03 08:55:14
it’s not a problem, you are using wrong tool to do something you want

hmm i agree

rebory 2019-12-03 09:03:17
if another way or using other package to get json response as notification if available pls share with me
skys215 2019-12-03 09:06:29
What you need is a popup window
rebory 2019-12-03 09:21:54
yes
rebory 2019-12-03 09:22:12
beautiful notification
rebory 2019-12-03 09:22:22
like sweet alert
RoNin9392 2019-12-03 09:52:23
@all can any one suggest me how I can load custom helpers when it is requried in laravel, I don’t want it load every time.
skys215 2019-12-03 09:54:51
Helper?
|