Announcement

Collapse
No announcement yet.

Coding Errors

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

    Coding Errors

    Until I upgraded to version 9, which so far is wrecking my head I had no errors. Now I am getting an error message

    "Error in condition (A PHP error has been found on this page('Parse error; parse error in main on line 4') The error is coming from the 'Image on Left Section Link' layout... 15 places.

    Here is my code on that page - any ideas would be great..

    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%200">
    <Actinic:WELCOME/>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSearchUsedOnFrontPage%22%20%2f%3e">
    <actinic:variable name="SearchPageInnerLayout" />
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SplashText%22%20%2f%3e%20%21%3d%20%22%22">
    <actinic:variable name="MarketingMessage" />
    </actinic:block>
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsMainFormUsed%22%20%2f%3e">
    <form method="POST" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />">
    <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" />
    <input type="hidden" name="PAGE" value="PRODUCT" />
    <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
    <Actinic:SECTION BLOB='<Actinic:Variable Name="SectionCatFile"/>'/>
    <input type="hidden" name="RANDOM" value="<actinic:variable name="Random" />" />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
    <!-- Hidden field when in trial mode -->
    <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
    </actinic:block>
    </actinic:block>

    <actinic:variable value="Message for Unregistered Customers" name="UnregCustomerMessage" if="%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20FALSE" />
    <!-- ProductBody HTML begin -->
    <!-- Insert HTML for the top of the product body -->

    <A NAME="sectiontop">
    <DIV ALIGN="CENTER">
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e%20%3d%3d%20False%29" >
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%201%29%20OR%20%28%3cactinic%3avariable%20name%3d%22IsHotLinkListOmitted%22%20%2f%3e%20%3d%3d%20FALSE%29">
    <div align="center">
    <actinic:variable name="ParentSectionListTop" />
    </div>
    </actinic:block>
    </actinic:block>
    </DIV>
    <!-- <actinic:block if="%3cactinic%3avariable%20name%3d%22IsTopSectionListIncluded%22%20%2f%3e">
    <actinic:variable name="TopLevelSectionList"/>
    </actinic:block> -->
    <div align="center">
    <actinic:variable name="SubSectionListTop" if="%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e%20%3d%3d%20False" />
    </div>
    <actinic:BLOCK if="%3cactinic%3avariable%20name%3d%22SubSectionListTop%22%20%2f%3e%20%21%3d%20%22%22" ><!-- SectionSeparator HTML begin -->
    <!-- This template specifies the section separators -->

    <HR SIZE="1" ALIGN="CENTER" WIDTH="<actinic:variable name="ACTSTDWIDTH"/>">

    <!-- This template specifies the section separators -->
    <!-- SectionSeparator HTML end --></actinic:block>
    <actinic:variable name="CartErrorListXML"/>
    </A>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsMainFormUsed%22%20%2f%3e">
    <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" />
    <input type="hidden" name="PAGE" value="PRODUCT" />
    <input type="hidden" name="PAGEFILENAME" value="<Actinic:Variable Name="SectionPageName"/>" />
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e">
    <actinic:variable name="DiscountList" value="Standard Section Discount List" />
    </actinic:block>
    <BR>

    <TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">

    <actinic:variable name="ProductList" value="Bare Product List"/>

    </TABLE>


    <A NAME="sectionbottom">
    <DIV ALIGN="RIGHT">
    <actinic:BLOCK if="%3cactinic%3avariable%20name%3d%22SingleAddToCartButtonIsUsed%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
    <actinic:variable name="SingleAddToCartButton" />
    </actinic:block>
    </DIV>
    <actinic:BLOCK if="%3cactinic%3avariable%20name%3d%22SubSectionListBottom%22%20%2f%3e%20%21%3d%20%22%22" ><!-- SectionSeparator HTML begin -->
    <!-- This template specifies the section separators -->

    <HR SIZE="1" ALIGN="CENTER" WIDTH="<actinic:variable name="ACTSTDWIDTH"/>">

    <!-- This template specifies the section separators -->
    <!-- SectionSeparator HTML end --></actinic:block>
    <div align="center">
    <actinic:variable name="SubSectionListBottom" if="%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e%20%3d%3d%20False" />
    </div>
    <!-- <actinic:block if="%3cactinic%3avariable%20name%3d%22IsTopSectionListIncluded%22%20%2f%3e">
    <actinic:variable name="TopLevelSectionList"/>
    </actinic:block> -->
    <DIV ALIGN="CENTER">
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e%20%3d%3d%20False%29" >
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%201%29%20OR%20%28%3cactinic%3avariable%20name%3d%22IsHotLinkListOmitted%22%20%2f%3e%20%3d%3d%20FALSE%29">
    <div align="center">
    <actinic:variable name="ParentSectionListBottom" />
    </div>
    </actinic:block>
    </actinic:block>
    </DIV>
    </A>
    <!-- Insert HTML for the bottom of the product body -->
    <!-- ProductBody HTML end -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsMainFormUsed%22%20%2f%3e">
    </form>
    </actinic:block>
    For Everyday Pet Products
    www.pet-bliss.com

    For Doggy Bling and Clothes
    www.poshpaws.ie

    #2
    Hi,

    The error is coming from the 'Image on Left Section Link' layout... 15 places.

    Here is my code on that page
    The code you have pasted is not for a section link layout. This looks more like the innerlayout used on section pages. I have copied and pasted it into my software and don't get any errors and there is no php on this layout which would be denoted by a 'block' tag (not a 'block if'), so the error can't be because of this layout. If you double-click on the error, which layout does it take you to?
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Its wierd I know, but I've generated the errors again and when I click that error message

      "Error in condition (A PHP error has been found on this page('Parse error; parse error in main on line 4') The error is coming from the 'Image on Left Section Link' layout... 15 places.

      It brings me into the layout code - Standard section page and highlights line 43 BLOCK If
      For Everyday Pet Products
      www.pet-bliss.com

      For Doggy Bling and Clothes
      www.poshpaws.ie

      Comment


        #4
        the layout code - Standard section page
        Can you paste the code you have for this layout please.
        ********************
        Tracey
        SellerDeck

        Comment

        Working...
        X