Terminal commands work fine when working in local, but where and how do I type these commands when working in hosting?

|
Oshincyber 2021-08-18 18:25:46
Oshincyber 2021-08-18 18:25:26

Hello this issue popping up when trying to install laravel

anime19 2021-08-18 18:39:03
Oshincyber 2021-08-18 18:25:26

u r trying to create project on adminstrator folder.

anime19 2021-08-18 18:39:15
try to change the path then try again
Oshincyber 2021-08-18 18:41:35
anime19 2021-08-18 18:39:15
try to change the path then try again

You mean where the composer is also installed

anime19 2021-08-18 18:42:20
Oshincyber 2021-08-18 18:25:26

u are trying to create project inside system32 and that’s a big mistake

anime19 2021-08-18 18:42:35
change the directory that u r in now and try again.
Oshincyber 2021-08-18 18:42:57
Okay sir will try that
2021-08-18 21:12:07
laravel_discuss-92038.jpg
Guys, am I writing this correctly? Why the error message is not shown in the bladed template?
Oshincyber 2021-08-18 23:06:15
anime19 2021-08-18 18:42:35
change the directory that u r in now and try again.

laravel_discuss-92042.jpg

Oshincyber 2021-08-18 23:06:26
Did that now showing this
arthur_minasyan_96 2021-08-18 23:06:37
laravel_discuss-92044.jpg
Hello. I have a problem transferring data to view. The first picture is what I want to get, but when I transfer it to view, it has a different look.
arthur_minasyan_96 2021-08-18 23:06:38
laravel_discuss-92047.jpg

arthur_minasyan_96 2021-08-18 23:06:38
laravel_discuss-92046.jpg

arthur_minasyan_96 2021-08-18 23:06:38
laravel_discuss-92045.jpg

arthur_minasyan_96 2021-08-18 23:06:39
laravel_discuss-92048.jpg

Oshincyber 2021-08-18 23:12:13
Oshincyber 2021-08-18 23:06:15

!? @anime19

Kensy98 2021-08-18 23:18:36
laravel_discuss-92050.jpg
Guys i need your help on how to return a json response when a token is invalid or expired. I’m using jwt the response i get is like in this screenshot
JeevaniSM 2021-08-18 23:21:48
Rao Aadil 2021-08-17 12:38:51
I sent the controller as well please check i think i defined please check if its right

you need check the line where you pass the $data into blade, usually the line where you call $this->render($data, ‘name of view file ‘);

JeevaniSM 2021-08-18 23:22:41
Rao Aadil 2021-08-17 13:22:03
i am not getting response how do i check if the email is success?

var_dump ( usual php) or dd($m1) before that IF

Kensy98 2021-08-18 23:23:57
laravel_discuss-92053.jpg
My codes
JeevaniSM 2021-08-18 23:24:27
ilyas_yildiz 2021-08-17 15:32:42
Hello. I just started learning Laravel. I have a simple question. Terminal commands work fine when working in local, but where and how do I type these commands when working in hosting? The command I have to type is: php artisan storage:link

depends on your hosting, shared hosting doesnt support the CLI with SSH.. you may need the dedicated hosting or cloud.

but you dont have to run any command in hosting in ideal situation, you develop the app in your local machine and you deploy it in your server. So these commands you run in your local develop machine and deploy . or Run in via SSH if your hosting supports

JeevaniSM 2021-08-18 23:29:53
fasabbi 2021-08-17 20:14:56
i learning from january
want to learn advanced
but there are shortage of good youtube video
plz suggest me a channel

The best Laravel channel – https://www.youtube.com/channel/UCTuplgOBi6tJIlesIboymGA very much useful

JeevaniSM 2021-08-18 23:31:30
but if you really wanna excel in a framework, ( any framework ) you need to get a strong solid background in that language. So for Laravel, you have to learn PHP better and make the solid basement.
I loudly suggest this channel for PHP from beginner to advanced

Full PHP 8 Tutorial – Learn PHP The Right Way In 2022YouTube
If you want to learn PHP the right way, then you are in the right place. In this course, you will learn PHP from beginners level all the way to advanced. The “right way” is subjective of course, but my goal is to teach PHP the way I would want to learn myself where important topics like security, caching, performance, configuration, routing, dependency management, dependency injection & testing are not omitted even when the course is for beginners. This course will not be only for beginners even though it will be beginner-friendly in the beginning. The course will be split into three sections. Each video will have a lot of details about the topic so even if you already know that topic I recommend watching it since you might learn something new.

This is the first video & it is an introduction to the course. I talk about what PHP is, why you should use it, how it works, and the overview of the course’s main topics.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: https://www.patreon.com/programwithgio
THANK YOU!

LESSON 1.0
Course Outline – https://github.com/ggelashvili/learnphptherightway-outline
Course Playlist – https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-

DID YOU KNOW?
PHP stands for PHP Hypertext Preprocessor which is a recursive acronym. You can read more about recursive acronyms here: https://en.wikipedia.org/wiki/Recursive_acronym

jumzeey 2021-08-18 23:51:47
Hello guys. My project ran on an error after deploying to heroku, but works fine on local host
jumzeey 2021-08-18 23:53:01
laravel_discuss-92058.jpg

jumzeey 2021-08-18 23:53:17
jumzeey 2021-08-18 23:53:01

After deploying on heroku

jumzeey 2021-08-18 23:58:21
Project is built on laravel 8
JeevaniSM 2021-08-19 00:06:49
jumzeey 2021-08-18 23:53:01

check your routes

JeevaniSM 2021-08-19 00:09:02
jumzeey 2021-08-18 23:53:01

laravel_discuss-92062.jpg
pls do a simple google search with error message –
seems like a lot of answers out there

jumzeey 2021-08-19 00:37:13
Works locally, this seems to be heroku specific error
jumzeey 2021-08-19 00:37:59
I’ve Checked several searches on Google, none being heroku specific 🤔
developer_cs 2021-08-19 00:38:52
jumzeey 2021-08-19 00:37:59
I’ve Checked several searches on Google, none being heroku specific 🤔

Please can you provide your route.php file

jumzeey 2021-08-19 00:39:21
Surw
jumzeey 2021-08-19 00:39:47
laravel_discuss-92068.jpg

developer_cs 2021-08-19 00:46:09
Ohhh ok let me test something here
|