• Resolved BX12

    (@b-p)


    When I attempt to upload image files to the WP media library for insert into a post or page, I get this error.

    “An error occurred in the upload. Please try again later.”

    Interestingly, if I reload the page and then look in the media library the image is there.

    The problem is only happening on this site: http://www.guruhabits.com/ All my other sites, which are setup exactly the same, are fine.

    When I deactivate the WP Smush.it plugin, I no longer get the error message.

    Does anyone have a fix for this?

    http://wordpress.org/plugins/wp-smushit/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Mike

    (@michael-copestake)

    Hi @b-p

    Can you enable debugging? Go to Settings > Media > tick the box to enable debugging then click Save Changes.

    Then try again and you should get an error log, please post this error log here.

    Thread Starter BX12

    (@b-p)

    Hey Mike,

    Thanks your quick response.

    It was already enabled and no error log was present. So I disabled and then enabled it 3 times and still no error log.

    I assume that I’d see the log on the same page.

    Am I missing something?

    Mike

    (@michael-copestake)

    Yeah you would see errors when trying to smush images. Did you try doing a bulk smush after enabling debugging?

    Thread Starter BX12

    (@b-p)

    I just did a bulk smush. It this what the error log looks like?

    “Bulk WP Smush.it

    Processing test-banner-ad…
    DEBUG: attachment_file_path= …………….”

    Isn’t this sensitive information by showing all those paths?

    @b-p,

    Isn’t this sensitive information by showing all those paths?

    Not really. The image URL is public information. If the image is user on any of your pages for example, that same URL is used within the HTML of the page.

    Regardless of the path information I’m more interested in the reply information from Smush.it API. Which will look something like

    DEBUG: return from API: data
    stdClass Object
    (
    [src] => http://www.tillhecomes.org/wp-content/uploads/2013/09/wages-300x120.jpg
    [error] => Could not get the image
    [id] =>
    )

    If you can paste that it would help us help you.

    Thread Starter BX12

    (@b-p)

    Mike!

    Sorry to be a pain (I’m not a super techie), but I’m not finding anything like your example with API etc. in it. Where exactly do I find this log?

    My concern was that the log I found, which I provided a partial example of, shows the path all the way to the root directory on my host’s server. I have the path setup differently than typical WP installations for security purposes. I’d be okay with sending this one to you privately though, if you want.

    Mike

    (@michael-copestake)

    Hi

    When you enable debug mode(Settings > Media) like this:
    http://awesomescreenshot.com/05f1qr046a

    Then you should see this when you upload an image:
    http://awesomescreenshot.com/0031qqzvd9

    A bulk Smush will show this:
    http://awesomescreenshot.com/0311qqzyae

    Please copy/paste the results into your reply.

    Thread Starter BX12

    (@b-p)

    Processing test-banner-ad…

    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/test-banner-ad.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad.png]
    — [original] 300 x 250: Reduced by 30.6% (2.2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 4.0% (189 B) already smushed
    
    Processing money-mind-fest-10-21-13…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/money-mind-fest-10-21-13.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/money-mind-fest-10-21-13.png]
    — [original] 300 x 250: No savings
    — [thumbnail] 150 x 150: No savings already smushed
    
    Processing tdq-2-0-120x600…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/tdq-2.0-120x600.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/tdq-2.0-120x600.png]
    — [original] 120 x 600: Reduced by 34.4% (6.9 KB) already smushed
    — [thumbnail] 120 x 150: Reduced by 29.7% (1.5 KB) already smushed
    — [medium] 60 x 300: Reduced by 19.9% (2 KB) already smushed
    — [slider] 120 x 250: Reduced by 32.5% (2.8 KB) already smushed
    
    Processing tdq-2-0-160x600-5…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/tdq-2.0-160x600-5.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/tdq-2.0-160x600-5.png]
    — [original] 160 x 600: Reduced by 9.3% (6.9 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 1.8% (645 B) already smushed
    — [medium] 80 x 300: Reduced by 2.1% (587 B) already smushed
    — [slider] 160 x 250: Reduced by 1.9% (960 B) already smushed
    
    Processing tdq-2-0-categories-screen…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/tdq-2.0-categories-screen.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/tdq-2.0-categories-screen.png]
    — [original] 384 x 728: Reduced by 9.7% (18.2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 1.9% (733 B) already smushed
    — [medium] 158 x 300: Reduced by 2.3% (1.4 KB) already smushed
    — [slider] 384 x 250: Reduced by 3.0% (3 KB) already smushed
    
    Processing tdq-160x600-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/tdq-160x600-2.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/tdq-160x600-2.png]
    — [original] 160 x 600: Reduced by 34.0% (8 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 24.7% (3.8 KB) already smushed
    — [medium] 80 x 300: Reduced by 21.7% (2.7 KB) already smushed
    — [slider] 160 x 250: Reduced by 31.5% (3.3 KB) already smushed
    
    Processing tdq-463x60-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/TDQ-463x60-2.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/TDQ-463x60-2.png]
    — [original] 468 x 60: Reduced by 34.8% (4.5 KB) already smushed
    — [thumbnail] 150 x 60: Reduced by 35.5% (1.4 KB) already smushed
    — [medium] 300 x 38: Reduced by 14.9% (1.9 KB) already smushed
    
    Processing tdq-160x600…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/tdq-160x600.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/tdq-160x600.png]
    — [original] 160 x 600: Reduced by 36.6% (11.2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 18.6% (4.2 KB) already smushed
    — [medium] 80 x 300: Reduced by 21.7% (3.5 KB) already smushed
    — [slider] 160 x 250: Reduced by 36.3% (5.1 KB) already smushed
    
    Processing tcr-cover-250x250…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/tcr-cover-250x250.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/tcr-cover-250x250.png]
    — [original] 250 x 250: Reduced by 3.3% (2.5 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 2.1% (740 B) already smushed
    
    Processing ftowr-cover-250x250-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/ftowr-cover-250x250.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/ftowr-cover-250x250.png]
    — [original] 250 x 250: Reduced by 6.4% (6.7 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 3.3% (1.4 KB) already smushed
    
    Processing tdq-2-0-ad-300x250-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/08/tdq-2.0-ad-300x250.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/08/tdq-2.0-ad-300x250.png]
    — [original] 300 x 250: Reduced by 9.6% (5.7 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 1.2% (370 B) already smushed
    
    Processing is-promo-sept-oct-13-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/08/is-promo-sept-oct-13.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/08/is-promo-sept-oct-13.png]
    — [original] 300 x 250: Reduced by 0.9% (693 B) already smushed
    — [thumbnail] 150 x 150: Reduced by 0.8% (282 B) already smushed
    
    Processing ew-attract-your-soulmate…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/09/ew-attract-your-soulmate.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/09/ew-attract-your-soulmate.png]
    — [original] 300 x 250: Reduced by 0.8% (1.2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 0.6% (296 B) already smushed
    
    Processing beach-hammock-book-hat…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/beach-hammock-book-hat.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/beach-hammock-book-hat.jpg]
    — [original] 500 x 300: Reduced by 5.3% (2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 5.1% (402 B) already smushed
    — [medium] 300 x 180: Reduced by 4.8% (750 B) already smushed
    
    Processing beach-hammock-sm…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/beach-hammock-sm.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/beach-hammock-sm.jpg]
    — [original] 500 x 300: Reduced by 7.6% (4.5 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.4% (837 B) already smushed
    — [medium] 300 x 180: Reduced by 7.5% (1.7 KB) already smushed
    
    Processing food-revolution-summit-2013-side-effects-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/09/food-revolution-summit-2013-side-effects1.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/09/food-revolution-summit-2013-side-effects1.png]
    — [original] 300 x 250: Reduced by 7.2% (7.3 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 6.5% (2.5 KB) already smushed
    
    Processing eclipse-cld…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/04/Eclipse-CLD.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/04/Eclipse-CLD.jpg]
    — [original] 146 x 199: Reduced by 5.2% (409 B) already smushed
    — [thumbnail] 146 x 150: Reduced by 4.4% (267 B) already smushed
    
    Processing cost-poi-huge-jpg…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/Cost-poi-huge.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/Cost-poi-huge.jpg]
    — [original] 2000 x 1500: Reduced by 5.0% (28.5 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 5.5% (558 B) already smushed
    — [medium] 300 x 225: Reduced by 5.6% (1.5 KB) already smushed
    — [large] 1024 x 768: Reduced by 4.7% (9.5 KB) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 5.5% (367 B) already smushed
    
    Processing cost-poi…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/Cost-poi.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/Cost-poi.jpg]
    — [original] 480 x 669: Reduced by 16.8% (16.5 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 5.7% (583 B) already smushed
    — [medium] 215 x 300: Reduced by 5.9% (1.5 KB) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 6.0% (413 B) already smushed
    
    Processing cost-poi-large-jpg…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/Cost-poi-large.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/Cost-poi-large.jpg]
    — [original] 1200 x 1000: Reduced by 5.3% (15.7 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 5.5% (558 B) already smushed
    — [medium] 300 x 250: Reduced by 5.5% (1.7 KB) already smushed
    — [large] 1024 x 853: Reduced by 4.8% (10.5 KB) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 5.6% (375 B) already smushed
    
    Processing beach-jpg…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/Beach.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/Beach.jpg]
    — [original] 1024 x 768: Reduced by 1.3% (1.6 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 3.5% (234 B) already smushed
    — [medium] 300 x 225: Reduced by 4.0% (816 B) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 4.0% (187 B) already smushed
    
    Processing cost-poi-png…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/Cost-poi.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/Cost-poi.png]
    — [original] 480 x 669: Reduced by 6.3% (39.8 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 0.2% (92 B) already smushed
    — [medium] 215 x 300: Reduced by 0.4% (524 B) already smushed
    — [yarpp-thumbnail] 120 x 120: No savings already smushed
    
    Processing beach-landscape-1-jpg…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/beach-landscape-1.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/beach-landscape-1.jpg]
    — [original] 500 x 375: Reduced by 3.6% (949 B) already smushed
    — [thumbnail] 150 x 150: Reduced by 4.6% (247 B) already smushed
    — [medium] 300 x 225: Reduced by 3.9% (527 B) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 4.1% (157 B) already smushed
    
    Processing two-bay-island-png…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/01/two-bay-island.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/01/two-bay-island.png]
    — [original] 976 x 430: Reduced by 2.9% (16.9 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 2.1% (805 B) already smushed
    — [medium] 300 x 132: Reduced by 1.2% (805 B) already smushed
    — [yarpp-thumbnail] 120 x 120: Reduced by 2.0% (508 B) already smushed
    
    Processing bp-olive-blue-earings-double-switch-3…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/BP-Olive-Blue-Earings-Double-Switch-3.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/BP-Olive-Blue-Earings-Double-Switch-3.png]
    — [original] 175 x 246: Reduced by 17.7% (13.4 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 0.9% (396 B) already smushed
    
    Processing self-improvement-software-bp-site…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/self-improvement-software-bp-site.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/self-improvement-software-bp-site.png]
    — [original] 125 x 125: Reduced by 34.7% (3.6 KB) already smushed
    
    Processing tm-ad-button…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/tm-ad-button.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/tm-ad-button.png]
    — [original] 125 x 125: Reduced by 40.2% (1.3 KB) already smushed
    
    Processing si-books…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/si-books.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/si-books.png]
    — [original] 125 x 125: Reduced by 1.6% (326 B) already smushed
    
    Processing self-improvement-software-bp…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/self-improvement-software-bp.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/self-improvement-software-bp.png]
    — [original] 125 x 125: Reduced by 34.5% (3.5 KB) already smushed
    
    Processing rec-products-services…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/rec-products-services.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/rec-products-services.png]
    — [original] 125 x 125: Reduced by 37.8% (1.5 KB) already smushed
    
    Processing is-professor-teaches-button-gh…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/is-professor-teaches-button-gh.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/is-professor-teaches-button-gh.png]
    — [original] 125 x 125: No savings
    
    Processing is-professor-teaches-button-bp…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/is-professor-teaches-button-bp.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/is-professor-teaches-button-bp.png]
    — [original] 125 x 125: No savings
    
    Processing is-organizer-14-button-bp…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/is-organizer-14-button-bp.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/is-organizer-14-button-bp.png]
    — [original] 125 x 125: Reduced by 1.3% (288 B) already smushed
    
    Processing ebooks-by-bp…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/11/ebooks-by-bp.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/11/ebooks-by-bp.png]
    — [original] 125 x 125: Reduced by 29.9% (2.5 KB) already smushed
    
    Processing windgard-antenna-4…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/08/windgard-antenna3.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/08/windgard-antenna3.png]
    — [original] 160 x 131: Reduced by 14.7% (3.2 KB) already smushed
    — [thumbnail] 150 x 131: Reduced by 14.4% (3 KB) already smushed
    
    Processing apple-app-store-badge-download…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/apple-app-store-badge-download.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/apple-app-store-badge-download.png]
    — [original] 135 x 40: Reduced by 15.1% (545 B) already smushed
    
    Processing tcr-cover-kindle-7-md…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/tcr-cover-kindle-7-md.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/tcr-cover-kindle-7-md.jpg]
    — [original] 290 x 400: Reduced by 8.2% (2.6 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.5% (723 B) already smushed
    — [medium] 217 x 300: Reduced by 7.2% (1.4 KB) already smushed
    
    Processing mis-cover-kindle-7-md…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/mis-cover-kindle-7-md.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/mis-cover-kindle-7-md.jpg]
    — [original] 290 x 400: Reduced by 7.6% (2.5 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.8% (709 B) already smushed
    — [medium] 217 x 300: Reduced by 7.4% (1.4 KB) already smushed
    
    Processing ftowr-cover-kindle-8-md…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/ftowr-cover-kindle-8-md.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/ftowr-cover-kindle-8-md.jpg]
    — [original] 290 x 400: Reduced by 8.0% (2.9 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.9% (816 B) already smushed
    — [medium] 217 x 300: Reduced by 7.8% (1.7 KB) already smushed
    
    Processing couple_talking…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/couple_talking.gif]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/couple_talking.gif]
    — [original] 150 x 99: Reduced by 9.0% (1.2 KB) already smushed
    
    Processing john-lennon-imagine…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/john-lennon-imagine.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/john-lennon-imagine.jpg]
    — [original] 150 x 150: Reduced by 11.2% (1008 B) already smushed
    
    Processing dumbbells-p…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/dumbbells-p.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/dumbbells-p.png]
    — [original] 150 x 107: Reduced by 8.0% (1011 B) already smushed
    
    Processing bench-p…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/bench-p.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/bench-p.png]
    — [original] 150 x 206: Reduced by 11.0% (2.9 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 11.3% (2.4 KB) already smushed
    
    Processing dumbbells…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/dumbbells.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/dumbbells.jpg]
    — [original] 150 x 107: Reduced by 7.4% (156 B) already smushed
    
    Processing ab_exercises…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/ab_exercises.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/ab_exercises.jpg]
    — [original] 150 x 120: Reduced by 1.1% (35 B) already smushed
    
    Processing food_label_tall…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/food_label_tall.gif]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/food_label_tall.gif]
    — [original] 150 x 324: Reduced by 28.4% (3.7 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 20.2% (1 KB) already smushed
    — [medium] 138 x 300: Reduced by 16.8% (2.8 KB) already smushed
    
    Processing di-officer-gent…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/di-officer-gent.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/di-officer-gent.jpg]
    — [original] 223 x 150: Reduced by 3.3% (262 B) already smushed
    — [thumbnail] 150 x 150: Reduced by 6.9% (537 B) already smushed
    
    Processing desk_relaxing_motion…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/desk_relaxing_motion.gif]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/desk_relaxing_motion.gif]
    — [original] 58 x 59: Reduced by 3.8% (104 B) already smushed
    
    Processing jumping_off_cliff…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/jumping_off_cliff.gif]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/jumping_off_cliff.gif]
    — [original] 93 x 100: Reduced by 64.7% (916 B) already smushed
    
    Processing tm-stop-drinking-alcohol-med…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/tm-stop-drinking-alcohol-med.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/tm-stop-drinking-alcohol-med.jpg]
    — [original] 164 x 96: Reduced by 10.1% (1 KB) already smushed
    — [thumbnail] 150 x 96: Reduced by 9.0% (796 B) already smushed
    
    Processing mis-cover-kindle-7-sm…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/mis-cover-kindle-7-sm.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/mis-cover-kindle-7-sm.jpg]
    — [original] 154 x 215: Reduced by 9.3% (1.3 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.9% (715 B) already smushed
    
    Processing ftowr-cover-kindle-8-sm…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/ftowr-cover-kindle-8-sm.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/ftowr-cover-kindle-8-sm.jpg]
    — [original] 154 x 215: Reduced by 8.4% (1.2 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 8.1% (779 B) already smushed
    
    Processing tcr-cover-kindle-7-sm-2…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/tcr-cover-kindle-7-sm1.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/tcr-cover-kindle-7-sm1.jpg]
    — [original] 154 x 215: Reduced by 8.3% (1 KB) already smushed
    — [thumbnail] 150 x 150: Reduced by 7.9% (697 B) already smushed
    
    Processing bp-olive-blue…
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2012/10/BP-Olive-Blue.jpg]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2012/10/BP-Olive-Blue.jpg]
    — [original] 175 x 250: Reduced by 5.6% (824 B) already smushed
    — [thumbnail] 150 x 150: Reduced by 6.8% (681 B) already smushed
    
    Smush.it finished processing.
    
    Thank you for creating with WordPress.

    Version 3.6.1

    @b-p,

    If the image file has already been processed you will not see the API part of the debug output. You need to upload fresh images.

    Thread Starter BX12

    (@b-p)

    WPMUDEV,

    Uploaded image via Media library and got the error log shown below. It appears to include the API part. Image never completed uploading. Just kept showing the word “Crunching…” with blue background in upper right corner.

    NOTE: When I attempt to upload an image via page for insert, I get the error mentioned at the top of this tread.

    ***
    
    DEBUG: attachment_file_path=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/test-banner-ad.png]
    DEBUG: attachment_file_url=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad.png]
    DEBUG: file_url [http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad.png] home_url [http://www.guruhabits.com]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.guruhabits.com%2Fwp%2Fwp-content%2Fuploads%2F2013%2F09%2Ftest-banner-ad.png]
    DEBUG: return from API: data
    
    stdClass Object
    (
        [src] => http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad.png
        [src_size] => 7494
        [dest] => http://ysmushit.zenfs.com/results/6636b1bb%2Fsmush%2Fwp%2Fwp-content%2Fuploads%2F2013%2F09%2Ftest-banner-ad.png
        [dest_size] => 5201
        [percent] => 30.60
        [id] =>
    )
    
    DEBUG: attachment_file_path_size=[/home4/propelpu/public_html/guruhabits/wp/wp-content/uploads/2013/09/test-banner-ad-150x150.png]
    DEBUG: attachment_file_url_size=[http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad-150x150.png]
    DEBUG: file_url [http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad-150x150.png] home_url [http://www.guruhabits.com]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.guruhabits.com%2Fwp%2Fwp-content%2Fuploads%2F2013%2F09%2Ftest-banner-ad-150x150.png]
    DEBUG: return from API: data
    
    stdClass Object
    (
        [src] => http://www.guruhabits.com/wp/wp-content/uploads/2013/09/test-banner-ad-150x150.png
        [src_size] => 4732
        [dest] => http://ysmushit.zenfs.com/results/d0d83c0a%2Fsmush%2Fwp%2Fwp-content%2Fuploads%2F2013%2F09%2Ftest-banner-ad-150x150.png
        [dest_size] => 4543
        [percent] => 3.99
        [id] =>
    )
    
    4162

    Hello!

    I got the same issue. When I’m uploading images from “Posts>Add New>Add Media” I got this error. (enabled automatic smush when uploading, wait time set 120 seconds, my VPS also support 120 seconds)

    If I upload it Media>Add file. After it’s uploaded continuously shows “Crunching…” message. If I wait 30 minutes, it’s not change that message. If I refresh the page, it shows uploaded and Reduced by xx%.

    [Log removed]

    DEBUG: attachment_file_path=[/.../driftzone.lt/data/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o.jpg]
    DEBUG: attachment_file_url=[http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o.jpg]
    DEBUG: file_url [http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o.jpg] home_url [http://www.driftzone.lt]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.driftzone.lt%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o.jpg
        [src_size] => 171190
        [dest] => http://ysmushit.zenfs.com/results/6c06c53c%2Fsmush%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o.jpg
        [dest_size] => 171163
        [percent] => 0.02
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/.../driftzone.lt/data/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-112x112.jpg]
    DEBUG: attachment_file_url_size=[http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-112x112.jpg]
    DEBUG: file_url [http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-112x112.jpg] home_url [http://www.driftzone.lt]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.driftzone.lt%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-112x112.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-112x112.jpg
        [src_size] => 5872
        [dest] => http://ysmushit.zenfs.com/results/c948d74e%2Fsmush%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-112x112.jpg
        [dest_size] => 5418
        [percent] => 7.73
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/.../driftzone.lt/data/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-750x500.jpg]
    DEBUG: attachment_file_url_size=[http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-750x500.jpg]
    DEBUG: file_url [http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-750x500.jpg] home_url [http://www.driftzone.lt]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.driftzone.lt%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-750x500.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-750x500.jpg
        [src_size] => 75793
        [dest] => http://ysmushit.zenfs.com/results/2f08d039%2Fsmush%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-750x500.jpg
        [dest_size] => 72216
        [percent] => 4.72
        [id] =>
    )
    DEBUG: attachment_file_path_size=[/.../driftzone.lt/data/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-1000x666.jpg]
    DEBUG: attachment_file_url_size=[http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-1000x666.jpg]
    DEBUG: file_url [http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-1000x666.jpg] home_url [http://www.driftzone.lt]
    DEBUG: Calling API: [http://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fwww.driftzone.lt%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-1000x666.jpg]
    DEBUG: return from API: data
    stdClass Object
    (
        [src] => http://www.driftzone.lt/wp-content/uploads/2013/09/1274281_580217822039084_291224930_o-1000x666.jpg
        [src_size] => 116989
        [dest] => http://ysmushit.zenfs.com/results/b88fca1a%2Fsmush%2Fwp-content%2Fuploads%2F2013%2F09%2F1274281_580217822039084_291224930_o-1000x666.jpg
        [dest_size] => 112260
        [percent] => 4.04
        [id] =>
    )
    4480

    @rsss,

    you should only have the debug output enabled for Smush.it when using the Bulk Smush.it processing via Media > Bulk Smush.ir. If you have debug output turned on for either Media > Library > Add or Post > Media > Add you will get errors. The reason for this is the upload and process is done via AJAX. So when WordPress sees the Smush.it debug output from the upload processing it thinks an error occurred.

    Thread Starter BX12

    (@b-p)

    @W0MUDEV,

    Eureka! That was the problem. Once I disabled “Debug Processing” at > Media > Settings > no more errors. Simple!

    It’s kinda funny though, because I don’t remember enabling it.

    Thank you!

    Mike

    (@michael-copestake)

    That’s great, thanks for letting us know and for marking this resolved!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Error message when uploading images’ is closed to new replies.