← prev | next →
Erfan1999_sh 2019-08-24 06:17:39
isnopitag 2019-08-24 06:16:08
Yes but the times he/she its getting the error it’s part of the error
it randomly error on some ids and some time it doesn’t have any errors
isnopitag 2019-08-24 06:17:44
Erfan1999_sh 2019-08-24 05:59:14
hello i have two problem nomber one is that when I request to a url in axios it request more than one time for example two time and another problem is that when I request to an url in axios some of them get fail and show that error my laptop is so weak and i run project on xampp could it be because of my laptop?
Check your laravel.log stored in Storage/Logs an go to the end of the file, you are going to have further information of your 500 error
2019-08-24 06:19:09
isnopitag 2019-08-24 06:16:08
Yes but the times he/she its getting the error it’s part of the error
Error 500 it’s server man, JavaScript there’s no part of it.
2019-08-24 06:19:29
500 in JavaScript only if you’re using NodeJS
isnopitag 2019-08-24 06:20:56
2019-08-24 06:19:09
Error 500 it’s server man, JavaScript there’s no part of it.
Oh yeah the numbers are above of.the error, sorry I don’t have my glasses
Erfan1999_sh 2019-08-24 06:21:42
2019-08-24 06:19:29
500 in JavaScript only if you’re using NodeJS
so it is because my laptop is so weak?
isnopitag 2019-08-24 06:37:13
Erfan1999_sh 2019-08-24 06:21:42
so it is because my laptop is so weak?
I don’t think so, check the log file
Erfan1999_sh 2019-08-24 06:48:59
isnopitag 2019-08-24 06:37:13
I don’t think so, check the log file
it is full of text
isnopitag 2019-08-24 06:52:25
Erfan1999_sh 2019-08-24 06:48:59
it is full of text
Yes, that file stores all the errors and exceptions you commit go down, near to end of the file you can watch something like this
isnopitag 2019-08-24 06:55:15
isnopitag 2019-08-24 06:57:53

for example this an error of the missing or mistake on a Eloquent query Error
isnopitag 2019-08-24 06:58:20
You can erase the content of the file to get a better debug
Erfan1999_sh 2019-08-24 07:16:14
isnopitag 2019-08-24 06:58:20
You can erase the content of the file to get a better debug

i clear logs and i run project again and this is new logs
isnopitag 2019-08-24 07:17:30
Erfan1999_sh 2019-08-24 07:16:14
i clear logs and i run project again and this is new logs
My Friend you need to run the next command:
php artisan key:generate
Erfan1999_sh 2019-08-24 07:20:09
isnopitag 2019-08-24 07:17:30
My Friend you need to run the next command:
php artisan key:generate
what does it do?
isnopitag 2019-08-24 07:21:06
Erfan1999_sh 2019-08-24 07:20:09
what does it do?
It adds an encryption key to your .env file
isnopitag 2019-08-24 07:21:57

Like this
Erfan1999_sh 2019-08-24 07:23:53
i do that but again same that error
isnopitag 2019-08-24 07:23:54
isnopitag 2019-08-24 07:26:01
o yes I forget something, when you make changes to the .env file you need to restart the php artisan command, but I look that you already set the production mode, I remmeber there is a commando to apply the new changes wait me
isnopitag 2019-08-24 07:30:01
I’m not sure
isnopitag 2019-08-24 07:30:04
but
isnopitag 2019-08-24 07:30:48
try this in the .env file put change the production mode to local
isnopitag 2019-08-24 07:31:03
and excecute php artsian serve
isnopitag 2019-08-24 07:31:16
then change it to production mode
Erfan1999_sh 2019-08-24 07:37:40
again 500 i can try again by axios-retry to do that request and it work please help me to prevent axios request more than one time
isnopitag 2019-08-24 07:39:25
@Erfan1999_sh check this link https://laracasts.com/discuss/channels/laravel/laravel-not-accepting-changes-to-both-env-and-appphp-files
Laravel not “accepting” changes to both .env and app.php files –
LaracastsI am having a bit weird problem – been working on a Laravel 5.2 project for some time now and today I wanted to change environment and debug to produc…
isnopitag 2019-08-24 07:39:47
Erfan1999_sh 2019-08-24 07:37:40
again 500 i can try again by axios-retry to do that request and it work please help me to prevent axios request more than one time
Sorry for the axios request I can’t help you
Erfan1999_sh 2019-08-24 07:40:31
isnopitag 2019-08-24 07:39:47
Sorry for the axios request I can’t help you
okay thanks for replying
2019-08-24 09:35:14
Erfan1999_sh 2019-08-24 07:37:40
again 500 i can try again by axios-retry to do that request and it work please help me to prevent axios request more than one time
You need to check the logs files to track the error.
2019-08-24 12:15:53

i have problem in update companies
praneet81 2019-08-24 12:17:29
2019-08-24 12:15:53
i have problem in update companies
Show your route and controller
2019-08-24 13:35:34
error for method_field(path)
2019-08-24 13:36:14
Problem solved Thanks dear friend
m 2019-08-24 17:07:42
In page index my link For read more is
<a href=”/place/#{{ $place->id }}” >Read more</a>
and with this link by id
page Place
/place/#id
can not read css
Why ??
ransikoo 2019-08-24 17:43:23
i want login wth email or nation code or username . first i ask user when register that you want login with email or nation code or username and now for login . idont know for this
2019-08-24 17:50:00
ransikoo 2019-08-24 17:43:23
i want login wth email or nation code or username . first i ask user when register that you want login with email or nation code or username and now for login . idont know for this
I didn’t even understand what you want to do, what’s you problem.
Please explain better.
ransikoo 2019-08-24 17:56:18
i wnat login with email or username or nationcode . i need toturial for this
2019-08-24 18:01:51

i have a problem code
2019-08-24 18:03:37
ransikoo 2019-08-24 17:56:18
i wnat login with email or username or nationcode . i need toturial for this
did you try search on google?
2019-08-24 18:03:56
Your model doesn’t exist.
2019-08-24 18:04:02
Or the namespace is wrong
2019-08-24 18:04:31
2019-08-24 18:03:56
Your model doesn’t exist.
Your model doesn’t find anything
2019-08-24 18:07:30

is company model
yoofi_graham 2019-08-24 18:18:32
i do this to login in with either an email or anything else. You can check it out
2019-08-24 18:35:54
please help me!!!!!!!!1
yoofi_graham 2019-08-24 18:37:03
2019-08-24 18:35:54
please help me!!!!!!!!1
can you share the controller that handles that
← prev | next →