Did u specify d path it should save d image to?

|
daemon_coder 2019-07-16 20:08:50
MatPk 2019-07-16 20:04:25
no
i can upload it with move() normally
i have problems with intervention image

I think intervention image is having problems with d file u passing to it.

MatPk 2019-07-16 20:09:12
daemon_coder 2019-07-16 20:08:50
I think intervention image is having problems with d file u passing to it.

i tried many images

daemon_coder 2019-07-16 20:09:32
MatPk 2019-07-16 20:09:12
i tried many images

And none worked?

MatPk 2019-07-16 20:09:39
does it for php ini?
MatPk 2019-07-16 20:09:42
daemon_coder 2019-07-16 20:09:32
And none worked?

nope

daemon_coder 2019-07-16 20:10:03
MatPk 2019-07-16 20:09:39
does it for php ini?

I don’t understand

MatPk 2019-07-16 20:10:44
daemon_coder 2019-07-16 20:10:03
I don’t understand

does it can for php ini settings?
like max upload file

daemon_coder 2019-07-16 20:12:45
MatPk 2019-07-16 20:10:44
does it can for php ini settings?
like max upload file

Nah

daemon_coder 2019-07-16 20:13:17
Wait… remove the public_path() in d save() function
MatPk 2019-07-16 20:13:25
daemon_coder 2019-07-16 20:13:17
Wait… remove the public_path() in d save() function

ok

MatPk 2019-07-16 20:14:24
nothing changed
daemon_coder 2019-07-16 20:14:47
Did u specify d path it should save d image to?
daemon_coder 2019-07-16 20:16:26
Like save(‘uploads/’.filename)
MatPk 2019-07-16 20:17:52
daemon_coder 2019-07-16 20:16:26
Like save(‘uploads/’.filename)

i get images from request method
$request->file(‘images’);
and i passed it to this function

MatPk 2019-07-16 20:18:15
daemon_coder 2019-07-16 20:16:26
Like save(‘uploads/’.filename)

$filePath = “uploaded/images/{$year}/”;

daemon_coder 2019-07-16 20:20:36
did u try dd($file) to c what’s up?
MatPk 2019-07-16 20:21:28
daemon_coder 2019-07-16 20:20:36
did u try dd($file) to c what’s up?

UploadedFile {#240 ▼
-test: false
-originalName: “man.png”
-mimeType: “image/png”
-error: 0
#hashName: null
path: “E:wamp64tmp”
filename: “php5B20.tmp”
basename: “php5B20.tmp”
pathname: “E:wamp64tmpphp5B20.tmp”
extension: “tmp”
realPath: false
writable: false
readable: false
executable: false
file: false
dir: false
link: false
}

MatPk 2019-07-16 20:23:48
MatPk 2019-07-16 20:21:28
UploadedFile {#240 ▼
-test: false
-originalName: “man.png”
-mimeType: “image/png”
-error: 0
#hashName: null
path: “E:wamp64tmp”
filename: “php5B20.tmp”
basename: “php5B20.tmp”
pathname: “E:wamp64tmpphp5B20.tmp”
extension: “tmp”
realPath: false
writable: false
readable: false
executable: false
file: false
dir: false
link: false
}

why its not readable 😐
i cant undrestand

daemon_coder 2019-07-16 20:25:08
MatPk 2019-07-16 20:21:28
UploadedFile {#240 ▼
-test: false
-originalName: “man.png”
-mimeType: “image/png”
-error: 0
#hashName: null
path: “E:wamp64tmp”
filename: “php5B20.tmp”
basename: “php5B20.tmp”
pathname: “E:wamp64tmpphp5B20.tmp”
extension: “tmp”
realPath: false
writable: false
readable: false
executable: false
file: false
dir: false
link: false
}

it has readable set to false. Myb dats d error.

daemon_coder 2019-07-16 20:26:09
All d while working with intervention image I always passed d images as base64.
daemon_coder 2019-07-16 20:26:36
daemon_coder 2019-07-16 20:26:09
All d while working with intervention image I always passed d images as base64.

Myb u should try dix approach.

Harrisdtt 2019-07-17 06:50:33
laravel_discuss-9502.jpg
hello everyone I ahead with this problem
when I use jenkins to integrate code to server then it show me with square block,
how to solve it please
AlirezaMirsepassy 2019-07-17 06:54:02
Harrisdtt 2019-07-17 06:50:33
hello everyone I ahead with this problem
when I use jenkins to integrate code to server then it show me with square block,
how to solve it please

Use –no-progress with composer commands

Harrisdtt 2019-07-17 09:14:31
laravel_discuss-9506.jpg
composer install –no-interaction –no-progress –prefer-dist –optimize-autoloader;
Harrisdtt 2019-07-17 09:14:45
I tried adding with —no progress but it still show me with squre
m 2019-07-17 09:22:09
In php
________________
for coninue post

Page function.php

function post($text)
{
$text=substr($text,0,800);
$text=substr($text,0,strrpos($text,” “));
$text=$text.” …”;
return $text;
}

Page index.php

<p><?php echo post($postfetch[“cont”]); ?></p>

In laravel
╍______________________
And what is change in function.php
And
index.php
In laravel
??

StanleyMasinde 2019-07-17 09:55:49
m 2019-07-17 09:22:09
In php
________________
for coninue post

Page function.php

function post($text)
{
$text=substr($text,0,800);
$text=substr($text,0,strrpos($text,” “));
$text=$text.” …”;
return $text;
}

Page index.php

<p><?php echo post($postfetch[“cont”]); ?></p>

In laravel
╍______________________
And what is change in function.php
And
index.php
In laravel
??

Laravel has a helper function for this.

str_limit(str, int, ‘…’)

The firsr argument is the string the second is the number of letters to display before the limit. And the third is what to show after you have reached the limit. For me I put the link to the post

m 2019-07-17 12:24:28
StanleyMasinde 2019-07-17 09:55:49
Laravel has a helper function for this.

str_limit(str, int, ‘…’)

The firsr argument is the string the second is the number of letters to display before the limit. And the third is what to show after you have reached the limit. For me I put the link to the post

How to use?
When read data from database
{{ $text->describe }}
With
Str_limit ??

StanleyMasinde 2019-07-17 12:25:59
m 2019-07-17 12:24:28
How to use?
When read data from database
{{ $text->describe }}
With
Str_limit ??

Make that your first argument

StanleyMasinde 2019-07-17 12:27:46
{{ str_limit( $text->describe, 120, ‘link to post’) }}
EdcbaoO 2019-07-17 12:43:28
Guys.. Where can I find a simple blog tutorial?
praneet81 2019-07-17 13:00:58
EdcbaoO 2019-07-17 12:43:28
Guys.. Where can I find a simple blog tutorial?

Traversy media YouTube channel “Laravel from scratch”

vikaskumar_99 2019-07-17 14:55:50
EdcbaoO 2019-07-17 12:43:28
Guys.. Where can I find a simple blog tutorial?

You can follow laracast tutorial .

senhorY 2019-07-17 15:34:21
Anyone has experienced slow requests with Guzzle? It’s taking about 2 to 5 seconds to get the response while postman takes milliseconds. Any clue?
mhd_arffnn 2019-07-17 15:56:06
inside my Post class i have this to call
getUsername()
inside Users class

$users = new Users();
$users->getUsername();

how can i use $users in all my function inside Post class without redeclaring
$users = new Users()
???

ldefra 2019-07-17 16:54:06
mhd_arffnn 2019-07-17 15:56:06
inside my Post class i have this to call
getUsername()
inside Users class

$users = new Users();
$users->getUsername();

how can i use $users in all my function inside Post class without redeclaring
$users = new Users()
???

create un instance variable

ldefra 2019-07-17 16:55:57
i have a question: i have to pass all parameters request in a
redirect()->route(‘dashboard’);
how can i do?
StanleyMasinde 2019-07-17 16:56:46
ldefra 2019-07-17 16:55:57
i have a question: i have to pass all parameters request in a
redirect()->route(‘dashboard’);
how can i do?

With()

ldefra 2019-07-17 16:57:21
StanleyMasinde 2019-07-17 16:56:46
With()

with with() doesn’t it pass like route parameter?

mhd_arffnn 2019-07-17 16:59:11
ldefra 2019-07-17 16:54:06
create un instance variable

i dont understand do you have an example?

ldefra 2019-07-17 17:01:40
like you tell it will link.ext/{parameter}, while i needed link.ext/?parameter=value
ldefra 2019-07-17 17:05:24
i have to pass the query string on the redirect()->route()
ldefra 2019-07-17 17:06:12
i have done in this way
redirect(route(‘users.index’).’?’.$request->getQueryString()), but i think it wrong
loveycom 2019-07-17 17:10:14
That route must be a route that accepts params and then pass it as second param to route method
senhorY 2019-07-17 17:12:08
ldefra 2019-07-17 17:06:12
i have done in this way
redirect(route(‘users.index’).’?’.$request->getQueryString()), but i think it wrong

https://laravel.com/docs/5.8/redirects#redirecting-named-routes

ldefra 2019-07-17 17:15:55
// For a route with the following URI: profile/{id}

return redirect()->route(‘profile’, [‘id’ => 1]);

ldefra 2019-07-17 17:16:10
i needed profile/?parameter=value
ldefra 2019-07-17 17:18:57
i needed to pass query string, not route parameter
Prakash D 2019-07-17 18:10:28
laravel_discuss-9535.jpg
How to clear this error
senhorY 2019-07-17 18:29:19
Prakash D 2019-07-17 18:10:28
How to clear this error

What error? You typed the right command after that

|