Skip to content

Console error with current version of master - related to https #181

bobeagan opened this Issue Nov 15, 2011 · 2 comments

2 participants


I checked out master (at commit 7e02823) and built it using ant, then replaced my previous, working with the generated one.

Upon refreshing a page, I get this error in my IE console:

SCRIPT5007: Unable to get value of the property 'replace': object is null or undefined, line 14 character 272

I swapped in the uncompressed to hopefully get a more useful reference point for you and it is:

SCRIPT5007: Unable to get value of the property 'replace': object is null or undefined, line 69 character 17

The problem appears to be due to my page being on https.

lojjic commented Nov 19, 2011

This error should be fixed now in latest master. However, you'll likely not see any PIE effects being rendered.

I obviously need to document this, but PIE works a bit differently now. The .htc file is a very small loader that goes and fetches a secondary .js file containing most of the logic appropriate for the user's browser. By default it fetches that .js file from a CDN location -- I'm still working on getting the final CDN set up, but for right now it requests it from a temporary location on GitHub, which doesn't support https requests. That's why it won't work if you just use the .htc file on a https site.

However if you set the new custom property -pie-load-path to point to the location of the various .js files (PIE_IE678.js, PIE_IE9.js, etc.) then it should work. As usual it's a html-file-relative path, and is just in plain quotes, e.g. -pie-load-path:"/pie-files";

Let me know if this works for you.


This seems to be working for me now with using a local path for the js files. Thanks for clarifying that.

@bobeagan bobeagan closed this Nov 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.