Page 1 of 1

JavaScript Error

Posted: Wed Mar 08, 2006 4:16 am
by DortoH
I have a weird JavaScript error I just noticed. I have three domain names all pointing to the same serendipity install. The main one is a .com and the other two are .net and .info

On the .net and .info pages I get the following JavaScript error.

Line: 0
Char: 0
Error: Access Is Denied To
http://thelazyadmin.com/index.php?/plug ... aviour.htc

Code: 0
URL: http://thelazyadmin.net

The only thing I can think of is that the .com is still on the old server as well while DNS propogates however I seem to recall seeing this before I did the move.

The only other issue is that the .net and .info is running 0.9.1 and the .com is still on 0.9.0.

Any insights?

Re: JavaScript Error

Posted: Wed Mar 08, 2006 10:42 am
by garvinhicking
The IE is strict on which JS files it is allowed to include.

If you run multiple domains on the same install, Serendipity usually just uses a single canonical hostname inside the configuration and points all CSS/JAvascripts to that single hostname.

If that hostname mismatches the one you used to enter the site, the error will appear.

You can turn on the "HTTP Hostname autodetection" from serendpity so that the canonical hostname willb e set to the one used to enter the site.

Regards,
Garvin