What could be the reason?

|
hey_archer 2019-03-03 13:49:28
Your precious response will be appreciated..🙂
2019-03-03 14:23:59
hi guys
I have a problem working with passport on live server!
when I want to test my api’s in the server with postman I face with Unauthenticated error!
but in local every thing is ok!
what should i do?
2019-03-03 14:53:14
2019-03-03 13:17:08
my database 3nf, js best optimised, server is strong and I use redis but laravel’s performance not good

How do you define „not good“? Laravel can easily handle millions of requests per month, possibly even per day

2019-03-03 15:30:31
2019-03-03 14:53:14
How do you define „not good“? Laravel can easily handle millions of requests per month, possibly even per day

yes you are right but you have a lot of workload

raphaeldealmeida 2019-03-03 17:09:40
Hi guys, laracon online will be next wednesday https://laracon.net 😀

Laracon Online | FREE on YouTube on September 14th
Laracon Online is the digital gathering of people who are passionate about building amazing applications with the Laravel web framework.
raphaeldealmeida 2019-03-03 17:12:36
I think Taylor’ll talk details about new version and design decisions
praneet81 2019-03-03 17:21:46
laravel_discuss-3114.jpg

praneet81 2019-03-03 17:22:14
praneet81 2019-03-03 17:21:46

I’m using bootstrap modal in my laravel and my form has this id

praneet81 2019-03-03 17:22:18
laravel_discuss-3116.jpg

praneet81 2019-03-03 17:22:26
I’m trying to listen an event of submit
praneet81 2019-03-03 17:22:47
And do an ajax put request using fetch api
praneet81 2019-03-03 17:23:05
laravel_discuss-3119.jpg
My code for debugging in controller
praneet81 2019-03-03 17:23:11
laravel_discuss-3120.jpg

praneet81 2019-03-03 17:23:14
This is my form
praneet81 2019-03-03 17:23:20
laravel_discuss-3122.jpg

praneet81 2019-03-03 17:23:30
But I’m not getting anything on my network tab
praneet81 2019-03-03 17:23:59
And it’s not even console logging 123
praneet81 2019-03-03 17:24:16
For some reason the event listener is not firing off in modal
praneet81 2019-03-03 17:24:21
What could be the reason?
l_alexis 2019-03-03 18:34:38
praneet81 2019-03-03 17:21:46

wrong modal id?

praneet81 2019-03-03 18:44:34
Never mind guys i fixed it , turns out i had to open my form before the modal div
R_IT_Geek 2019-03-04 10:14:42
hi, I save Photos, Avatars, and Icons in public or in the resource folder?

what is your opinion

WellyRosadi 2019-03-04 12:49:50
R_IT_Geek 2019-03-04 10:14:42
hi, I save Photos, Avatars, and Icons in public or in the resource folder?

what is your opinion

I usually put in public. If want to save in storage I create storage link into public. So, when called the file not exposed full path, but use asset(‘file’)

RajkotRocks 2019-03-04 13:04:21
R_IT_Geek 2019-03-04 10:14:42
hi, I save Photos, Avatars, and Icons in public or in the resource folder?

what is your opinion

Public is best option

pomodorkaDT 2019-03-04 13:17:01
Guys, little problem.
I’m just front-end dev. And I get some weird stuck.
From today 0_o webpack (laravel-mix) started to create folder ‘images’ inside ‘public’ folder.
And puts there exactly 1 image which I use in sass as background.

In Inspector he show another path of image.
url(/images/entice_bg.jpg?d46cfafef4d8036a846ad96ed62a6907)
and in another sass file where I’m not wrote any styles.

The correct path of image is ‘img/home/index/entice_bg.jpg’ and in another sass file.
How it’s possible? I didn’t change anything in configurations of laravel-mix and didn’t add any plugin recently.

pomodorkaDT 2019-03-04 13:35:52
O_O resolved. I understood what was happening there…
Enough just to add / in the beginning of path…
I’m so stupid….
Sorry for distraction.
Mnikoei 2019-03-04 16:32:30
What is the point ? Thats a usual thing
amirhossein_dz 2019-03-04 16:42:44
WellyRosadi 2019-03-04 12:49:50
I usually put in public. If want to save in storage I create storage link into public. So, when called the file not exposed full path, but use asset(‘file’)

what’s the benefit of storage if you link it to public? it’s in public access anyway

Ion 2019-03-04 17:03:20
Hi, i don’t know if exist a package to generate controllers/models/requests, but you can implement a command to generate, here is a good example how do this command https://medium.com/@devlob/laravel-crud-generators-614caddf8bea

Laravel CRUD generator from scratchMedium
Let’s take a look at how we can create our own CRUD generator in Laravel, to make our job easier.
Ravi Shanker 2019-03-04 17:04:42
Ion 2019-03-04 17:03:20
Hi, i don’t know if exist a package to generate controllers/models/requests, but you can implement a command to generate, here is a good example how do this command https://medium.com/@devlob/laravel-crud-generators-614caddf8bea

Can you Voyager admin theme to do so…

hey_archer 2019-03-04 17:06:50
Ion 2019-03-04 17:03:20
Hi, i don’t know if exist a package to generate controllers/models/requests, but you can implement a command to generate, here is a good example how do this command https://medium.com/@devlob/laravel-crud-generators-614caddf8bea

Thanks for your response.. it seems like code snippets..isnt it?

hey_archer 2019-03-04 17:07:17
Just like we make code snippets in vs code or sublime..
hey_archer 2019-03-04 17:07:33
And use it with shortcut keys
Ion 2019-03-04 17:11:33
yeah, are templates that generate code through a command something like php artisan crud:generate Users and will be generated controller, model, request for it
Ion 2019-03-04 17:12:17
Ravi Shanker 2019-03-04 17:04:42
Can you Voyager admin theme to do so…

seems to be something interesting

Ravi Shanker 2019-03-04 17:13:49
Voyager admin theme makes your backend tasks much simpler
Ravi Shanker 2019-03-04 17:14:17
It’s free as well
RajkotRocks 2019-03-04 17:16:35
Anyone know about learning vue js for biggner
RajkotRocks 2019-03-04 17:17:07
beginners
WellyRosadi 2019-03-04 17:32:43
amirhossein_dz 2019-03-04 16:42:44
what’s the benefit of storage if you link it to public? it’s in public access anyway

Because all file in public will included when you push to git. But ignored if you link to storage ( by default, mentioned in .gitignore ).

amirhossein_dz 2019-03-04 17:36:52
WellyRosadi 2019-03-04 17:32:43
Because all file in public will included when you push to git. But ignored if you link to storage ( by default, mentioned in .gitignore ).

good point, but if there is a benefit, i don’t think this is it. because you can simply add public files to gitignore yourself.

Deladem_Makor 2019-03-04 18:14:51
https://mcakoronline.com/2019/03/04/retirement-how-prepared-are-you/
RETIREMENT – How Prepared are you?

RETIREMENT – How Prepared are you?mcakoronline.com
In my capacity as an actuarial officer, I have had diverse encounters with people especially the elderly asking the question; How much will SSNIT pay me when I retire? Normally, these individuals have some years, months or even few weeks to retire.
PHP Begginer 2019-03-04 19:36:13
HI All ,I am having a problem with PHPSTORM ,whenever i save the file with extension .php ,the file shows white color .
PHP Begginer 2019-03-04 19:37:03
file appeared to be saved a s text
PHP Begginer 2019-03-04 19:39:35
laravel_discuss-3167.jpg

imanghafoori 2019-03-04 23:32:42
How aliases work in laravel

@laravel_man

imanghafoori 2019-03-04 23:33:31
I recently started to record in English…
Hope you enjoy
2019-03-04 23:33:50
Hello, every one
2019-03-04 23:34:38
laravel_discuss-3176.jpg

2019-03-04 23:35:30
Recently I install Laravel and I got this msg
|