simonhamp / laravel-nova-csv-import

The best CSV import component for Laravel Nova
https://novapackages.com/packages/simonhamp/laravel-nova-csv-import
MIT License
168 stars 76 forks source link

I am not able to link resource with csv Import functionality #9

Closed bharatv03 closed 5 years ago

bharatv03 commented 5 years ago

image Hello Simon, Good evening!

Please find the attachment for the image of page I am receiving after adding the component to tools.

Please it will be a great help to me if You could help in proceeding further in the same.

Thank you

bharatv03 commented 5 years ago

This is an exception I am receiving.

[2019-05-30 12:40:42] production.ERROR: md5_file(): Filename cannot be empty {"userId":"230fbff0-5439-11e9-ab34-69ce6f383d7d","email":"admin@test.com","exception":"[object] (ErrorException(code: 0): md5_file(): Filename cannot be empty at D:\xampp\htdocs\laravel-crm\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php:109)

bharatv03 commented 5 years ago

$file->getRealPath()

this method is returning empty

simonhamp commented 5 years ago

It looks like there's a bug here on Windows / XAMPP in the Filesystem library and seems like it's not specifically related to this package. Unfortunately I don't use either of those so it's going to be a little tricky for me to debug.

I'm going to close this issue, as I suspect you may face this issue elsewhere if you were to use the Illuminate\Support\Facades\File::hash() method, which would highlight a problem with your local development setup.

If anyone else can provide any insight, please feel free to assist.