grav-plugin-data-manager icon indicating copy to clipboard operation
grav-plugin-data-manager copied to clipboard

I trying to download as csv , But getting error

Open geogeorgejoseph opened this issue 3 years ago • 2 comments

I trying to download as csv , But getting error Data-Manager-PanApps1 Crikey-There-was-an-error- 2

Please suggest a solution to resolve this issue

geogeorgejoseph avatar Jan 24 '22 13:01 geogeorgejoseph

I can reproduce the issue. However, this is not an issue of this plugin, but rather an issue of a library used by Grav core.

I would suggest to add an issue at https://github.com/getgrav/grav/issues which gets more attention from the devs.

pamtbaau avatar Feb 07 '22 14:02 pamtbaau

HI, I have the same error. I don't know why a / is appended to temp file name at row 251 of data-manager.php

$csv_file = File::instance($tmp . '/', $tmp_file);

The fix is remove . '/':

$csv_file = File::instance($tmp, $tmp_file);

masetto avatar Jun 06 '22 07:06 masetto