Announcement

Collapse
No announcement yet.

Coding errors - Syntax error in objects condition

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

    Coding errors - Syntax error in objects condition

    HI,

    I have done a site upgrade from V6 to V8 and when I try to upload it says I have "Syntax error in objects condition x 6" I have double clicked and found the source of the problem but I dont know how to fix it.

    The code is:

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

    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e">
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToURL%22%20%2f%3e">
    <a href="<Actinic:Variable Name="FragmentLinkedItemID"/>"
    target="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureFramed%22%20%2f%3e">_parent</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureNotFramed%22%20%2f%3e">_self</actinic:block>"
    >
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToProduct%22%20%2f%3e">
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?PRODREF=<Actinic:Variable Name="FragmentLinkedItemID"/><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>"
    target="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureFramed%22%20%2f%3e">_parent</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureNotFramed%22%20%2f%3e">_self</actinic:block>"
    >
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e">
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?SECTIONID=<Actinic:Variable Name="FragmentLinkedItemID"/><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&NOLOGIN=1</actinic:block>"
    target="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureFramed%22%20%2f%3e">_parent</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureNotFramed%22%20%2f%3e">_self</actinic:block>"
    >
    </actinic:block>
    </actinic:block><!-- BrochureImage HTML begin -->
    <!-- This file is used to build the brochure logo image markup. -->
    <IMG SRC="<actinic:variable name="FragmentImageFileName"/>"
    ALT="<actinic:variable name="FragmentTitle"/>"
    BORDER=0
    <actinic:variable name="FragmentImageHeight"/>
    <actinic:variable name="FragmentImageWidth"/>>
    <!-- This file is used to build the brochure logo image markup. -->
    <!-- BrochureImage HTML end --><actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e">
    </a>
    </actinic:block>

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

    I have also attached a screen shot highlighting the exact spot its referring too because I have no idea what I'm supposed to do.

    Please help

    Thanks

    Angi
    Attached Files
    christopherpiperwines.co.uk
    skatewarehouse.co.uk
    progrow.co.uk
    cheeksandcherries.co.uk

    #2
    Hi Angi

    From the image that you have attached it looks like the problem is happening on the "Standard Fragment Image" layout, have you tried a 'Compare With Factory Version' to see if you can find the cause of the error and then correcting it. Even after doing a compare if you are unable to locate the error, I would suggest doing a 'Revert to Factory Settings' to see if that makes a difference. You can get both of these options by right clicking on the layout via Design | Library | Layouts, to get to the "Standard Fragment Layout" in the Library navigate down to "Fragment Image" and expand it.
    Kiran Chandran
    Technical Support - SellerDeck
    http://www.sellerdeck.co.uk/

    Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

    Comment


      #3
      Angi,

      Looks to me like the variable <actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureNotFramed%22%20%2f%3e">_self</actinic:block> is not a valid variable. On the assumption your brochure is not framed maybe you could just delete the blocks round '_self' (3 occurances by the looks of it)
      Cheers

      David
      Located in Edinburgh UK

      http://twitter.com/mcfinster

      Comment

      Working...
      X