Announcement

Collapse
No announcement yet.

CSS Error Logs - Whats Up?

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

    CSS Error Logs - Whats Up?

    I hope someone can point me in the right direction with this as I am now totally confused(not difficult) We recently moved from a shared server to a
    dedicated server with Netbenefit. After some initial upload problems we are now up and runing and all mseemed OK. Since then our statistics software
    (AWSTATS 6.4) is reporting very few hits,individual users, page impressions etc compared to the numbers we used to get on the shared server.

    I have spoken to Netbenefit and one of their technicians has suggested that the'error Log file' is suprisingly large and that this may be the cause of the
    lack of hits etc bieng registered with the software - I hope this makes sense.It bseems to revolve around CSS?

    I have attached a copy of the error log in the hope that someone can point me in the right direction. What is of the most concern is that vistors are bieng
    presented with error pages and that the site is not working as it should. We are still receiving orders although they are slightly down on normal. I have
    run test orders and even asked several members of staff to place dummy orders which work OK. Any help would be much appreciated.

    Best Regards

    Simon Bridges
    http://www.alexreade.net

    Just a thought. I added some favicon code to the primary pages a while ago (still doesn't work) Could this have affected the code to produce the skewed

    results?
    Simon Bridges
    Alex Reade World of Motosport
    http://www.alexreade.net

    #2
    Sorry - Error Log Now Attachment

    Sorry - Error Log Now Attachment
    Attached Files
    Simon Bridges
    Alex Reade World of Motosport
    http://www.alexreade.net

    Comment


      #3
      Your actual css file location is http://www.alexreade.net/acatalog/actinic.css

      From the log entries - it seems that at least one of your product page templates has a link entry for the css file that wrongly points to http://www.alexreade.net/actinic.css.

      Edit the template(s) to add in the /acatalog and those errors will go away.
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Just to note the only place the actinic.css link should be placed is in the <head> of the main layouts in use on the site.. typically...

        Act_Primary.html
        Act_PrimaryCheckout.html
        Act_BrochurePrimary.html

        .. I have seen this before with some designers not familiar with Actinic (and some that are) temporarily linking to the Act_Product templates for example to make editing in say Dreamweaver a little easier and then forgetting to remove prior to uploading the site.

        The link should therefore be just "actinic.css" as Actinic handles the paths.

        If it is an externally handled page you need to add the path (in those pages only) as pointed out by Bill.


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Thanks Bill and Jon, as ever with actinic you learn something every day. I will change the suggested templates and our log should be back to normal. Thanks once again for your prompt help
          Regards

          Simon Bridges
          Simon Bridges
          Alex Reade World of Motosport
          http://www.alexreade.net

          Comment


            #6
            OK, I cannot find any reference to the actinic.css between the HEAD tags apart from:
            <LINK REL=STYLESHEET HREF="actinic.css">

            Should I change this to read:
            <LINK REL=STYLESHEET HREF="acatalog/actinic.css">

            The same link appears on BrochurePrimary, Primary and Checkout Primary pages. I don't recall ever changing the HTML but should all three templates be changed to include the "acatalog/"

            Included below is my Primary HTML

            Many Thanks

            Simon Bridges

            <!-- Primary HTML begin -->
            <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
            <HTML>
            <HEAD>
            <TITLE>NETQUOTEVAR:PAGETITLE</TITLE>
            <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
            <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
            <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
            <!--@act NETQUOTEVAR:HEADERMETA -->
            <!--@act NETQUOTEVAR:LOADFUNCTION -->
            <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
            <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
            <LINK REL=STYLESHEET HREF="actinic.css">
            <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
            <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

            <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->

            <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
            <!--
            function YahooSections(ar)
            {
            var strIDs = '';
            for (var i=1;i<=ar.length;i++)
            {
            if (ar[i].sURL != null)
            {
            strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
            {
            if (ar[i].pChild)
            {
            for (var j=1;j<=ar[i].pChild.length;j++)
            {
            if (ar[i].pChild[j].sURL != null)
            {
            strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
            }
            }
            }
            }
            strIDs += '<br>'
            }
            }
            return strIDs
            }
            //-->
            </SCRIPT>


            <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
            <Actinic:COOKIECHECK/>
            <!--
            The NETQUOTEVARs below can be uncommented for getting raw section lists:
            1. Top level section list
            2. Section list from current level and all children
            3. The whole section tree
            The rest covers the standalone structure members for each array - e.g. if
            you only need sName or sURL from an array.
            See the documentation for details.

            NETQUOTEVAR:TOPLEVELSECTIONS_RAW
            NETQUOTEVAR:CHILDSECTIONS_RAW
            NETQUOTEVAR:SECTIONTREE_RAW

            NETQUOTEVAR:SECTIONTREE_NAMES
            NETQUOTEVAR:SECTIONTREE_URLS
            NETQUOTEVAR:SECTIONTREE_IMAGES
            NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
            NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
            NETQUOTEVAR:SECTIONTREE_SECTIONIDS

            NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
            NETQUOTEVAR:TOPLEVELSECTIONS_URLS
            NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
            NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
            NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
            NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS

            NETQUOTEVAR:CHILDSECTIONS_NAMES
            NETQUOTEVAR:CHILDSECTIONS_URLS
            NETQUOTEVAR:CHILDSECTIONS_IMAGES
            NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
            NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
            NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS

            The section level can be accessed through:
            NETQUOTEVAR:SECTIONLEVEL
            -->

            </HEAD>
            Simon Bridges
            Alex Reade World of Motosport
            http://www.alexreade.net

            Comment


              #7
              Simon,

              Looking at your source I see you have an extra css link in your Product Template, if you do a search on your source code you should find:-

              <link rel="stylesheet" href="/actinic.css" type="text/css">

              in amoungst your product code. I think the forward slash in front of actinic.css is causing the problem but you shouldn't need this line at all. Remove it (leave the one in your head tags) and it should solve your probems.
              Cheers

              David
              Located in Edinburgh UK

              http://twitter.com/mcfinster

              Comment


                #8
                Hello Dave,
                Thanks for the info. Please bear in mind that I am pretty much a novice when it comes to HTML but I understand what you are suggesting. However, I have searched for the mentioned line of code in Brochure_Primary, Primary and Checkout_Primary with no success. You say you can see the extra line of code but where?. Would it be within one of the product templates I have used? I have searched CentreProductLine which I use a lot but again no code as mentioned. Sorry to appear a bit dim on this and any help is much appreciated.
                Regards

                Simon Bridges
                Simon Bridges
                Alex Reade World of Motosport
                http://www.alexreade.net

                Comment


                  #9
                  Simon,

                  Not a problem, it can be a nightmare to track down code in V7. Unfortunately I don't have a copy of V7 here so I'm not 100% sure where it will be coming from. From memory I think there are some Price templates that it could well be pulling the extra tag in from. The code is just before your 'Price' text so this is probably where it is finding it. Have another look and if you still can;t find it post back and someone with v7 installed should be able to advise further.
                  Cheers

                  David
                  Located in Edinburgh UK

                  http://twitter.com/mcfinster

                  Comment


                    #10
                    Thanks David, found it in Act_ProductPrice, there was a leading slash which I have now removed. Lets hope that solves the problem.
                    Many thanks again David
                    Best regards

                    Simon Bridges
                    Simon Bridges
                    Alex Reade World of Motosport
                    http://www.alexreade.net

                    Comment


                      #11
                      Simon,

                      Removing the slash should solve the log error but therre really sin;t any need to have the css link in there at all. I would remove it completely.
                      Cheers

                      David
                      Located in Edinburgh UK

                      http://twitter.com/mcfinster

                      Comment


                        #12
                        Thanks David,
                        I will take your advice and remove the link. I have noticed that my HOME and BROCHURE pages now have the link "acatalog/actinic.css" and all the pages 'inside' the store as just "actinic.css". I presume that this is correct as the home and brochure pages are outside the acatalog directory?
                        Thanks again
                        Simon Bridges
                        Simon Bridges
                        Alex Reade World of Motosport
                        http://www.alexreade.net

                        Comment


                          #13
                          Yep, that's right!
                          Cheers

                          David
                          Located in Edinburgh UK

                          http://twitter.com/mcfinster

                          Comment

                          Working...
                          X