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?

|
2019-08-21 21:11:47
GauravGohil 2019-08-21 21:09:45
How to load an external html file in laravel blade view file

if u had just googled it, you would have had the answer by now 🙂

GauravGohil 2019-08-21 21:12:08
I am using include for it
GauravGohil 2019-08-21 21:12:21
But it’s not loading html properly
GauravGohil 2019-08-21 21:12:33
The html code is broken sometimes
2019-08-21 21:13:09
just check the paths inside that html file, or even the path of included file
GauravGohil 2019-08-21 21:16:35
The path is proper that’s y the html is loading
GauravGohil 2019-08-21 21:17:12
But some times the the some html code is missing
skys215 2019-08-22 04:02:23
2019-08-21 19:31:08
Well actually I haven’t applied for one yet, so I don’t know if it’s fronted or backend, but I want to be a laravel developer, I have 1 year experience working on php though.

Apply for several jobs, get an interview and you will know what you don’t know
Probably is what you need to know

isnopitag 2019-08-22 04:09:58
ransikoo 2019-08-21 20:48:40
yes

Ok you can get the day of the day with php date functions, so You can add that function to the payment process or add that discount

isnopitag 2019-08-22 04:11:01
isnopitag 2019-08-22 04:09:58
Ok you can get the day of the day with php date functions, so You can add that function to the payment process or add that discount

But I don’t know where you want to add this function, I mean if is a API, somewhere in the database

ransikoo 2019-08-22 12:59:23
isnopitag 2019-08-22 04:11:01
But I don’t know where you want to add this function, I mean if is a API, somewhere in the database

i am use shoping card and i want show data in product_detail view and last use to my cart when today=betwenn startdate and endate

MatPk 2019-08-22 13:04:55
npm ERR! Unexpected end of JSON input while parsing near ‘….0.0″,”sass-loader”:”‘

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersMatinwdAppDataRoamingnpm-cache_logs2019-08-22T10_03_34_870Z-debug.log

—————————————————————————————————

what is this error for ? i tried to install laravel-mix in npm

🅽🅸🅼🅰️ 2019-08-22 13:32:07
MatPk 2019-08-22 13:04:55
npm ERR! Unexpected end of JSON input while parsing near ‘….0.0″,”sass-loader”:”‘

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersMatinwdAppDataRoamingnpm-cache_logs2019-08-22T10_03_34_870Z-debug.log

—————————————————————————————————

what is this error for ? i tried to install laravel-mix in npm

Can u share package.json ?

MatPk 2019-08-22 13:49:24
🅽🅸🅼🅰️ 2019-08-22 13:32:07
Can u share package.json ?

{
“private”: true,
“scripts”: {
“dev”: “npm run development”,
“development”: “cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js –progress –hide-modules –config=node_modules/laravel-mix/setup/webpack.config.js”,
“watch”: “npm run development — –watch”,
“watch-poll”: “npm run watch — –watch-poll”,
“hot”: “cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js –inline –hot –config=node_modules/laravel-mix/setup/webpack.config.js”,
“prod”: “npm run production”,
“production”: “cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js –no-progress –hide-modules –config=node_modules/laravel-mix/setup/webpack.config.js”
},
“devDependencies”: {
“axios”: “^0.18”,
“bootstrap”: “^4.1.0”,
“cross-env”: “^5.1”,
“jquery”: “^3.2”,
“laravel-mix”: “^4.0.7”,
“lodash”: “^4.17.5”,
“popper.js”: “^1.12”,
“resolve-url-loader”: “^2.3.1”,
“sass”: “^1.15.2”,
“sass-loader”: “^7.1.0”,
“vue”: “^2.5.17”
}
}

🅽🅸🅼🅰️ 2019-08-22 13:54:22
MatPk 2019-08-22 13:49:24
{
“private”: true,
“scripts”: {
“dev”: “npm run development”,
“development”: “cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js –progress –hide-modules –config=node_modules/laravel-mix/setup/webpack.config.js”,
“watch”: “npm run development — –watch”,
“watch-poll”: “npm run watch — –watch-poll”,
“hot”: “cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js –inline –hot –config=node_modules/laravel-mix/setup/webpack.config.js”,
“prod”: “npm run production”,
“production”: “cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js –no-progress –hide-modules –config=node_modules/laravel-mix/setup/webpack.config.js”
},
“devDependencies”: {
“axios”: “^0.18”,
“bootstrap”: “^4.1.0”,
“cross-env”: “^5.1”,
“jquery”: “^3.2”,
“laravel-mix”: “^4.0.7”,
“lodash”: “^4.17.5”,
“popper.js”: “^1.12”,
“resolve-url-loader”: “^2.3.1”,
“sass”: “^1.15.2”,
“sass-loader”: “^7.1.0”,
“vue”: “^2.5.17”
}
}

pls run :
npm cache clean –force

MatPk 2019-08-22 13:55:26
🅽🅸🅼🅰️ 2019-08-22 13:54:22
pls run :
npm cache clean –force

i get this
npm WARN using –force I sure hope you know what you are doing.

🅽🅸🅼🅰️ 2019-08-22 13:56:02
MatPk 2019-08-22 13:55:26
i get this
npm WARN using –force I sure hope you know what you are doing.

dont worry

MatPk 2019-08-22 13:56:29
🅽🅸🅼🅰️ 2019-08-22 13:56:02
dont worry

so what i should to do?

🅽🅸🅼🅰️ 2019-08-22 13:57:01
MatPk 2019-08-22 13:56:29
so what i should to do?

after that
npm i

MatPk 2019-08-22 14:03:01
🅽🅸🅼🅰️ 2019-08-22 13:57:01
after that
npm i

so how can i undrestand its ok?

MatPk 2019-08-22 14:03:13
npm run dev?
🅽🅸🅼🅰️ 2019-08-22 14:06:00
MatPk 2019-08-22 14:03:13
npm run dev?

yeah , try again

MatPk 2019-08-22 14:16:42
🅽🅸🅼🅰️ 2019-08-22 14:06:00
yeah , try again

thank u dude
it was helpful

🅽🅸🅼🅰️ 2019-08-22 14:20:41
MatPk 2019-08-22 14:16:42
thank u dude
it was helpful

yw 👌

2019-08-22 16:47:39
laravel_discuss-11646.jpg
I got an error trying to using repository in my laravel project. Now I’m using Laravel 5.6 version. I try to call the function in API controller from repository. Please help me anyone
skys215 2019-08-22 17:14:44
and how is the code
Sumeet Jadhav 2019-08-23 07:51:32
Can anyone suggest how can i use sync() method (as we use in belongs to many relationship) in polymorphic relationship
2019-08-23 11:55:20
laravel_discuss-11653.jpg

2019-08-23 11:56:08
help me,please
wsleonid 2019-08-23 11:56:47
2019-08-23 11:56:08
help me,please

Cors request google help you

skys215 2019-08-23 11:57:41
Sumeet Jadhav 2019-08-23 07:51:32
Can anyone suggest how can i use sync() method (as we use in belongs to many relationship) in polymorphic relationship

https://laracasts.com/series/laravel-5-fundamentals/episodes/23

Syncing TagsLaracasts
In the last episode, we concluded with a cliffhanger. How do we sync up the tags for each article? Well, I gave you a hint with that keyword, “sync.” Let’s review the answer in this episode!
smallpigg 2019-08-23 11:58:34
2019-08-23 11:55:20

Try localhost:8000

wsleonid 2019-08-23 12:02:24
2019-08-23 11:56:08
help me,please

https://learn.javascript.ru/xhr-crossdomain

XMLHttpRequest: кросс-доменные запросыlearn.javascript.ru
Обычно запрос XMLHttpRequest может делать запрос только в рамках текущего сайта. При попытке использовать другой домен/порт/протокол – браузер выдаёт ошибку.
2019-08-23 12:05:43
wsleonid 2019-08-23 12:02:24
https://learn.javascript.ru/xhr-crossdomain

thank u!

wsleonid 2019-08-23 12:07:57
You are welcome !
wsleonid 2019-08-23 12:12:53
Forget it
2019-08-23 12:21:25
wsleonid 2019-08-23 12:12:53
Forget it

what …

zack6849 2019-08-23 15:20:28
Probably similar to don’t worry about it but sounded odd
ednanhossain 2019-08-24 01:29:29
laravel_discuss-11674.jpg
Why I’m getting this?
ednanhossain 2019-08-24 02:14:54
Tyring to setup an existing app, after login I’m getting this error
Marvixino 2019-08-24 03:26:28
Did anyone try Orchid dashboard?
How it is?
I tried Voyager, was not flexible enough for my needs.
Can you recommend better backend package?
ednanhossain 2019-08-24 03:28:17
Thanks for your advice!
2019-08-24 03:34:34
i need help for problem laravl
2019-08-24 03:36:05
laravel_discuss-11682.jpg

2019-08-24 03:37:01
laravel_discuss-11683.jpg
whate the error massage
zack6849 2019-08-24 04:39:19
What endpoint are you trying to hit there and via what method
Erfan1999_sh 2019-08-24 05:59:14
laravel_discuss-11685.jpg
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?
isnopitag 2019-08-24 06:12:02
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?

I’m not an expert of JavaScript, but when that type of errors happens with my developers team it’s because you are making something wrong with promises

2019-08-24 06:13:31
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?

500 it’s an internal server error. There’s nothing with JavaScript

isnopitag 2019-08-24 06:16:08
2019-08-24 06:13:31
500 it’s an internal server error. There’s nothing with JavaScript

Yes but the times he/she its getting the error it’s part of the error

|