I uploaded my laravel to ubuntu digitalocean, , , getting this error, , , any help for permissions?

|
Denno_IT 2022-07-03 15:55:38
I think I have used post?
zey34354 2022-07-03 15:55:49
Ä°t
Gaurav Mavani 2022-07-03 15:56:03
Ss of form
Denno_IT 2022-07-03 15:56:15
laravel_discuss-127682.jpg
This is the web.php
Denno_IT 2022-07-03 15:56:32
Gaurav Mavani 2022-07-03 15:56:03
Ss of form

Please explain more

Gaurav Mavani 2022-07-03 15:56:44
Blade file screen shot
Denno_IT 2022-07-03 15:57:12
laravel_discuss-127685.jpg
This is the blade file
Gaurav Mavani 2022-07-03 15:57:45
Denno_IT 2022-07-03 15:57:12
This is the blade file

Use route name instead of url

Denno_IT 2022-07-03 15:57:56
laravel_discuss-127687.jpg
This is the controller
Gaurav Mavani 2022-07-03 15:58:31
Gaurav Mavani 2022-07-03 15:57:45
Use route name instead of url

Try this

shubham Patel 2022-07-03 15:58:33
You can try this for clear cache
Php artisan optimize
Denno_IT 2022-07-03 15:59:48
Gaurav Mavani 2022-07-03 15:58:31
Try this

I have changed and the error changed

Gaurav Mavani 2022-07-03 16:00:01
Ss please
Denno_IT 2022-07-03 16:00:25
laravel_discuss-127692.jpg
This is the new error
Gaurav Mavani 2022-07-03 16:00:49
You are doing wrong
Denno_IT 2022-07-03 16:01:00
Gaurav Mavani 2022-07-03 16:00:49
You are doing wrong

Where now plesse

Gaurav Mavani 2022-07-03 16:01:00
Dm me
Denno_IT 2022-07-03 16:01:18
Gaurav Mavani 2022-07-03 16:01:00
Dm me

Okay

ansarishameem80 2022-07-03 16:12:28
Denno_IT 2022-07-03 16:00:25
This is the new error

Your method name and Route controller method differs. Check

zey34354 2022-07-03 17:32:27
laravel_discuss-127699.jpg
how to solve this problem
Gaurav Mavani 2022-07-03 17:37:18
Sudo is for ios
Gaurav Mavani 2022-07-03 17:37:31
You need to install using Npm
web design 2022-07-03 17:44:44
laravel_discuss-127704.jpg

sHryung01 2022-07-03 17:58:13
laravel_discuss-127705.jpg
I did the division but why did it read an error?
ansarishameem80 2022-07-03 17:58:55
zey34354 2022-07-03 17:32:27
how to solve this problem

You need to uncomment mbstring extension from php.ini file.

web design 2022-07-03 17:59:22
web design 2022-07-03 17:44:44

Answer my question

ansarishameem80 2022-07-03 17:59:40
zey34354 2022-07-03 17:32:27
how to solve this problem

Go to xampp control panel and in apache config select php.ini config within that file search for extensions. and look for a commented extension mbstring

ansarishameem80 2022-07-03 18:00:00
and uncomment the same.
ansarishameem80 2022-07-03 18:02:51
web design 2022-07-03 17:44:44

cause you have created another Image instance but uploading the original File which came from request. Instead upload the image variable which is an instance of Image class.

ansarishameem80 2022-07-03 18:05:21
sHryung01 2022-07-03 17:58:13
I did the division but why did it read an error?

Its an exception meaning your $total_aset variable has zero as value. Take a look where does that value come from and dd the its value.

web design 2022-07-03 18:06:07
ansarishameem80 2022-07-03 18:02:51
cause you have created another Image instance but uploading the original File which came from request. Instead upload the image variable which is an instance of Image class.

Can you send complete code?

sHryung01 2022-07-03 18:06:22
ansarishameem80 2022-07-03 18:05:21
Its an exception meaning your $total_aset variable has zero as value. Take a look where does that value come from and dd the its value.

oh ok thank you👍

ansarishameem80 2022-07-03 18:06:45
I’m sorry i dont have the code. 😅 But i’m sure you can get a reference on stackoverflow or youtube.
zey34354 2022-07-03 18:06:48
ansarishameem80 2022-07-03 17:59:40
Go to xampp control panel and in apache config select php.ini config within that file search for extensions. and look for a commented extension mbstring

let me see

ansarishameem80 2022-07-03 18:10:51
web design 2022-07-03 18:06:07
Can you send complete code?

https://www.itsolutionstuff.com/post/laravel-6-resize-image-before-upload-exampleexample.html

Laravel 7/6 Resize Image Before Upload ExampleItsolutionstuff
resize image intervention laravel 7/6, resize and upload image in laravel 7/6, resize image laravel 7/6, laravel 7/6 image intervention example, resize png image laravel 7/6, resize image before upload in laravel 7/6
web design 2022-07-03 18:12:37
ansarishameem80 2022-07-03 18:10:51
https://www.itsolutionstuff.com/post/laravel-6-resize-image-before-upload-exampleexample.html

No, No

web design 2022-07-03 18:13:20
I want to save an image in storage folder
ansarishameem80 2022-07-03 18:14:59
instead of using $file->storeAs use $imageResize->storeAs
rob miran 2022-07-03 18:27:57
Hi guys i got this error when trying to sent email

stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed”

On production
Anyone know how to solve this?
I’m already stuck 🙏

Edifice_Solutions 2022-07-03 18:30:24
laravel_discuss-127722.jpg
I uploaded my laravel to ubuntu digitalocean,,, getting this error,,, any help for permissions ?
Siva 2022-07-03 18:46:33
laravel_discuss-127723.jpg
Anyone know this error?
ansarishameem80 2022-07-03 18:47:52
check your view folder whether it contains contacts folder with index.blade.php file
Web_app_developer_expert 2022-07-03 18:49:46
Anyone know the best bot to drive traffic pls
Manthan 2022-07-03 19:24:08
Which youtube channels are best for learning advanced Laravel 8
ksovary 2022-07-03 19:32:45
web design 2022-07-03 17:44:44

You should check this completely code example with upload file
https://www.cambotutorial.com/article/laravel-9-resize-thumbnail-image-before-upload

Laravel 9 Resize Thumbnail Image Before Uploadhttps://www.cambotutorial.com
Today you will learn about Laravel 9 image resize example, I will explain how to resize an image in Laravel before upload to server. We will use the intervention/image composer package. The package Laravel intervention have
ksovary 2022-07-03 19:36:17
Siva 2022-07-03 18:46:33
Anyone know this error?

That should be two mistakes
1. You didn’t create blade file in views->contacts->index.blade.php
2. You already create blade with correct directory but incorrect view’s name in controller

DesolatorMagno 2022-07-03 19:38:28
Edifice_Solutions 2022-07-03 18:30:24
I uploaded my laravel to ubuntu digitalocean,,, getting this error,,, any help for permissions ?

You need to change permission of the folder storage, I don’t remember now what is the lvl because I have a script for it, and I am not in the PC right now

Siva 2022-07-03 19:50:38
ksovary 2022-07-03 19:36:17
That should be two mistakes
1. You didn’t create blade file in views->contacts->index.blade.php
2. You already create blade with correct directory but incorrect view’s name in controller

Ok done solved

InjaPMBedeh 2022-07-03 19:52:11
Can anyone tell me what routes are generated by the below code:

Route::resource(‘posts.comment’, ‘controller’);

For some reasons, I can not run route:list myself; please one of you guys send me the detailed information about the generated routes.

Lalita Pundir 2022-07-03 19:54:24
Edifice_Solutions 2022-07-03 18:30:24
I uploaded my laravel to ubuntu digitalocean,,, getting this error,,, any help for permissions ?

chmod -R 775 storage
chmod -R 755 bootstrap/cache

Add these

|