Hello guys. i am creating sub domains for 1 site. I have created sub domains successfully. sub domains are created through virtual directory. but problem is this sub domain is for FORUM. and we have given HTML editor to post forum topics or reply for any topic.
This editor is taken from RTE. in this editor when we try to insert any smiley or symbol it gives error in sub domain section. same editor is working in single domain sites.
internally, it calls 1 javascript function, self.parent.addSmilye(rte,smiley). these 2 parameters are 1. body tag of that editor.. which is frame. and 2nd part is smiley image path.
Here i tried to give smiley image path static e.g. http://www.buddyslim.com/img/smiley/5.gif.... even it didn't work.. it gives javascript error in sub domain section..
Error: uncaught exception: Permission denied to get property Window.addSmiley
This is the error. and function which is giving error is as below.
function selectSmiley(rte,smiley) {
self.parent.addSmiley(rte,smiley);
}
CAN ANY1 HELP ME OUT?