CSV import Not working v5.95

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
mdannatt
Posts: 9
Joined: 2020-01-27 17:34

CSV import Not working v5.95

Post by mdannatt » 2021-05-04 10:53

When I try and upload via the new csv functionality for appgini +5.90, all i get after import-csv.php is a blank page. no error messages and nothing in Console. This happens both as admin and as user (with csv permissions set)

THe old csv upload utility still works. Has anyone got any ideas or ha the same problem?

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 1281
Joined: 2018-04-01 10:12

Re: CSV import Not working v5.95

Post by pböttcher » 2021-05-05 06:38

Hi,

what you mean by
all i get after import-csv.php is a blank page
which steps of the upload work and where do you get stuck?

Can you check the type of your input csv? Is it UTF-8 without BOM? or has it a different type ? You may use Notepad++ to check that.

mdannatt
Posts: 9
Joined: 2020-01-27 17:34

Re: CSV import Not working v5.95

Post by mdannatt » 2021-05-05 14:00

HI

THanks for reply. The reason my query was vague is that there is not much to say. If I click on the "IMport CSV Data" button top left as super admin, or as a user, the webpage just goes blank. the adress bar shows /import-csv.php but thats where it ends. View Page Source returns a blank as well. The old CSV upload utility located under admin utilities still works fine. As for CSV, it doesnt even let me select the file.

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 1281
Joined: 2018-04-01 10:12

Re: CSV import Not working v5.95

Post by pböttcher » 2021-05-05 21:35

Hi,

ok, that sounds strange. Do you have any additional code (header-extras.php, etc. ), or is it a plain application?

Can you recreate the app and check if it still happens?

mdannatt
Posts: 9
Joined: 2020-01-27 17:34

Re: CSV import Not working v5.95

Post by mdannatt » 2021-05-06 14:27

I emptied my header-extras file but nothing has changed. if i run import-csv.php i get this output:

<b>Fatal error</b>: Uncaught Error: Class 'CSVImportUI' not found in [...][...]:622
Stack trace:
#0 {main}
thrown in <b>[...][...]</b> on line <b>622</b><br />

which references:
$ui = new CSVImportUI($transformFunctions, $filterFunctions);

This is a fresh install.

Post Reply