Do you have a good course about laravel and vue js to make a ecommerce?

|
Ehsan_hosseiny 2019-08-05 11:01:30
2019-08-05 10:57:47
Bale

you can even change you’r user migration (add some column or remove)

Ehsan_hosseiny 2019-08-05 11:02:08
2019-08-05 11:01:24
I know but I want to use auth

try to change user migration.in there you can change column

Someone 2019-08-05 17:59:16
Can anyone show me how to make dynamic trigger or event
work in specific date
with examples pleaaaaaaeese
skys215 2019-08-05 19:37:48
Use schedule
skys215 2019-08-05 19:38:14
Run every to check if match the day you specified
skys215 2019-08-05 19:38:27
Get the day you want to run from db
daemon_coder 2019-08-05 22:21:53
hello guys. on my production server i did git pull and now my site is showing error 500. checked th log files and saw something like this laravel.ERROR syntax error unexpected ‘«’ expecting ‘]’ on some files. somehow i think git edited my files. please what can i do abt this?
DesolatorMagno 2019-08-05 22:23:25
You had a problem during the merge, git mark where is the error so you can fix it.
StanleyMasinde 2019-08-05 22:24:27
DesolatorMagno 2019-08-05 22:23:25
You had a problem during the merge, git mark where is the error so you can fix it.

Yeah this is the cause

StanleyMasinde 2019-08-05 22:26:00
He probably saw a warning and ignored it. If he tags his commits he is safe. Otherwise he’ll have to edit the files manually to remove git comments
daemon_coder 2019-08-05 22:27:52
DesolatorMagno 2019-08-05 22:23:25
You had a problem during the merge, git mark where is the error so you can fix it.

how do i fix this pls?

DesolatorMagno 2019-08-05 22:28:31
https://help.github.com/en/articles/resolving-a-merge-conflict-using-the-command-line
DesolatorMagno 2019-08-05 22:29:00
or simply search for merge conflict.
daemon_coder 2019-08-05 22:33:13
okay thanks
daemon_coder 2019-08-05 22:46:14
DesolatorMagno 2019-08-05 22:28:31
https://help.github.com/en/articles/resolving-a-merge-conflict-using-the-command-line

git status show that my branch is clean sir

DesolatorMagno 2019-08-05 22:47:32
You remember which files did you changed? check each 1.
StanleyMasinde 2019-08-05 22:48:06
DesolatorMagno 2019-08-05 22:29:00
or simply search for merge conflict.

Yeah this is shorter

daemon_coder 2019-08-05 22:51:08
i reversed to a previous commit and it cool.
daemon_coder 2019-08-05 22:52:10
but if i pull again, same thing happens…
daemon_coder 2019-08-05 22:52:33
its a problem with the remote repo maybe?
christyw 2019-08-06 00:20:31
Issue deploying laravel app to heroku

App not being recognized as php app

I have composer.json in /

And index.php in /public/

Please assist

skys215 2019-08-06 03:56:35
sorry, i never used heroku
Someone 2019-08-06 16:02:45
how can. I use cron job on windows
crontab -e

doesn’t work with windows

isnopitag 2019-08-06 16:47:07
Someone 2019-08-06 16:02:45
how can. I use cron job on windows
crontab -e

doesn’t work with windows

Do you have windows 10?

Someone 2019-08-06 22:28:01
Yup
zack6849 2019-08-06 22:29:46
You can’t run cronjobs as is on Windows, you can do a scheduled task that runs with task scheduler, but that’s not suggested for production
zack6849 2019-08-06 22:30:06
You may want to try using a virtualized development environment like laradock or homestead
zack6849 2019-08-06 22:30:24
Which will give you a Linux system to play with locally and it’ll get you running, hopefully
oxbir 2019-08-06 22:47:43
What is this error
oxbir 2019-08-06 22:47:50
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘parent_id’ in ‘where clause’ (SQL: select count(*) as aggregate from buys where parent_id = 2)
zack6849 2019-08-06 22:49:59
An sql error?
zack6849 2019-08-06 22:50:11
It’s trying to find a column called parent id, you tell me why
oxbir 2019-08-06 22:53:47
zack6849 2019-08-06 22:50:11
It’s trying to find a column called parent id, you tell me why

No I have parent_id in users table.

oxbir 2019-08-06 22:53:49
public function up()
{
Schema::create(‘users’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘first_name’);
$table->string(‘last_name’);
$table->string(‘referral_code’)->nullable();
$table->integer(‘parent_id’)->unsigned()->nullable();
$table->string(‘mobile’)->unique();
$table->string(’email’)->unique();
$table->string(‘password’);
$table->rememberToken();
$table->timestamps();
});
}
zack6849 2019-08-06 22:54:06
it’s looking for parent_id in the buys table
zack6849 2019-08-06 22:54:08
not users
oxbir 2019-08-06 22:55:17
buys table
oxbir 2019-08-06 22:55:21
public function up()
{
Schema::create(‘buys’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->bigInteger(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->bigInteger(‘product_id’)->unsigned();
$table->foreign(‘product_id’)->references(‘id’)->on(‘products’)->onDelete(‘cascade’);
$table->timestamps();
});
}
zack6849 2019-08-06 22:55:31
yeah, see, no parent id.
zack6849 2019-08-06 22:55:49
but something you did is trying to count all buys where the parent id is something
zack6849 2019-08-06 22:55:53
except there is no parent id
oxbir 2019-08-06 22:55:59
$users = Buy::all()->where(‘parent_id’, auth()->user()->id)->latest()->paginate(25);
zack6849 2019-08-06 22:56:10
yes, that right there, there’s your issue
zack6849 2019-08-06 22:56:18
change parent_id to user_id
giorbismiguel 2019-08-07 03:07:36
Hello, for implement notification in real time, what is the best: Laravel Websocket(https://github.com/beyondcode/laravel-websockets) o Broacasting with Laravel Echo Server(Pusher)?

GitHub – beyondcode/laravel-websockets: Websockets for Laravel. Done right.GitHub
Websockets for Laravel. Done right. Contribute to beyondcode/laravel-websockets development by creating an account on GitHub.
m 2019-08-07 06:29:04
My error
after register
My database is empty

Sqlstate[2300]:Integrity constraint violation: 1062 Duplicate entry

GauravGohil 2019-08-07 10:27:40
how to generate temporary download link in laravel
senhorY 2019-08-07 11:05:33
Hey there. One question… If I set SESSION_LIFETIME value to 1, users’ session should expire after 1 minute, right?
senhorY 2019-08-07 11:05:56
The thing is that I’m testing it and it keeps me logged in :S
MatPk 2019-08-07 11:16:53
hey guys do you have a good course about laravel and vue js to make a ecommerce ?
|