The function where i get the error is the next. Exactly in the line 31
27: function serverLoad(pX,rX)
28: {
29: var server="http://www.mydomain.com/";
30: var url = server + pX + '&return=' + rX;
31: parent.frames["Buffer"].document.location.href=url;
32: }
ulr variable contains before this line the next value:
http://www.mydomain.com/scripts/index.php?&return=afterfunction
In my local machine i was using in the line 29:
var server="http://localhost/";
And i did not have any problem. I tried also in the hosting server with
localhost with success.
I tried giving permisions to everyfile involved but i have not managed
to solve this problem. Can anyone help me?
Thanks in advanced!
Refer to http://www.jibbering.com/faq/#FAQ4_19.
You are possibly accessing your website as mydomain.com (instead of
www.mydomain.com) in your browser, causing the problem
(www.mydomain.com != mydomain.com). You really don't need to be using
absolute URL's in the first place. Change it to a relative path, which
will improve the portability of your code. In your example code, simply
change server to be equal to "/".