Tainted Canvas Error - by stuart selip - on WordPress WooCommerce support

This topic has 5 replies, 2 voices, and was last updated 9 years, 11 months ago ago by Robert Hall

  • Avatar: stuart selip
    stuart selip
    Participant
    December 4, 2014 at 23:05

    When I inspect element in chrome on the Legenda home page, I see this error: Uncaught SecurityError: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported.

    I added these directives to my .htaccess file in the dev directory, where WP and the theme are located. However, it does not seem to relieve the error.

    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    <FilesMatch “\.(cur|gif|ico|jpe?g|png|svgz?|webp)$”>
    SetEnvIf Origin “:” IS_CORS
    Header set Access-Control-Allow-Origin “*” env=IS_CORS
    </FilesMatch>
    </IfModule>
    </IfModule>

    The plugin referenced in the error message is plugins.min.js?ver=4.0.1:1. This appears to access YouTube. What is the correct file extension to add to the above directive set? If I did the directives incorrectly, or put them in the wrong directory, please let me know what the right fix would be.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 5, 2014 at 11:18

    Hello,

    Please provide us with FTP credentials in Private Content.

    Regards,
    Robert Hall.

    Avatar: stuart selip
    stuart selip
    Participant
    December 6, 2014 at 17:32

    The information you requested is in the private section of this posting.

    Please, contact administrator
    for this information.
    Avatar: stuart selip
    stuart selip
    Participant
    December 9, 2014 at 15:34

    Never mind, folks. I migrated the whole wordpress install to public_html, instead of simply referring to the install in the dev directory. The tainted canvas issue has been relieved.

    Cheers,

    Stu

    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 9, 2014 at 15:45

    Hello,

    We’re glad to hear that issue has been relieved.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Tainted Canvas Error’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.