How to created?

|
Siberfx 2020-03-29 15:02:27
Before if statement filepath
Siberfx 2020-03-29 15:02:59
You using $filepath . ‘/’.
Gowtham_Boopathiraj 2020-03-29 15:03:08
Yannickshadownet 2020-03-29 14:49:43
Do a request to verify if someone have those credential in your database

Brother login time update column 1.

Not equal to 1 only login the application.
Logout time update 0.

Siberfx 2020-03-29 15:03:57
But $public_dir had at the end ‘/’
Gowtham_Boopathiraj 2020-03-29 15:04:03
Gowtham_Boopathiraj 2020-03-29 15:03:08
Brother login time update column 1.

Not equal to 1 only login the application.
Logout time update 0.

But close the browser or tab means not update column.
How to update cloumn in close browser or tab.

Siberfx 2020-03-29 15:04:45
Use dd() for each time to debug before asking for help
Siberfx 2020-03-29 15:05:05
To see does filepath correct
Siberfx 2020-03-29 15:05:13
Does it open the file
Siberfx 2020-03-29 15:05:18
Does it write
Siberfx 2020-03-29 15:05:21
Bla bla
Siberfx 2020-03-29 15:06:35
improve debugging skills to code clean and less errors
sadeqi125 2020-03-29 15:17:31
Siberfx 2020-03-29 15:02:27
Before if statement filepath

how?

sadeqi125 2020-03-29 15:17:36
what?
Siberfx 2020-03-29 15:40:32
sadeqi125 2020-03-29 15:17:31
how?

look at the first variable where you show public_path().”/uploads/bookfiles/”;

Siberfx 2020-03-29 15:40:38
it ends with a slash «
Siberfx 2020-03-29 15:41:17
on first if statement, if ($zip->open($public_dir .’/’. $zipFileName) bla bla bla
Siberfx 2020-03-29 15:41:22
here also you added another slash
Siberfx 2020-03-29 15:42:20
so your file cant even be accessed to open.
Siberfx 2020-03-29 15:43:49
incase, that if statement directly passes as “false”
2020-03-29 17:14:35
hy
DesolatorMagno 2020-03-29 18:21:07
You are not changing comment, and save() only apply to it.
gaidyjg 2020-03-29 18:23:28
yeah, because you don’t to receive the request
DesolatorMagno 2020-03-29 18:24:46
Woot?
DesolatorMagno 2020-03-29 18:25:32
What he is doing is right (half at least) you don’t need request, just the id.
DesolatorMagno 2020-03-29 18:25:58
In the documentation say how to save a relationship change.
2020-03-29 18:26:05
Saddam Hussain 2020-03-29 13:48:40
Phone hasOne profie

So i have to use Phone-hasOne Profile ….. instead of Phone->belongsTo Profile

DesolatorMagno 2020-03-29 18:31:02
I think the way would be article()->update
DesolatorMagno 2020-03-29 18:35:04
If it work it is good enough.
DesolatorMagno 2020-03-29 18:35:52
No problem.
Gowtham_Boopathiraj 2020-03-29 18:38:53
Laravel lumen multiple role

How to created?

DesolatorMagno 2020-03-29 18:40:07
Using a pivot table role_user or working with a package.
Gowtham_Boopathiraj 2020-03-29 19:00:28
Which package
DesolatorMagno 2020-03-29 19:01:22
Any package for Laravel that work with roles should do that
DesolatorMagno 2020-03-29 19:24:00
Stop there.
DesolatorMagno 2020-03-29 19:26:21
It’s lemonade or it’s chicha, You are making a resource for blog not for article
DesolatorMagno 2020-03-29 19:26:40
Name matters.
DesolatorMagno 2020-03-29 19:27:01
Route:link
DesolatorMagno 2020-03-29 19:27:43
Show the code for show.
DesolatorMagno 2020-03-29 19:29:54
Now
Php artisan route:list
DesolatorMagno 2020-03-29 19:30:26
If you only take a photos of ArticleController, would be great
DesolatorMagno 2020-03-29 19:32:57
Still loading the image…
DesolatorMagno 2020-03-29 19:34:51
That’s how I have to work here 😅
DesolatorMagno 2020-03-29 19:35:07
Ok, ready, now, the show method.
DesolatorMagno 2020-03-29 19:37:05
Ok, you added it and now it work, right?
DesolatorMagno 2020-03-29 19:37:48
That’s the bad thing o keeping talking while waiting for the images 😅
Jihat_developer 2020-03-29 20:13:53
Migration type size and color product effect on price??
DesolatorMagno 2020-03-29 20:36:12
Jihat_developer 2020-03-29 20:13:53
Migration type size and color product effect on price??

Try to explain better your problem, this look like it came from a random generator words online.

Nadeem🤓 2020-03-29 21:17:03
Hii iam new for laravel
Someone recommend my a good tutorial
IbrahimMohammad 2020-03-29 21:36:08
Nadeem🤓 2020-03-29 21:17:03
Hii iam new for laravel
Someone recommend my a good tutorial

the net ninja

DesolatorMagno 2020-03-29 21:41:15
If you are new to Laravel and you already know:
Php, html, css, JS, composer, MVC, git.

You could try laracast or https://coderstape.com/

Laravel, PHP and Vue tutorials | Coder’s TapeCoderstape
Coder’s Tape is a collection of hundreds of high-quality video tutorials for web developers.
|