JohnTendik / jtrt-tables

A Wordpress plugin to help users create responsive tables without having to read or write code.
GNU General Public License v2.0
22 stars 6 forks source link

Won't let me insert an image. #37

Closed markround2 closed 6 years ago

markround2 commented 7 years ago

When I try to insert an image into the table, it displays "Making Calculations - Please Wait" and then never returns.

JohnTendik commented 7 years ago

Hey,

I have a few questions, if you can answer them it would definitely help me out in narrowing down the issue.

1) WordPress version 2) Plugin Version 3) Have you cleared your cache? Do you have caching enabled / have plugins? 4) PHP Version for your server if you can get that info

Also, when the plugin hangs at the making calculations loading screen, can you right click on the page > select Inspect element -> console tab

You should probably see an error message in the console tab, can you copy paste the error code here if there is any (most likely there is)

Thank you!

John

markround2 commented 7 years ago

Wordpress 4.7.3 Plugin Version 4.1 Php Version 5.5

Mark Round 805-210-0749 mark.c.round@gmail.com

On Mar 21, 2017, at 12:07 AM, John Tendik notifications@github.com wrote:

Hey,

I have a few questions, if you can answer them it would definitely help me out in narrowing down the issue.

WordPress version Plugin Version Have you cleared your cache? Do you have caching enabled / have plugins? PHP Version for your server if you can get that info Also, when the plugin hangs at the making calculations loading screen, can you right click on the page > select Inspect element -> console tab

You should probably see an error message in the console tab, can you copy paste the error code here if there is any (most likely there is)

Thank you!

John

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JohnTendik/jtrt-tables/issues/37#issuecomment-287985837, or mute the thread https://github.com/notifications/unsubscribe-auth/AZS9dd3h4xMAvYd1SzoVFFiJlFKB33eXks5rn2kagaJpZM4MhxlW.

JohnTendik commented 7 years ago

Hey Mark,

Thanks for the update, unfortunately this doesn't help me much, I have the exact same environment setup on one of my local copies and I could not reproduce the error.

Did you try clearing the cache? Also can you check to see if you get any errors in the console? ( right click click on the page > select Inspect element -> console tab )

I'll keep trying to reproduce the issue, but I have a feeling it may be because of caching issue.

Also, you can always insert images directly into the cell by typing out the img tag inside the cell like so: <img src="linktoimage.png" alt="describe image">

Thanks John

ckFMB commented 7 years ago

Thanks for the great plugin, but I'm having the same issue. Here's what the console tells me in Firefox:

TypeError: "\n\t\t<div class=\"media-modal wp-core-ui\">\n\t\t\t<button type=\"button\" class=\"button-link media-modal-close\"><span class=\"media-modal-icon\"><span class=\"screen-reader-text\">Close media panel\n\t\t\t<div class=\"media-modal-content\">

\n\t\t
\n\t\t<div class=\"media-modal-backdrop\">\n\t" is not a function

wp.template</< /wp-admin/load-scripts.php:70:283 wp.Backbone.View<.render /wp-admin/load-scripts.php:71:2906 [53]</d<.attach /wp-admin/load-scripts.php:134:19754 [53]</d<.open /wp-admin/load-scripts.php:134:20152 [50]</</d.prototype[a] /wp-admin/load-scripts.php:134:17630 JTrtEditor.prototype.renderMediaUploader/< /wp-content/plugins/jtrt-responsive-tables/admin/js/vendor/jtrt-responsive-tables-class.js:836:13

(I removed the address of the intranet site where I'm running Wordpress and replaced it with *** in the snippet above.)

I'm using Wordpress 4.7.3 and version 4.1 of your plugin. Hopefully that is helpful.

JohnTendik commented 7 years ago

Hey ckFMB

I'm sorry you're running into this issue. As a temporary fix, you could always try inserting plain html into the cell to get your image.

<img src="linktoimage.png" alt="describe image">

I know this isn't pretty but until I can reproduce this and find a fix for it, its the only way to insert images it seems. The error message you've given me tells me the wp-media file_frame.open() function is failing. I'll try to take a look at whats going wrong and hopefully get back to you guys with a fix asap.

Thanks John

markround2 commented 7 years ago

No problem. Worked around it with no images for now. Take your time. Appreciate it.

Mark Round 805-210-0749 mark.c.round@gmail.com

On Mar 27, 2017, at 9:10 PM, John Tendik notifications@github.com wrote:

Hey ckFMB

I'm sorry you're running into this issue. As a temporary fix, you could always try inserting plain html into the cell to get your image.

describe image

I know this isn't pretty but until I can reproduce this and find a fix for it, its the only way to insert images it seems. The error message you've given me tells me the wp-media file_frame.open() function is failing. I'll try to take a look at whats going wrong and hopefully get back to you guys with a fix asap.

Thanks John

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JohnTendik/jtrt-tables/issues/37#issuecomment-289650028, or mute the thread https://github.com/notifications/unsubscribe-auth/AZS9dSweDcXj7vjHLv3StQm9QnvJW1Ivks5rqHpAgaJpZM4MhxlW.

satun14 commented 7 years ago

Ahaha, really?! Enable JetPaсk - connect to Wordpress.com and get http://clip2net.com/s/3KH2wv1 Turn off JetPaсk and everything works ... Please fix it!

JohnTendik commented 6 years ago

Guys sorry for getting to this so late, it was a weird one that I kept running away from but I believe I have solved the issue! :P Please update to the latest version and let me know if this issue still persists.

Thanks for all your patience. JT