Announcement

Collapse
No announcement yet.

Debug Error

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

    Debug Error

    I have upgraded a site from v6 to v8.0.3 and then redesigned the main temlate using Dreamweaver 8.

    When I add the <Actinic:Variable Name="ShoppingCartSummary"/> tag into the registered page using Dreamweaver and then try to view the page in Actinic " Design View " - my Microsoft Visual Studio Debugger opens and highlights an "object expected" error against the <!-- document.write(getCartItem(3)); // --> line of code - on the \PreviewHTML\P_Index.html page.

    When I remove the <Actinic:Variable Name="ShoppingCartSummary"/> tag from the registered page using Dreamweaver and then try to view the page in Actinic " Design View " - I do not get any debug errors.

    I picked up a previous posting on debugging with version 8 - and the solution seemed to be to disable the debugging application - but I wanted to seek some reassurance that this was not an actinic error and that I should ignore!

    Any assistance would be welcome..
    Scottish Based Internet Development Business, specialising in e-learning.

    #2
    You should ignore.

    When the option to debug is presented, choose not to debug - Visual Studio just does not speak Actinic.
    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


      #3
      I discovered that the Debug Error did not appear on a new version 8.0.3 site I had created using a template registered in Dreamweaver. On checking the code with the upgraded template that was causing the error, I discovered that some of the actinic code missing in the header - presumably not inserted by Actinic when registering the template within Dreamweaver.

      Being curious, I created a new template for the upgraded site, registered as a new external design within Actinic, reinserted the actinic elements, including the shopping cart. On viewing within actinic on "design" mode, I no longer got the error!

      It seems to me that the Microsoft debugger was actually doing what it should, as the missing code in the header was clearly stopping a function from being called and giving the error. Perhaps Microsoft is okay afterall

      PS - Can anyone tell me how to "un-register" a design within actinic/dreamweaver?
      Scottish Based Internet Development Business, specialising in e-learning.

      Comment


        #4
        PS - Can anyone tell me how to "un-register" a design within actinic/dreamweaver?
        If you change theme, your external design will no longer be selected in any of the 'overall page layout' drop down lists in 'Settings | Site Options | Layout'.

        You can then delete the layout from the 'Web Page Outer Layout' group in the library. If 'Delete' is greyed out, make sure that the external layout is not selected as the 'Top Level Value' within any of the layout selectors within the 'Web Page Outer Layout' group in the library.

        Comment

        Working...
        X