- This topic has 9 replies, 2 voices, and was last updated 7 years, 1 month ago by Tom.
August 10, 2016 at 1:32 pm #217237Louis
I am trying to use the plugin https://wordpress.org/plugins/inline-google-spreadsheet-viewer/
This plugin is useful to display Spreadsheets in Google Spreadsheet Online Format and CSV file. I got it to work fine with the Google Spreadsheet but had no success with CSV file which I would prefer to use.
As I look at all others options of conflict, I would like that you check if there could be one with the GeneratePress theme.
Have a look at this page http://lelaurier.net/test-releve-de-compte/
ONE: Google Spreadsheet, display fine
TWO: CSV file, display just a line, data-table is not displayed (not generated)
THREE : Simple link to the CSV file to demonstrate that it is accessible
[gdoc key=”https://docs.google.com/spreadsheets/d/1qbkOQMu8c3vxFF_-iNdZLN7i4wenfZWcqeT4Y6kNGh4/edit?usp=sharing” ]
[gdoc key=”http://lelaurier.net/fileaway/Administration/Comptes/touslescomptes.csv” ]
1) The plugin developer has tested with the exact same code and it is fine in his environment. His answer was: “When I use the shortcode you provide, I get a table. I can pull your CSV file and see its data in my post. You may want to ensure no other plugin is interfering with the output. “
2) I did deactivate ALL others plugins but still same result. (Had to do backup/restore)
3) I am reaching to you hoping you could help me with that mystery.
Thanks in advance.August 10, 2016 at 4:09 pm #217278TomLead DeveloperLead Developer
Interesting – when you switch to another theme like Twenty Sixteen, does it display?
I am seeing this error in my inspect console:
Uncaught TypeError: Cannot read property 'aDataSort' of undefined
Let me know 🙂August 10, 2016 at 4:37 pm #217287Louis
I was afrai8d of switching theme. Had a bad experience in deactivating all plugins…. They did not came back with all settings after reactivation.
Is it OK if I switch theme and come back to yours ?August 11, 2016 at 12:23 am #217334TomLead DeveloperLead Developer
Yes you shouldn’t experience any issues – if you’re nervous you can do a database backup first which is never a bad idea.August 11, 2016 at 6:07 pm #217545Louis
I tried with Twenty Sixteen (in previsualisation) and the page http://lelaurier.net/test-releve-de-compte/ does not even open (just stay on same page). If I remove the CSV code, it open.
So it is obviously not a theme problem.
AS I am not that technical, could you give me more information on the “Uncaught TypeError: Cannot read property ‘aDataSort’ of undefined”.
Anything that I could send to the plugin developper to help him find the problem.
Thanks.August 11, 2016 at 7:36 pm #217563TomLead DeveloperLead Developer
I wouldn’t know as I didn’t write the code, but they should have a pretty good idea what’s going on if they know the error message 🙂August 12, 2016 at 7:14 am #217676Louis
Therefore, I cannot reproduce the issue and that means whatever is causing the problem is something else on your server.August 12, 2016 at 9:00 am #217698TomLead DeveloperLead Developer
Next thing I would try is activating Twenty Sixteen, and deactivate all plugins except for that one.
If it works, activate each plugin one by one until it breaks again.August 12, 2016 at 10:50 am #217716Louis
I did both of these but independently:
1) Remove all plugins : Did not worked (an a lot of trouble when reactivating…)
2) Tried Twenty Sixteen in previsualisation: My test page would not even load (It does load with you theme)
I might do what you propose eventually.
BTW, when you got “Uncaught TypeError: Cannot read property ‘aDataSort’ of undefined” was that on my server or your server.August 12, 2016 at 10:03 pm #217797TomLead DeveloperLead Developer
So you’ve tried using the Twenty Sixteen theme with no other plugins activated, and it still doesn’t work?
If that’s the case, then it would have to be your server as the plugin developer says, as you would be testing with the same theme/plugins as him.
- You must be logged in to reply to this topic.