CSV export.. try to load the records, but is not loading.

javier94

Member
as you can see here5.PNG
no records are loading.. and i have the same configuration for csv export..
6.PNG

than in other csv exports, but in this case is not working!!

Any suggestion????

Thanks in advance!

Javier
 
How you selected any elements under the option "Elements"? Or just test to change "Which elements" to "All".

Matt
 
in elements, i have selected some elements, and only i want this elements appears in the CSV, this is why i have in WHICH elements = selected!

you can see here..
8.PNG

I also thought, that maybe, as i have a pluguin php in the form of this list, maybe will not like the code, so i unpublished the pluguin code.. but is not working either, so the plugin is not the trouble..

but i can not see where is the trouble. as i told in the first post. i have other CSV export in other list with the same items selected and is working, but not this list...

is the first time when you try to export... the records are not loading..

in other way the pdf icon, works perfect.. if can help this data

Any suggestion?

thanks

Javier
 
i have checked and i found at the end of the console..

SyntaxError: Unexpected token < in JSON at position 0

i'm not sure which error is.. i will try to find.. thanks!
 
Ok, have a look in the "Network" tab of the browser console and check the response.
"token <" usually is coming from a php error/warning/notice which is breaking the expected json response.
 
As you told me, i try to export and open the inspector. and the console..
the console show this..
but i don´t have any idea which error is this ! or how to solve !



TypeError: t is undefined
list.js:3:8009
onComplete http://www.ahora94.com/cat.selectiumlab/media/com_fabrik/js/dist/list.js:3
fireEvent http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:42
forEach self-hosted:225
m http://www.ahora94.com/cat.selectiu...ls-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:5
each http://www.ahora94.com/cat.selectiu...ls-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:9
fireEvent http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:42
e http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:38
onFailure http://www.ahora94.com/cat.selectiu...-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:160
e http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:38
failure http://www.ahora94.com/cat.selectiu...-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:160
e http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:38
onStateChange http://www.ahora94.com/cat.selectiu...-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:159
e http://www.ahora94.com/cat.selectiu...s-core.js?afde70ce21b5bdf64511db6fd1e8ce8a:38
<anonymous> self-hosted:844

Any suggestion?

one doubt.. there is any trouble to export calc elements? i mean the csv exports.. works well.. when i have field elements instead a calc elements, i have to change the type of element by calc element..

Do you think would be the reason ? and the calc elements give this trouble??

Thanks in advance!

Javier
 
In Fabrik Options "Debugging" set Allow Fabrik debug to "Debug JS", then try again.
This should show a more informative error line of list.js.
If it's related to your calc element I still assume the code is throwing a warning/error...

The browser's Network tab is something like this
upload_2020-5-20_21-13-18.png
Instead of {"total"....} I assume you'll get something like
<b>Warning whatever... {"total"...}
which will break the CSV export
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top