Contents:
Do you have a vendor directory?
Did you generate key?
How is it done?
env is a folder?
Is this possible?
Do you have a vendor directory?
Did you generate key?
How is it done?
env is a folder?
Is this possible?
ErgashevXurshid 2019-06-27 09:39:03
Nomiilk 2019-06-27 09:21:41
The server is started.
Do you have a vendor directory???
ErgashevXurshid 2019-06-27 09:39:08
or .env
Nomiilk 2019-06-27 09:39:46
ErgashevXurshid 2019-06-27 09:39:03
Do you have a vendor directory???
Yeah
ErgashevXurshid 2019-06-27 09:42:08
Nomiilk 2019-06-27 09:39:46
Yeah
like something went wrong 😁
ErgashevXurshid 2019-06-27 09:46:55
Can you send me your .env???
Nomiilk 2019-06-27 09:49:12
Ok. A moment
khalinxyz 2019-06-27 09:49:44
Did you generate key?
Nomiilk 2019-06-27 09:49:46
Its .env.example instead
Nomiilk 2019-06-27 09:50:17
khalinxyz 2019-06-27 09:49:44
Did you generate key?
How is it done?
khalinxyz 2019-06-27 09:50:56
You should copy .env.example to .env
khalinxyz 2019-06-27 09:51:01
Than configure .env
khalinxyz 2019-06-27 09:51:15
After this stuff run artisan key:gene
Nomiilk 2019-06-27 09:51:33
.env is a folder?
khalinxyz 2019-06-27 09:51:38
Than if you still have error run artisan co:ca
ErgashevXurshid 2019-06-27 09:51:40
not
khalinxyz 2019-06-27 09:51:42
Nomiilk 2019-06-27 09:51:33
.env is a folder?
Nope, text file
ErgashevXurshid 2019-06-27 09:51:45
in tinker
ErgashevXurshid 2019-06-27 09:51:49
avvvvv
ErgashevXurshid 2019-06-27 09:51:54
in the terminal
ErgashevXurshid 2019-06-27 09:52:47
Okay, in the console run this command: php artisan key:generate
ErgashevXurshid 2019-06-27 09:53:55
then run php artisan serve and be happy 😁
Nomiilk 2019-06-27 09:57:24
Ok. Lemme try
Nomiilk 2019-06-27 10:00:32
Great. 😊
ErgashevXurshid 2019-06-27 10:01:05
U a welcome bro 😉
2019-06-27 13:45:52
Guys how can I solve this issue :Connection to tcp:email host :465 timed out
My settings in the .env file
MAIL_DRIVER:smtp
Mail_host:something here
Mail_PORT:465
Mail_encryption:tls
skys215 2019-06-27 14:52:31
Timeout means connection failure
2019-06-27 14:56:01
skys215 2019-06-27 14:52:31
Timeout means connection failure
How can I fix it. Because I’ve been trying the whole day still no luck.
skys215 2019-06-27 14:57:51
ping host,
Telnet host with port
Confirm that you can connect host with other method
Telnet host with port
Confirm that you can connect host with other method
2019-06-27 15:03:29
skys215 2019-06-27 14:57:51
ping host,
Telnet host with port
Confirm that you can connect host with other method
Telnet host with port
Confirm that you can connect host with other method
Thanks let me try that
ALIREZAJOM 2019-06-27 16:55:24
hi i have a question paginate or Query Builder
ALIREZAJOM 2019-06-27 16:56:52
code:$users = DB::table(‘users’)
->join(‘blog’, ‘users.blogId’, ‘blog.id’)
->join(‘roles’, ‘users.roleId’, ‘roles.id’)
->orderBy(‘id’, ‘desc’)->get();
->join(‘blog’, ‘users.blogId’, ‘blog.id’)
->join(‘roles’, ‘users.roleId’, ‘roles.id’)
->orderBy(‘id’, ‘desc’)->get();
ALIREZAJOM 2019-06-27 16:57:06
Method IlluminateSupportCollection::paginate does not exist.
skys215 2019-06-27 16:57:39
I think paginate is a model’s function?
ALIREZAJOM 2019-06-27 16:57:57
How can i get from Pagination using in Query Builder
ALIREZAJOM 2019-06-27 16:58:53
So usable in Query Builder is not
skys215 2019-06-27 16:59:12
if u use get, then it will get the whole result
MatPk 2019-06-27 17:00:20
hi
why php gd shows me always a black screen 😐
why php gd shows me always a black screen 😐
MatPk 2019-06-27 17:00:23
<?php
header(“Content-Type: image/png”);
$pngImage = imagecreate(150,150);
imagecolorallocate($imagepng,15,142,210);
imagepng($imagepng);
imagedestroy($imagepng);
header(“Content-Type: image/png”);
$pngImage = imagecreate(150,150);
imagecolorallocate($imagepng,15,142,210);
imagepng($imagepng);
imagedestroy($imagepng);
this is my code
and it just shows a black screen
ALIREZAJOM 2019-06-27 17:00:35
skys215 2019-06-27 16:59:12
if u use get, then it will get the whole result
Please describe with an example
skys215 2019-06-27 17:01:21
ALIREZAJOM 2019-06-27 17:00:35
Please describe with an example
use model instead
skys215 2019-06-27 17:01:39
and use relationship instead of join
ALIREZAJOM 2019-06-27 17:02:49
relationship one tow many
skys215 2019-06-27 17:02:56
yes
skys215 2019-06-27 17:04:46
MatPk 2019-06-27 17:00:23
<?php
header(“Content-Type: image/png”);
$pngImage = imagecreate(150,150);
imagecolorallocate($imagepng,15,142,210);
imagepng($imagepng);
imagedestroy($imagepng);
header(“Content-Type: image/png”);
$pngImage = imagecreate(150,150);
imagecolorallocate($imagepng,15,142,210);
imagepng($imagepng);
imagedestroy($imagepng);
this is my code
and it just shows a black screen
must match
MatPk 2019-06-27 17:06:06
skys215 2019-06-27 17:04:46
must match
oh
ty bro
ALIREZAJOM 2019-06-27 17:14:51
Laravel Custom Pagination using Raw Query/QueryBuilder
ALIREZAJOM 2019-06-27 17:14:57
https://blog.hashvel.com/posts/laravel-custom-pagination/
Laravel Custom Pagination using Raw Query/QueryBuilder – Hashvel Blog – Hashvel Blog
Learn how to create pagination in Laravel 5.6 using custom raw query from this detailed step by step tutorial. How to set custom pages and next page url with query builder conditions is also discussed.
Learn how to create pagination in Laravel 5.6 using custom raw query from this detailed step by step tutorial. How to set custom pages and next page url with query builder conditions is also discussed.
ALIREZAJOM 2019-06-27 17:15:54
Is this possible?
skys215 2019-06-27 17:17:11
i think yes
ALIREZAJOM 2019-06-27 17:18:31
🆗 Thank you