• Hi all – we upgraded to 3.2.1 on Friday night and our content manager noticed that when she now goes to insert media, she can no longer crop the image– and beyond that, doesn’t even see the image in the square when she goes to edit image. Crop is completely grayed out. Please let me know if you have any ideas on solving this situation.

    Thanks!
    Matt

Viewing 8 replies - 1 through 8 (of 8 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    Moderator cubecolour

    (@numeeja)

    The crop option being greyed out by default is normal as it needs an area to crop to be defined before it is active. After dragging out the area you wish to crop the crop button should be clickable to perform the crop.

    Thread Starter mschwade

    (@mschwade)

    hi cubecolour – thanks, but I don’t even see an image to zoom in/out on.

    Hi mschwade,

    I would start with the following trouble shooting steps:

    1. If you are using any other theme than the default theme, switch to the default theme.
    2. Disable plugins
    3. Make sure your timthumb is up to date. Easiest way to do that is to use the Timthumb Vulnerability Scanner: http://wordpress.org/extend/plugins/timthumb-vulnerability-scanner/
    4. Set WP_DEBUG and WP_DEBUG_LOG as true in wp-config.php. This should display on the screen and log errors to wp-content/debug.log if any scripts are causing an error. Set this back to false once you have pinpointed the error.

    Hope this helps!

    Thread Starter mschwade

    (@mschwade)

    Well, I found out if I active the 2011 theme, it works. But if I go back to our custom theme, it breaks… And I have no idea how to fix the custom theme. Any help? Thanks for all your suggestions so far!

    Hi mschwade,

    So, the good news is you’ve narrowed it down to something within your custom theme. With that theme disabled, follow steps 3-4 from above. If the issue persists, I would recommend checking with the theme developer. You may need to change themes as not all themes keep up with WordPress updates and may not function correctly with updated versions of WordPress.

    Good luck!

    Thread Starter mschwade

    (@mschwade)

    Thanks ChristiNi… I ran the scanner, and it found 8 files that needed fixed:

    featurethumb.php (found at /var/www/html/Custom-Theme/wp-content/bp-themes/Custom-Theme/lib/scripts/featurethumb.php)
    thumb.php (found at /var/www/html/Custom-Theme/wp-content/bp-themes/Custom-Theme/lib/scripts/thumb.php)
    thumb.php (found at /var/www/html/Custom-Theme/wp-content/bp-themes/Custom-Theme/lib/scripts/_OLD/thumb.php)
    thumb.old.php (found at /var/www/html/Custom-Theme/wp-content/bp-themes/Custom-Theme/lib/scripts/thumb.old.php)
    featurethumb.php (found at /var/www/html/Custom-Theme/wp-content/themes/Custom-Theme/lib/scripts/featurethumb.php)
    thumb.php (found at /var/www/html/Custom-Theme/wp-content/themes/Custom-Theme/lib/scripts/thumb.php)
    thumb.php (found at /var/www/html/Custom-Theme/wp-content/themes/Custom-Theme/lib/scripts/_OLD/thumb.php)
    thumb.old.php (found at /var/www/html/Custom-Theme/wp-content/themes/Custom-Theme/lib/scripts/thumb.old.php)

    I then ran the fix all and it spit an error message back at me “CAN’T OPEN VULNERABLE FILE FOR WRITING”. I’m guessing this is permissions? What perms need set?

    Thanks for your help!
    Matt

    Hi Matt,

    Folder permissions should usually be 755. Have you checked to see if the developer of the theme has an update or any information on this? If they do not, you can also manually replace the timthumb script yourself.

    http://www.binarymoon.co.uk/projects/timthumb/

    The latest version of TimThumb is available on Google Code:

    http://code.google.com/p/timthumb/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Click on Edit Image, no image appears and crop is disabled’ is closed to new replies.