How can upload image in laravel?

|
flyingdragons 2020-05-10 11:13:31
If you need any other help please ping privately as we can keep track of messages very easily
flyingdragons 2020-05-10 11:14:02
I can guide at my best
2020-05-10 11:48:36
Anybody here know about nativescript , i m bit confused what should I use nativescript with vue or react native with react, i already know vuejs
2020-05-10 13:15:28
2020-05-09 22:07:32
This error here

I want some guide me on how to go about this error.

flyingdragons 2020-05-10 14:43:13
2020-05-09 22:07:32
This error here

Access this as $post[‘id’] not ->id

Chinmay Agrawal 2020-05-10 16:26:24
2020-05-10 11:48:36
Anybody here know about nativescript , i m bit confused what should I use nativescript with vue or react native with react, i already know vuejs

You want hydrib application or web application

Krupal1805 2020-05-10 17:19:03
How can upload image in laravel?? Can anyone explain??
prime 2020-05-10 17:53:05
multidimensional array:
“product”: {
“id”: 33,
“color”: “red”,
“personal_info”: {
“owner”: aaaa,
“price”: 15
},
“status”: {
“used”: “true”,

}
},
i want to show the specific product using id
Route::get(‘/show/{id}’,’ProductController’)->name(‘show’);
how can i achive it…???

prime 2020-05-10 18:00:34
prime 2020-05-10 17:53:05
multidimensional array:
“product”: {
“id”: 33,
“color”: “red”,
“personal_info”: {
“owner”: aaaa,
“price”: 15
},
“status”: {
“used”: “true”,

}
},
i want to show the specific product using id
Route::get(‘/show/{id}’,’ProductController’)->name(‘show’);
how can i achive it…???

DONE….

Relaxed Guy 2020-05-10 18:42:38
laravel_discuss-36758.jpg

Relaxed Guy 2020-05-10 18:42:51
Guys am getting a logical error here
Relaxed Guy 2020-05-10 18:43:45
I store the OTP code in the cache ..send t also to the ….mail….of the authenticated user
Relaxed Guy 2020-05-10 18:45:27
Then verify the OTP code on the verify page t matches that one in the cache t goes to the home page….bt now my problem is the wen the user log outs out
Relaxed Guy 2020-05-10 18:46:14
He isn’t directed to the verification page….he goes straight to the….homepage without verification
Relaxed Guy 2020-05-10 18:46:18
Wat cud be the problem
rayan_jolfa_aras 2020-05-10 18:46:53
Someone has a package that works with Instagram on Laravel
2020-05-10 18:52:27
Chinmay Agrawal 2020-05-10 16:26:24
You want hydrib application or web application

Mobile

2020-05-10 18:52:35
2020-05-10 18:52:27
Mobile

Native

Zack 2020-05-10 18:55:15
laravel_discuss-36767.jpg
Guys , phpmyadmin shows blank page .
Ps: localhost/dashboard. Is working
rayan_jolfa_aras 2020-05-10 18:56:53
2020-05-10 18:52:27
Mobile

Someone has a package that works with Instagram on Laravel

ikudratov 2020-05-10 19:13:38
Zack 2020-05-10 18:55:15
Guys , phpmyadmin shows blank page .
Ps: localhost/dashboard. Is working

tail -f /var/log/syslog // ?

hiteshv253 2020-05-10 19:37:03
Zack 2020-05-10 18:55:15
Guys , phpmyadmin shows blank page .
Ps: localhost/dashboard. Is working

reinstall package .

N4YE3M 2020-05-10 20:09:41
Guys i am network admin by profession have basic knowledge about php & framework (CI+laravel). now i am developing a network based system with crm hrm etc in laraevel framework. now i want to know what type of issues u guys face when using laravel in a ubuntu system. i am planning to use latest 20.04 LTS LAMP server.. i have learned basic troubleshooting while working with CI based application. i have no idea about laravel 😌..thats why looking for expert advice
Siberfx 2020-05-10 21:08:34
in ubuntu you will not face any kind of problems, if you are good with bash
N4YE3M 2020-05-10 21:17:24
Siberfx 2020-05-10 21:08:34
in ubuntu you will not face any kind of problems, if you are good with bash

well i can manage somehow..not an expert but can get it the task done somehow

Siberfx 2020-05-10 21:18:19
all you need to set up with a laravel project, you need to use 2 commands and they are only for permissions
Siberfx 2020-05-10 21:19:05
and maybe several artisan commands
Siberfx 2020-05-10 21:19:07
thats all
prime 2020-05-10 23:08:48
Illegal string offset ‘teams’ (View: C:xampphtdocskisportresourcesviewsshow.blade.php)
ddnnaaae 2020-05-11 00:14:00
hello guys, i just installed a new laravel project with composer create-project –prefer-dist laravel/laravel blog. with php artisan serve it works. with normal nginx it doesnt (i got 500 error and php artisan optimize gives errors that are not comprehensible). what am i missing? i’m stuck s
ddnnaaae 2020-05-11 00:15:26
artisan says: Unable to prepare route [api/user] for serialization. Uses Closure + Database name seems incorrect (it is correct, i cheked) + IlluminateFoundationConsoleKernel::handle(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
DesolatorMagno 2020-05-11 01:21:32
You can’t use closure in routes if you are going to use optimize.
flyingdragons 2020-05-11 06:49:29
https://stackcoder.in/posts/unable-to-prepare-route-fallbackplaceholder-for-serialization-uses-closure-in-laravel
Unable to prepare route [{fallbackPlaceholder}] for serialization. Uses Closure In Laravel

Unable to prepare route [{fallbackPlaceholder}] for serialization. Uses Closure In Laravel | StackCoderStackCoder
In your Laravel production environment you will be doing php artisan route:cache but sometimes you will come across a wired error that goes is like Unable to prepare route [{fallbackPlaceholder}] for serialization. Uses Closure In Laravel. In this article, you will learn how to resolve it.
flyingdragons 2020-05-11 06:49:45
ddnnaaae 2020-05-11 00:14:00
hello guys, i just installed a new laravel project with composer create-project –prefer-dist laravel/laravel blog. with php artisan serve it works. with normal nginx it doesnt (i got 500 error and php artisan optimize gives errors that are not comprehensible). what am i missing? i’m stuck s

Please check out my article on it.

flyingdragons 2020-05-11 06:49:55
I have explained it on more.
flyingdragons 2020-05-11 06:50:38
DesolatorMagno 2020-05-11 01:21:32
You can’t use closure in routes if you are going to use optimize.

And as reny was telling you can use Closures in web.php as well as api.php

flyingdragons 2020-05-11 06:51:19
If your not using api.php routes the go to api.php file and remove all the code or just comment it for future reference
flyingdragons 2020-05-11 06:53:10
prime 2020-05-10 23:08:48
Illegal string offset ‘teams’ (View: C:xampphtdocskisportresourcesviewsshow.blade.php)

The array is not able to find teams key in it.

Just dump the array you will be able to see if.

You can even do isset(your_team_array) over here

flyingdragons 2020-05-11 06:55:14
ddnnaaae 2020-05-11 00:15:26
artisan says: Unable to prepare route [api/user] for serialization. Uses Closure + Database name seems incorrect (it is correct, i cheked) + IlluminateFoundationConsoleKernel::handle(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))

And even if you have used variables of .env file then make sure you don’t do

config:cache It will start throwing errors in frontend

flyingdragons 2020-05-11 07:01:42
Zack 2020-05-10 18:55:15
Guys , phpmyadmin shows blank page .
Ps: localhost/dashboard. Is working

Check if modrewrite is enabled or not in your system.

If it’s enabled then in index.php you have to do some configuration

flyingdragons 2020-05-11 07:03:34
Relaxed Guy 2020-05-10 18:43:45
I store the OTP code in the cache ..send t also to the ….mail….of the authenticated user

Don’t store in cache. Store in session once the user verifies and logs in then clear the OTP key from session

flyingdragons 2020-05-11 07:07:04
Relaxed Guy 2020-05-10 18:46:14
He isn’t directed to the verification page….he goes straight to the….homepage without verification

Once user logins then you may have added his details in sessions atleast you have added his user ID.

When he logs out unset the user details or his id

In home page you have to check if user ID is set in session. If not then redirect him to login.

Since checking user ID will become itself a task in itself. Just go and create middleware and dump your code there.

flyingdragons 2020-05-11 07:09:21
prime 2020-05-10 17:53:05
multidimensional array:
“product”: {
“id”: 33,
“color”: “red”,
“personal_info”: {
“owner”: aaaa,
“price”: 15
},
“status”: {
“used”: “true”,

}
},
i want to show the specific product using id
Route::get(‘/show/{id}’,’ProductController’)->name(‘show’);
how can i achive it…???

First you have not added which method to go in ProductController.

You can easily achieve this by Route Model binding which laravel takes care of everything.

flyingdragons 2020-05-11 07:10:46
https://stackcoder.in/posts/route-model-binding-in-laravel-change-default-column-id-to-another-column
Route Model Binding In Laravel & Change Default Column id To Another Column

Route Model Binding In Laravel & Change Default Column id To Another Column | StackCoderStackCoder
Hooray! I am up with another article. In this article, you will learn What is Route Model Binding in Laravel and how to change the default column from id to another column like unique_id
flyingdragons 2020-05-11 07:11:12
Kindly check this article as I can’t type much on my phone
flyingdragons 2020-05-11 07:11:56
Hi folks anyone knows how to access telegram in computer browser.

I tried web.telegram.org but it didn’t work.

skys215 2020-05-11 07:52:22
What do you mean doesn’t work?
MahdyAdel 2020-05-11 07:59:23
2020-05-06 00:45:54

why you need this

hiteshv253 2020-05-11 08:03:04
flyingdragons 2020-05-11 07:11:56
Hi folks anyone knows how to access telegram in computer browser.

I tried web.telegram.org but it didn’t work.

download tel. software.

2020-05-11 08:16:23
laravel_discuss-36810.jpg
how to fix error non object ‘course’ in the controller
|