Closed starettie closed 6 years ago
Hmm, this is odd, I haven't experienced this before. I'm going to ask for a few things, if you can answer them it would help me narrow down the problem.
1) What happens if you try to duplicate the table, does the duplicate still not show up in the editor? 2) What data did you insert into the table? Maybe it broke something while saving due to an unexpected character 3) Can you right click on the page, click Inspect, and open up the console tab and see if there is an error code and let me know what you find?
If it still shows up in the front-end then the table data is still there, its just the editor is having a hard time with the values its getting back. I think something may have messed up the json format of the data.
Thanks for bringing this to my attention, I will try to do some testing and see if I can reproduce the problem.
John
If I duplicate the table, the duplicate table displays in the list of tables but I cannot access the table through edit/view (same thing happens)
I was inserting text, adding rows, and formatting the rows with the underline "_". When I clicked "update" all the tables vanished from the table I was working on, as well as the other tables I had created on separate date
I'm not sure what I'm looking for... I'm looking at the page with the following table: http://www.baast.ca/hlb-values-in-emulsifiers/
I believe I see one error:
Uncaught ReferenceError: homePostgalleryInit is not defined
at
g.
On 2017-03-17 13:11, John Tendik wrote:
Hmm, this is odd, I haven't experienced this before. I'm going to ask for a few things, if you can answer them it would help me narrow down the problem.
* What happens if you try to duplicate the table, does the duplicate still not show up in the editor?
- What data did you insert into the table? Maybe it broke something while saving due to an unexpected character
Can you right click on the page, click Inspect, and open up the console tab and see if there is an error code and let me know what you find?
If it still shows up in the front-end then the table data is still there, its just the editor is having a hard time with the values its getting back. I think something may have messed up the json format of the data.
Thanks for bringing this to my attention, I will try to do some testing and see if I can reproduce the problem.
John
-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
[1] https://github.com/JohnTendik/jtrt-tables/issues/36#issuecomment-287415149 [2] https://github.com/notifications/unsubscribe-auth/AZOPts8a7jR0psZscs5WHck0725UVUm1ks5rmr7QgaJpZM4MgMk7
Hey, this is great info but can you do the same thing for #3
but on the table edit page, when you try to edit the tables and they don't show up, on that page do the inspect and see in the console what the error message is. If you can get that to me it would definitely help out.
Thanks John
Here's the same table from admin side...
Uncaught TypeError:
l.columnSettings[t] is not a constructor
at E.Core.setCellMeta
(handsontable.full.min.js?ver=4.0:31)
at E.Core.setCellMetaObject
(handsontable.full.min.js?ver=4.0:31)
at E.Core.updateSettings
(handsontable.full.min.js?ver=4.0:30)
at E.Core.init
(handsontable.full.min.js?ver=4.0:30)
at new o
(handsontable.full.min.js?ver=4.0:30)
at JTrtEditor.init
(jtrt-responsive-tables-class.js?ver=4.0:59)
at new JTrtEditor
(jtrt-responsive-tables-class.js?ver=4.0:52)
at
HTMLDocument.
at i (load-scripts.php:2)
at Object.fireWith [as resolveWith]
(load-scripts.php:2)
handsontable.full.min.js?ver=4.0:33 Uncaught
TypeError: Cannot read property 'offsetLeft' of undefined
at C
(handsontable.full.min.js?ver=4.0:33)
at T.getIfMouseWasDraggedOutside
(handsontable.full.min.js?ver=4.0:35)
at T.onMouseMove
(handsontable.full.min.js?ver=4.0:35)
at HTMLHtmlElement.
On 2017-03-17 16:27, John Tendik wrote:
Hey, this is great info but can you do the same thing for #3 [1]
- I'm not sure what I'm looking for... I'm looking at the page with the following table: http://www.baast.ca/hlb-values-in-emulsifiers/ [2]
but on the table edit page, when you try to edit the tables and they don't show up, on that page do the inspect and see in the console what the error message is. If you can get that to me it would definitely help out.
Thanks John
-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [3], or mute the thread [4].
[1] https://github.com/JohnTendik/jtrt-tables/issues/3 [2] http://www.baast.ca/hlb-values-in-emulsifiers/ [3] https://github.com/JohnTendik/jtrt-tables/issues/36#issuecomment-287462479 [4] https://github.com/notifications/unsubscribe-auth/AZOPtgbnVdDvR915d4k5NDj7hDpSLuHWks5rmuyqgaJpZM4MgMk7
Hey,
I can't seem to reproduce this issue at all. I have some more questions for you hopefully you can help me out. I've tried on my tables.johntendik.com website and on two of my local copies, both with different php/mysql versions I still cant reproduce this issue.
I did seem to come across a saving issue when trying to save a very very large table (over 1000 rows) but that's because of the php limit on the server, the end result is the same original content when you get when you first create a table. Obviously this isn't the same issue but it might be because of your server setup.
1) what version of PHP is you server running? 2) version of WordPress 3) Do you have any firewall plugin that may be blocking the save attempt?
Also unrelated but,
4) what happens if you create a new table, does nothing still show up? Can you save when you create a new table? Is this just 1 table that's corrupted or is it all ?
Also, the error message you gave me did help out a little but unfortunately because the live plugin uses minified code, its complete jibirish. I looked at the line number for the error code and its not much of a help. Would you be comfortable with giving me access to your backend for a little bit so I can investigate? If not its ok I can try to mimic your server environment and try to reproduce the problem but it would be much faster if I took a look at the problem first hand. If you do decide to give me access please email me the details and don't post anything on github since its a public form and everyone will see it.
Thank you
John
What email can I reach you at?
I"d like to send you the admin login if you can advise me how to do it - what email can I send the login to? I'm running PHP Version 7.0.16. Wordpress V.4.7.3 I'm not aware of any firewall blocking the save function... All the tables vanished on the backend, which doesn't seem connected to the save function? (You'd think the data just wouldn't save, if it was a firewall issue? But in this case, all the tables in the admin area vanished.)
The issue was happening to a milder degree when I first started using the plugin. I import an Excel spreadsheet into the table (seems to work beautifully) - and then I manually added data. Most of the tables were created this way. Specifically, the table I was working on, at the time of the crash, I had manually added more data to that table than I had for any of the other tables (the data is just text, not a calculation). I THINK the issue may be connected to manually adding data. The other issue I noted that seemed to make the plugin a bit sluggish, is when I add the cell borders. I was adding the bottom border, row by row... clicked save, then, bam!
Hey
You can reach me at johntendik@hotmail.com
I'm looking at this right now and immediately I can tell php7 might be an issue. I have not done any testing on php7 :/ I'm going to spin up a test environment with php7, although I'm using most of WordPress' own saving features, I'm not doing anything special. Plus it doesn't explain how you were able to save tables before and it just randomly disappeared.
I'll do some testing in php7 and get back to you hopefully with a hotfix soon.
Thanks John
Hey @starettie are you still experiencing this issue? Im revisiting this problem and found out that some values are not being saved properly which breaks the json format. So im wondering what sort of manual edits are you doing? Could i possibly get a copy of your data to see what may be breaking it?
Thanks JT
My tables disappeared from the admin area. They still appear on the front end (see example http://www.baast.ca/oils-chart/ ), and they show up in the list of tables in the admin, but when I click view or edit on a table, the table doesn't load. Any ideas? (The problem occurred after I finished adding info to a table and clicked 'update')