Are you using php artisan serve?

|
raka_anamaka 2020-03-27 06:19:30
Yes i tried
DesolatorMagno 2020-03-27 06:21:31
Are you using php artisan serve?
Ant_Jr 2020-03-27 06:55:45
hi! My project was working fine but after I added some few routes now I’m unable to access /home route
Ant_Jr 2020-03-27 06:58:45
laravel_discuss-31025.jpg

lexmaa 2020-03-27 07:02:18
can i see the routes?
Ant_Jr 2020-03-27 07:17:40
laravel_discuss-31027.jpg

DesolatorMagno 2020-03-27 07:25:31
Are you sure is the new routes fault? did you try commenting? did you installed Any new package?
Ant_Jr 2020-03-27 07:40:08
DesolatorMagno 2020-03-27 07:25:31
Are you sure is the new routes fault? did you try commenting? did you installed Any new package?

No no new packages

Ant_Jr 2020-03-27 07:41:08
the only thing I notice is the generation of some files in the storage directory.
DesolatorMagno 2020-03-27 07:44:02
Ant_Jr 2020-03-27 07:40:08
No no new packages

So, if you comments the new routes you can go to home as usual?

rmkmasterdev 2020-03-27 07:45:31
Php artisan route:list
rmkmasterdev 2020-03-27 07:45:46
Will show you your routes
Ant_Jr 2020-03-27 07:50:07
DesolatorMagno 2020-03-27 07:44:02
So, if you comments the new routes you can go to home as usual?

No same timeout error.

DesolatorMagno 2020-03-27 07:50:54
Them it’s not the new routes fault, did you made any changes in appServerProvider?
Ant_Jr 2020-03-27 07:51:41
No didn’t
DesolatorMagno 2020-03-27 07:52:38
Stop the server change env to production and start it again.
Ant_Jr 2020-03-27 07:52:40
But I tried to override the /home route to /admin
DesolatorMagno 2020-03-27 07:53:00
If it doesn’t work put it back.
DesolatorMagno 2020-03-27 07:53:22
I guess you don’t have anything better to test that php artisan serve?
Ant_Jr 2020-03-27 07:55:37
DesolatorMagno 2020-03-27 07:53:00
If it doesn’t work put it back.

not working.

Prakash D 2020-03-27 07:55:43
Can anyone tell me how to insert multiple record in table in single query in sql
Ant_Jr 2020-03-27 07:57:32
DesolatorMagno 2020-03-27 07:53:22
I guess you don’t have anything better to test that php artisan serve?

Not really good with testing yet!

DesolatorMagno 2020-03-27 08:00:23
Did you changed the layout?
Ant_Jr 2020-03-27 08:00:35
yes
DesolatorMagno 2020-03-27 08:00:58
Make a route return just a array, not view
DesolatorMagno 2020-03-27 08:01:06
Home can work.
DesolatorMagno 2020-03-27 08:02:47
If it take more than 3 second them it failed.
Ant_Jr 2020-03-27 08:02:57
DesolatorMagno 2020-03-27 08:00:58
Make a route return just a array, not view

how is that

DesolatorMagno 2020-03-27 08:03:33
Return a value, a word a number, anything but a view in the home controller
DesolatorMagno 2020-03-27 08:04:07
Return ‘hello from home controller’;
If you want
Ant_Jr 2020-03-27 08:08:23
not working either
Ant_Jr 2020-03-27 08:08:38
sending a list of all the routes
Ant_Jr 2020-03-27 08:09:23
laravel_discuss-31057.jpg

Ant_Jr 2020-03-27 08:09:23
laravel_discuss-31056.jpg

Ant_Jr 2020-03-27 08:10:16
All other routes are working except the /home and any prefixed with /admin
DesolatorMagno 2020-03-27 08:13:30
Ant_Jr 2020-03-27 06:58:45

A friend of mine had that specific error using php artisan serve, it was because php serve is mono thread and there was a multi thread thing happening.

The other thing that could happen is a infinite loop somewhere.

DesolatorMagno 2020-03-27 08:13:58
Ant_Jr 2020-03-27 08:10:16
All other routes are working except the /home and any prefixed with /admin

Wait a minute, only home and the news one don’t work?

DesolatorMagno 2020-03-27 08:16:45
Good luck, I am gonna sleep.
DesolatorMagno 2020-03-27 08:17:22
01:30
Ant_Jr 2020-03-27 08:18:34
06:10am
Ant_Jr 2020-03-27 08:18:58
DesolatorMagno 2020-03-27 08:16:45
Good luck, I am gonna sleep.

Okay will try my best

Ant_Jr 2020-03-27 08:19:14
Russia?
Ant_Jr 2020-03-27 08:19:37
kk
Ant_Jr 2020-03-27 08:19:56
have any idea with my problem?
Prakash D 2020-03-27 08:23:30
Can anyone tell me to insert multiple record in sql database in laravel
Relaxed Guy 2020-03-27 08:32:10
Guys how do I restrict users from navigating to different pages
Relaxed Guy 2020-03-27 08:32:34
A scenario where a user can not
Relaxed Guy 2020-03-27 08:32:42
Type a url….
Relaxed Guy 2020-03-27 08:33:04
Yes and access a pagw
Relaxed Guy 2020-03-27 08:33:25
Nga wen they try to type they come back to the same page
|