Warning: The author of this contribution does not provide support for it anymore.

Live Preview

2 Errors - Live Preview

2 Errors

by NintendoMii » Tue Feb 07, 2012 7:25 pm

These errors display in chrome:
Refused to set unsafe header "Content-length"
Refused to set unsafe header "Connection"


What does this mean?
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm
Contact:

Re: 2 Errors

by 4_seven » Sat Feb 11, 2012 1:01 am

open

styles/yourstyle/template/livepreview.js

find

Code: Select all

xmlHttp.setRequestHeader("Content-length", params.length);
xmlHttp.setRequestHeader("Connection", "close");


replace with

Code: Select all

// xmlHttp.setRequestHeader("Content-length", params.length);
// xmlHttp.setRequestHeader("Connection", "close");


http://stackoverflow.com/questions/7210 ... 40#7210840
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am
Contact:

Re: 2 Errors

by NintendoMii » Sat Feb 11, 2012 9:32 am

Thank you!
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm
Contact: