JavaScript Error

Found a bug? Tell us!!
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

JavaScript Error

Post 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?
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: JavaScript Error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply