Loading ...
Sorry, an error occurred while loading the content.

Connection Managewr Error in IE6, IE7, Opera

Expand Messages
  • hasanilingi1981
    Hi guys, i have a problem with our YUI in connection manager. my js codes works in firefox, but does not work in IE6, IE7, OPERA so nothing is shown in html
    Message 1 of 10 , Jun 20 8:16 AM
    • 0 Attachment
      Hi guys,
      i have a problem with our YUI in connection manager.
      my js codes works in firefox, but does not work in IE6, IE7, OPERA so
      nothing is shown in html page. when i try to get work it gives me this
      error is;
      Line: 259
      character: 9
      error: waiting for descriptive, string or number

      In my js file the line 259 is;
      var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);

      and it is part of the function, this is the function;

      function ascReq(rl){
      var rl = rl;
      var XX = document.getElementById('container');
      var callback = {
      cache:false,
      success : function(o) {
      if(o.responseText !== undefined){
      XX.value = o.responseText;
      }
      },
      failure : function(o) {
      XX.value = "CONNECTION FAILED!";
      },
      }
      var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
      return XX.value;
      }

      It does not give me the failure: "CONNECTION FAILED!" but the page is
      empty.
    • hasanilingi1981
      Thanks Eliezel Tellado for your reply; i tried your advice and the error is gone. But my page is still empty, showing nothing, i want to give you my other two
      Message 2 of 10 , Jun 20 9:32 AM
      • 0 Attachment
        Thanks Eliezel Tellado for your reply;
        i tried your advice and the error is gone. But my page is still empty,
        showing nothing, i want to give you my other two functions that i use
        to get data;

        function init(trgt) {
        YAHOO.namespace("example.container");
        var container = document.getElementById("container");
        container.innerHTML = "";
        if (!YAHOO.example.container.wait) {
        // Initialize the temporary Panel to display while waiting
        for external content to load
        YAHOO.example.container.wait =
        new YAHOO.widget.Panel("wait",
        { width: "240px",
        fixedcenter: true,
        close: false,
        draggable: false,
        zindex:4,
        modal: true,
        visible: false
        }
        );
        YAHOO.example.container.wait.setHeader("Loading, please
        wait...");
        YAHOO.example.container.wait.setBody("<img
        src=\"tema/images/yukleniyor.gif\"/>");
        YAHOO.example.container.wait.render(document.body);
        }
        // Define the callback object for Connection Manager that will
        set the body of our content area when the content has loaded
        var callback = {
        success : function(o) {
        container.innerHTML = o.responseText;
        container.style.visibility = "visible";
        YAHOO.example.container.wait.hide();
        },
        failure : function(o) {
        container.innerHTML = o.responseText;
        container.style.visibility = "visible";
        container.innerHTML = "CONNECTION FAILED!--" +
        o.status + "--" + o.statusText;
        YAHOO.example.container.wait.hide();
        }
        }
        // Show the Panel
        YAHOO.example.container.wait.show();
        // Connect to our data source and load the data
        var conn = YAHOO.util.Connect.asyncRequest("GET", trgt, callback);
        }

        function ortakXmlHttp(url, target, yuk) {
        YAHOO.namespace("example.container");
        var container = document.getElementById("container");
        var ret = document.getElementById(target);
        container.innerHTML = "";
        ret.innerHTML = "";

        // Define the callback object for Connection Manager that will
        set the body of our content area when the content has loaded

        var callback = {
        success : function(o) {
        ret.innerHTML = o.responseText;
        },
        failure : function(o) {
        ret.innerHTML = o.responseText;
        }
        }
        // Show the Panel

        // Connect to our data source and load the data

        var conn = YAHOO.util.Connect.asyncRequest("GET", url, callback);
        }
      • hasanilingi1981
        Isn t there anybody to help me here?, i am waiting for your advice and help.
        Message 3 of 10 , Jun 24 12:11 AM
        • 0 Attachment
          Isn't there anybody to help me here?, i am waiting for your advice and
          help.

          --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
          <hasanilingi1981@...> wrote:
          >
          > Hi guys,
          > i have a problem with our YUI in connection manager.
          > my js codes works in firefox, but does not work in IE6, IE7, OPERA so
          > nothing is shown in html page. when i try to get work it gives me this
          > error is;
          > Line: 259
          > character: 9
          > error: waiting for descriptive, string or number
          >
          > In my js file the line 259 is;
          > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
          >
          > and it is part of the function, this is the function;
          >
          > function ascReq(rl){
          > var rl = rl;
          > var XX = document.getElementById('container');
          > var callback = {
          > cache:false,
          > success : function(o) {
          > if(o.responseText !== undefined){
          > XX.value = o.responseText;
          > }
          > },
          > failure : function(o) {
          > XX.value = "CONNECTION FAILED!";
          > },
          > }
          > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
          > return XX.value;
          > }
          >
          > It does not give me the failure: "CONNECTION FAILED!" but the page is
          > empty.
          >
        • Dav Glass
          hasanilingi1981 -- Your error is the extra comma here: failure : function(o) { XX.value = CONNECTION FAILED! ; },
          Message 4 of 10 , Jun 24 7:07 AM
          • 0 Attachment
            hasanilingi1981 --

            Your error is the extra comma here:

            failure : function(o) {
            XX.value = "CONNECTION FAILED!";
            }, <-- THIS COMMA
            }

            Does that help?
            Dav

            Dav Glass
            dav.glass@...
            blog.davglass.com




            + Windows: n. - The most successful computer virus, ever. +
            + A computer without a Microsoft operating system is like a dog
            without bricks tied to its head +
            + A Microsoft Certified Systems Engineer is to computing what a
            McDonalds Certified Food Specialist is to fine cuisine +



            ----- Original Message ----
            From: hasanilingi1981 <hasanilingi1981@...>
            To: ydn-javascript@yahoogroups.com
            Sent: Tuesday, June 24, 2008 12:11:16 AM
            Subject: [ydn-javascript] Re: Connection Managewr Error in IE6, IE7, Opera

            Isn't there anybody to help me here?, i am waiting for your advice and
            help.

            --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
            <hasanilingi1981@...> wrote:
            >
            > Hi guys,
            > i have a problem with our YUI in connection manager.
            > my js codes works in firefox, but does not work in IE6, IE7, OPERA so
            > nothing is shown in html page. when i try to get work it gives me this
            > error is;
            > Line: 259
            > character: 9
            > error: waiting for descriptive, string or number
            >
            > In my js file the line 259 is;
            > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
            >
            > and it is part of the function, this is the function;
            >
            > function ascReq(rl){
            > var rl = rl;
            > var XX = document.getElementById('container');
            > var callback = {
            > cache:false,
            > success : function(o) {
            > if(o.responseText !== undefined){
            > XX.value = o.responseText;
            > }
            > },
            > failure : function(o) {
            > XX.value = "CONNECTION FAILED!";
            > },
            > }
            > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
            > return XX.value;
            > }
            >
            > It does not give me the failure: "CONNECTION FAILED!" but the page is
            > empty.
            >



            ------------------------------------

            Yahoo! Groups Links
          • hasanilingi1981
            Sorry for my mistake. in the previous massage i explain that i remove that comma and the had gone. but i sent the wrong js code. so i try your solution and it
            Message 5 of 10 , Jun 24 7:39 AM
            • 0 Attachment
              Sorry for my mistake. in the previous massage i explain that i remove
              that comma and the had gone. but i sent the wrong js code. so i try
              your solution and it make the IE to give no error but also i can't see
              anything (data) in IE. i can send you my site admin login to see what
              is going on

              --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...> wrote:
              >
              > hasanilingi1981 --
              >
              > Your error is the extra comma here:
              >
              > failure : function(o) {
              > XX.value = "CONNECTION FAILED!";
              > }, <-- THIS COMMA
              > }
              >
              > Does that help?
              > Dav
              >
              > Dav Glass
              > dav.glass@...
              > blog.davglass.com
              >
              >
              >
              >
              > + Windows: n. - The most successful computer virus, ever. +
              > + A computer without a Microsoft operating system is like a dog
              > without bricks tied to its head +
              > + A Microsoft Certified Systems Engineer is to computing what a
              > McDonalds Certified Food Specialist is to fine cuisine +
              >
              >
              >
              > ----- Original Message ----
              > From: hasanilingi1981 <hasanilingi1981@...>
              > To: ydn-javascript@yahoogroups.com
              > Sent: Tuesday, June 24, 2008 12:11:16 AM
              > Subject: [ydn-javascript] Re: Connection Managewr Error in IE6, IE7,
              Opera
              >
              > Isn't there anybody to help me here?, i am waiting for your advice and
              > help.
              >
              > --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
              > <hasanilingi1981@> wrote:
              > >
              > > Hi guys,
              > > i have a problem with our YUI in connection manager.
              > > my js codes works in firefox, but does not work in IE6, IE7, OPERA so
              > > nothing is shown in html page. when i try to get work it gives me this
              > > error is;
              > > Line: 259
              > > character: 9
              > > error: waiting for descriptive, string or number
              > >
              > > In my js file the line 259 is;
              > > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
              > >
              > > and it is part of the function, this is the function;
              > >
              > > function ascReq(rl){
              > > var rl = rl;
              > > var XX = document.getElementById('container');
              > > var callback = {
              > > cache:false,
              > > success : function(o) {
              > > if(o.responseText !== undefined){
              > > XX.value = o.responseText;
              > > }
              > > },
              > > failure : function(o) {
              > > XX.value = "CONNECTION FAILED!";
              > > },
              > > }
              > > var conn = YAHOO.util.Connect.asyncRequest("GET", rl,
              callback);
              > > return XX.value;
              > > }
              > >
              > > It does not give me the failure: "CONNECTION FAILED!" but the page is
              > > empty.
              > >
              >
              >
              >
              > ------------------------------------
              >
              > Yahoo! Groups Links
              >
            • hasanilingi1981
              Hi everybody i think that i cant explain my problem so anybody can t help me.i am giving demo of my site with user and password so you can look at and
              Message 6 of 10 , Jun 26 1:46 AM
              • 0 Attachment
                Hi everybody i think that i cant explain my problem so anybody can't
                help me.i am giving demo of my site with user and password so you can
                look at and understtand the problem,site is shown in firefox or opera
                but not shown in IE6 or IE7

                site adres is:
                http://forum.cangrafik.com/admin/
                kullanıcı adı (username) : admin
                parola (password) : cancan

                please log in and look what is wrong.
              • hasanilingi1981
                Does anybody look at my demo site, which in forum.cangrafik.com/admin in İE6 or İE7
                Message 7 of 10 , Jun 28 5:22 AM
                • 0 Attachment
                  Does anybody look at my demo site, which in forum.cangrafik.com/admin
                  in İE6 or İE7
                • hasanilingi1981
                  İ think you dont have any time to look at this topic, i have been trying many solution but my problem is still going on.
                  Message 8 of 10 , Jul 1, 2008
                  • 0 Attachment
                    İ think you dont have any time to look at this topic, i have been
                    trying many solution but my problem is still going on.

                    --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
                    <hasanilingi1981@...> wrote:
                    >
                    > Hi guys,
                    > i have a problem with our YUI in connection manager.
                    > my js codes works in firefox, but does not work in IE6, IE7, OPERA so
                    > nothing is shown in html page. when i try to get work it gives me this
                    > error is;
                    > Line: 259
                    > character: 9
                    > error: waiting for descriptive, string or number
                    >
                    > In my js file the line 259 is;
                    > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
                    >
                    > and it is part of the function, this is the function;
                    >
                    > function ascReq(rl){
                    > var rl = rl;
                    > var XX = document.getElementById('container');
                    > var callback = {
                    > cache:false,
                    > success : function(o) {
                    > if(o.responseText !== undefined){
                    > XX.value = o.responseText;
                    > }
                    > },
                    > failure : function(o) {
                    > XX.value = "CONNECTION FAILED!";
                    > },
                    > }
                    > var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
                    > return XX.value;
                    > }
                    >
                    > It does not give me the failure: "CONNECTION FAILED!" but the page is
                    > empty.
                    >
                  • Satyam
                    delete that last comma after failure. trailing commas always cause trouble in IE. Satyam
                    Message 9 of 10 , Jul 1, 2008
                    • 0 Attachment
                      delete that last comma after failure. trailing commas always cause
                      trouble in IE.

                      Satyam


                      hasanilingi1981 wrote:
                      > İ think you dont have any time to look at this topic, i have been
                      > trying many solution but my problem is still going on.
                      >
                      > --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
                      > <hasanilingi1981@...> wrote:
                      >
                      >> Hi guys,
                      >> i have a problem with our YUI in connection manager.
                      >> my js codes works in firefox, but does not work in IE6, IE7, OPERA so
                      >> nothing is shown in html page. when i try to get work it gives me this
                      >> error is;
                      >> Line: 259
                      >> character: 9
                      >> error: waiting for descriptive, string or number
                      >>
                      >> In my js file the line 259 is;
                      >> var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
                      >>
                      >> and it is part of the function, this is the function;
                      >>
                      >> function ascReq(rl){
                      >> var rl = rl;
                      >> var XX = document.getElementById('container');
                      >> var callback = {
                      >> cache:false,
                      >> success : function(o) {
                      >> if(o.responseText !== undefined){
                      >> XX.value = o.responseText;
                      >> }
                      >> },
                      >> failure : function(o) {
                      >> XX.value = "CONNECTION FAILED!";
                      >> },
                      >> }
                      >> var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
                      >> return XX.value;
                      >> }
                      >>
                      >> It does not give me the failure: "CONNECTION FAILED!" but the page is
                      >> empty.
                      >>
                      >>
                      >
                      >
                      >
                      > ------------------------------------
                      >
                      > Yahoo! Groups Links
                      >
                      >
                      >
                      > ------------------------------------------------------------------------
                      >
                      >
                      > No virus found in this incoming message.
                      > Checked by AVG.
                      > Version: 8.0.101 / Virus Database: 270.4.3/1526 - Release Date: 30/06/2008 8:43
                      >
                    • hasanilingi1981
                      i have already deleted that comma, and nothing changed the problem is going on. İ give my demo site why dont you look at that site and help me. ... this
                      Message 10 of 10 , Jul 3, 2008
                      • 0 Attachment
                        i have already deleted that comma, and nothing changed the problem is
                        going on. İ give my demo site why dont you look at that site and help me.

                        --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
                        >
                        > delete that last comma after failure. trailing commas always cause
                        > trouble in IE.
                        >
                        > Satyam
                        >
                        >
                        > hasanilingi1981 wrote:
                        > > İ think you dont have any time to look at this topic, i have been
                        > > trying many solution but my problem is still going on.
                        > >
                        > > --- In ydn-javascript@yahoogroups.com, "hasanilingi1981"
                        > > <hasanilingi1981@> wrote:
                        > >
                        > >> Hi guys,
                        > >> i have a problem with our YUI in connection manager.
                        > >> my js codes works in firefox, but does not work in IE6, IE7, OPERA so
                        > >> nothing is shown in html page. when i try to get work it gives me
                        this
                        > >> error is;
                        > >> Line: 259
                        > >> character: 9
                        > >> error: waiting for descriptive, string or number
                        > >>
                        > >> In my js file the line 259 is;
                        > >> var conn = YAHOO.util.Connect.asyncRequest("GET", rl, callback);
                        > >>
                        > >> and it is part of the function, this is the function;
                        > >>
                        > >> function ascReq(rl){
                        > >> var rl = rl;
                        > >> var XX = document.getElementById('container');
                        > >> var callback = {
                        > >> cache:false,
                        > >> success : function(o) {
                        > >> if(o.responseText !== undefined){
                        > >> XX.value = o.responseText;
                        > >> }
                        > >> },
                        > >> failure : function(o) {
                        > >> XX.value = "CONNECTION FAILED!";
                        > >> },
                        > >> }
                        > >> var conn = YAHOO.util.Connect.asyncRequest("GET", rl,
                        callback);
                        > >> return XX.value;
                        > >> }
                        > >>
                        > >> It does not give me the failure: "CONNECTION FAILED!" but the page is
                        > >> empty.
                        > >>
                        > >>
                        > >
                        > >
                        > >
                        > > ------------------------------------
                        > >
                        > > Yahoo! Groups Links
                        > >
                        > >
                        > >
                        > >
                        ------------------------------------------------------------------------
                        > >
                        > >
                        > > No virus found in this incoming message.
                        > > Checked by AVG.
                        > > Version: 8.0.101 / Virus Database: 270.4.3/1526 - Release Date:
                        30/06/2008 8:43
                        > >
                        >
                      Your message has been successfully submitted and would be delivered to recipients shortly.