WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail Editor
[resolved] Can't get plugin to work (27 posts)

  1. Biranit
    Member
    Posted 2 years ago #

    Hi,

    I'm not sure if this has anything to do with me being on WordPress 3.3 or not, but I don't seem to be able to use the plugin.

    Once I click on the "thumbnails" link under an image, I get the Thickbox window popup, where I can see in the background the image and all the image sizes under it. But this window remains greyed-out, with that animated loading bar running over it - and that's how it stays forever. I close the window, try again, same thing. I just can't get the loading bar to disappear and allow me to actually access the editor's steps.

    Any feedback, suggestions, help would be hugely grateful - as this plugin is EXACTLY what I've been searching for!

    Many thanks,

    Biranit

    http://wordpress.org/extend/plugins/post-thumbnail-editor/

  2. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    Can you enable debugging (Settings -> Post Thumbnail Editor) and then after you click thumbnails there should be a tab that says debug on the window (you can click this to get a log of the current session).

    Also, what browser are you using?

  3. Biranit
    Member
    Posted 2 years ago #

    Hi sewpafly,

    I enabled debuggin, but clicking on the red "Debug" tab does nothing other than to reload that thickbox in the same "loading" state. It doesn't display any log or anything.

    I'm on Firefox 8.0.1. I just tried it on Chrome (latest version) and got the same result.

    Thanks,

    Bira

  4. ildario
    Member
    Posted 2 years ago #

    Just for the records, i'm having the very same issue as described by Biranit, with the same browsers. Worpdress 3.4.1.

    So close...

  5. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    ildario, what does your debug output say?

  6. ildario
    Member
    Posted 2 years ago #

    Hey swepaffy, as i said it, the problem is exactly the same as describe by Biranit. So, "clicking on the red "Debug" tab does nothing other than to reload that thickbox in the same "loading" state. It doesn't display any log or anything."

    Extra information, i'm using the plugin with backstreet theme: http://themeforest.net/item/backstreet-blog-magazine-theme/1680564

  7. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    I don't know if it's possible, but you probably have a conflict with another plugin. If you have a test installation maybe you could try disabling all other plugins and then re-enabling one at a time. Known conflicts occur with WPML and contact forms (these plugins inject javascript on every page -- which breaks PTE). If you can tell me which plugin is causing the problem I'll look for a quick workaround for you.

  8. kzipp
    Member
    Posted 2 years ago #

    Hey sewpafly,

    I am hoping to help you while you also help me. I have the thumbnail editor on a handful of my sites, but I just installed this on 4 new sites and am getting the same issue on all of them. These 4 new sites are on a separate server then my other sites, but are all on the same server. I have deactivated all plugins and it didn't help.

    All sites are running 3.4.1, along with Genesis framework. The debug button is also not working for me as its the exact same issue as above. Any help would be greatly appreciated, and any questions you have to help debug the issue I will be available to answer.

  9. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    @kzipp - How comfortable are you firing up Google Chrome and checking out the javascript console? (Or you could use firefox/firebug).

    I'm not familiar with the genesis framework, but I assume that this framework is injecting javascript on this page that causes an error and stops the rest of the javascript from loading and running. In this case we just have to track down where the Genesis stuff injects the javascript and tell it to not do that for AJAX pages. (See this post for the particulars for a different plugin... https://github.com/sewpafly/post-thumbnail-editor/issues/38#issuecomment-3558922)

    I should roll out a change for this because it is by far the biggest problem people have with this plugin. I just need to find the time...

  10. kzipp
    Member
    Posted 2 years ago #

  11. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    Can you provide more information about the framework you are using, including the URL to download it?

  12. kzipp
    Member
    Posted 2 years ago #

    It is also known as Sutdiopress. I am actually running Genesis on another site as well along with your plugin and have no issues. The site with the issue is actually running wordpress multisite. That is the only issue I can see different between the site with the issue, and other sites of mine that work perfectly, but I don't see how that would cause the issue.

  13. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    I made some notes below, but before I get too far, try this first:
    1. Go to your media library
    2. Find the picture you want to edit
    3. Right-click on the "Thumbnails" option and choose, "Open in new tab"
    4. Do you still have the same problem?

    The problem appears to be occuring because something is trying to load wp-lists.js (which doesn't happen on my installs). I imagine that since all your other plugins are disabled then it is either the theme you are using or the genesis framework.

    (Perhaps it is an option that could be different between the sites where PTE is working and the ones where it isn't?)

  14. kzipp
    Member
    Posted 2 years ago #

    I am still having the same problem in a new tab.

    I appreciate the time you are putting into getting this resolved, and I will continue to do the same and see what I may be able to find to help prevent this issue in the future.

  15. sewpafly
    Member
    Plugin Author

    Posted 2 years ago #

    In your new tab, can you "View Source" and find where the wp-lists.js call is? Copy that and any other <script> lines to a pastebin for me. Thanks.

  16. kzipp
    Member
    Posted 2 years ago #

    Sorry for the delay.

    http://pastebin.com/PbC5efuk is the entire page. I do see wp-lists.js, but I don't think this is much of a help.

    2 Notes.
    The gap at the top is true, not a copy and paste issue, it looks like that when I view source.
    I replaced my domain with domainname.com

  17. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

  18. mbernasocchi
    Member
    Posted 1 year ago #

    using wplm (the branch which is still in wp plugins) I get Uncaught ReferenceError: icl_ajx_url is not defined
    this is opening a new tab. trying now the 1.0.6 build.
    http://pastebin.com/YCvLdZtW there is no wp-lists call.

  19. mbernasocchi
    Member
    Posted 1 year ago #

    1.0.6 works with wpml whithout having to change sitepress.class.php
    thanks a lot

  20. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    @mbernasocchi - Thanks a lot for testing. I'll roll out a 1.0.6 final in the next couple days.

  21. shadaliza
    Member
    Posted 1 year ago #

    Has this problem been solved? Because I get the exact same error.

  22. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    @shadaliza, try the 1.0.6 build above, I haven't had any other testers tell me that this build is good yet, so I didn't push to WordPress. If its good for you, I'll probably push it out.

  23. shadaliza
    Member
    Posted 1 year ago #

    I installed 1.0.6 on both my websites. On 1 it works perfectly. On the second website it works, but in step 1 when I want to create a square thumbnail and I select the area for the thumb on the large image, the selection is not fixed in a square. The selection should be for example 200x200 fixed, but I can select any size of the large image to fit the thumb.

    I hope I explained myself.

    Both websites run on WP 3.4.2.

  24. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    On the second website where it isn't working, can you post the debug log? Are you sure you selected only the image that you want to crop? (the aspect ratio isn't set until an image is set).

    Alternately, there could be some conflict with another plugin...

  25. shadaliza
    Member
    Posted 1 year ago #

    I selected only the image I want to crop and the aspect ratio doesn't take. this is the debug report.

    [ Moderator note: when sharing code or log data, please wrap the text in backticks or use the code button. ]

    20121118 21:13:39 - [string] ===== STARTUP PHP MESSAGES =====
    20121118 21:13:39 - [string] ===== SERVER LOG =====
    20121118 21:13:39 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 30818
        [TB_iframe] => true
        [height] => 550
        [width] => 750
    )
    
    20121118 21:13:39 - [string] [WARNING] - Couldn't find or generate metadata for image: 30818-medium
    20121118 21:13:39 - [string] [WARNING] - Couldn't find or generate metadata for image: 30818-large
    20121118 21:13:39 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20100101 Firefox/16.0
    20121118 21:13:39 - [string] [DEBUG] - WORDPRESS: 3.4.2
    20121118 21:13:39 - [string] [DEBUG] - SIZER: 0.66666667
    20121118 21:13:40 - [string] ===== REFLOW =====
    20121118 21:13:40 - [string] ===== FIXING THICKBOX =====
    20121118 21:13:40 - [string] THICKBOX: 670 x 833
    20121118 21:13:40 - [string] WINDOW WIDTH: 780
    20121118 21:13:40 - [string] ===== REFLOW =====
    20121118 21:13:40 - [string] ===== FIXING THICKBOX =====
    20121118 21:13:40 - [string] WINDOW WIDTH: 780
    20121118 21:13:46 - [string] ===== SETTING ASPECTRATIO: null =====
    20121118 21:13:54 - [string] ===== SETTING ASPECTRATIO: null =====
    20121118 21:13:55 - [string] ===== SETTING ASPECTRATIO: null =====
    20121118 21:13:59 - [string] ===== SETTING ASPECTRATIO: null =====
    20121118 21:14:00 - [string] ===== SETTING ASPECTRATIO: null =====
  26. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    @shadaliza - that isn't the most recent version (1.0.6-alpha), it's missing some important debug logs (I need to know some additional size information), in the debug log it should have a line like: "SIZES: ...".

    Redownload the latest version from https://github.com/sewpafly/post-thumbnail-editor/archive/master.zip and try again. Thanks!

  27. shadaliza
    Member
    Posted 1 year ago #

    [ Moderator note: when sharing code or log data, please wrap the text in backticks or use the code button. ]

    20121126 14:04:02 - [string] ===== STARTUP PHP MESSAGES =====
    20121126 14:04:02 - [string] ===== SERVER LOG =====
    20121126 14:04:02 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 31030
        [TB_iframe] => true
        [height] => 550
        [width] => 750
    )
    
    20121126 14:04:02 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
    20121126 14:04:02 - [string] [DEBUG] - WORDPRESS: 3.4.2
    20121126 14:04:02 - [string] [DEBUG] - SIZER: 0.41666667
    20121126 14:04:02 - [string] [DEBUG] - SIZES: Array
    (
        [thumbnail] => Array
            (
                [width] => 120
                [height] => 120
                [crop] =>
                [current] => Array
                    (
                        [file] => 1-7-120x90.jpg
                        [width] => 120
                        [height] => 90
                        [path] => 2012/11/1-7-120x90.jpg
                        [url] => http://www.allstephenmoyer.com/wp-content/uploads/2012/11/1-7-120x90.jpg
                    )
    
            )
    
        [medium] => Array
            (
                [width] => 600
                [height] => 1024
                [crop] =>
                [current] => Array
                    (
                        [file] => 1-7-600x450.jpg
                        [width] => 600
                        [height] => 450
                        [path] => 2012/11/1-7-600x450.jpg
                        [url] => http://www.allstephenmoyer.com/wp-content/uploads/2012/11/1-7-600x450.jpg
                    )
    
            )
    
        [large] => Array
            (
                [width] => 600
                [height] => 1024
                [crop] =>
                [current] => Array
                    (
                        [file] => 1-7-600x450.jpg
                        [width] => 600
                        [height] => 450
                        [path] => 2012/11/1-7-600x450.jpg
                        [url] => http://www.allstephenmoyer.com/wp-content/uploads/2012/11/1-7-600x450.jpg
                    )
    
            )
    
    )
    
    20121126 14:04:03 - [string] ===== REFLOW =====
    20121126 14:04:03 - [string] ===== FIXING THICKBOX =====
    20121126 14:04:03 - [string] THICKBOX: 670 x 836
    20121126 14:04:03 - [string] WINDOW WIDTH: 780
    20121126 14:04:03 - [string] ===== REFLOW =====
    20121126 14:04:03 - [string] ===== FIXING THICKBOX =====
    20121126 14:04:03 - [string] WINDOW WIDTH: 780
    20121126 14:04:04 - [string] ===== SETTING ASPECTRATIO: null =====

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic