Ready to get started on your path to Laravel Artisan?

|
Leetump 2019-04-02 14:06:51
Do you have tutorial
ErgashevXurshid 2019-04-02 14:08:26
upload on server?
Leetump 2019-04-02 14:08:51
BUT HOW I
ErgashevXurshid 2019-04-02 14:09:11
https://laravel.com/docs/5.8/filesystem#file-uploads

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
ErgashevXurshid 2019-04-02 14:10:27
ErgashevXurshid 2019-04-02 14:09:11
https://laravel.com/docs/5.8/filesystem#file-uploads

Image save in storage/app/public path

Leetump 2019-04-02 14:10:51
I will try on my project
ErgashevXurshid 2019-04-02 14:11:16
ok
l_alexis 2019-04-02 14:12:00
2019-04-02 13:13:28
I made the multilanguage site with vue and laravel but when I’m changing language it’s not re-rendering the component how can I solve that issue. anbody faced to this kind of problem?

try vuex-i18n

2019-04-02 14:17:44
l_alexis 2019-04-02 14:12:00
try vuex-i18n

documentation is not clear

l_alexis 2019-04-02 14:19:47
2019-04-02 14:17:44
documentation is not clear

I’ve read this README https://www.npmjs.com/package/vuex-i18n
was enough for me to start using the plugin

npm: vuex-i18nnpm
Easy localization for vue-components using vuex as data store
2019-04-02 14:23:01
l_alexis 2019-04-02 14:19:47
I’ve read this README https://www.npmjs.com/package/vuex-i18n
was enough for me to start using the plugin

If I dont understand something I’ll ask you ok??

l_alexis 2019-04-02 14:23:22
2019-04-02 14:23:01
If I dont understand something I’ll ask you ok??

ok

2019-04-02 14:26:47
thx
Leetump 2019-04-02 19:30:52
ErgashevXurshid 2019-04-02 14:10:27
Image save in storage/app/public path

Bro it’s not working

StanleyMasinde 2019-04-02 19:31:38
ErgashevXurshid 2019-04-02 14:10:27
Image save in storage/app/public path

./artisan storage:link

Leetump 2019-04-02 19:32:07
Yaa bro I try it
Leetump 2019-04-02 19:32:28
Should I change in filesystem.php
ErgashevXurshid 2019-04-02 20:11:17
Leetump 2019-04-02 19:30:52
Bro it’s not working

Why don’t working🤨 do you read about upload file from laravel.com

Leetump 2019-04-02 20:12:19
Yaa it is not working in server but working localhost
ErgashevXurshid 2019-04-02 20:13:28
Mmmm🤔
ErgashevXurshid 2019-04-02 20:14:40
Did you use chmod?
gabrielmoraesp 2019-04-02 20:14:43
Hello, guys.
How working with tenant single database??
Leetump 2019-04-02 20:15:03
No
ErgashevXurshid 2019-04-02 20:17:01
Leetump 2019-04-02 20:15:03
No

if you didn’t use chmod how to working logs🤭

ErgashevXurshid 2019-04-02 20:17:53
Leetump 2019-04-02 20:15:03
No

Which OS your server?

Leetump 2019-04-02 20:18:05
Linux
ErgashevXurshid 2019-04-02 20:18:10
Leetump 2019-04-02 20:18:05
Linux

Ok

ErgashevXurshid 2019-04-02 20:18:13
Debian
ErgashevXurshid 2019-04-02 20:18:18
CentOS
Leetump 2019-04-02 20:18:21
64
ErgashevXurshid 2019-04-02 20:18:39
Or Ubuntu
Leetump 2019-04-02 20:18:51
Not ubunyu
Leetump 2019-04-02 20:19:12
Derbian 64 os
ErgashevXurshid 2019-04-02 20:20:07
Ok, chmod -R 777 storage/*
now, you try it
ErgashevXurshid 2019-04-02 20:20:19
Only in your project
Leetump 2019-04-02 20:20:49
I will try this one also
Manoj Mehta 2019-04-03 05:41:44
I have an ionic app. In this app I have 3 user module company, manager and worker. Side nav is defined by user _ type 1,2 and 3.

Problem is when I login in my side data show null but after refresh work fine. How I can solve it

Manoj Mehta 2019-04-03 05:42:07
laravel_discuss-4321.jpg

Manoj Mehta 2019-04-03 05:42:08
But in app.html I am not getting right user type after login and if I refresh I get usertype
Manoj Mehta 2019-04-03 05:42:08
Here I pass my data in this.usertype and it’s work fine . Here alert show right usertype
Manoj Mehta 2019-04-03 05:42:08
laravel_discuss-4322.jpg

PakCu17 2019-04-03 06:17:21
https://www.youtube.com/watch?v=qiMYkrkXJ6k&list=PLpzy7FIRqpGD0kxI48v8QEVVZd744Phi4

Laravel 5.8 Tutorial From Scratch – e01 – InstallationYouTube
Laravel is the fastest growing PHP framework right now. With so many built in features and available 1st and 3rd party packages, Laravel is a skill that every PHP developer should have in their tool belt. Follow along as we get Laravel installed in our local machine.

For the best experience, follow along in our interactive school at https://www.coderstape.com

Resources
Course Source Code
https://github.com/coderstape/laravel-58-from-scratch

Hit us up on Twitter with any questions or comments @codertape (https://twitter.com/CodersTape)

About This Course

Ready to get started on your path to Laravel Artisan? In this series, we are breaking down all of the basics of Laravel to get you comfortable using the world’s most popular PHP framework. Let’s get started!

Erfan1999_sh 2019-04-03 08:07:04
laravel_discuss-4327.jpg
hello i want to create a read more post and i use str_limit for this by and i want to show the 100 first word but when i do this it read the img tag and it show the image how i fix this?
Erfan1999_sh 2019-04-03 08:07:04
laravel_discuss-4326.jpg

eAmirGH 2019-04-03 09:33:40
laravel_discuss-4328.jpg
hello guys!
im facing a strange problem, i have a method in my model:
eAmirGH 2019-04-03 09:36:30
eAmirGH 2019-04-03 09:33:40
hello guys!
im facing a strange problem, i have a method in my model:

it works fine in all places i use it
but in a single route of my production it shows error:
production.ERROR: Argument 1 passed to AppFont::findActive() must be of the type integer, object given, called in /var/www/html/app/Http/Controllers/Api/CustomCaseController.php on line 1594 {“exception”:”[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to App\Font::findActive() must be of the type integer, object given, called in /var/www/html/app/Http/Controllers/Api/CustomCaseController.php on line 1594 at /var/www/html/app/Font.php:35)

eAmirGH 2019-04-03 09:37:13
eAmirGH 2019-04-03 09:36:30
it works fine in all places i use it
but in a single route of my production it shows error:
production.ERROR: Argument 1 passed to AppFont::findActive() must be of the type integer, object given, called in /var/www/html/app/Http/Controllers/Api/CustomCaseController.php on line 1594 {“exception”:”[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to App\Font::findActive() must be of the type integer, object given, called in /var/www/html/app/Http/Controllers/Api/CustomCaseController.php on line 1594 at /var/www/html/app/Font.php:35)

laravel_discuss-4330.jpg

eAmirGH 2019-04-03 09:37:38
eAmirGH 2019-04-03 09:37:13

anyone has any suggestions?

eAmirGH 2019-04-03 09:38:50
eAmirGH 2019-04-03 09:37:13

im 100% sure im passing an integer to it

2019-04-03 09:49:48
return gettype($font_id) to see if u’re really passing integer (don’t count on casting to integer)
|