So for you, 2.0.0 works, but 2.1.0 doesn’t? Are they both broken now?
Which browser are you using? What version of wordpress?
Using chrome or firefox, could you open the javascript console (ctrl+shift+j) and see if any errors occur?
Thread Starter
krez
(@krez)
2.0.0 works, but 2.1.0 doesn’t, that is correct. 2.0.1 also does not work. If I revert to the old 2.0.0 version that one works fine.
WordPress 3.5.1. Tested this out on both Chrome and Firefox.
Here is a screen cap of what I see in 2.1.0 (compare to the screen cap above, no “Post Thumbnail Editor” text is shown):
http://grab.by/mMWg
The following shows up in the Javascript console: “Uncaught ReferenceError: pteL10n is not defined”
Not being able to get the pteL10n is definitely the problem… Now we have to figure out what’s causing it. I’m inclined to think that it’s a conflict with another plugin, so the quickest way to check is to disable all other plugins and see if that fixes the problem.
- If that does fix it, re-enable plugins one at a time until you find which plugin is causing the problem. Then I can install that plugin and fix the conflict.
- If that doesn’t fix it, I would ask you to view the page source and investigate the
<head>
section. You should find something like this:
<script type='text/javascript'>
/* <![CDATA[ */
var pteL10n = {"PTE":"Post Thumbnail Editor","url":"http:\/\/wordpress\/wp-admin\/upload.php?page=pte-edit&pte-id=<%= id %>"};
/* ]]> */
</script>
<script type='text/javascript' src='http://wordpress/wp-content/plugins/post-thumbnail-editor/apps/coffee-script.js?ver=2.2.0-alpha'></script>
Thread Starter
krez
(@krez)
It seems as if version 2.1.0 is working fine now. I haven’t changed a thing on my install. The Javascript console does not show any errors right now. Not sure what to say… I’ll post here again if the issue returns.
Thanks for updating. Let me know if you have any other problems!