Announcement

Collapse
No announcement yet.

Error On status bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error On status bar

    Hi,

    Click on any of the item on the menu bar (left) then, look at the status bar of my websites. Why does it always give me "DONE, but errors"?

    Thanks in Adv,
    swee
    Http://www.hst.com.sg

    #2
    Hi,

    On a quick scan it looks like there is a html link within a JavaScript section. Search for the first occurrence of

    <A HREF="http://www.hst.com.sg/

    in your page and take out or move this and the closing </a>.

    Hope this helps.

    Cheers

    IMIS
    www.crombie.co.uk
    www.bonasana.com
    www.discountaromatherapy.com
    IMIS
    www.crombie.co.uk
    www.bonasana.com
    www.discount-aromatherapy.co.uk

    Comment


      #3
      Eh..i dont get what you mean. Which is the hypertext link did u click on? why is there a <a href.. everything looks fine. Could it be the norman Menu bar?
      Http://www.hst.com.sg

      Comment


        #4
        If you double-click on the error it tells you that there is a syntax error in line 11. If you view the source and look at line 11 it looks like:
        Code:
        <script language=JavaScript>
        <A HREF="http://www.hst.com.sg/acatalog/Special_Promotion.htm" TARGET="_self" onMouseOver="SwapImage('Online Fabric Stores-Special Promotion,'rollover_02-over.gif')" onMouseOut="RestoreImage()">
        <img src="rollover_02.gif" alt="Online Fabric Stores-Special Promotion" name="Online Fabric Stores-Special Promotion" border="0" alt="Go to the returns page">
        </a>
        <!--
        function metreprice(thiscost) {     // convert an actinic price string into 10 times it's value
        var newprice = '';
        IMIS was referring to the fact that you need to remove this code:
        Code:
        <A HREF="http://www.hst.com.sg/acatalog/Special_Promotion.htm" TARGET="_self" onMouseOver="SwapImage('Online Fabric Stores-Special Promotion,'rollover_02-over.gif')" onMouseOut="RestoreImage()">
        <img src="rollover_02.gif" alt="Online Fabric Stores-Special Promotion" name="Online Fabric Stores-Special Promotion" border="0" alt="Go to the returns page">
        </a>
        from the <head> section of Act_Primary.html as this is what is giving you your errors.

        Comment


          #5
          Thanks, i am a slow-learner..

          Anyway, how do u gauge its line 11? Now it says line 17 has error but because when i open actprimary.html, its open as Notepad, where do i start counting?


          THanks in adv,
          swee
          Http://www.hst.com.sg

          Comment


            #6
            Internet Explorers's JavaScript debugging is frustratingly useless. View your pages with Mozilla (www.mozilla.org) and select Tools / Web Development / JavaScript console and get meaningful error messages and a display showing the line that's wrong.

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Hi norman,

              Thank you for the recommendation and i have downloaded and tried it. However, my problem is that when i open the template of "act_pri.html", it opens with notepad and it doesn't indicate that this particular codes were in which line. Do you get my meaning? I tried using Dreamweaver but it doesn't work too.
              So how can i know which is the line that has the problem of line 18?
              Hope someone understands what i am trying to explain and get. =)
              Thank you in Adv


              With Regards,
              Swee
              Http://www.hst.com.sg

              Comment


                #8
                What you need to do is look at the fully-generated live store pages using Mozilla. Then look at where Mozilla identifies the errors are coming from. Then from there, work out what template you need to edit to make necessary fixes.

                Comment


                  #9
                  Eh...

                  I guess you dont get what i mean. I understand MOZILLA shows and spots errors from the HTML and indicate the lines that has the err. But my problem is that, in the notepad, it does not provide Line XX has the error. Thus, i am not sure which line is Line XX and could not edit the error ; could not locate where is that line.. hope u understand this. thank you for replying.

                  With Regards,
                  swee
                  Http://www.hst.com.sg

                  Comment


                    #10
                    Ron

                    Please just search for this code in Act_Primary.html

                    <A HREF="http://www.hst.com.sg/acatalog/Special_Promotion.htm" TARGET="_self" onMouseOver="SwapImage('Online Fabric Stores-Special Promotion,'rollover_02-over.gif')" onMouseOut="RestoreImage()">
                    <img src="rollover_02.gif" alt="Online Fabric Stores-Special Promotion" name="Online Fabric Stores-Special Promotion" border="0" alt="Go to the returns page">
                    </a>

                    This code is in your <head></head> section of your pages and shouldn't be. If you remove it then your store will work. You will find it in Act_Primary.html.

                    Comment


                      #11
                      Hi,

                      Those Codes weren't found in Pri_html.
                      Http://www.hst.com.sg

                      Comment


                        #12
                        Hi,

                        We visited your pages today and no longer get the errors in the staus bar. Your HTML code looks OK now - have you fixed it or perhaps it fixed itself?

                        Cheers
                        IMIS
                        www.crombie.co.uk
                        www.bonasana.com
                        www.discount-aromatherapy.co.uk

                        Comment


                          #13
                          Erm.... i am not sure either!
                          Http://www.hst.com.sg

                          Comment


                            #14
                            IE errors but not Mozilla????HELP REQUIRED

                            Hi guys,

                            just about ready to switch on our website promo's (couple more layouts to tidy up) but before I do I have an issue with IE status bar.

                            It ALWAYS shows done but with error's. Now I have searched high and low to find the corresponding lines in the HTML templates...

                            ...anyone able to give me a clue.

                            Have ran all the pages in D/W and browser tested and all seem ok? I am confused a little.

                            The problem is in the shop of www.magicboxgifts.com

                            Comment


                              #15
                              Remove this line from your Javascript in Act_Primary....

                              Advanced Users Guide - 52

                              Comment

                              Working...
                              X