sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

WP 3.9: Popup does not open anymore #97

Closed wotis closed 10 years ago

wotis commented 10 years ago

Hello, since the WP-Update to 3.9 the popup window to edit thumbs does not open anymore from the link "Post Thumbnail Editor" on an edit post screen. Instead the window content appears at the bottom of the page slightly to the left after clicking the link bildschirmfoto 2014-04-25 um 21 28 27 .

sewpafly commented 10 years ago

Are you using the latest from github?

If so, do you have other plugins enabled? Try disabling other plugins and seeing if the problem goes away.

Check the log files (both the PTE one (you can find this in the settings) and the javascript console.

wotis commented 10 years ago
  1. Yes, I'm using the github version.
  2. disabled all other plugins
  3. Logfile of PTE as attachment. I can see no strange entries. Checked with Firefox and Safari. Both browsers don't show the window.
  4. I'm not quite sure about the console-messages. I see some errors like

SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead require.js:45 SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead require.js:84 SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead require.js:276 SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead require.js:394 SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead require.js:102

Does this help?

wotis commented 10 years ago

here is the attachement (log.txt)

[DEBUG ][2014-04-25T20:22:29+00:00][PARAMETERS: Array ( [action] => pte_ajax [pte-action] => iframe [pte-id] => 17557 )] [DEBUG ][2014-04-25T20:22:29+00:00][PTE-VERSION: 2.3.0 USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 WORDPRESS: 3.9] [DEBUG ][2014-04-25T20:22:34+00:00][PARAMETERS: Array ( [action] => pte_ajax [id] => 17557 [pte-action] => get-thumbnail-info )] [WARNUNG][2014-04-25T20:22:34+00:00][Couldn't find or generate metadata for image: 17557-large] [WARNUNG][2014-04-25T20:22:34+00:00][Couldn't find or generate metadata for image: 17557-foundation-featured-image] [DEBUG ][2014-04-25T20:24:02+00:00][PARAMETERS: Array ( [action] => pte_ajax [pte-action] => iframe [pte-id] => 17557 )] [DEBUG ][2014-04-25T20:24:02+00:00][PTE-VERSION: 2.3.0 USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14 WORDPRESS: 3.9] [DEBUG ][2014-04-25T20:24:05+00:00][PARAMETERS: Array ( [action] => pte_ajax [id] => 17557 [pte-action] => get-thumbnail-info )] [WARNUNG][2014-04-25T20:24:05+00:00][Couldn't find or generate metadata for image: 17557-large] [WARNUNG][2014-04-25T20:24:05+00:00][Couldn't find or generate metadata for image: 17557-foundation-featured-image]

wotis commented 10 years ago

Additional Info: Other windows like adding the post image or the media-window do work without problems.

sewpafly commented 10 years ago

Trying to duplicate the issue, but not having much success. You are just clicking the "Post Thumbnail Editor" link that shows in the "featured image" box, correct?

wotis commented 10 years ago

Yes, I click on the link in the featured image box and no window opens, but the content is shown at the bottom of the page.

The other answers:

  1. Yes PTE works correct from the media library page.
  2. Also: Yes.
  3. Yes, but after the short looding animation the editing screen opens in the full browser screen.
sewpafly commented 10 years ago

Can you try it in Chrome? I've tried it in several browsers and can't duplicate it, I'm hoping that chrome's javascript console (ctrl+shift+j) should show better errors. (I think that safari actually has one too, but I don't know how to access it).

wotis commented 10 years ago

Hello, I did some more research and it seems to be a problem with my wordpress installation. I found a second place, where a window does not open: the detail-link when I try to install a plugin. these informations also do not appear in a window, but they are shown at the bottom of the page. I have no idea, why this happens. I disabled all plugins and the error is still there. Sorry for wasting your time. And thank you for trying to help me. Now I have to find out, where this strange behaviour comes from. I right now have no idea...

sewpafly commented 10 years ago

Oh thanks!

wotis commented 10 years ago

I found the solution. As always it was hard to find, but the reason for the error was simple ;)

It was "just" a corrupted thickbox.css file of my wp-files with a missing first line. So the thickbox overlay was not displayed and the content was misplaced.