Do you use a special package or manual command?

|
Dilawar Naseem 2021-08-02 14:39:16
What is the best way to convert a blade in excel sheet
BvkDev 2021-08-02 14:46:56
Dilawar Naseem 2021-08-02 14:39:16
What is the best way to convert a blade in excel sheet

use Laravel Excel Package
https://docs.laravel-excel.com/3.1/exports/from-view.html

From View | Laravel ExcelLaravel-Excel
Supercharged Excel exports and imports in Laravel
Rao Aadil 2021-08-02 14:52:18
hi
this is the path I have stored “public/site-image/Copy_of_Copy_of_HIRING_-_Made_with_PosterMyWall-412837022_1627903944.jpg”

how do I access the image in my angular application
this is the app url in .env APP_URL=http://127.0.0.1:8000

Please help what will be the full url to accees the image

Rao Aadil 2021-08-02 14:52:55
laravel_discuss-90163.jpg

Rao Aadil 2021-08-02 14:53:05
please help
BvkDev 2021-08-02 14:54:25
Rao Aadil 2021-08-02 14:52:18
hi
this is the path I have stored “public/site-image/Copy_of_Copy_of_HIRING_-_Made_with_PosterMyWall-412837022_1627903944.jpg”

how do I access the image in my angular application
this is the app url in .env APP_URL=http://127.0.0.1:8000

Please help what will be the full url to accees the image

hi, remove public from url and retry.

Rao Aadil 2021-08-02 14:54:41
still says not found
Rao Aadil 2021-08-02 14:54:52
BvkDev 2021-08-02 14:54:25
hi, remove public from url and retry.

not found

BvkDev 2021-08-02 14:55:22
Rao Aadil 2021-08-02 14:54:52
not found

Is there anything in the folder? Have you checked?

Rao Aadil 2021-08-02 14:57:40
yes it is there
Rao Aadil 2021-08-02 14:58:42
BvkDev 2021-08-02 14:55:22
Is there anything in the folder? Have you checked?

laravel_discuss-90170.jpg

BvkDev 2021-08-02 14:59:13
run php artisan storage:link
retry preview link
Rao Aadil 2021-08-02 14:59:28
ok one sec
Rao Aadil 2021-08-02 14:59:56
laravel_discuss-90173.jpg

Rao Aadil 2021-08-02 15:00:17
BvkDev 2021-08-02 14:59:13
run php artisan storage:link
retry preview link

says link exisit

Rao Aadil 2021-08-02 15:01:08
how to access it now please help
Sujata Kalita 2021-08-02 15:02:33
Rao Aadil 2021-08-02 14:52:55

Give permission for access folder

Rao Aadil 2021-08-02 15:02:51
Sujata Kalita 2021-08-02 15:02:33
Give permission for access folder

how to do that please guide

BvkDev 2021-08-02 15:04:04
Rao Aadil 2021-08-02 15:02:51
how to do that please guide

try: http:127.0.0.1:8000/storage/site-image/[filename]

poppyhusk 2021-08-02 15:04:04
your path is wrong
Rao Aadil 2021-08-02 15:04:38
poppyhusk 2021-08-02 15:04:04
your path is wrong

what will be the correct one

Rao Aadil 2021-08-02 15:04:49
BvkDev 2021-08-02 15:04:04
try: http:127.0.0.1:8000/storage/site-image/[filename]

ok one sec

poppyhusk 2021-08-02 15:05:08
as per your file location you need to use storage url
poppyhusk 2021-08-02 15:05:29
Storage::url($path);
poppyhusk 2021-08-02 15:06:09
Public storage link create public folder in storage directory it symlink is displayed in public directory.
poppyhusk 2021-08-02 15:07:00
So you should copy your files or upload in storage/public path
poppyhusk 2021-08-02 15:07:26
and then use asset function for fetching files from public directory
poppyhusk 2021-08-02 15:07:35
Hope this helps.
Rao Aadil 2021-08-02 15:07:45
BvkDev 2021-08-02 15:04:04
try: http:127.0.0.1:8000/storage/site-image/[filename]

this works fine thank you so much you guyz are amazing @poppyhusk @BvkDev

Bhavyakumar Panchotiya 2021-08-02 15:08:20
Bhavyakumar Panchotiya 2021-08-02 14:36:53
can anyone tell me how to solve it ? “‘mysqldump’ is not recognized as an internal or external command,
operable program or batch file.” . … i already add to path of mysqlbin find the mysqldump.exe inside a system variable but still not working

anybody know this one ?

BvkDev 2021-08-02 15:08:21
Rao Aadil 2021-08-02 15:07:45
this works fine thank you so much you guyz are amazing @poppyhusk @BvkDev

👍🏻 Good luck

BvkDev 2021-08-02 15:09:39
Bhavyakumar Panchotiya 2021-08-02 14:36:53
can anyone tell me how to solve it ? “‘mysqldump’ is not recognized as an internal or external command,
operable program or batch file.” . … i already add to path of mysqlbin find the mysqldump.exe inside a system variable but still not working

Do you use a special package or manual command?

poppyhusk 2021-08-02 15:10:38
You should add the path for the current user only if using windows.
poppyhusk 2021-08-02 15:12:22
And if you haven’t restarted system after changing path multiple times them please restart your system first.
BvkDev 2021-08-02 15:13:15
Bhavyakumar Panchotiya 2021-08-02 15:08:20
anybody know this one ?

1.Go to mysqlbin find the mysqldump.exe

2.Go to your environment variables under System variable click on ‘New’.

3.As ‘variable name’ put ‘mysqldump'(without the quotes) and as ‘variable value’ put the path to your mysqlbinmysqldump.exe this will make ‘mysqldump’ available as a global system alias.

|